URGENT: Server Offline after Cron Error !!

Astral God

Well-Known Member
Sep 27, 2010
180
0
66
127.0.0.1
cPanel Access Level
Root Administrator
Hi.

I've received this error by mail:

Code:
Cron <[email protected]> /usr/bin/test -x /usr/local/cpanel/scripts/update_db_cache && /usr/local/cpanel/scripts/update_db_cache
Can't locate Cpanel/Encoder/URI.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/Validate/DB.pm line 8.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Validate/DB.pm line 8.
Compilation failed in require at /usr/local/cpanel/Cpanel/DB/Map/User.pm line 11.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/DB/Map/User.pm line 11.
Compilation failed in require at /usr/local/cpanel/Cpanel/DB/Map/Owner.pm line 11.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/DB/Map/Owner.pm line 11.
Compilation failed in require at /usr/local/cpanel/Cpanel/DB/Map.pm line 11.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/DB/Map.pm line 11.
Compilation failed in require at /usr/local/cpanel/Cpanel/DB/Map/Collection.pm line 10.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/DB/Map/Collection.pm line 10.
Compilation failed in require at /usr/local/cpanel/Cpanel/DB/Map/Collection/Index.pm line 9.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/DB/Map/Collection/Index.pm line 9.
Compilation failed in require at /usr/local/cpanel/scripts/update_db_cache line 15.
BEGIN failed--compilation aborted at /usr/local/cpanel/scripts/update_db_cache line 15.
And after that, the server is offline:

cPanel:

Internal Server Error
500
more than 400 attempts to create a session failed
cpsrvd/11.30.6.4 Server at alpha.domain.com
WHM :

[a fatal error or timeout occurred while processing this directive]file error - cache failed to write roothtml.tmpl: Not a GLOB reference at /usr/local/cpanel/Cpanel/Template.pm line 117.
Thanks.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
Hello :)

Please try running the following command manually:

Code:
# /usr/local/cpanel/scripts/update_db_cache
This script is primarily used to update the disk space usage for your MySQL databases. Let us know if you experience any additional errors when running it manually.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
In that case, I would not suspect this cron job is related to the downtime you experienced. Based on the error messages you provided, it's possible one of your partitions reached it's disk space limit.

Thank you.
 

Astral God

Well-Known Member
Sep 27, 2010
180
0
66
127.0.0.1
cPanel Access Level
Root Administrator
root [~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vzfs 65G 6.3G 59G 10% /
/dev/simfs 65G 6.3G 59G 10% /tmp
none 1.0G 4.0K 1.0G 1% /dev
I was uploading 12.000 files (246M at all) trough FTP when this happened.
Can this be the reason ?
 

Astral God

Well-Known Member
Sep 27, 2010
180
0
66
127.0.0.1
cPanel Access Level
Root Administrator
Yes you're right; when i say 'I', it was a user uploading his website (Joomla) whits 12.000 files.
but the upload was made trough Filezilla (FTPeS) and with a max of 4 files at a time uploading.