Portal Home > Knowledgebase > Articles Database > Internal Server Error, Please help.


Internal Server Error, Please help.




Posted by truluv, 10-04-2010, 12:49 PM
I have a dedicated server, running centos, with cpanel. I tried to run vbulletin on it but when access the page it given me "Error 500 Internal Server Error" I tried to google it but no solution. Someone please help Thank you

Posted by forumtalk, 10-04-2010, 02:08 PM
why don't you check logs This can be due to many reasons such as fill logs file with max limits , invalid file permission ....

Posted by mariushm, 10-04-2010, 04:34 PM
Could be a mod_rewrite issue ... something in the .htaccess file could be written incorrectly or you don't have the rewrite module enabled in apache's configuration.

Posted by truluv, 10-04-2010, 04:42 PM
i looked throught the error_log, there no error related to the error i'm getting. Can you guys please be specific, i'm noobs

Posted by voidSecurity, 10-04-2010, 04:42 PM
check permissions, if you are running suphp (they need to be 755)

Posted by viGeek, 10-04-2010, 04:54 PM
Let's see some logs (access & error), answer probably lies within them.

Posted by truluv, 10-04-2010, 06:23 PM
this is the error log when it show the internal error message, please help [Mon Oct 04 07:33:26 2010] [error] [client USER.IP.ADDRESS] /usr/bin/php: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so: undefined symbol: zend_atol, referer: domain.com/forum-directory/sub-directory/index.php [Mon Oct 04 07:33:26 2010] [error] [client USER.IP.ADDRESS] Premature end of script headers: index.php, referer: domain.com/forum-directory/sub-directory/index.php [Mon Oct 04 07:33:26 2010] [error] [client USER.IP.ADDRESS] File does not exist: /home/USERNAME/public_html/500.shtml, referer: forum-directory/sub-directory/index.php [Mon Oct 04 07:33:28 2010] [error] [client USER.IP.ADDRESS] /usr/bin/php: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so: undefined symbol: zend_atol, referer: /forum-directory/sub-directory/index.php?do=home [Mon Oct 04 07:33:28 2010] [error] [client USER.IP.ADDRESS] Premature end of script headers: newsproxy.php, referer: forum-directory/sub-directory/index.php?do=home [Mon Oct 04 07:33:28 2010] [error] [client USER.IP.ADDRESS] File does not exist: /home/USERNAME/public_html/500.shtml, referer: forum-directory/sub-directory/index.php?do=home

Posted by LnxtecH, 10-04-2010, 07:07 PM
Reinstall suhosin and it will work.

Posted by net, 10-04-2010, 07:17 PM
Moved > Hosting Security and Technology.

Posted by truluv, 10-04-2010, 07:49 PM
Thank you Lnxtech, but the error still getting the error "Internal Server Error The server encounted an internal error or misconfiguation and was uable to complete your request." just checking the error log and it giving the samething as before.

Posted by Hillockhosting, 10-04-2010, 11:58 PM
1) chmod 755 public_html -R 2) Check your .htaccess 3) Also ask hosting to check httpd.conf to see if they have messed up some parameter or rebuild apache

Posted by truluv, 10-05-2010, 12:12 AM
1. checked 2. checked 3. i'll have, re-build apache through easy apache but no luck

Posted by Hillockhosting, 10-05-2010, 12:32 AM
Is this a wordpress application ?

Posted by truluv, 10-05-2010, 01:05 AM
im running vbulletin

Posted by gate2vn, 10-05-2010, 01:11 AM
What are the permissions of index.php and newsproxy.php?

Posted by truluv, 10-05-2010, 02:34 AM
0644 for both of them.

Posted by LnxtecH, 10-05-2010, 10:56 AM
Could you disable suhosin temporarily and see if it works?

Posted by BXmanagement, 10-05-2010, 11:03 AM
Did this only start happening after you uploaded and attempted to install your script? Try uploading your script as a .zip, .tar, .tar.gz, etc archive and then extract on the server with your control panel. That should set the correct permissions for you and ensure all files are uploaded. You can also have your hosting provider make sure your entire account has correct permissions and ownership.

Posted by truluv, 10-05-2010, 06:51 PM
Lnxtech: i'll tried that tonight Bxmanagement: the account was create using cpanel so it should have the correct permission ? thanks

Posted by truluv, 10-05-2010, 08:31 PM
I just check at the permission for public_html look like: drwxr-x--- username nobody 4096 public_html/ shouldn't it be drwxr-xr-x username username 4096 ? and www is forward to public_html and look like: lrwxrwxrwx username username www -> public_html/

Posted by BXmanagement, 10-05-2010, 09:08 PM
drwxr-x--- public_html is fine, you can try chmod to 755. I've seen wordpress require that before. First, I'd recommend contacting your host and asking them to update permissions of your entire account, then move on from there. Last edited by BXmanagement; 10-05-2010 at 09:08 PM. Reason: spelling

Posted by truluv, 10-06-2010, 12:52 AM
First, I'd recommend contacting your host and asking them to update permissions of your entire account, then move on from there. the server is unmanaged, could you please show how to set the correct permission and ownership? I do have root access to shell and cpanel. Thanks

Posted by ppaul81, 10-06-2010, 01:16 AM
Well if the OP is on shared hosting then contacting host is the solution. If on a VPS or Dedicated server, then check the configuration file at HTTPD, try restarting the same. If any error plz paste here.

Posted by BXmanagement, 10-06-2010, 01:28 AM
I use the following to set the correct permissions from within the accounts public_html: find -type d -exec chmod 755 '{}' \; find -type f -exec chmod 644 '{}' \; find -type f -iname "*.cgi" -o -iname "*.pl" -exec chmod 755 '{}' \;

Posted by Hostify Networks, 10-06-2010, 03:19 AM
The OP's problem is with Suhosin. The simplest way to fix this is to disable Suhosin: 1) Login to SSH as root. 2) type 3) Find and change to 4) Save the file and restart Apache 5) Verify that the error has gone away

Posted by truluv, 10-07-2010, 01:33 AM
thank you all for helping. Like PVCSNathan said, my real problem is SuHosin. I un-install SuHosin and everything work normal. Can anyone get SuHosin to work with vBulletin correctly ?

Posted by care4server, 10-07-2010, 02:37 AM
Try in php.ini suhosin.request.max_vars = 2048 suhosin.post.max_vars = 2048 add suhosin.log.sapi = 511 to your php.ini to force suhosin to log all of its errors which could help track them down. suhosin.cookie.encrypt = Off suhosin.memory_limit = 32M suhosin.session.encrypt = Off suhosin.log.sapi = 511 suhosin.get.max_value_length = 1024



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read


Language:

LoadingRetrieving latest tweet...

Back to Top Copyright © 2018 DC International LLC. - All Rights Reserved.