cpanel/perl/YAML/Syck.pm error blocking backups

ericmars

Registered
Dec 11, 2013
3
0
1
cPanel Access Level
Root Administrator
Hello, I am running a VPS with the following spec:

CENTOS 6.5 i686 virtuozzo – server WHM 11.40.0 (build 26)

My VPS was set to automatically update, and therefore last week, updated to the latest version which then caused my VPS to become inaccessible. The hosting company informed me that this was due to the issue described here:
OpenVZ - RHEL/CentOS/Scientific 6.5 Container Networking Bug - Hosting Security and Technology - Web Hosting Talk

They have since disabled updates and followed the instructions on that thread. My sites are back online now and I have access to WHM.

However, my backups are failing now, and I am getting an empty log report. From within cPanel, when I attempt to adjust the backup config (new backup, not legacy), I am being given this errror message:

[a fatal error or timeout occurred while processing this directive]

Clicking this error gives further information as follows:

Syck parser (line 14, column -1): syntax error at /usr/local/cpanel/perl/YAML/Syck.pm line 78, <$fh> line 1.
YAML::Syck::Load() called at /usr/local/cpanel/perl/YAML/Syck.pm line 127
YAML::Syck::LoadFile('/var/cpanel/backups/SocialSlot_UID_03BOl7XX6cWUOM5VNlMy3rNz.back...') called at /usr/local/cpanel/Cpanel/Backup/Transport.pm line 378

My hosting company has told me that supporting this is beyond their scope and they have advised me to post in here. I am an intermediate user, so I would very much appreciate some hand-holding in resolving this issue. E.g. what steps I need to take to provide you with more information so I can have this resolved.

Many thanks in advance for your time.
Eric
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello :)

Please try forcing an update of cPanel via:

Code:
/scripts/upcp --force
If the issue persists, let us know the output to /usr/local/cpanel/logs/error_log that occurs when browsing the backup configuration area.

Thank you.
 

ericmars

Registered
Dec 11, 2013
3
0
1
cPanel Access Level
Root Administrator
An hour ago, my hosting provider responded with the following summary:


As far as I can tell, our NOC installed iproute from the CentOS 6.4 image, /root/iproute-2.6.32-23.el6.i686.rpm and then excluded this file from updating through YUM. Other than that I don't see any indication of other changes we have made to your server. I attempted to force cPanel to update hoping it would fix whatever is causing this to happen, but it did not help.****

Which would lead me to believe they already did this.


I will attempt to post the contents of the error log at /usr/local/cpanel/logs/error_log in a short while.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Remember to only post the snippet from the error log associated with browsing to the backup configuration page in WHM. The entire error log is not necessary.

Thank you.
 

ericmars

Registered
Dec 11, 2013
3
0
1
cPanel Access Level
Root Administrator
Thanks for that... ok, I have now clicked on backups and then on the error itself, (so I saw the same Syck.pm error visually again) and then I took a look at the error_log file, and this seems to be the relevant notes:

Code:
[email protected] [/usr/local/cpanel/logs]# vi error_log
[2013-12-04 15:16:26 +0300] warn [updatenow] loadConfig requires valid filename at /usr/local/cpanel/Cpanel/Config/LoadConfig.pm line 128
        Cpanel::Config::LoadConfig::loadConfig(undef, HASH(0x8c97344)) called at /usr/local/cpanel/Cpanel/Update/Now.pm line 1055
        Cpanel::Update::Now::merge_cpanel_config(Cpanel::Update::Now=HASH(0x86d3d38)) called at /usr/local/cpanel/Cpanel/Update/Now.pm line 1018
        Cpanel::Update::Now::rpms(Cpanel::Update::Now=HASH(0x86d3d38)) called at /usr/local/cpanel/Cpanel/Update/Now.pm line 811
        eval {...} called at /usr/local/cpanel/Cpanel/Update/Now.pm line 811
        Cpanel::Update::Now::stage_files(Cpanel::Update::Now=HASH(0x86d3d38)) called at /usr/local/cpanel/Cpanel/Update/Now.pm line 269
        Cpanel::Update::Now::run(Cpanel::Update::Now=HASH(0x86d3d38)) called at /usr/local/cpanel/scripts/updatenow line 95
        eval {...} called at /usr/local/cpanel/scripts/updatenow line 95
[2013-12-04 15:16:39 +0300] info [rpmup] Prelinking is disabled.
[2013-12-04 15:16:41 +0300] warn [vps_optimizer] Could not find /authdaemonrc at /usr/local/cpanel/Cpanel/StringFunc.pm line 172
        Cpanel::StringFunc::addline('/authdaemonrc', '^\\s*daemons=.*', 'daemons=2') called at /usr/local/cpanel/Cpanel/CourierConfig.pm line 101
        Cpanel::CourierConfig::set_auth_config_value('daemons', 2) called at /usr/local/cpanel/scripts/vps_optimizer line 52
[2013-12-04 15:16:48 +0300] info [checkccompiler] /root/.cpanel/datastore/Cpanel::Sys::Compiler::test_compile_gcc
[2013-12-04 15:17:02 +0300] info [cleanquotas] Checking for orphaned quotas...
[2013-12-04 15:17:02 +0300] info [cleanquotas] Done.
[2013-12-04 15:17:05 +0300] info [checkerrorlogsafe] Adding error_log exclusion to Apache configuration
[2013-12-04 15:17:08 +0300] warn [quotacheck] contact info could not be loaded for: root at /usr/local/cpanel/scripts/quotacheck line 127
[2013-12-04 15:17:08 +0300] info [email_archive_maintenance] Email archiving is disabled per Tweak Settings.
[2013-12-04 15:17:17 +0300] warn [Cpanel::FileUtils::Lines] Unable to open /var/cpanel/version/resetpwcache: No such file or directory
[12/04/2013:12:17:22 -0000] info [cpsrvd] reloading config based on -HUP signal
[2013-12-04 15:17:29 +0300] die [mkvhostspasswd] Could not write to /etc/proftpd/.passwd.vhosts at /usr/local/cpanel/bin/mkvhostspasswd line 48
[2013-12-04 15:17:32 +0300] warn [cpsessetup] Failed to create: Cpanel::Cpses::Setup::Postgres: could not determine postgres user at /usr/local/cpanel/Cpanel/Cpses/Setup/Postgres.pm line 21.
 at /usr/local/cpanel/bin/cpsessetup line 99
        bin::cpsessetup::process_cpses_setup_modules() called at /usr/local/cpanel/bin/cpsessetup line 34
        bin::cpsessetup::script('bin::cpsessetup') called at /usr/local/cpanel/bin/cpsessetup line 24
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Please open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

Thank you.