Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - overseer

Pages: 1 ... 88 89 [90] 91
1336
Information / Re: Reseller quota limit
« on: January 07, 2023, 10:04:29 PM »
If you have to, you could create 1:1 reseller package to username as a work around.
reseller_01 = user_01
reseller_02 = user_02

And so forth. I am not doing reselling, so I can't test this concretely -- but it should work if not too many accounts!

1337
Information / Re: how to change the username of a hosting account?
« on: January 07, 2023, 10:01:10 PM »
I would have to concur. I have done this on one CWP server for one account and decided it was not worth the trouble for what amounts to a cosmetic label that only you see. The largest gotcha is that you would have to change each of the DB names (and sometimes corresponding table prefixes).

1338
Information / Re: Strange usernames in User Quota section
« on: January 07, 2023, 09:57:57 PM »
Oddly, on 3 different servers, my User Quota section is blank:
?module=user_quota
and suggests editing hosting packages instead:
Quote
User Quota
You can change the user quota by editing packages.

Your list with UIDs instead of usernames looks like migrated users that don't have a current association on the server. Particularly the #1027 user with the 20GB quota looks to be a migrated GUI user from another system.

1339
Information / Re: User or account usage
« on: January 07, 2023, 09:50:16 PM »
User Accounts > List Acccounts
then under the Disk Usage column, click on the More details icon.

1340
Scripts / Re: concrete example
« on: January 07, 2023, 09:18:57 PM »
Concrete answer to original poster:
Code: [Select]
/scripts/cwp_api account unsuspend_user USERNAME
Other examples for the API on this wiki page.


1341
Scripts / Re: update_cwp
« on: January 07, 2023, 09:09:04 PM »
I there is a fix for this issue

Code: [Select]
[root@server scripts]# sh update_cwp
update_cwp: line 1: /usr/local/cwp/php54/bin/php: No such file or directory
Use a more modern PHP version such as 7.4. If you have some particular need, you could even use PHP 7.1 just for CWP, internal to the server.

1342
CentOS-WebPanel GUI / Re: End run
« on: January 07, 2023, 08:15:07 PM »
Okay, this got so tiresome I did an end run around the problem. With uBlock Origin, create a custom filter:
Code: [Select]
! 2023-01-01 https://yourserver.net:2031
yourserver.net##.alert-danger.alert
So you will no longer see any of the alert-danger class of banner notifications, but currently this is the only one I am seeing... YMMV.

1343
CentOS 7 Problems / Re: CWP admin login to white blank page
« on: August 27, 2021, 10:46:23 PM »
So, now just like this other post:
https://forum.centos-webpanel.com/index.php?topic=7380.0
I am seeing the exact same error:

Code: [Select]
sh /scripts/update_cwp


====================================================
============= CentOS Web Panel Cron ================
====================================================


###########################
Firewall Flush Daily Blocks
###########################


######################
Update Server Packages
######################
PHP Warning:  mysqli_connect(): (HY000/1045): Access denied for user 'postfix'@'localhost' (using password: YES) in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
PHP Fatal error:  Uncaught Error: Call to undefined function mysql_countRows() in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php:0
Stack trace:
#0 {main}
  thrown in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0

1344
CentOS 7 Problems / Re: CWP admin login to white blank page
« on: August 27, 2021, 10:21:16 PM »
I am now encountering this exact issue on one of my 3 CWP Pro servers. I can view the hosted websites, login to webmail and via SSH. But attempting to load the CWP Pro Admin panel only shows a blank white screen. Thus far I have been able to determine that the /scripts directory is full of empty files, so it is not possible to do a CWP update by that means:

