After backup, i have Internal Server Error

fly_in_the_sky

Active Member
Nov 3, 2013
35
0
6
Pyrénnée, France
cPanel Access Level
Root Administrator
IHi,
After a backup (and manuel move between to server)
casse-noisettes.be (is OK)
but my ecommerce (prestashop) casse-noisettes.be/shop make these error :


Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.25 (Unix) mod_ssl/2.2.25 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at casse-noisettes.be Port 80
What can i do ?
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,234
363
cPanel Access Level
DataCenter Provider
Twitter
Hello :)

You will need to check /usr/local/apache/logs/error_log for the specific error message. Let us know the specific error and we can let you know the cause of the problem (likely permission or ownership values).

Thank you.
 

fly_in_the_sky

Active Member
Nov 3, 2013
35
0
6
Pyrénnée, France
cPanel Access Level
Root Administrator
Code:
  GNU nano 2.0.9                      Fichier****: /usr/local/apache/logs/error_log                                                 

[Mon Nov 04 21:23:18 2013] [error] [client 157.55.35.90] Premature end of script headers: product.php
[Mon Nov 04 21:23:18 2013] [error] [client 157.55.35.90] File does not exist: /home/jeuxcoop/public_html/casse-noisettes.be/htdo$
[Mon Nov 04 21:23:23 2013] [error] [client 157.55.35.90] SoftException in Application.cpp:601: Directory "/" is writeable by gro$
[Mon Nov 04 21:23:23 2013] [error] [client 157.55.35.90] Premature end of script headers: category.php
 
Last edited by a moderator:

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,234
363
cPanel Access Level
DataCenter Provider
Twitter
Please check the permission and ownership values on the "/" directory. EX:

Code:
stat /
Also, check it on the account's home and public_html directories:

Code:
stat /home/$username
stat /home/$username/public_html
Note: I edited your last response to include only the actual error message. There is no need to post the entire Apache error log output.

Thank you.
 

fly_in_the_sky

Active Member
Nov 3, 2013
35
0
6
Pyrénnée, France
cPanel Access Level
Root Administrator
[email protected] [~]# stat /
File: «****/****»
Size: 4096 Blocks: 8 IO Block: 4096 répertoire
Device: ca01h/51713d Inode: 2 Links: 22
Access: (0775/drwxrwxr-x) Uid: ( 0/ root) Gid: ( 1001/ UNKNOWN)
Access: 2011-12-21 15:15:30.662799892 +0100
Modify: 2013-11-04 14:56:55.616002027 +0100
Change: 2013-11-04 14:56:55.616002027 +0100
[email protected] [~]#
[email protected] [~]# stat /home/jeuxcoop
File: «****/home/jeuxcoop****»
Size: 20480 Blocks: 40 IO Block: 4096 répertoire
Device: ca01h/51713d Inode: 393587 Links: 31
Access: (0711/drwx--x--x) Uid: ( 502/jeuxcoop) Gid: ( 502/jeuxcoop)
Access: 2013-11-04 15:03:10.111354600 +0100
Modify: 2013-11-04 17:01:36.368002984 +0100
Change: 2013-11-04 17:01:36.368002984 +0100
[email protected] [~]#
[email protected] [~]# stat /home/jeuxcoop/public_html
File: «****/home/jeuxcoop/public_html****»
Size: 4096 Blocks: 8 IO Block: 4096 répertoire
Device: ca01h/51713d Inode: 393594 Links: 14
Access: (0750/drwxr-x---) Uid: ( 502/jeuxcoop) Gid: ( 99/ nobody)
Access: 2013-11-04 15:03:10.111354600 +0100
Modify: 2012-12-29 22:28:00.000000000 +0100
Change: 2013-11-04 15:05:00.420002447 +0100
[email protected] [~]#
Tank you very much for your help :)
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,234
363
cPanel Access Level
DataCenter Provider
Twitter
Is there a specific reason you modified the "/" directory permissions to 0775? This is not recommended. Please update the permissions on the "/" directory to 0755 via:

Code:
chmod 0755 /
Thank you.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,234
363
cPanel Access Level
DataCenter Provider
Twitter
The permissions you need to change it to are listed in my last response. Changing the permissions should resolve the error message you are receiving.

Thank you.
 

fly_in_the_sky

Active Member
Nov 3, 2013
35
0
6
Pyrénnée, France
cPanel Access Level
Root Administrator
The permissions you need to change it to are listed in my last response. Changing the permissions should resolve the error message you are receiving.

Thank you.
:):):):)Waouuuu I love you... :p
14 days with out ecommerce , i lose so many money, but .... now its work ....tank you very much...

I have one question. How it is possible that i change the permission of "/" and it's working ? why ? wath was the problème an why my oder site web was working ?
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,234
363
cPanel Access Level
DataCenter Provider
Twitter
I'm not sure how the permissions on that directory changed on your system. You may want to consult with a system administrator to see why those permissions were configured if you did not make the change yourself.

Thank you.