View Full Version : 500 Internal Server Error - Every single page
Guest210212002
03-23-2015, 12:27 AM
Not sure what the heck happened here, but my vB instance seems to be completely fubared. I was installing DB's gallery, fiddling with some innocuous settings, and now every single php flle (even phpinfo.php) throws me a 500 error with "premature end of script headers".
I've no idea what to do at this point, I don't think it's really vBulletin - just something triggered and I've no clue what. Any pointers in the right direction would be fantastic.
ForceHSS
03-23-2015, 12:32 AM
Have you tried to revert all work you done before this messed up
Guest210212002
03-23-2015, 12:33 AM
I have, no change. Even a phpinfo.php on a completely different domain (on the same host) throws the same error, so I don't think it's related to vB.
ForceHSS
03-23-2015, 12:34 AM
did your host change something
Guest210212002
03-23-2015, 12:37 AM
Nope. It's not a managed server. Nothing changed, no auto-update, nothing. :\
ForceHSS
03-23-2015, 12:41 AM
This see what others say very late here cant think
Do check server error logs might give more information
Guest210212002
03-23-2015, 12:49 AM
I see tons of this in suphp_log:
oot@s1 [/usr/local/apache/logs]# tail suphp_log
[Sun Mar 22 21:49:17 2015] [info] Executing "(my server path)/public_html/forum/showthread.php" as UID 508, GID 504
ForceHSS
03-23-2015, 01:03 AM
Have enabled mod_userdir I believe your problem is with Suphp
Guest210212002
03-23-2015, 02:00 AM
It's permissions related. No idea why they changed, or how, but here's where I'm at...
I have a phpinfo.php that's 755, owner/group is the apache user. It works. I have a WAP plugin for my site that works, with the whole folder structure 755 with the same owner/group.
I figured "hey, it worked there", so I 755'd my whole forum folder, and set the owner/group to the apache user again, but I still get 500s on all of my vB pages.
I'm making some progress but my eyeballs are starting to bug out... If anyone has any ideas I'll try just about anything at this point. I've chmodded my face off for the last several hours and am running out of ideas.
--------------- Added 1427081379 at 1427081379 ---------------
Just to keep it updated - I rebuild apache, disabled suexec and suphp, still no dice. :(
ForceHSS
03-23-2015, 02:46 AM
If you google the error you have it comes up with some fixes
Guest210212002
03-23-2015, 02:51 AM
I've been doing nothing but google for the last 4 hours unfortunately. :\
I rebuild apache, re-uploaded all of the vB install files, and even went as far as to refresh my database from this morning's backup. Now my pages just drop the connection, and my log is full of this:
[Sun Mar 22 23:49:39 2015] [notice] child pid 19537 exit signal File size limit exceeded (25)
[Sun Mar 22 23:49:39 2015] [notice] child pid 19542 exit signal File size limit exceeded (25)
[Sun Mar 22 23:49:39 2015] [notice] child pid 19544 exit signal File size limit exceeded (25)
Google tells me that it means that my log files are over 2GB, but I've done a find on all files and there are no files on my server at all that are even near 1GB, let alone 2GB.
I fear I'm just making this worse, so any other input please let me have it. I'm DOA and up all night until I fix this, ugh.
--------------- Added 1427083438 at 1427083438 ---------------
I'm back up. No clue what actually fixed it. Combination of:
- Rebuild apache / flush all logs
- Disable suphp
- Re-upload everything
- Revert to an earlier DB
- Recompile apache some more
- Rotate logs again
- Magic...
ForceHSS
03-23-2015, 03:22 AM
Not sure if it will help check post 6 http://www.webhostingtalk.com/showthread.php?t=1042477
Lynne
03-23-2015, 05:17 PM
I'm back up. No clue what actually fixed it. Combination of:
- Rebuild apache / flush all logs
- Disable suphp
- Re-upload everything
- Revert to an earlier DB
- Recompile apache some more
- Rotate logs again
- Magic...
Ah, magic..... :)
I'm glad your site is back up.
TheLastSuperman
03-24-2015, 01:21 AM
http://ubuntuforums.org/showthread.php?t=2222715
Usually when I've ran into UID errors its permission related (by that I mean USER instead of ROOT not CHMOD). Some folks tend to give developers a certain "ftp" account and in some cases you're uploading files to one users account as another user or sometimes if all files uploaded with ROOT user and you use new username could cause 500 errors however typically its 404 for example uploading an image under one account into another users account (under same domain but they had different user accts setup) so then when you go to visit the forum the logo is not showing but once you upload the file under the correct account OR fix the permission via command line it then shows. I couldn't find the link but there's commands you can type out in ssh to also fix permission i.e. re-associate said folder to the correct account and in-turn permissions are fixed.
More Magic https://www.youtube.com/watch?v=HzVkA25Qfck
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.