Skip to main content

"subprocess exited with an error" warning

Comments

7 comments

  • cPanelMichael
    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:
    cat /usr/local/cpanel/version
    Thank you.
    0
  • Recifier
    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 [LIST]
  • Asis
  • Deflate
  • Env
  • Expires
  • Fileprotect
  • Headers
  • MPM Prefork
  • Mod SuPHP 0.7.2
  • Proxy
  • UniqueId
  • Version PHP 5.6 [LIST]
  • 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 [LIST]
  • Mod Ruid2 0.9.8
  • Mod Security 2.9.0
  • Zend Guard Loader 7.0 for PHP
  • 0
  • cPanelMichael
    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.
    0
  • Recifier
    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:
    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:
    [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
    0
  • cPanelMichael
    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.
    0
  • Recifier
    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).
    0
  • cPanelMichael
    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:
    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.
    0

Please sign in to leave a comment.