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.
1
Suggestions / Re: Enable/Disable goaccess web statistics per account
« on: May 01, 2022, 09:58:59 AM »
UP!
hey, support, are you really looking into these issues?
hey, support, are you really looking into these issues?
2
Suggestions / Re: Enable/Disable goaccess web statistics per account
« on: January 09, 2022, 05:13:47 PM »
Same question still valid.
Support, please advise.
Support, please advise.
3
Nginx / Re: Old version of Nginx?
« on: January 09, 2022, 12:03:02 PM »
I confirm this solution works.
just wanted to add that the yum update nginx creates a default config /etc/nginx/conf.d/default.conf with a localhost server listening on 80 port.
There is no such in CWP configuration and there is another one listening on 80 port, so you may want to disable this configuration otherwise you get this error in nginx log:
just wanted to add that the yum update nginx creates a default config /etc/nginx/conf.d/default.conf with a localhost server listening on 80 port.
There is no such in CWP configuration and there is another one listening on 80 port, so you may want to disable this configuration otherwise you get this error in nginx log:
Code: [Select]
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
4
CentOS 7 Problems / Re: Cron freshclam-sleep job shows DB errors
« on: March 03, 2021, 11:52:18 AM »
I have found the corresponding job in /etc/cron.d/clamav-update
Should I comment out the line
Should I comment out the line
Code: [Select]
0 */3 * * * root /usr/share/clamav/freshclam-sleep
in it or just remove the whole file?
5
CentOS 7 Problems / Cron freshclam-sleep job shows DB errors
« on: February 15, 2021, 08:31:44 AM »
Every few hours I get error message in cron logs:
I'm not using ClamAV and service is disabled. Also I don't see such cron task in the list.
What should I do to disable it?
Code: [Select]
/usr/share/clamav/freshclam-sleep
ERROR: Database test FAILED.
ERROR: Unexpected error when attempting to update database: daily
ERROR: Database update process failed: Test failed (8)
ERROR: Update failed.
I'm not using ClamAV and service is disabled. Also I don't see such cron task in the list.
What should I do to disable it?
6
Updates / Re: Anacron job for updates fails to Update Server Packages
« on: January 19, 2021, 12:15:42 PM »
OK, for
I have installed completely a new CentOS server and in the very first cron logs I see the same as one of the issue reported above:
I don't want to open a paid support ticket as it's not an issue for me but it's a bug that should be addressed by developers.
@Sandeep
please have a look
Code: [Select]
error: rpmdb
it was RPM indeed corrupted.I have installed completely a new CentOS server and in the very first cron logs I see the same as one of the issue reported above:
Code: [Select]
######################
Update Server Packages
######################
Redirecting to /bin/systemctl restart cwpsrv.service
Redirecting to /bin/systemctl restart cwp-phpfpm.service
Redirecting to /bin/systemctl reload cwpsrv.service
Redirecting to /bin/systemctl reload cwp-phpfpm.service
PHP Warning: Error while sending QUERY packet. PID=23143 in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php(0) : eval()'d code on line 57
PHP Fatal error: Uncaught Error: Call to undefined function mysql_error() in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php(0) : eval()'d code:57
Stack trace:
#0 /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php(0): unknown()
#1 {main}
thrown in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php(0) : eval()'d code on line 57
Date which backup script is using: 2021-01-19 00:50:42
I don't want to open a paid support ticket as it's not an issue for me but it's a bug that should be addressed by developers.
@Sandeep
please have a look
7
CentOS-WebPanel Bugs / Re: "TERM environment variable not set" I got this massage on email.
« on: January 19, 2021, 12:10:37 PM »
@zenben
Thanks, your solution with variable export worked!
For me (CentOS 7.9) it was
Thanks, your solution with variable export worked!
For me (CentOS 7.9) it was
Code: [Select]
export TERM=xterm
8
CentOS-WebPanel Bugs / Re: [BUG] Installation: perl(DBD::mysql)
« on: January 19, 2021, 12:06:49 PM »
When checking cron logs mysql backup still shows this error.
So nothing was addressed so far.
Рey, developers, please look at it.
Code: [Select]
error: Failed dependencies:
perl(DBD::mysql) >= 1.0 is needed by percona-toolkit-2.2.16-1.noarch
So nothing was addressed so far.
Рey, developers, please look at it.
9
CentOS-WebPanel Bugs / Re: PHP Version Switcher v2 bug in config files
« on: January 12, 2021, 12:36:28 AM »
This fixed the issue for me:
Hope it helps someone
Code: [Select]
rm -f /var/lib/rpm/__db.[0-9][0-9]*
rpm --quiet -qa
rpm --rebuilddb
yum clean all
Hope it helps someone
10
CentOS-WebPanel Bugs / Re: PHP Version Switcher v2 bug in config files
« on: January 12, 2021, 12:33:44 AM »
Thank you, looks like my rpmdb broken.
11
DKIM / Re: DKIM Manager fails to connect to MySQL
« on: January 12, 2021, 12:26:28 AM »
Thanks, I finally found the root cause.
in the old CWP installation /root/.my.cnf file looked like
I have compared with a fresh installation and it looks like:
I removed the ' ' symbols from the password and it started to work perfectly well.
Note: nevertheless CWP was auto-updated the my.cnf file remained old
Hope it will help someone because it caused may other related issues including cron fails.
I also prevented New backup page to show up (it was completely blank)...
Issue resolved, thanks.
in the old CWP installation /root/.my.cnf file looked like
Code: [Select]
[client]
user=root
password='password'
I have compared with a fresh installation and it looks like:
Code: [Select]
[client]
password=password
user=root
I removed the ' ' symbols from the password and it started to work perfectly well.
Note: nevertheless CWP was auto-updated the my.cnf file remained old
Hope it will help someone because it caused may other related issues including cron fails.
I also prevented New backup page to show up (it was completely blank)...
Issue resolved, thanks.
12
DKIM / Re: DKIM Manager fails to connect to MySQL
« on: January 11, 2021, 04:10:15 AM »
Hey support!
Can you at least tell me which file is used for SQL settings when connecting from /usr/local/cwpsrv/htdocs/resources/admin/modules/dkim.php
I changed my SQL root password manually some time ago and seems it's not updated somewhere in CWP config.
(Of course in /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php root pass is correct)
Can you at least tell me which file is used for SQL settings when connecting from /usr/local/cwpsrv/htdocs/resources/admin/modules/dkim.php
I changed my SQL root password manually some time ago and seems it's not updated somewhere in CWP config.
(Of course in /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php root pass is correct)
13
CentOS-WebPanel Bugs / CWP-CWP migration fails: Error API TOKEN
« on: January 10, 2021, 09:55:35 PM »
Im using latest CWP version: 0.9.8.1031 on source (CentOS 7. and destination servers (CentOS 7.9)
I can ssh from dest to source, CSF is disabled on both
SSH and port 2304 opened on both, password and key auth allowed on both.
I have created API access key on source and trying to connect from dest to source following https://docs.control-webpanel.com/docs/admin-guide/user-accounts/cwp-to-cwp-migration and when I hit "Test and Save" I always get:
"Error API TOKEN
There is a problem with your TOKEN API"
In the logs:
So it connects successfully and drops.
I know the same issue was reported previously by other users and was gone with the latest build but I'm already using the latest build https://forum.centos-webpanel.com/index.php?topic=9483.msg33171#msg33171
Please help to fix this.
I can ssh from dest to source, CSF is disabled on both
SSH and port 2304 opened on both, password and key auth allowed on both.
I have created API access key on source and trying to connect from dest to source following https://docs.control-webpanel.com/docs/admin-guide/user-accounts/cwp-to-cwp-migration and when I hit "Test and Save" I always get:
"Error API TOKEN
There is a problem with your TOKEN API"
In the logs:
Code: [Select]
2021-01-10 21:51:27 entre 1
2021-01-10 21:51:28 export SSHPASS='***'; /usr/bin/sshpass -e /usr/bin/ssh -p 223 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet root@185.235.130.135
2021-01-10 21:51:28 true
2021-01-10 21:51:28 entre 2
2021-01-10 21:51:29 /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/root/.ssh/id_rsa.pub"
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: WARNING: All keys were skipped because they already exist on the remote system.
(if you think this is a mistake, you may want to use -f option)
--> export SSHPASS=**********;/usr/bin/sshpass -e ssh-copy-id "-p 223" root@185.235.130.135 -o StrictHostKeyChecking=no 2>&1
2021-01-10 21:51:30 true
--> /usr/bin/ssh -p 223 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet root@185.235.130.135 test -d /usr/local/cwp/ && echo 'true' || echo 'false' 2>&1
2021-01-10 21:51:30 entre 3
2021-01-10 21:51:30 entre 4
So it connects successfully and drops.
I know the same issue was reported previously by other users and was gone with the latest build but I'm already using the latest build https://forum.centos-webpanel.com/index.php?topic=9483.msg33171#msg33171
Please help to fix this.
14
CentOS-WebPanel Bugs / PHP Version Switcher v2 bug in config files
« on: December 23, 2020, 08:02:40 AM »
When going to the section "PHP Version Switcher v2" it shows errors:
Warning: parse_ini_file(/usr/local/cwpsrv/htdocs/resources/conf/el/php_switcher/versions.ini): failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/resources/admin/modules/php_switch_v2.php on line 0
Warning: array_keys() expects parameter 1 to be array, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/modules/php_switch_v2.php on line 0
Warning: rsort() expects parameter 1 to be array, null given in /usr/local/cwpsrv/htdocs/resources/admin/modules/php_switch_v2.php on line 0
Warning: Invalid argument supplied for foreach() in /usr/local/cwpsrv/htdocs/resources/admin/modules/php_switch_v2.php on line 0
This is expected because there is no /usr/local/cwpsrv/htdocs/resources/conf/el/ folder exist.
I checked on 2 servers installed at different times: there are only
/usr/local/cwpsrv/htdocs/resources/conf/el7/ and /usr/local/cwpsrv/htdocs/resources/conf/el8/
folders exist.
This is a bug in the CWP code
Warning: parse_ini_file(/usr/local/cwpsrv/htdocs/resources/conf/el/php_switcher/versions.ini): failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/resources/admin/modules/php_switch_v2.php on line 0
Warning: array_keys() expects parameter 1 to be array, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/modules/php_switch_v2.php on line 0
Warning: rsort() expects parameter 1 to be array, null given in /usr/local/cwpsrv/htdocs/resources/admin/modules/php_switch_v2.php on line 0
Warning: Invalid argument supplied for foreach() in /usr/local/cwpsrv/htdocs/resources/admin/modules/php_switch_v2.php on line 0
This is expected because there is no /usr/local/cwpsrv/htdocs/resources/conf/el/ folder exist.
I checked on 2 servers installed at different times: there are only
/usr/local/cwpsrv/htdocs/resources/conf/el7/ and /usr/local/cwpsrv/htdocs/resources/conf/el8/
folders exist.
This is a bug in the CWP code
15
CentOS-WebPanel Bugs / Sorting in FileManager v2
« on: December 14, 2020, 07:44:59 PM »
When doing sort by date of size it sorts only by the first digit regardless of byte/KB/MB, year/month.
It's extremely not comfortable to use.
It's extremely not comfortable to use.