Monthly Archives: April 2017

***** FATAL: Failed to download updatenow.static from server: The system cannot update the /var/cpanel/sysinfo.config file. at /usr/local/cpanel/Cpanel/ line 115.

While trying to upgrade cpanel  to new version was getting error

FATAL: Failed to download updatenow.static from server:

The issue was due to corrupt RPM

I used the below fix to resolve this issue

mkdir /root/old_rpm_dbs/

Now move the original RPMs to the new folder

mv /var/lib/rpm/__db* /root/old_rpm_dbs/

Finally rebuild the RPM database

rpm --rebuilddb

Now you can force an update of the cPanel server and it should work again.

/scripts/upcp -force

Failed to connect 1006 VNC virtualizor

While working on one of the nodes which has Virtualizor Software was facing issues accessing VNC . giving error failed to connected 1006

The issue was due to Virtualizor upgrade

Below is the command you need to execute to kill all process using below command for VNC to work

[root@os1126 ~]# kill $(pgrep -f “/usr/local/virtualizor/enduser/themes/default/novnc/utils/websockify”)
[root@os1126 ~]# kill $(pgrep -f “/usr/local/virtualizor/enduser/themes/default/novnc/utils/websockify”)
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec]

Now after retrying accessing virtualizor I can see it working fine

“chown: Invalid username: root:Disk”

The server was not allowing login to server even when ssh keys were saved

On rebooting server I could see it and error on screen “chown: Invalid username: root:Disk”

On troubleshooting found error to be due to corruption of /etc/passwd  as this is where all users are saved and due to corruption the user  root was missing in  /etc/passwd

So I got the serve in single user mode and fastboot as only single user mode wont server and would restart

Once I got access to single user I just moved the /etc/passwd to /etc/passwd.bkp and  copied  /etc/paswd.OLD which was in  /etc to /etc/passwd

Now on rebooting server i can see it working fine. 🙂