Code: [Select]
ls -al /scripts/scripts
total 12
drwxr-x---  2 root root 4096 Aug 27 08:23 .
drwxr-x---. 3 root root 4096 Aug 27 08:23 ..
-rwxr-xr-x  1 root root    0 Aug 27 08:23 add_alert
-rwxr-xr-x  1 root root    0 Aug 27 08:23 apache_mpm_calculator
-rwxr-xr-x  1 root root    0 Aug 27 08:23 autossl_fix_tmp_path
-rwxr-xr-x  1 root root    0 Aug 27 08:23 autossl_generate_apache_conf
-rwxr-xr-x  1 root root    0 Aug 27 08:23 autossl_reload
-rwxr-xr-x  1 root root    0 Aug 27 08:23 cgroups_blkio
-rwxr-xr-x  1 root root    0 Aug 27 08:23 check_api
-rwxr-xr-x  1 root root    0 Aug 27 08:23 check_postqueue
-rwxr-xr-x  1 root root    0 Aug 27 08:23 checkdb
-rwxr-xr-x  1 root root    0 Aug 27 08:23 chroot_remove
-rwxr-xr-x  1 root root    0 Aug 27 08:23 clamd_fix_100_cpu_usage
-rwxr-xr-x  1 root root    0 Aug 27 08:23 cpanel_addhandlers
-rwxr-xr-x  1 root root    0 Aug 27 08:23 cwp_api
-rwxr-xr-x  1 root root    0 Aug 27 08:23 cwp_bruteforce_protection
-rwxr-xr-x  1 root root    0 Aug 27 08:23 cwp_monitor
-rwxr-xr-x  1 root root    0 Aug 27 08:23 cwp_set_memory_limit
-rwxr-xr-x  1 root root    0 Aug 27 08:23 cwp_version
-rwxr-xr-x  1 root root    0 Aug 27 08:23 cwpsecure_update_rules
-rwxr-xr-x  1 root root    0 Aug 27 08:23 cwpsrv_rebuild_user_conf
-rwxr-xr-x  1 root root    0 Aug 27 08:23 disk_check
-rwxr-xr-x  1 root root    0 Aug 27 08:23 dns_sync_slave2
-rwxr-xr-x  1 root root    0 Aug 27 08:23 dso_handler_remove
-rwxr-xr-x  1 root root    0 Aug 27 08:23 el8_stream_convert_to_cwp_stable
-rwxr-xr-x  1 root root    0 Aug 27 08:23 generate_hostname_ssl
-rwxr-xr-x  1 root root    0 Aug 27 08:23 hostname_ssl_restart_services
-rwxr-xr-x  1 root root    0 Aug 27 08:23 image_rebuild_server_config
-rwxr-xr-x  1 root root    0 Aug 27 08:23 install_acme
-rwxr-xr-x  1 root root    0 Aug 27 08:23 install_api
-rwxr-xr-x  1 root root    0 Aug 27 08:23 install_cbpolicyd
-rwxr-xr-x  1 root root    0 Aug 27 08:23 install_imagick
-rwxr-xr-x  1 root root    0 Aug 27 08:23 install_net2ftp
-rwxr-xr-x  1 root root    0 Aug 27 08:23 install_netdata
-rwxr-xr-x  1 root root    0 Aug 27 08:23 install_pure-ftpd_tls
-rwxr-xr-x  1 root root    0 Aug 27 08:23 install_supportKey
-rwxr-xr-x  1 root root    0 Aug 27 08:23 install_terminal
-rwxr-xr-x  1 root root    0 Aug 27 08:23 list_subdomains
-rwxr-xr-x  1 root root    0 Aug 27 08:23 mysql_fix_myisam_tables
-rwxr-xr-x  1 root root    0 Aug 27 08:23 mysql_set_max_connections
-rwxr-xr-x  1 root root    0 Aug 27 08:23 mysql_show_max_connections
-rwxr-xr-x  1 root root    0 Aug 27 08:23 net_show_connections
-rwxr-xr-x  1 root root    0 Aug 27 08:23 open_basedir-suphp
-rwxr-xr-x  1 root root    0 Aug 27 08:23 php_big_file_upload
-rwxr-xr-x  1 root root    0 Aug 27 08:23 reload_cwpsrv
-rwxr-xr-x  1 root root    0 Aug 27 08:23 restart_cwpsrv
-rwxr-xr-x  1 root root    0 Aug 27 08:23 restart_httpd
-rwxr-xr-x  1 root root    0 Aug 27 08:23 security_is_my_server_hacked
-rwxr-xr-x  1 root root    0 Aug 27 08:23 softaculous_fix_update
-rwxr-xr-x  1 root root    0 Aug 27 08:23 stats_goaccess
-rwxr-xr-x  1 root root    0 Aug 27 08:23 system_info
-rwxr-xr-x  1 root root  0 Aug 27 08:23 update_cwp
-rwxr-xr-x  1 root root    0 Aug 27 08:23 upgrade_mysql
-rwxr-xr-x  1 root root    0 Aug 27 08:23 user_backup
-rwxr-xr-x  1 root root    0 Aug 27 08:23 varnish_clear_cache
-rwxr-xr-x  1 root root    0 Aug 27 08:23 whoowns
I SCP'd that directory over from another CWP server. However, seeing that the update_cwp script is calling a cron run of another script, then I noticed that this directory is also empty!
/usr/local/cwpsrv/htdocs/resources/admin/include/
So the CWP update run via cron will never complete because thie file it calls doesn't exist:
Code: [Select]
/usr/local/cwp/php71/bin/php -d max_execution_time=1000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron.phpWhat is my best course of recovery? Is there a way to manually re-update CWP without having to start over from scratch?

