Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

Webmail not loading properly

Discussion in 'E-mail Discussions' started by Delton, Feb 13, 2017.

  1. Delton

    Delton Registered

    Joined:
    Feb 13, 2017
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Alta Floresta
    cPanel Access Level:
    Root Administrator
    We moved all sites from server A to server B, and in server B now no webmail client (horde, roundcube and squirrel) is openning the messages. All web sites have the same issue, the clients not have more access to webmail.... The system try to load something but stay loading without load the messages, or even open corectly.
     
  2. Eminds

    Eminds Well-Known Member

    Joined:
    Nov 10, 2016
    Messages:
    211
    Likes Received:
    13
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    check the apache error logs at /usr/local/apache/logs/error_log as well as

    /usr/local/cpanel/logs/error_log

    to see whats happening exatctly
     
  3. Delton

    Delton Registered

    Joined:
    Feb 13, 2017
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Alta Floresta
    cPanel Access Level:
    Root Administrator
    Some errors from /usr/local/apache/logs/error_log:
    Code:
    [Tue Feb 14 10:27:14.582805 2017] [proxy:error] [pid 23343] [client 179.219.241.106:47575] AH00898: Error reading from remote server returned by /cpsess9284050622/3rdparty/roundcube/, referer: http://webmail.xxxxxx.net/cpsess9284050622/3rdparty/roundcube/?_task=mail&_mbox=INBOX
    
    [Tue Feb 14 10:27:14.582782 2017] [proxy_http:error] [pid 23343] (70007)The timeout specified has expired: [client 179.219.241.106:47575] AH01102: error reading status line from remote server 127.0.0.1:2095, referer: http://webmail.xxxxxx.net/cpsess9284050622/3rdparty/roundcube/?_task=mail&_mbox=INBOX
    
    [Tue Feb 14 02:08:42.115880 2017] [proxy_http:error] [pid 8766] (70007)The timeout specified has expired: [client 177.221.222.4:4123] AH01102: error reading status line from remote server 127.0.0.1:2095, referer: http://webmail.xxxxxxx.com.br/cpsess3473977194/horde/imp/dynamic.php?page=mailbox
    
    [Tue Feb 14 02:08:42.115901 2017] [proxy:error] [pid 8766] [client 177.221.222.4:4123] AH00898: Error reading from remote server returned by /cpsess3473977194/horde/imp/dynamic.php, referer: http://webmail.xxxxxxx.com.br/cpsess3473977194/horde/imp/dynamic.php?page=mailbox
    
    /usr/local/cpanel/logs/error_log
    
    Cpanel::Server::Handlers::SubProcess::handler(Cpanel::Server::Handlers::SubProcess=HASH(0x225e0e0), "subprocess_name", "php:/usr/local/cpanel/base/horde/services/ajax.php", "subprocess_read_handle", Cpanel::Server::FastCGI=HASH(0x225dea0)) called at /usr/local/cpanel/Cpanel/Server.pm line 1949
       cpanel::cpsrvd::cgiHandler("app", "php", "document", "./horde/services/ajax.php/horde/topbarUpdate") called at cpsrvd.pl line 6132
       cpanel::cpsrvd::phpHandler("document", "./horde/services/ajax.php/horde/topbarUpdate") called at cpsrvd.pl line 5336
       Cpanel::Server::Handlers::SubProcess::handler(Cpanel::Server::Handlers::SubProcess=HASH(0x225e0f8), "subprocess_name", "php:/usr/local/cpanel/base/horde/services/ajax.php", "subprocess_read_handle", Cpanel::Server::FastCGI=HASH(0x225deb8)) called at /usr/local/cpanel/Cpanel/Server.pm line 1949
       cpanel::cpsrvd::cgiHandler("app", "php", "document", "./horde/services/ajax.php/horde/topbarUpdate") called at cpsrvd.pl line 6132
       cpanel::cpsrvd::phpHandler("document", "./horde/services/ajax.php/horde/topbarUpdate") called at cpsrvd.pl line 5336
    [2017-02-14 11:27:21 -0200] info [webmaild] Internal Server Error: "POST /cpsess1871028270/horde/services/ajax.php/horde/topbarUpdate HTTP/1.1" 500 The subprocess (php) failed to send content during the allowed timeframe.
    [2017-02-14 11:27:21 -0200] info [webmaild] Internal Server Error: "POST /cpsess4402610117/horde/services/ajax.php/horde/topbarUpdate HTTP/1.1" 500 The subprocess (php) failed to send content during the allowed timeframe.
    
    
    cpanel::cpsrvd::cgiHandler("app", "php", "document", "./3rdparty/roundcube/index.php") called at cpsrvd.pl line 6132
       cpanel::cpsrvd::phpHandler("document", "./3rdparty/roundcube/index.php") called at cpsrvd.pl line 5336
       Cpanel::Server::Handlers::SubProcess::handler(Cpanel::Server::Handlers::SubProcess=HASH(0x225e050), "subprocess_name", "php:/usr/local/cpanel/base/3rdparty/roundcube/index.php", "subprocess_read_handle", Cpanel::Server::FastCGI=HASH(0x225de10)) called at /usr/local/cpanel/Cpanel/Server.pm line 1949
       cpanel::cpsrvd::cgiHandler("app", "php", "document", "./3rdparty/roundcube/index.php") called at cpsrvd.pl line 6132
       cpanel::cpsrvd::phpHandler("document", "./3rdparty/roundcube/index.php") called at cpsrvd.pl line 5336
    [2017-02-14 11:31:39 -0200] info [webmaild] Internal Server Error: "GET /cpsess0368660416/3rdparty/roundcube/?_task=mail&_token=l0KvabpMIOnefpVUCgNzPQmTDQrfB8GC HTTP/1.1" 500 The cPanel Server operation timed out at cpsrvd.pl line 531.
    
     
    #3 Delton, Feb 14, 2017
    Last edited by a moderator: Feb 14, 2017
  4. Delton

    Delton Registered

    Joined:
    Feb 13, 2017
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Alta Floresta
    cPanel Access Level:
    Root Administrator
    I find the solution in other forum post:

    Try disabling the "PHP-FPM service for cPanel Daemons" You can do that from WHM / Service Manager.

    then restart apache and try again, probably will fix your problem.

    Strange cPanel issue | Web Hosting Talk
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @Delton,

    It's possible this relates to an existing internal case (CPANEL-11106) where cPanel PHP-FPM hits the open files limit. Could you run the command below and let us know the output?

    Code:
    grep "Too many open files" /usr/local/cpanel/logs/php-fpm/error.log
    Thank you.
     
  6. Delton

    Delton Registered

    Joined:
    Feb 13, 2017
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Alta Floresta
    cPanel Access Level:
    Root Administrator
    I lot of that messages:

    [14-Feb-2017 12:07:00] ERROR: failed to prepare the stdout pipe: Too many open files (24)
    [14-Feb-2017 12:07:10] ERROR: Unable to create the PID file (/var/run/cpanel_php_fpm.pid).: Too many open files (24)
    [14-Feb-2017 12:07:10] ERROR: Unable to create the PID file (/var/run/cpanel_php_fpm.pid).: Too many open files (24)
    [14-Feb-2017 12:07:53] ERROR: failed to prepare the stdout pipe: Too many open files (24)
    [14-Feb-2017 12:10:42] ERROR: failed to prepare the stdout pipe: Too many open files (24)
    [14-Feb-2017 12:11:05] ERROR: failed to prepare the stdout pipe: Too many open files (24)
    [14-Feb-2017 12:11:28] ERROR: failed to prepare the stdout pipe: Too many open files (24)
    [14-Feb-2017 12:12:01] ERROR: failed to prepare the stdout pipe: Too many open files (24)
    [14-Feb-2017 12:12:11] ERROR: Unable to create the PID file (/var/run/cpanel_php_fpm.pid).: Too many open files (24)
    [14-Feb-2017 12:12:11] ERROR: Unable to create the PID file (/var/run/cpanel_php_fpm.pid).: Too many open files (24)
    [14-Feb-2017 12:12:13] ERROR: failed to prepare the stdout pipe: Too many open files (24)
    [14-Feb-2017 12:12:13] ERROR: failed to prepare the stdout pipe: Too many open files (24)
    [14-Feb-2017 12:15:13] ERROR: failed to prepare the stdout pipe: Too many open files (24)
    [14-Feb-2017 12:15:43] ERROR: failed to prepare the stdout pipe: Too many open files (24)
    [14-Feb-2017 12:16:15] ERROR: failed to prepare the stdout pipe: Too many open files (24)
    [14-Feb-2017 12:16:22] ERROR: Unable to create the PID file (/var/run/cpanel_php_fpm.pid).: Too many open files (24)
    [14-Feb-2017 12:16:22] ERROR: Unable to create the PID file (/var/run/cpanel_php_fpm.pid).: Too many open files (24)
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Internal case CPANEL-11156 updates the internal PHP version used with cPanel to 5.6.30 and should address the problem reported on this thread. It's included with cPanel version 62.0.12:

    Fixed case CPANEL-11156: Update cpanel-php56 to 5.6.30-1.cp1158.

    This version is currently published to the EDGE build tier. More information on how new builds are published is available on our cPanel & WHM Product Versions and the Release Process documentation.

    Thank you.
     
    ItsMattSon likes this.
  8. manokiss

    manokiss Well-Known Member

    Joined:
    Mar 31, 2002
    Messages:
    575
    Likes Received:
    0
    Trophy Points:
    316
    Im on 62.0.15 and this problem persist. I had to disable "PHP-FPM service for cPanel Daemons" to had it working.
     
  9. hseagle2015

    hseagle2015 Registered
    PartnerNOC

    Joined:
    Jun 21, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    51
    Hi,

    I can confirm that we have the same problem on cPanel servers running version 62.0.16.

    /scripts/restartsrv_cpanel_php_fpm fixes the problem, but only temporarily.
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Please confirm if the information on the following post helps:

    cpanel_php_fpm down

    Thank you.
     
Loading...

Share This Page