OpenVZ 7 Upgrade Error !
While upgrading OpenVZ server I got an error as below : ==== –> Finished Dependency Resolution Error: Package: 10:qemu-kvm-vz-2.9.0-16.3.vz7.8.x86_64 (factory) Requires: libspice-server.so.1(SPICE_SERVER_0.12.5)(64bit) You could try using –skip-broken to work around the problem ** Found 1 pre-existing rpmdb problem(s), ‘yum check’ output follows: grub2-theme-openvz-1.4-1.vl7.noarch has installed conflicts grub2-theme-openvz: grub2-theme-openvz-1.4-1.vl7.noarch ==== This is a known bug and has been patched by OpenVZ Team and below is the fix : Update vzlinux-release yum update vzlinux-release Enable virtuozzolinux-factory repo – edit /etc/yum.repos.d/vzlinux.repo or launch […]
Read MoreDisable MySQL strict mode!
We recently migrated WHMCS to latest CentOS 7 server with cPanel. The WHMCS ClientArea showed White screen when “Client logins were used”. We found that the server had MySQL strict mode enabled which was causing this problem. I disabled MySQL strict mode as below : Edited /usr/my.cnf and changed below value : sql_mode=NO_ENGINE_SUBSTITUTION,NO_AUTO_CREATE_USER Restarted MySQL : /scripts/restartsrv mysql voila this worked…… earlier I was trying to change sql_mode under /etc/my.cnf however found MySQL is using different location /usr/my.cnf
Read MorecPanel : SSHD Rootkit
We have been seeing this SSHD rootkit from time to time with much improved versions 🙂 One could see number of SSH processes on the server with nothing under process details. There is a huge discussion thread at WHT www.webhostingtalk.com/showthread.php?t=1235797 The current one which I have seen today was with keyutils-libs legit version name. However the “Signature” was missing. root@linuxbabu [/var/log]# ls -la /lib64 | grep libkeyutils lrwxrwxrwx 1 root root 18 Jun 22 2012 libkeyutils.so.1 -> libkeyutils.so.1.3* -rwxr-xr-x 1 […]
Read MoreAnother MySQL daemon already running with the same unix socket.
After upgrading MySQL binaries mysqld will not start at all any more and shows below error : CT-1977-bash-4.1# service mysqld start Another MySQL daemon already running with the same unix socket. Starting mysqld: [FAILED] CT-1977-bash-4.1# MySQL service does not shut down gracefully during the OS reboot, leaving the old /var/lib/mysql/mysql.sock such that mysqld will not start up. Some people were able to reproduce this error on a CentOS 6.5 KVM guest virtual system by rebooting the host CentOS 6.5 system. […]
Read MoreVirtuozzo : RTNETLINK answers: Operation not supported
Here is a new bug which I faced on virtuozzo 4 and 4.6 for Centos 6 VPS. VPS fails to add IP during start or networking fails when network is restarted : -bash-4.1# /etc/init.d/network restart Shutting down loopback interface: [ OK ] Bringing up loopback interface: RTNETLINK answers: Operation not supported Failed to bring up lo. [FAILED] Bringing up interface venet0: RTNETLINK answers: Operation not supported Failed to bring up venet0. [FAILED] RTNETLINK answers: File exists RTNETLINK answers: File exists […]
Read MorecPanel : /root/ Inode issue!
Today I had an issue on / with shortage of disk inodes on a cPanel dedicated server. In computing, an inode is a data structure on a traditional Unix-style file system such as UFS. An inode stores basic information about a regular file, directory, or other file system object. In layman’s term – Every time a file is created or uploaded on a server, an inode is created. Simply say, inode is the count of the number of files on […]
Read Morewp-cron.php – High CPU usage
What is wp-cron.php ? This file is a PHP script which runs all the automated tasks that let WordPress do all it’s wonderful tricks. Some examples include: Posting content when it is scheduled to be posted at specific times Check all pending comments for spam (if you have plugins like Akismet running) Send emails (i.e. if you have the option enabled where you get emailed whenever a comment is posted, this script handles the email) Basically wp-cron.php is the […]
Read MorecPanel :: cPHulk error – Error while connecting to MySQL
WHM shows below error for cPHulk Brute Force Protection : ========= cPHulk Brute Force Protection Mysql is currently disabled. To enable mysql go to: Service Manager Once there check Enable and Monitor for mysql. Then at the bottom of the page click save. ========= Running below command should fix the issue : /usr/local/cpanel/bin/hulkdsetup Sample Output : =========== root@1 [/]# /usr/local/cpanel/bin/hulkdsetup hulkdsetup: synchronizing database schema ## mysqldiff 0.43 ## ## Run on Sat Apr 6 04:05:04 2013 ## Options: debug=0, host=localhost […]
Read More