All sites down, temporary URLs give 500 internal server error [20$ for help]

Peddeee

Registered
Nov 17, 2010
1
0
51
Short said:
9 Days ago my host moved my VPS to another node. All sites where working for three hours until they all didnt respond. This has lasted for 7 days.
But WHM and vePortal have been working all the time. my hosts support just says that as long as I can SSH into the server they cant help me.

When I tried to access the sites with temporary URLs it first gave me 403 errors (Site forbidden) but when I changed permission for all files/folders to 755 it started giving 500 internal server error. Although I can access picture and pure HTML files with temporary UrLs (But not with the domains).

I believe I have the same problem as this guy: http://forums.cpanel.net/f34/500-internal-server-error-php-file-150233.html

But I am to much noob to understand the solutions that were presented. So I am asking someone to access my server and help me solving this, if the problem gets solved he or she will be rewarded with 20$ in PP. Same counts if anyone post a post with a so spoon feed solution that even I understand.

Thanks in advance

-Peddeee
 
Last edited:

atheros

Member
Nov 18, 2010
15
0
51
Some time ago I also experienced the same thing. All files with .php extnsion can not load with error 500 Internal Server Error.

Since I am not very familiar with the command in Linux, I just tried to update my cpanel. Updating cPanel is one of the commands that I memorized as it is quite easy to remember :) :
Code:
/scripts/upcp --force
Btw, I found this site about list /scritps commands in the /scripts directory and one of commands is about resetting permissions:
Code:
/scripts/fixallinterchangeperm
Maybe you can try that command, but please note that I have not used it's command before :rolleyes:

One thing that you must remember that sometimes we must do the things that maybe we have not done it before.

After all, I don't know does it's make change into your system or not. So, please do it under your own risk :cool:


Hopefully its can help you :p
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
27
143
Houston, TX
cPanel Access Level
Root Administrator
Btw, I found this site about list /scritps commands in the /scripts directory and one of commands is about resetting permissions:
Code:
/scripts/fixallinterchangeperm
Maybe you can try that command, but please note that I have not used it's command before :rolleyes:
That script was only used for the Interchange shopping cart, which is now deprecated. The script was written for cPanel 10 and was last updated in 2006:

Code:
# cat /scripts/fixallinterchangeperm 
#!/usr/bin/perl
# cpanel10 - fixallinterchangeperm           Copyright(c) 1997-2006 cPanel, Inc.
#                                                           All Rights Reserved.
# [email protected]                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited
This script would not be helpful for the internal server error reported by the original poster.
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
27
143
Houston, TX
cPanel Access Level
Root Administrator
but when I changed permission for all files/folders to 755 it started giving 500 internal server error. Although I can access picture and pure HTML files with temporary UrLs
What PHP handler are you using? In the WebHost Manager, click Main >> Service Configuration >> Configure PHP and SuExec. Is the PHP handler suPHP? If so, you can find the exact error by watching /usr/local/apache/logs/error_log and /usr/local/apache/logs/suphp_log while trying to browse a site that causes the error.

With suPHP, directories must have 755 permissions or less, and files must have 644 permissions or less.

We should be able to assist you with this. Please submit a ticket, either by clicking the link in my signature or by clicking Main >> Support >> Support Center in the WebHost Manager.
 

atheros

Member
Nov 18, 2010
15
0
51
That script was only used for the Interchange shopping cart, which is now deprecated. The script was written for cPanel 10 and was last updated in 2006:

Code:
# cat /scripts/fixallinterchangeperm 
#!/usr/bin/perl
# cpanel10 - fixallinterchangeperm           Copyright(c) 1997-2006 cPanel, Inc.
#                                                           All Rights Reserved.
# [email protected]                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited
This script would not be helpful for the internal server error reported by the original poster.
Okay, thank you for your information ;)