Ramaaa

Active Member
Sep 23, 2020
37
1
8
Argentina
cPanel Access Level
Root Administrator
Hi there!

I am new here posting a thread but I've been reading threads from different FAQS here to solve issues.. But now I need help as I dont know whats going on..

I am having trouble with WHM & Cpanel, the entire server goes down with Iternal Server Error and everything stops working..

[2021-04-15 09:13:30 -0300] info [webmaild] Internal Server Error: "GET / HTTP/1.1" 500 Error ID 162a7b19fdbcd
[2021-04-15 09:13:30 -0300] info [webmaild] Internal Server Error: "GET / HTTP/1.1" 500 Error ID 162a7b19fdbcd
[2021-04-15 09:13:31 -0300] info [webmaild] Internal Server Error: "POST /cpsess9328858166/3rdparty/roundcube/?_task=mail&_action=refresh HTTP/1.1" 500 Error ID 162a7b$
[2021-04-15 09:13:29 -0300] info [webmaild] Internal Server Error: "POST /cpsess7957117253/3rdparty/roundcube/?_task=mail&_action=refresh HTTP/1.1" 500 Error ID 162a7b$

This are a few lines while seeing the error_log with nano (as I dont know a better way to do it)

Please I hope we could find a solution together,

Best regards
 

Ramaaa

Active Member
Sep 23, 2020
37
1
8
Argentina
cPanel Access Level
Root Administrator
[2021-04-15 09:16:30 -0300] info [webmaild] Internal Server Error: "GET / HTTP/1.1" 500 Error ID 1fd4380d719ca
[2021-04-15 09:16:30 -0300] info [webmaild] Internal Server Error: "POST /cpsess5526371997/3rdparty/roundcube/?_task=mail&_action=refresh HTTP/1.1" 500 Error ID 162a7b$
cpsrvd 162a7b19fdbcd: PID 18566: The cPanel Server operation timed out at cpsrvd.pl line 638.

