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.

"subprocess exited with an error" warning

Discussion in 'EasyApache' started by kiti, May 5, 2016.

Tags:
  1. kiti

    kiti Member

    Joined:
    Sep 16, 2015
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    france
    cPanel Access Level:
    Root Administrator
    Hi, i can see always this strange warning in
    /usr/local/cpanel/logs/error_log

    when starting easyapache update on 2 different servers.



     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Please post the output from the following command if the issue continues, so we can determine which version of cPanel is installed on your system:

    Code:
    cat /usr/local/cpanel/version
    Thank you.
     
  3. Recifier

    Recifier Member

    Joined:
    Jan 28, 2015
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I'm seeing this error too. Everything still seems to be working as normal.

    cat /usr/local/cpanel/version
    11.56.0.22

    Profile:
    Apache 2.4
    • Asis
    • Deflate
    • Env
    • Expires
    • Fileprotect
    • Headers
    • MPM Prefork
    • Mod SuPHP 0.7.2
    • Proxy
    • UniqueId
    • Version
    PHP 5.6
    • Bcmath
    • CGI
    • Calendar
    • CurlSSL
    • FTP
    • GD
    • Iconv
    • Imap
    • MailHeaders
    • Mbstring
    • Mcrypt
    • MySQL "Improved" extension.
    • Mysql
    • Openssl
    • PDO
    • PDO MySQL
    • Pear
    • Phar
    • SQLite3
    • Sockets
    • TTF (FreeType)
    • Zip
    • Zlib
    Additional OptMods
    • Mod Ruid2 0.9.8
    • Mod Security 2.9.0
    • Zend Guard Loader 7.0 for PHP
     
    #3 Recifier, Jun 6, 2016
    Last edited: Jun 6, 2016
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Do you notice any additional output to /var/log/messages when this happens? Are any third-party applications such as Nginx or LiteSpeed installed on the system?

    Thank you.
     
  5. Recifier

    Recifier Member

    Joined:
    Jan 28, 2015
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    There's no other output to /var/log/messages at the time of those errors and there are no 3rd party applications for http installed.

    I've seen the error on servers running Centos 5.11 x86 and Centos 6.8 x86_64. Both have the same EA config and both displayed the same error.

    The log for the EA build shows that the errors were output right at the beginning of the build:
    Top of EA build log:
    Code:
    If the browser window is closed or stopped the build will continue in the background.
    The build output should start shortly...
    
    [2016-06-07 07:21:19 +1000] info [apache_conf_distiller] Missing owner for domain MYHOST.com, force lookup to root
    Error timestamps in /usr/local/cpanel/logs/error_log:
    Code:
    [2016-06-07 07:19:01 +1000] warn [cpsrvd] The subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/easyapache.pl) exited with an error: The subprocess reported error number 1 when it ended. at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 155.
        Cpanel::Server::Handlers::SubProcess::_report_subprocess_errors(Cpanel::Server::Handlers::SubProcess=HASH(0xa326d04)) called at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 72
        Cpanel::Server::Handlers::SubProcess::handler(Cpanel::Server::Handlers::SubProcess=HASH(0xa326d04), __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, IO::Handle=GLOB(0xa3266c4), __CPANEL_HIDDEN__, GLOB(0xa32691c)) called at cpsrvd.pl line 6307
        cpanel::cpsrvd::cgiHandler(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__) called at cpsrvd.pl line 5789
        cpanel::cpsrvd::dodoc_whostmgrd() called at cpsrvd.pl line 1674
        cpanel::cpsrvd::dodoc(HASH(0x8810624)) called at cpsrvd.pl line 1294
        cpanel::cpsrvd::handle_one_connection() called at cpsrvd.pl line 784
        cpanel::cpsrvd::script() called at cpsrvd.pl line 334
    [2016-06-07 07:19:19 +1000] warn [cpsrvd] The subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/easyapache.pl) exited with an error: The subprocess reported error number 1 when it ended. at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 155.
        Cpanel::Server::Handlers::SubProcess::_report_subprocess_errors(Cpanel::Server::Handlers::SubProcess=HASH(0xa326d04)) called at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 72
        Cpanel::Server::Handlers::SubProcess::handler(Cpanel::Server::Handlers::SubProcess=HASH(0xa326d04), __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, IO::Handle=GLOB(0xa326c8c), __CPANEL_HIDDEN__, GLOB(0xa3f1424)) called at cpsrvd.pl line 6307
        cpanel::cpsrvd::cgiHandler(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__) called at cpsrvd.pl line 5789
        cpanel::cpsrvd::dodoc_whostmgrd() called at cpsrvd.pl line 1674
        cpanel::cpsrvd::dodoc(HASH(0x8810624)) called at cpsrvd.pl line 1347
        cpanel::cpsrvd::handle_one_connection() called at cpsrvd.pl line 784
        cpanel::cpsrvd::script() called at cpsrvd.pl line 334
    [2016-06-07 07:20:00 +1000] warn [cpsrvd] The subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/easyapache.pl) exited with an error: The subprocess reported error number 1 when it ended. at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 155.
        Cpanel::Server::Handlers::SubProcess::_report_subprocess_errors(Cpanel::Server::Handlers::SubProcess=HASH(0xa326d04)) called at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 72
        Cpanel::Server::Handlers::SubProcess::handler(Cpanel::Server::Handlers::SubProcess=HASH(0xa326d04), __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, IO::Handle=GLOB(0xa3263f4), __CPANEL_HIDDEN__, GLOB(0xa462780)) called at cpsrvd.pl line 6307
        cpanel::cpsrvd::cgiHandler(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__) called at cpsrvd.pl line 5789
        cpanel::cpsrvd::dodoc_whostmgrd() called at cpsrvd.pl line 1674
        cpanel::cpsrvd::dodoc(HASH(0x8810624)) called at cpsrvd.pl line 1347
        cpanel::cpsrvd::handle_one_connection() called at cpsrvd.pl line 784
        cpanel::cpsrvd::script() called at cpsrvd.pl line 334
    [2016-06-07 07:21:04 +1000] warn [cpsrvd] The subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/easyapache.pl) exited with an error: The subprocess reported error number 1 when it ended. at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 155.
        Cpanel::Server::Handlers::SubProcess::_report_subprocess_errors(Cpanel::Server::Handlers::SubProcess=HASH(0xa326d04)) called at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 72
        Cpanel::Server::Handlers::SubProcess::handler(Cpanel::Server::Handlers::SubProcess=HASH(0xa326d04), __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, IO::Handle=GLOB(0xa325f78), __CPANEL_HIDDEN__, GLOB(0xa34f760)) called at cpsrvd.pl line 6307
        cpanel::cpsrvd::cgiHandler(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__) called at cpsrvd.pl line 5789
        cpanel::cpsrvd::dodoc_whostmgrd() called at cpsrvd.pl line 1674
        cpanel::cpsrvd::dodoc(HASH(0x8810624)) called at cpsrvd.pl line 1347
        cpanel::cpsrvd::handle_one_connection() called at cpsrvd.pl line 784
        cpanel::cpsrvd::script() called at cpsrvd.pl line 334
    
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    It's possible this stems from a lack of available memory on the system. Could you 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.
     
  7. Recifier

    Recifier Member

    Joined:
    Jan 28, 2015
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Ticket is 7593969.

    I just started a new EA3 build and saw the error again. There's about 6G of ram free at the moment, so wouldn't expect it's memory related (plus this particular system has no users at the moment).

     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    To update, internal case CPANEL-7394 is open to address reports of cpsrvd errors in /usr/local/cpanel/logs/error_log when using EasyApache 3 UI in WHM. The error output will generally start like this:

    Code:
    warn [cpsrvd] The subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/easyapache.pl) exited with an error: The subprocess reported error number 1 when it ended. at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 155.
    I'll update this thread once a resolution for this case is released. In the meantime, it's safe to ignore these warning messages as I've not seen any reports of it resulting in actual problems with functionality.

    Thank you.
     
Loading...

Share This Page