1345
Information / Re: Your server is NOT running CWP Secure Kernel !!!
« on: October 28, 2020, 03:34:25 AM »
Yes, I read that thread. It was locked, so I couldn't put in my plea to the developers there.

1346
Information / Your server is NOT running CWP Secure Kernel !!!
« on: October 27, 2020, 10:19:05 PM »
I can understand a single initial notice of the release of the CWP Secure Kernel, but speaking as one who has no need of it (I am running 3 VPS with paid CWP Professional with 1:1 dedicated sites and trusted admins/clients). I don't really appreciate the daily notifications -- they are annoying and distracting. I used to count on the notification feature for security updates, but now I don't clear it and just leave the single Secure Kernel notification. This is causing me to completely ignore the notification feature, making it worthless to me. Please stop the notification spam/ham and keep it "clean" to just server-related notices, not features or services available from CWP.

I do appreciate your development efforts, use and enjoy your products, pay for CWP Professional 3x, and have paid for incident support services several times. I check this forum and your main web site weekly/monthly for news & updates (still looking forward to full CentOS 8 support!) -- so I really prefer not to have unnecessary daily notifications on each of my servers.

1347
CentOS-WebPanel GUI / Re: Enable NAT button keeps on coming up
« on: July 01, 2020, 02:45:02 PM »
Actually, I spoke too soon. After the next reboot & login, the NAT nag screen has returned. I can't see any obvious reason why, since my IP setup is static. On one server, it was setup without NetworkManager with static IF configs; the other 2 servers were setup with nmtui and set as static connections.

1348
Information / Re: What is mail_server_antispam.zip?
« on: July 01, 2020, 01:28:46 PM »
That and the erroneous SpamAssassin logfile, literally named
Code: [Select]
${SAHOME}spamd.loginstead of substituting a variable for the filename, it literally has the variable as the filename... all thanks to literally following the directions here:
https://wiki.centos-webpanel.com/how-to-configure-spamassassin

1349
Information / What is mail_server_antispam.zip?
« on: June 30, 2020, 09:59:37 PM »
On all 3 CWP systems I am running, there is a zip file on the filesystem root:
Code: [Select]
-rw-r--r--    1 root     root    41853 Apr 26 07:30 mail_server_antispam.zip

1350
This fix appears to work. Edit  /usr/local/apache/conf/sharedip.conf. Change the first line to read:
Code: [Select]
<VirtualHost *:80>Voila — no more erroneous NAT nag screen.

Pages: 1 ... 88 89 [90] 91