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.
1681
CentOS-WebPanel Bugs / Re: Cron PHP Error
« on: October 05, 2020, 11:49:43 PM »Here's another persistent cron error message:Code: [Select]/usr/local/cwp/php71/bin/php-cgi -d max_execution_time=10000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_newbackup.phpQuotePHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/local/cwpsrv/htdocs/resources/admin/addons/class_backupmanager.php on line 0
Try changing it to:
/usr/local/cwp/php71/bin/php -d max_execution_time=18000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_newbackup.php
For some reason the cron editor on CentOS 7 & 8 hasn't been working.
Cron jobs are located in /var/spool/cron
1682
CentOS-WebPanel Bugs / Re: Cron PHP Error
« on: October 05, 2020, 10:17:45 PM »They don't care!
I've previously pointed out the non-words that are used but was ignored, as usual.
Sandepp and Igor are usually good. But they are busy, and it does take them awhile sometimes.
I've gotten help from other users as well, which I think is why the forums exist.
I know I try to reply soemtimes.
1683
CentOS-WebPanel Bugs / Cron PHP Error
« on: October 05, 2020, 02:14:15 AM »
When the cron email received:
Suject: Cron <root@srv> /usr/local/cwp/php71/bin/php /usr/local/cwpsrv/htdocs/resources/admin/include/cron_autossl_all_domains.php
PHP Notice: Undefined index: CN in /usr/local/cwpsrv/htdocs/resources/admin/include/libs/ssl/traits/ssl_general_trait.php on line 0
CREATION FAILEDS: 0
CREATEDS: 0
RENEWAL FAILEDS: 0
RENEWEDS: 0
SSL Certificates are not set to auto create or renew.
Suject: Cron <root@srv> /usr/local/cwp/php71/bin/php /usr/local/cwpsrv/htdocs/resources/admin/include/cron_autossl_all_domains.php
PHP Notice: Undefined index: CN in /usr/local/cwpsrv/htdocs/resources/admin/include/libs/ssl/traits/ssl_general_trait.php on line 0
CREATION FAILEDS: 0
CREATEDS: 0
RENEWAL FAILEDS: 0
RENEWEDS: 0
SSL Certificates are not set to auto create or renew.
1684
Information / Re: CentOS 8 Support - When or Never???
« on: October 03, 2020, 04:23:51 PM »
We are moving the last server over to CentOS 8 next week.
If you want try this:
Create /etc/yum.repos.d/dovecot.repo
[dovecot-2.3-latest]
name=Dovecot 2.3 CentOS $releasever - $basearch
baseurl=http://repo.dovecot.org/ce-2.3-latest/centos/$releasever/RPMS/$basearch
gpgkey=https://repo.dovecot.org/DOVECOT-REPO-GPG
gpgcheck=1
enabled=1
Then
dnf makecache
dnf update
This will install the latest Dovecot.
If that still doesn't work, not sure what tell you if you are using CentOS 8, unless it's the Stream version.
If you want try this:
Create /etc/yum.repos.d/dovecot.repo
[dovecot-2.3-latest]
name=Dovecot 2.3 CentOS $releasever - $basearch
baseurl=http://repo.dovecot.org/ce-2.3-latest/centos/$releasever/RPMS/$basearch
gpgkey=https://repo.dovecot.org/DOVECOT-REPO-GPG
gpgcheck=1
enabled=1
Then
dnf makecache
dnf update
This will install the latest Dovecot.
If that still doesn't work, not sure what tell you if you are using CentOS 8, unless it's the Stream version.
1685
Information / Re: Suporte ao CentOS 8 - Quando ou Nunca???
« on: October 02, 2020, 03:17:26 AM »bug?
https://prnt.sc/uo16cm
I can't create email accounts
Have you tried to create a mailbox with another name, like jsmith@ to see if that works?
1686
E-Mail / Re: SpamAssassin High CPU Usage
« on: October 02, 2020, 03:12:53 AM »
I'm guessing its a bug in clamav and/or spamassassin with a cpu/memory leak.
On CentOS 7 I ran: clamscan --version
And got the current version (ClamAV 0.102.4) in the epel repo.
On a server I don't have spamassassin running, just ClamAV there isn't a problem.
On CentOS 7 I ran: clamscan --version
And got the current version (ClamAV 0.102.4) in the epel repo.
On a server I don't have spamassassin running, just ClamAV there isn't a problem.
1687
E-Mail / Re: SpamAssassin High CPU Usage
« on: October 01, 2020, 06:48:49 PM »
What happens when you run: sh /scripts/clamd_fix_100_cpu_usage
Usually that takes care of the problem, but only pops back up after a server reboot.
Usually that takes care of the problem, but only pops back up after a server reboot.
1688
CentOS 7 Problems / Cron job creation problem
« on: September 30, 2020, 05:32:02 PM »
Just notice under CWPpro 0.9.8.1013 on CentOS 7 that User cron jobs can not be created.
They can be created for root without a problem.
They can be created for root without a problem.
1689
PHP / Re: PHP 7.4.10 Problem with IonCube
« on: September 29, 2020, 03:34:53 AM »
If anyone else has this problem, Resolved the problem by using PHP Switched 2 to change over to PHP 7.4.10, and then manually downloading and copying the missing IonCube files over.
If you copy the files 1st them change PHP version, the script will delete the files. :/
If you copy the files 1st them change PHP version, the script will delete the files. :/
1690
PHP / Re: PHP 7.4.10 Problem with IonCube
« on: September 29, 2020, 02:12:29 AM »
So it looks like CWP is using IonCube PHP Loader 10.3.9, which is an old version.
10.4.3 is the current version, and 10.4.0 supports PHP 7.4.x
10.4.3 is the current version, and 10.4.0 supports PHP 7.4.x
1691
PHP / PHP 7.4.10 Problem with IonCube
« on: September 29, 2020, 01:48:33 AM »
This is on CentOS 7 with CWPpro 0.9.8.1009
Just tried to enable PHP 7.4.10, compile went OK, CWP shows IonCube Installed under PHP Addons
But am getting the error:
Failed loading /usr/local/ioncube/ioncube_loader_lin_7.4.so: /usr/local/ioncube/ioncube_loader_lin_7.4.so: cannot open shared object file: No such file or directory
Tried rebuilding PHP and also Removing and Installing IonCube thru CWP. No joy.
Need IonCube for WHMCS.
Whole Complete output from php -v:
php -v
Failed loading /usr/local/ioncube/ioncube_loader_lin_7.4.so: /usr/local/ioncube/ioncube_loader_lin_7.4.so: cannot open shared object file: No such file or directory
PHP 7.4.10 (cli) (built: Sep 29 2020 01:40:02) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
Just tried to enable PHP 7.4.10, compile went OK, CWP shows IonCube Installed under PHP Addons
But am getting the error:
Failed loading /usr/local/ioncube/ioncube_loader_lin_7.4.so: /usr/local/ioncube/ioncube_loader_lin_7.4.so: cannot open shared object file: No such file or directory
Tried rebuilding PHP and also Removing and Installing IonCube thru CWP. No joy.
Need IonCube for WHMCS.
Whole Complete output from php -v:
php -v
Failed loading /usr/local/ioncube/ioncube_loader_lin_7.4.so: /usr/local/ioncube/ioncube_loader_lin_7.4.so: cannot open shared object file: No such file or directory
PHP 7.4.10 (cli) (built: Sep 29 2020 01:40:02) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
1692
PHP Selector / Re: PHP Switcher Problem Not Showing New PHP Version - CWPpro - CentOS 8
« on: September 25, 2020, 07:17:23 PM »
CWPpro version: 0.9.8.1009 is now showing 7.3.22
1693
PHP / Re: Need to upgrade CWPPHP from 7.2.30 to at least 7.2.31
« on: September 25, 2020, 07:15:35 PM »
I see your post is from July. Hopefully you found it in CWP.
Using the PHP Selector, Up to 7.2.33 is available.
Using the PHP Selector, Up to 7.2.33 is available.
1694
Information / Re: CentOS 8 Support - When or Never???
« on: September 24, 2020, 04:27:33 PM »I would not recommend you upgrade 7=>8. The best way to reinstall OS.
+1
We brought up new CentOS 8 servers then used the CWP to CWP Migrate tool.
Every doc I found on upgrading CentOS 7 to 8 did not work at all.
1695
Apache / Re: htaccess not working on /usr/local/apache/htdocs
« on: September 23, 2020, 05:10:47 PM »
Why are you trying to use the pageholder/Main website?
From what I have noticed that directory/site doesn't have any permissions for PHP or .htaccess
We just have a generic HTML file that replaced the Default one.
From what I have noticed that directory/site doesn't have any permissions for PHP or .htaccess
We just have a generic HTML file that replaced the Default one.
