To avoid wordpress asking for FTP Username and Password for any upgrade do the following : Login to your Cpanel Go to your File Manager Open wp-config.php and insert the following lines: define(‘FTP_USER’, ‘username’); define(‘FTP_PASS’, ‘password’); define(‘FTP_HOST’, ‘ftp.example.org:21′); [wpfmb type=’info’ theme=2]If you want to import blogger site into WordPress you can check simple steps on […]
Category: Cpanel
Install SSL for a domain in cPanel server:
You can install SSL for a particular domain in cPanel server via WHM. For that follow the instructions given below, Login to your WHM. Select “Web SSL/TLS” icon from the WHM. Then select “Generate a SSL certificate and Signing request”. You need to fill all the needed fields here, after that click the create button. […]
SSL install aborted due to error: The certificate is expired
Getting the below error while trying to install SSL on a DOMAIN : [wpfmb type=’error’ theme=2]SSL install aborted due to error: The certificate is expired[/wpfmb] Make sure in WHM while you are trying to install the certificate you are logged in without SSL ie. IP:2086 If your WHM is not using a paid SSL, reset […]
ERROR: This RRD was created on another architecture
You will get this error during cPanel account transfer time or with cPanel package account script. [wpfmb type=’error’ theme=2] Copying Bandwidth Data……[username]-all-rate.rrd….[username]-imap.rrd….[username]-http-peak.rrd..ERROR: This RRD was created on another architecture[/wpfmb] To fix this issue do the following bash script: #!/bin/bash cd /var/cpanel/bandwidth for i in `/bin/ls *.rrd` do /usr/local/cpanel/3rdparty/bin/rrdtool dump $i > $i.xml /usr/local/cpanel/3rdparty/bin/rrdtool restore -f […]
Error: rndc: connect failed: 127.0.0.1#953: connection refused
When trying to restart named we are getting the below error: root@server [~]# rndc reload [wpfmb type=’error’ theme=2] rndc: connect failed: 127.0.0.1#953: connection refused[/wpfmb] Solution : /scripts/rebuildnamedconf […]
Could not edit /home/username/etc/ftpquota
When you try to create or modify FTP users in cPanel, you receive error: [wpfmb type=’error’ theme=2]Error:Could not edit/home/username/etc/ftpquota[/wpfmb] Check ownership/permission set on ftpquota : /home/username/etc/ftpquota It should be like username:mail /home/username/etc/ File “ftpquota” should have username:username permission. […]
How to view the various cron jobs running on the server
If you want to check various running cron jobs on the server you can do: cd /var/spool/cron/ There will be a file with username which has all the cron’s for that user. tail -f /var/log/cron Should be logged in as root to view this. crontab -u cppl -l —> List cron jobs of user cppl. […]
Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80 + httpd wont start
While trying to restart httpd: /etc/init.d/httpd start Having the error: [wpfmb type=’error’ theme=2]Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs [FAILED][/wpfmb] To resolve this error run: fuser -k -n tcp […]
Httpd wont start in direct admin and gives the error
While trying to start httpd in direct admin giving the following error: # /etc/init.d/httpd start [wpfmb type=’error’ theme=2]Starting httpd: Syntax error on line 30 of /usr/local/directadmin/data/users/clickalist/httpd.conf:Invalid command ‘php_admin_flag’, perhaps misspelled or defined by a module not included in the server configuration[/wpfmb] To resolve this error follow the steps below: ./build update Backup any file named […]
ERROR 1153 (08S01) at line 16985: Got a packet bigger than ‘max_allowed_packet’ bytes
While trying to restore a MySQL database I was getting the following error: [wpfmb type=’error’ theme=2]root@server [/var/lib/mysql]# mysql a24uall_data </home/username/dbuploaded.sql ERROR 1153 (08S01) at line 16985: Got a packet bigger than ‘max_allowed_packet’ bytes[/wpfmb] To resolve this error: In my.cnf file add the following line : set-variable = max_allowed_packet=32M And restart MySQL : /etc/init.d/mysql restart […]