Server transfer, HTTP Error 500 - but only on main site. Test sites OK. No errors in log.

philmckrackon

Well-known member
Server transfer, HTTP Error 500 - but only on main site. Test sites OK. No errors in log.

Strange issue. Moving to a different server using WHM transfer tool. Everything transferred with only a few ignorable warnings.

Problem...
One site (main) gives HTTP 500 Error on any page. The two test / addon sites (XF 2.2.16pl2 and XF2.3.2) build sites do not.
To be sure the issue is not DNS or nameservers on the new site the service is disabled.
To get to the new server my host file directs to the new server IP.
Info below following graceful reboot.

Ping 1:
ping1.webp

Edit hosts file:
host1.webp

Ping 2:
ping2.webp

The two sites that work on the new server domain/addon and domain/addon23:
The one that gives 500 = domain/community:
fstructure1.webp

Not working for community/admin either:
500e1.webp

No errors logged after any refresh (CTRL + F5):
noerror1.webp

What I have done:
Two WHM transfers.
Cpanel partial backup / restores of all files / Home directory old server backup - restore new. SQL dumps and restores using CPanel and PHPMyadmin. CPanel compress as one file old server - ftp new server - expand. FTP down old as all non compressed directory structure and FTP to new.
Many other file SQL transfers.

Driving me crazy as I have done this many times!!! :)
500 Error should generate something but it does not...

Thoughts?
 
You are looking at the cPanel logs. You need to look at the apache error log

Code:
/etc/apache2/logs/error_log
 
You are looking at the cPanel logs. You need to look at the apache error log

Code:
/etc/apache2/logs/error_log
Forgot to post the apache log. Nothing in there after a reboot and two page refreshes with two 500 errors. Modsecurity is disabled.


apl1.webp
 
Season 3 Wall GIF by The Simpsons


DOH!!
PHP Memchache extension not installed.
All good now...
 
Last edited:
Back
Top Bottom