Category Archives: Linux
How to fixed named.conf on cPanel
The named.conf file can become corrupted on occasion. It is rare, but it does happen. The fix is very simple. make a backup of your config with this command mv /etc/named.conf /etc/named.conf.bak Once you have created the backup, run this cPanel script to rebuild the config. /usr/local/cpanel/scripts/rebuilddnsconfig Then simply restart the named service. /etc/init.d/named …
Increasing tmp partition size on cPanel Server
As your server grows or you have some rather large tasks, you might find the default size of your /tmp partition to be too small, which can result in various errors from your services, the most common 4 being cPanel, Apache, LiteSpeed and MySQL. For example: [ERROR] mysqld: Can’t create/write to file ‘/tmp/zbLxFquF’ (Errcode: 28 …
How to fix 530 Login authentication failed in Pure-FTP on cPanel
As the error states, the issue is that the user can not authenticate properly. There are 2 common reasons to get this error when making a connection via FTP to a Pure-FTP server on cPanel. Using the wrong username and password Corrupted password database First, the most common reason, is user error. They enter …
Add far future expiry header to your site
Adding far future expires headers will help to speed up your site by having cache last longer on the viewers web browser. It will not help the first time they load your site, but it will improve the loading speed every visit after that. You can set when cache expires by Seconds, Minutes, Hours, Days, …
Packaging and restoring all cpanel accounts via command line
If you need to make a backup of just one cpanel account, use the following command. /scripts/pkgacct username (replace username with the username of the account you want to backup) If you need to create a full cpanel backup of all websites on a server, you can do it in one simple command. cd …
Whitelist a process on CSF (configserve firewall)
If you are getting an email like this from your server: lfd on your.server.com: Suspicious process running under user nobody Executable: /usr/local/bin/memcached Command Line (often faked in exploits): /usr/local/bin/memcached -u root -m 16 -p 11211 -u nobody -l 127.0.0.1 In this case, it’s saying that memcached is running, but could be fake. If …
Terminate a cPanel account from command line
If you want to cancel account from the command line instead of via the WHM, you can do so with one of the following commands. Pre CentOS 7: /scripts/killacct CentOS7: /scripts/removeacct Both scripts use the same syntax: /scripts/removeacct –user=username [options] OPTIONS –force Bypass the confirmation step in the script and immediately terminate the account. …
- English Support
- 24/7 x 365
- Branded Support
- Reduced Overhead
- Linux Experts
- Friendly Staff