When trying to restart named we are getting the below error: root@server [~]# rndc reload Solution : /scripts/rebuildnamedconf […]
Posts by seemab:
Could not edit /home/username/etc/ftpquota
When you try to create or modify FTP users in cPanel, you receive error: 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: To resolve this error run: fuser -k -n tcp 80 80/tcp: 19594 Then restart Httpd: /etc/init.d/httpd start Starting httpd: [ OK ] […]
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 To resolve this error follow the steps below: ./build update Backup any file named /usr/local/directadmin/custombuild/ .custombuild. /build rewrite_confs After that Apache will be started up. […]
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: 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 […]
How to increase phpmyadmin upload limit in cpanel
To increase the PHPMyAdmin upload limitation in Cpanel servers you can edit the php.ini file mentioned below : /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini. upload_max_filesize = 100M post_max_size = 100M Even if you edit the main php.ini file it won’t work in this case. Cpanel >> PHPMyAdmin may not reflect the change. If so log in to your WHM as […]
Prestashop: HTTP 500 Internal Server Error
Although,this error is extremely unexplained, But you still have methods to find more details. Webservers are almost always configured to hide particular error details. If your PrestaShop shop is affected by this devastating error, you can turn on PrestaShop’s Error reporting from FTP or your hosting’s CPanel to get more details. […]
Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2) [2002]
Sometime get the following error on MySQL sites and also when trying to access MySQL from server: Solution is very simple: /etc/my.cnf skip-innodb Try to restart MySQL and if it don’t start then use: killall -9 mysqld Assign appropriate permissions to your /tmp directory. # chmod 1777 /tmp After that restart MySQL: service mysql restart Cheers. […]
How to reset MySQL root password in linux centos
To Reset your MySQL root password: /etc/init.d/mysqld stop mysql -u root Use mysql; update user set password=(“YOUR_ROOT_PW”) where User=’root’; or /usr/bin/mysqladmin -u root password ‘yourmysqlpassword’ Above command can be used to reset plesk admin password as well. flush privileges; quit /etc/init.d/mysqld stop /etc/init.d/mysqld start mysql -u root -p Done. If you want to reset MySQL […]