The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

autossl error_log

Discussion in 'Security' started by kernow, Sep 25, 2016.

  1. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    865
    Likes Received:
    9
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Getting lots of autossl errors in/usr/local/cpanel/logs/error_log
    example:
    Any ideas?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,743
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Is there any additional output in the error_log before or after those entries? Could you verify the version of cPanel installed on the system?

    Thank you.
     
  3. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    865
    Likes Received:
    9
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hi,
    cPanel version is 58 build 31
    Here's another example from the start of the log, actual log is several hundred lines of simular output so only include a few below:
    /usr/local/cpanel/logs/error_log:

    Code:
    [2016-10-05 19:04:01 +0000] warn [autossl_check_cpstore_queue] Cpanel::Exception::IO::FileOpenError/(XID 2bpt8h) The system failed to open the file “/var/cpanel/logs/autossl/2016-08-08T01:58:01Z/json” because of an error: No such file or directory
    at /usr/local/cpanel/Cpanel/Exception.pm line 73.
        Cpanel::Exception::create("IO::FileOpenError", HASH(0x4743540)) called at /usr/local/cpanel/Cpanel/Autodie/Sys/Open.pm line 37
        Cpanel::Autodie::Sys::Open::sysopen(GLOB(0x4743558), "/var/cpanel/logs/autossl/2016-08-08T01:58:01Z/json", 1025, 384) called at /usr/local/cpanel/Cpanel/SSL/Auto/Log.pm line 293
        Cpanel::SSL::Auto::Log::new("Cpanel::SSL::Auto::Log", "start_time", "2016-08-08T01:58:01Z") called at /usr/local/cpanel/Cpanel/SSL/Auto/Provider.pm line 490
        Cpanel::SSL::Auto::Provider::_create_logger(Cpanel::SSL::Auto::Provider::cPanel=HASH(0x4743318), "start_time", "2016-08-08T01:58:01Z") called at /usr/local/cpanel/Cpanel/SSL/Auto/Provider.pm line 273
        Cpanel::SSL::Auto::Provider::resume_logging(Cpanel::SSL::Auto::Provider::cPanel=HASH(0x4743318), "2016-08-08T01:58:01Z") called at bin/autossl_check_cpstore_queue.pl line 299
        bin::autossl_check_cpstore_queue::_init_provider_obj(bin::autossl_check_cpstore_queue=HASH(0x4418598), HASH(0x4742f10)) called at bin/autossl_check_cpstore_queue.pl line 178
        bin::autossl_check_cpstore_queue::_process_user(bin::autossl_check_cpstore_queue=HASH(0x4418598), "fronti08") called at bin/autossl_check_cpstore_queue.pl line 129
        bin::autossl_check_cpstore_queue::__ANON__() called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 80
        eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 71
        Try::Tiny::try(CODE(0x4706c68), Try::Tiny::Catch=REF(0x3c15908)) called at bin/autossl_check_cpstore_queue.pl line 141
        bin::autossl_check_cpstore_queue::_run_maybe_captured(bin::autossl_check_cpstore_queue=HASH(0x4418598)) called at bin/autossl_check_cpstore_queue.pl line 80
        bin::autossl_check_cpstore_queue::__ANON__() called at /usr/local/cpanel/Cpanel/CaptureFH.pm line 50
        Cpanel::CaptureFH::do_with_output_captured_to_path_if_non_tty("/usr/local/cpanel/logs/error_log", CODE(0x44185f8)) called at bin/autossl_check_cpstore_queue.pl line 81
        bin::autossl_check_cpstore_queue::run(bin::autossl_check_cpstore_queue=HASH(0x4418598)) called at bin/autossl_check_cpstore_queue.pl line 64
    at bin/autossl_check_cpstore_queue.pl line 139.
        bin::autossl_check_cpstore_queue::__ANON__(Cpanel::Exception::IO::FileOpenError=HASH(0x4749798)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 103
        Try::Tiny::try(CODE(0x4706c68), Try::Tiny::Catch=REF(0x3c15908)) called at bin/autossl_check_cpstore_queue.pl line 141
        bin::autossl_check_cpstore_queue::_run_maybe_captured(bin::autossl_check_cpstore_queue=HASH(0x4418598)) called at bin/autossl_check_cpstore_queue.pl line 80
        bin::autossl_check_cpstore_queue::__ANON__() called at /usr/local/cpanel/Cpanel/CaptureFH.pm line 50
        Cpanel::CaptureFH::do_with_output_captured_to_path_if_non_tty("/usr/local/cpanel/logs/error_log", CODE(0x44185f8)) called at bin/autossl_check_cpstore_queue.pl line 81
        bin::autossl_check_cpstore_queue::run(bin::autossl_check_cpstore_queue=HASH(0x4418598)) called at bin/autossl_check_cpstore_queue.pl line 64
    [2016-10-05 19:09:01 +0000] warn [autossl_check_cpstore_queue] Cpanel::Exception::IO::FileOpenError/(XID gwuet2) The system failed to open the file “/var/cpanel/logs/autossl/2016-08-08T01:58:01Z/json” because of an error: No such file or directory
    at /usr/local/cpanel/Cpanel/Exception.pm line 73.
        Cpanel::Exception::create("IO::FileOpenError", HASH(0x4909540)) called at /usr/local/cpanel/Cpanel/Autodie/Sys/Open.pm line 37
        Cpanel::Autodie::Sys::Open::sysopen(GLOB(0x4909558), "/var/cpanel/logs/autossl/2016-08-08T01:58:01Z/json", 1025, 384) called at /usr/local/cpanel/Cpanel/SSL/Auto/Log.pm line 293
        Cpanel::SSL::Auto::Log::new("Cpanel::SSL::Auto::Log", "start_time", "2016-08-08T01:58:01Z") called at /usr/local/cpanel/Cpanel/SSL/Auto/Provider.pm line 490
        Cpanel::SSL::Auto::Provider::_create_logger(Cpanel::SSL::Auto::Provider::cPanel=HASH(0x4909318), "start_time", "2016-08-08T01:58:01Z") called at /usr/local/cpanel/Cpanel/SSL/Auto/Provider.pm line 273
        Cpanel::SSL::Auto::Provider::resume_logging(Cpanel::SSL::Auto::Provider::cPanel=HASH(0x4909318), "2016-08-08T01:58:01Z") called at bin/autossl_check_cpstore_queue.pl line 299
        bin::autossl_check_cpstore_queue::_init_provider_obj(bin::autossl_check_cpstore_queue=HASH(0x45de598), HASH(0x4908f10)) called at bin/autossl_check_cpstore_queue.pl line 178
        bin::autossl_check_cpstore_queue::_process_user(bin::autossl_check_cpstore_queue=HASH(0x45de598), "fronti08") called at bin/autossl_check_cpstore_queue.pl line 129
        bin::autossl_check_cpstore_queue::__ANON__() called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 80
        eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 71
        Try::Tiny::try(CODE(0x48ccc68), Try::Tiny::Catch=REF(0x4491c98)) called at bin/autossl_check_cpstore_queue.pl line 141
        bin::autossl_check_cpstore_queue::_run_maybe_captured(bin::autossl_check_cpstore_queue=HASH(0x45de598)) called at bin/autossl_check_cpstore_queue.pl line 80
        bin::autossl_check_cpstore_queue::__ANON__() called at /usr/local/cpanel/Cpanel/CaptureFH.pm line 50
        Cpanel::CaptureFH::do_with_output_captured_to_path_if_non_tty("/usr/local/cpanel/logs/error_log", CODE(0x45de5f8)) called at bin/autossl_check_cpstore_queue.pl line 81
        bin::autossl_check_cpstore_queue::run(bin::autossl_check_cpstore_queue=HASH(0x45de598)) called at bin/autossl_check_cpstore_queue.pl line 64
    at bin/autossl_check_cpstore_queue.pl line 139.
        bin::autossl_check_cpstore_queue::__ANON__(Cpanel::Exception::IO::FileOpenError=HASH(0x490f798)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 103
        Try::Tiny::try(CODE(0x48ccc68), Try::Tiny::Catch=REF(0x4491c98)) called at bin/autossl_check_cpstore_queue.pl line 141
        bin::autossl_check_cpstore_queue::_run_maybe_captured(bin::autossl_check_cpstore_queue=HASH(0x45de598)) called at bin/autossl_check_cpstore_queue.pl line 80
        bin::autossl_check_cpstore_queue::__ANON__() called at /usr/local/cpanel/Cpanel/CaptureFH.pm line 50
        Cpanel::CaptureFH::do_with_output_captured_to_path_if_non_tty("/usr/local/cpanel/logs/error_log", CODE(0x45de5f8)) called at bin/autossl_check_cpstore_queue.pl line 81
        bin::autossl_check_cpstore_queue::run(bin::autossl_check_cpstore_queue=HASH(0x45de598)) called at bin/autossl_check_cpstore_queue.pl line 64
     
    #3 kernow, Oct 5, 2016
    Last edited by a moderator: Oct 11, 2016
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,743
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello @kernow,

    Could you open a support ticket using the link in my signature and post the ticket number here so we can take update this thread with the outcome?

    Thank you.
     
  5. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    865
    Likes Received:
    9
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    support request ID: 7774649
     
  6. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    865
    Likes Received:
    9
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Update.
    Error was caused by by an SSL request stuck in the queue. FYI the queue file is in:
    /var/cpanel/autossl_queue_cpanel.json
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,743
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello @kernow,

    Thank you for updating us with the outcome of the support ticket. Internal case CPANEL-9234 is now open to address an issue where the AutoSSL log file expires and is removed, but the certificate request remains in the AutoSSL queue. This can lead to the error messages reported in your original post. I'll update this thread again once the resolution is published.

    Thank you.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,743
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    To update, this is fixed in cPanel version 60.0.6:

    Fixed case CPANEL-9234: Act gracefully when the cPanel AutoSSL queue has a too-old entry.

    Thanks!
     
    kernow likes this.
Loading...

Share This Page