SOLVED SSL Installation Issue

integrateddigital

Registered
Dec 14, 2016
2
0
1
Canada
cPanel Access Level
Root Administrator
Hi,
we are having a big problem that is causing us a lot of grief, when trying to install a ssl ( via whm ), we get the following:

Thanks in advance on any help we can get,
Cordially,
s


Code:
API failure: Syck parser (line 73072, column 780): syntax error at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/YAML/Syck.pm line 75, <GEN5> line 1.
We tailed -f /usr/local/cpanel/logs/error_log at the same time, and its ouput follow:
Code:
==> cpsrvd 11.60.0.28 started
==> cpsrvd: loading security policy....Done
==> cpsrvd: Setting up SSL support ... Done
==> cpsrvd: transferred port bindings
==> cpsrvd: bound to ports
[2016-12-15 01:13:08 +0000] info [xml-api] Rebuilding empty or corrupt SSLStorage datastore: /var/cpanel/ssl/installed/ssl.db
[2016-12-15 01:13:08 +0000] warn [xml-api] Cpanel::SSLStorage::Installed failed to release the lock on datastore file, [/var/cpanel/ssl/installed/ssl.db] before destruction at /usr/local/cpanel/Cpanel/SSLStorage.pm line 1454.
  Cpanel::SSLStorage::DESTROY(Cpanel::SSLStorage::Installed=HASH(0x63c2358)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 87
  eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 87
  Try::Tiny::try(CODE(0x4058810), Try::Tiny::Catch=REF(0x52d4150)) called at /usr/local/cpanel/Whostmgr/API/1/Data/Wrapper.pm line 236
  Whostmgr::API::1::Data::Wrapper::execute_internal(CODE(0x3f99cb0), HASH(0x2e83de0), HASH(0x3e9a900), HASH(0x40b46c0), CODE(0x428c718)) called at whostmgr/bin/xml-api.pl line 3028
  whostmgr::bin::xml_api::runapp("installssl", HASH(0x3e9a900), HASH(0x2e9cff8), 0, CODE(0x428c718)) called at whostmgr/bin/xml-api.pl line 2810
  whostmgr::bin::xml_api::script(CODE(0x428c718), "-json", "./installssl") called at whostmgr/bin/xml-api.pl line 2764
[2016-12-15 01:13:08 +0000] info [xml-api] API failure: Syck parser (line 73072, column 780): syntax error at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/YAML/Syck.pm line 75, <GEN9> line 1.
[installssl] version [1].
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,225
463
Hello,

To update, it looks like this was addressed via a support ticket by regenerating the /var/cpanel/ssl/installed/ssl.db file with the following commands:

Code:
mv /var/cpanel/ssl/installed/ssl.db /root/ssl.db.backup
/scripts/rebuildinstalledssldb
Thank you.