Portal Home > Knowledgebase > Articles Database > Internal Server Error


Internal Server Error




Posted by almowaly, 05-14-2009, 07:37 PM
Hello I pay ihost script, but when I upload it and try install it I have this message Internal Server Error I'm server admin there is no httaccess file so what is the problem? server: Linux thank you

Posted by suhailc, 05-14-2009, 07:40 PM
Check your Apache error logs. It probably permissions or ownership problem.

Posted by almowaly, 05-14-2009, 07:45 PM
Hello could you give me the method please? thank you

Posted by Robert vd Boorn, 05-14-2009, 07:52 PM
vi /etc/httpd/logs/error_log

Posted by almowaly, 05-14-2009, 07:58 PM
Hello I didn't found anything

Posted by almowaly, 05-14-2009, 08:34 PM
Hello.....

Posted by jai_hoo, 05-14-2009, 10:39 PM
It can either be related to some issue within the script or some permission issues: SCRIPT ERROR : ============= If the script running is a perl script: The shebang line: the first line of a CGI script must contain the path to the Perl binary on the server. On most UNIX servers this is just #!/usr/bin/perl or sometimes #!/usr/local/bin/perl and you can always run the command "which perl" to find out for sure. PERMISSION ISSUES: ================= 1) If you are using any cgi script see that the cgi-bin directories as well as cgi scripts have 755 permission. 2)Line endings: the cause of the transfer-mode problem is actually another problem in itself: different types of Operating Systems (namely, Windows vs. UNIX/Linux/everything) use different character codes to represent line-endings. If your server is a UNIX server, but you're editing your CGI script on a Windows computer with a text-editor that doesn't use UNIX-style line-endings, it'll cause problems. Applications like GoLive and Dreamweaver sometimes get this wrong. Even built-in editors can't agree: WordPad (not Word) seems to get it right while Notepad messes it up. So try opening & saving your CGI script in a different text editor and uploading it to the server again. 3) Suxec problem : Check if you have a /var/log/apache/suexec.log file; if so, and if it's the problem, it'll explain the reason why it's denying your script from executing properly. One easy fix to try is adding a "-w" to the end of the first line of your Perl script, i.e. change the first line from "#!/usr/bin/perl" to "#!/usr/bin/perl -w" and see if that makes suEXEC happy. Another common fix is to make sure that your CGI script has the same user/group ownership as your cgi-bin folder. 4)If the problem is while accessing PHP script and if the php is complied as php suxec. See that all executable files should have 644 and all directories should have 755 permission. he ownership of the files/directories should also be the same account user and not apache user like "apache" or "nobody".

Posted by david510, 05-14-2009, 10:57 PM
You did not find anything in the log file or you were not even to find the log file? What sort of script is that?

Posted by jphilipson, 05-15-2009, 12:46 AM
Think you better find some body to help if you can't find the error_log.. Anyway, here's some other spots it may be.. cPanel /usr/local/apache/logs/error_log Plesk /var/www/vhosts/domainname.com/statitics/logs/error_log you can also try "locate error_log" command to find it

Posted by ZKuJoe, 05-15-2009, 01:31 AM
Ask your server admin/web host to give you the error message so you can post it here.

Posted by InstaCarma_Support, 05-15-2009, 07:08 AM
Correct. The error message is likely to tell you the exact reason why this is happening. It would be of great help if you could find that. I feel that this is a permission issue with the script though.

Posted by jshtoch, 05-16-2009, 01:26 AM
These Internal Server Errors I've always seen them related to permissions.



Was this answer helpful?

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

Also Read
ivhosting.com (Views: 473)
Mount Network HDD (Views: 471)