[2021-04-15 09:17:18 -0300] warn [webmaild] Duplicate logaccess (POST /cpsess0046762819/3rdparty/roundcube/?_task=mail&_action=refresh HTTP/1.1): at /usr/local/cpanel$
Cpanel::Server::Logger::logaccess(Cpanel::Server::Logger=HASH(0x3401790)) called at /usr/local/cpanel/Cpanel/Server/Connection.pm line 148
Cpanel::Server::Connection::pipehandler(Cpanel::Server::Connection::SSL=HASH(0x3335ff8)) called at /usr/local/cpanel/Cpanel/Server/Connection.pm line 139
Cpanel::Server::Connection::check_pipehandler_globals(Cpanel::Server::Connection::SSL=HASH(0x3335ff8)) called at /usr/local/cpanel/Cpanel/Server/Connection/SSL$
Cpanel::Server::Connection::SSL::write_buffer(Cpanel::Server::Connection::SSL=HASH(0x3335ff8), "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://ww$
Cpanel::Server::write_buffer(Cpanel::Server=HASH(0x33ed168), "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www"...) called at /usr/local/cpanel$
Cpanel::Server::body_internal_error(Cpanel::Server=HASH(0x33ed168), 500, "Error ID 162a7b19fdbcd") called at /usr/local/cpanel/Cpanel/Server.pm line 674
Cpanel::Server::internal_error_with_http_status(Cpanel::Server=HASH(0x33ed168), 500, "Error ID 162a7b19fdbcd") called at /usr/local/cpanel/Cpanel/Server.pm lin$
Cpanel::Server::internal_error(Cpanel::Server=HASH(0x33ed168), "Error ID 162a7b19fdbcd") called at cpsrvd.pl line 970
cpanel::cpsrvd::__ANON__(__CPANEL_HIDDEN__...) called at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 189
Cpanel::Server::Handlers::SubProcess::_read_headers_from_subprocess_non_blocking(Cpanel::Server::Handlers::SubProcess=HASH(0x3445790)) called at /usr/local/cpa$
Cpanel::Server::Handlers::SubProcess::handler(Cpanel::Server::Handlers::SubProcess=HASH(0x3445790), "subprocess_name", "php", "subprocess_pid_to_reap", 18571, $
cpanel::cpsrvd::cgiHandler("app", "php", "document", "./3rdparty/roundcube/index.php") called at cpsrvd.pl line 7112
cpanel::cpsrvd::phpHandler("document", "./3rdparty/roundcube/index.php") called at cpsrvd.pl line 6180
cpanel::cpsrvd::dodoc_webmaild() called at cpsrvd.pl line 2040
cpanel::cpsrvd::dodoc(HASH(0x1320468)) called at cpsrvd.pl line 1732
cpanel::cpsrvd::handle_one_connection(12) called at cpsrvd.pl line 1111
cpanel::cpsrvd::script() called at cpsrvd.pl line 429
at /usr/local/cpanel/Cpanel/Server/Logger.pm line 80.
Cpanel::Server::Logger::logaccess(Cpanel::Server::Logger=HASH(0x3401790)) called at /usr/local/cpanel/Cpanel/Server/Connection.pm line 148
Cpanel::Server::Connection::pipehandler(Cpanel::Server::Connection::SSL=HASH(0x3335ff8)) called at /usr/local/cpanel/Cpanel/Server/Connection.pm line 139
Cpanel::Server::Connection::check_pipehandler_globals(Cpanel::Server::Connection::SSL=HASH(0x3335ff8)) called at /usr/local/cpanel/Cpanel/Server/Connection/SSL$
Cpanel::Server::Connection::SSL::write_buffer(Cpanel::Server::Connection::SSL=HASH(0x3335ff8), "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://ww$
Cpanel::Server::write_buffer(Cpanel::Server=HASH(0x33ed168), "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www"...) called at /usr/local/cpanel$
Cpanel::Server::body_internal_error(Cpanel::Server=HASH(0x33ed168), 500, "Error ID 162a7b19fdbcd") called at /usr/local/cpanel/Cpanel/Server.pm line 674
Cpanel::Server::internal_error_with_http_status(Cpanel::Server=HASH(0x33ed168), 500, "Error ID 162a7b19fdbcd") called at /usr/local/cpanel/Cpanel/Server.pm lin$
Cpanel::Server::internal_error(Cpanel::Server=HASH(0x33ed168), "Error ID 162a7b19fdbcd") called at cpsrvd.pl line 970
cpanel::cpsrvd::__ANON__(__CPANEL_HIDDEN__...) called at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 189
Cpanel::Server::Handlers::SubProcess::_read_headers_from_subprocess_non_blocking(Cpanel::Server::Handlers::SubProcess=HASH(0x3445790)) called at /usr/local/cpa$
Cpanel::Server::Handlers::SubProcess::handler(Cpanel::Server::Handlers::SubProcess=HASH(0x3445790), "subprocess_name", "php", "subprocess_pid_to_reap", 18571, $
cpanel::cpsrvd::cgiHandler("app", "php", "document", "./3rdparty/roundcube/index.php") called at cpsrvd.pl line 7112

Cpanel::Server::Handlers::SubProcess::handler(Cpanel::Server::Handlers::SubProcess=HASH(0x3445790), "subprocess_name", "php", "subprocess_pid_to_reap", 18571, $
cpanel::cpsrvd::cgiHandler("app", "php", "document", "./3rdparty/roundcube/index.php") called at cpsrvd.pl line 7112
cpanel::cpsrvd::phpHandler("document", "./3rdparty/roundcube/index.php") called at cpsrvd.pl line 6180
cpanel::cpsrvd::dodoc_webmaild() called at cpsrvd.pl line 2040
cpanel::cpsrvd::dodoc(HASH(0x1320468)) called at cpsrvd.pl line 1732
cpanel::cpsrvd::handle_one_connection(12) called at cpsrvd.pl line 1111
cpanel::cpsrvd::script() called at cpsrvd.pl line 429
[2021-04-15 09:17:41 -0300] warn [whostmgrd] Timed out (2 seconds) while reading from socket.
at /usr/local/cpanel/Cpanel/Hulk.pm line 118.
Cpanel::Hulk::_error_with_stack_trace("Timed out (2 seconds) while reading from socket.\x{a}") called at /usr/local/cpanel/Cpanel/Hulk.pm line 238
Cpanel::Hulk::_safe_readline(Cpanel::Hulk=HASH(0x3425ff0)) called at /usr/local/cpanel/Cpanel/Hulk.pm line 96
Cpanel::Hulk::_connect(Cpanel::Hulk=HASH(0x3425ff0), "/var/run/cphulkd.sock", "register", ARRAY(0x3426008)) called at /usr/local/cpanel/Cpanel/Hulk.pm line 47
Cpanel::Hulk::connect(Cpanel::Hulk=HASH(0x3425ff0), "register", ARRAY(0x3426008)) called at /usr/local/cpanel/Cpanel/Server.pm line 2022
Cpanel::Server::do_hulk_transaction(Cpanel::Server=HASH(0x33ed168), __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, -1, __CPANEL_HIDDEN__, __CPANEL_HI$
Cpanel::Server::_block_login_if_brute(Cpanel::Server=HASH(0x33ed168), __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, -1, __CPANEL_HIDDEN__, 0) called$
Cpanel::Server::check_hulk_preauth_ratelimiting(Cpanel::Server=HASH(0x33ed168), __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __C$
cpanel::cpsrvd::docheckpass_whostmgrd(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, undef, __CPANEL_HIDDEN__, $
cpanel::cpsrvd::handle_one_connection(6) called at cpsrvd.pl line 1111
cpanel::cpsrvd::script() called at cpsrvd.pl line 429
[2021-04-15 09:17:41 -0300] warn [webmaild] Timed out (2 seconds) while reading from socket.
at /usr/local/cpanel/Cpanel/Hulk.pm line 118.
Cpanel::Hulk::_error_with_stack_trace("Timed out (2 seconds) while reading from socket.\x{a}") called at /usr/local/cpanel/Cpanel/Hulk.pm line 238
Cpanel::Hulk::_safe_readline(Cpanel::Hulk=HASH(0x3426d40)) called at /usr/local/cpanel/Cpanel/Hulk.pm line 96
Cpanel::Hulk::_connect(Cpanel::Hulk=HASH(0x3426d40), "/var/run/cphulkd.sock", "register", ARRAY(0x3426de8)) called at /usr/local/cpanel/Cpanel/Hulk.pm line 47
Cpanel::Hulk::connect(Cpanel::Hulk=HASH(0x3426d40), "register", ARRAY(0x3426de8)) called at /usr/local/cpanel/Cpanel/Server.pm line 2022
 

Ramaaa

Active Member
Sep 23, 2020
37
1
8
Argentina
cPanel Access Level
Root Administrator
Hey there! Could you try forcing a cPanel update to ensure everything related to the cPanel software is working well on the machine? You can do that by running "/scripts/upcp --force" on the system.
Hi there cPRex, I've already done it as I saw you did advise someone to do that in order to solve any cPanel issue.. I did it, but at the end, unfortunately, as I have an old OS, the new cPanel & WHM are not compatible. Though I am searching, once we can solve this issue, to do an upgrade or migration.. If you want I can do it again, and show you what it shows
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
6,092
778
313
cPanel Access Level
Root Administrator
Although that command would not actually be able to update the cPanel software, it would still make sure the existing software isn't missing any critical components, and may still help the issue. Do you still see problems in the server after running that?
 

ankeshanand

Well-Known Member
Mar 29, 2021
97
30
18
India
cPanel Access Level
Root Administrator
Hi there cPRex, I've already done it as I saw you did advise someone to do that in order to solve any cPanel issue.. I did it, but at the end, unfortunately, as I have an old OS, the new cPanel & WHM are not compatible. Though I am searching, once we can solve this issue, to do an upgrade or migration.. If you want I can do it again, and show you what it shows
The best way is to Upgrade your Server to CloudLinux and KernalCare as they would automatically solve everything for you. By the way, Which OS are you using?
 

Ramaaa

Active Member
Sep 23, 2020
37
1
8
Argentina
cPanel Access Level
Root Administrator
Although that command would not actually be able to update the cPanel software, it would still make sure the existing software isn't missing any critical components, and may still help the issue. Do you still see problems in the server after running that?
I cant tell that I still see problems in the server as I ran /scripts/upcp --force after the following, shutdown -r now / shutdown -r 0 / reboot ( these three makes the server to be working again) at the moment, the server is up but, to be honest, I think It will go down again at any time..
 

ankeshanand

Well-Known Member
Mar 29, 2021
97
30
18
India
cPanel Access Level
Root Administrator
Then You definitely need to Upgrade it to Version 96. It would solve most of the problems. Your CentOS 6 is no longer supported by cPanel, so probably you need to upgrade it as well. You can contact me at [email protected] if You need quick help. I would be happy to help for free!
 

ankeshanand

Well-Known Member
Mar 29, 2021
97
30
18
India
cPanel Access Level
Root Administrator
I cant tell that I still see problems in the server as I ran /scripts/upcp --force after the following, shutdown -r now / shutdown -r 0 / reboot ( these three makes the server to be working again) at the moment, the server is up but, to be honest, I think It will go down again at any time..
Is it a Server or a VPS? Because in a VPS, Upgrading OS is easy but in a Bare Metal, You need to do it with command line
 

ankeshanand

Well-Known Member
Mar 29, 2021
97
30
18
India
cPanel Access Level
Root Administrator
Thanks cprex, but let me ask, is there a solution for the issue I am having? Before making the upgrade, just to know how to solve it
Ther is definitely without upgrading but first you need to tell the whole story with server logs. What you could also do is contact cPanel support and grant them support access so that they would resolve everything if its in their hands
 

ankeshanand

Well-Known Member
Mar 29, 2021
97
30
18
India
cPanel Access Level
Root Administrator
Though let me ask, how do I know IF a server is a VPS or not?
If Its a VPS, on right hand side of WHM, It will write KVM or OpenVZ but if its a bare metal, It would write CentOS 6

To Perform an Upgrade from Centos6 to 7, Follow steps below:
(Backup the server before)

preupg
rpm --import http://isoredirect.centos.org/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7
/usr/bin/redhat-upgrade-tool-cli --force --network 7 --instrepo=CentOS Mirror
cat /etc/os-release

This method has been used by me before but I do not guarantee that it would still work as this method was long before
 

Ramaaa

Active Member
Sep 23, 2020
37
1
8
Argentina
cPanel Access Level
Root Administrator
If Its a VPS, on right hand side of WHM, It will write KVM or OpenVZ but if its a bare metal, It would write CentOS 6

To Perform an Upgrade from Centos6 to 7, Follow steps below:
(Backup the server before)

preupg
rpm --import http://isoredirect.centos.org/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7
/usr/bin/redhat-upgrade-tool-cli --force --network 7 --instrepo=CentOS Mirror
cat /etc/os-release

This method has been used by me before but I do not guarantee that it would still work as this method was long before
Great, then this server is a VPS, as it says CENTOS 6.10 kvm