Posts

Showing posts from January, 2022

Why am I receiving "Excessive resource usage" notifications?

  Why am I receiving email notifications with subjects such as the following?   lfd on $hostname: Excessive resource usage: $username   Answer   These notifications are generated by the 3rd party software ConfigServer LFD, not cPanel. The resource usage limits can be modified by changing the PT_USERMEM and PT_USERTIME settings on the following page in WHM:   Home >> Plugins >> ConfigServer Security & Firewall >> Firewall Configuration    Alternatively, you can configure LFD to ignore certain processes or users in the /etc/csf/csf.pignore file. The following thread on ConfigServer's forum has instructions for managing this file: exe:/opt/cpanel/ea-php74/root/usr/sbin/php-fpm or to disable all emails You can change the root contact address via: "WHM Home » Server Contacts » Edit System Mail Preferences" Or, are you attempting to filter certain bounce emails? If so, you may want to setup a filter for the email account that blocks messages from a specifi

Fix WooCommerce Import Error “Sorry, this file type is not permitted for security reasons”

Add the ALLOW_UNFILTERED_UPLOADS constant to the wp-config.php file As it was mentioned above, WordPress filters the types of files which can be uploaded to prevent the upload of malicious content. To overcome the error and upload a CSV file which is mistakenly treated as disallowed you can disable the filter. Open the wp-config.php file Add the following code: define('ALLOW_UNFILTERED_UPLOADS', true);  

ionCube Loader is not loaded

  you please enable Ioncube from WHM -> Tweak Settings.

wordpress post export error invalid response

 resolved upon increasing php memory limit to 2048 Allowed memory size of 792723456 bytes exhausted  was getting this in the error log

The “cpsrvd” service failed to start

  /scripts/restartsrv_cpsrvd --restart --hard Startup Log Jan 24 18:18:41 vmi780211.contaboserver.net systemd[1]: Starting cPanel services... Jan 24 18:18:41 vmi780211.contaboserver.net restartsrv_cpsrvd[2822]: /usr/local/cpanel/libexec/.ecpcpsrvd-dormant: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory

You cannot install awstats, because you do not have it set in options.conf

 /usr/local/directadmin/custombuild vi options.conf #Statistics Settings awstats=yes webalizer=no

Awstats country problem

  Set the DNSLookup parameter to 1. DNSLookup = 1  in stats configuration file for domain

Condition: start condition failed

 root@drushti-PowerEdge-C6220:/etc/php/7.2/apache2# systemctl status rsync ● rsync.service - fast remote file copy program daemon    Loaded: loaded (/lib/systemd/system/rsync.service; enabled; vendor preset: enabled)    Active: inactive (dead) Condition: start condition failed at Tue 2021-12-28 12:17:03 +04; 1 weeks 0 days ago root@drushti-PowerEdge-C6220:/etc/php/7.2/apache2# systemctl restart rsync root@drushti-PowerEdge-C6220:/etc/php/7.2/apache2# systemctl status rsync root@drushti-PowerEdge-C6220:/etc/php/7.2/apache2# vi /etc/rsyncd.conf root@drushti-PowerEdge-C6220:/etc/php/7.2/apache2# systemctl restart rsync root@drushti-PowerEdge-C6220:/etc/php/7.2/apache2# systemctl status rsync ● rsync.service - fast remote file copy program daemon    Loaded: loaded (/lib/systemd/system/rsync.service; enabled; vendor preset: enabled)    Active: active (running) since Tue 2022-01-04 20:17:14 +04; 8s ago  Main PID: 12211 (rsync)     Tasks: 1 (limit: 4915)    CGroup: /system.slice/rsync.service

PHP session handling errors

 session_save_path('/tmp');  in php.ini