Archive for the ‘cpanel’ Category

“ffmpeg headers not found” error while installing ffmpeg on cPanel servers

The error received is: checking for ffmpeg support…checking for ffmpeg headers… configure: error: ffmpeg headers not found. Make sure you’ve built ffmpeg as shared libs using the –enable- shared option This is due to missing header files in  “/usr/local/include/ffmpeg” directory. Check whether the directory “/usr/local/include/ffmpeg” exists else create it. mkdir /usr/local/include/ffmpeg Then copy the header […]

How to Disable Telnet

Telnet sends clear text passwords and usernames through logins and should be disabled on all web servers and replaced with SSH. TELNET server listens for incoming messages on port 23, and sends outgoing messages to port 23. 1. Login to your server through SSH and su to root. 2. Type pico /etc/xinetd.d/telnet 3. Look for […]

Fantastico is not installed at the default location

Error : Fantastico is not installed at the default location /usr/local/cpanel/3rdparty/fantastico. Either move the Fantastico directory from it’s current location to /usr/local/cpanel/3rdparty/fantastico OR enable ioncube loaders in WHM -> Tweak settings. Solutions that work: Solutions :: Make sure ioncube is installed on the server &  make sure it is enabled in WHM -> Tweak settings. […]

.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

If you are getting “(13)Permission denied: /home/username/public_html/shop/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://www.yourdomain.com/shop/index.html” error in  apache error logs file /usr/local/apache/logs/error_log as well as the site is showing 403 Forbidden Error. Then first please check the permissions of your folder and .htaccess file because folder permission are most likely 755 […]

How to check cPanel version from command line ?

To see the cPanel version running on your Server, login as root and run the below command: # /usr/local/cpanel/cpanel -V    

IMPORTANT: Do not ignore this email. Hostname error

IMPORTANT: Do not ignore this email. The hostname (hostname.server.com) resolves to . It should resolve to xx.xx.xx.xx. Please be sure to correct /etc/hosts as well as the ‘A’ entry in zone file for the domain. Some are all of these problems can be caused by /etc/resolv.conf being setup incorrectly. Please check this file if you […]

How can I setup an alternate port for SMTP in WHM?

You can run exim on another port by going to ‘Service Manager’ option in WHM. Below are the exact steps: # Log into WHM # Click Service Manager # Check the enable box for Exim on Another Port. # Set the port to 26 (recommended) # Click save    

How to disable direct root login for ProFTP?

You can disable direct root login for ProFTP by modifying the proftpd.conf file. Modify /etc/proftpd.conf Add RootLogin off Restart ProFTP /sbin/service proftpd stop /sbin/service proftpd start  

/usr partition 100% full in Control Panel.

The /usr partition on this server is running out of disk space. WHM operation has been temporarily suspended to prevent something bad from happening. Please ask your system admin to remove any files not in use on that partition. You can check the size of error_logs and access_logs on your Linux server and in case […]

How to run cgi/perl file outside cgi-bin in cpanel server?

To run  cgi/perl file outside cgi-bin in cPanel server you will need to add following lines in .htaccess files so it executes cgi scripts in any folder outside cgi-bin folder. AddHandler cgi-script .pl .cgi Options Includes ExecCGI