Web Hosting Forum | Lunarpages
News: July 14, 2008 - New Contest! - Submit Your WordPress Theme Designs, Win BIG!
August 5, 2008 - Time to Submit Your Links for the August 08 Site of the Month Award!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
August 20, 2008, 08:23:15 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Internal Server Error (solved)  (Read 110 times)
aeonnight
Pong! (the videogame) Master
*****
Offline Offline

Posts: 23



WWW
« on: July 11, 2008, 08:25:49 PM »

Hello, my site encountered a problem today, which showed Internal Server Error on my page. The page was a gallery cgi and It worked fine until today..I have other cgi pages they all work fine... can anyone help me to solve this problem?

This is the message shows on the error page now:



Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@etale.us 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/1.3.41 Server at www.etale.us Port 80
« Last Edit: July 12, 2008, 11:52:52 PM by aeonnight » Logged

lostchild368
Pong! (the videogame) Master
*****
Offline Offline

Posts: 21


« Reply #1 on: July 12, 2008, 12:44:24 AM »

Hi aeonnight, I just visited your website and it loads fine on my end.
Logged
aeonnight
Pong! (the videogame) Master
*****
Offline Offline

Posts: 23



WWW
« Reply #2 on: July 12, 2008, 01:06:08 PM »

Thanx lostchild, the part that doesn't work is gallery, other pages they all work fine.

Here's the link to the error page:
http://www.etale.us/minigallery/gallery.cgi
Logged

MrPhil
Quantum Encyclopedia Writer
*****
Offline Offline

Posts: 3201



« Reply #3 on: July 12, 2008, 06:54:28 PM »

Have you made any change to your site in the last few days? Changed permissions, upgraded or edited any files? "World-writable" directories and files (777 or 666 permissions) can trigger a 500 error. Bad file editing (introducing blank lines at the beginning or end) or a bad upload (binary instead of ASCII mode) can trigger a 500 error for a script.

You might want to open a ticket with support and ask if there were any changes on your server around that time, such as a move or software upgrade (PHP, MySQL, Perl). Did LP turn off PHP's register global variables on your server at that time? What is "gallery.cgi" written in? Perl? Did you upgrade a standard (e.g., Fantastico) script?

Do you have a full directory listing (file names, sizes, dates) from when it was working, to compare against what's there now and see if a hacker might have gotten in and changed something? Take a listing now and see if any files don't look familiar, or have suspiciously recent timestamps.

Don't worry about the 404 error. The server is telling you that it went looking for an error document for 500 (e.g., /500.shtml) and found nothing (a 404 result).

Logged

aeonnight
Pong! (the videogame) Master
*****
Offline Offline

Posts: 23



WWW
« Reply #4 on: July 12, 2008, 07:22:59 PM »

Quote
Have you made any change to your site in the last few days? Changed permissions, upgraded or edited any files? "World-writable" directories and files (777 or 666 permissions) can trigger a 500 error. Bad file editing (introducing blank lines at the beginning or end) or a bad upload (binary instead of ASCII mode) can trigger a 500 error for a script.

You might want to open a ticket with support and ask if there were any changes on your server around that time, such as a move or software upgrade (PHP, MySQL, Perl). Did LP turn off PHP's register global variables on your server at that time? What is "gallery.cgi" written in? Perl? Did you upgrade a standard (e.g., Fantastico) script?

Do you have a full directory listing (file names, sizes, dates) from when it was working, to compare against what's there now and see if a hacker might have gotten in and changed something? Take a listing now and see if any files don't look familiar, or have suspiciously recent timestamps.

Don't worry about the 404 error. The server is telling you that it went looking for an error document for 500 (e.g., /500.shtml) and found nothing (a 404 result).

I still can view my gallery from the day before yesterday...I don't remember if I changed anything, but I guess I didn't except uploaded a gif picture to other direction.

Yesterday I logged in to ftp and found that my gallery.cgi changed to permission 0. I reseted it but it didn't work anyway. So I uploaded and recovered the original cgi but it still doesn't work...

It worked fine 2 days ago...

BTW, I don't see any suspicious files...
Logged

aeonnight
Pong! (the videogame) Master
*****
Offline Offline

Posts: 23



WWW
« Reply #5 on: July 12, 2008, 11:53:16 PM »

Thanks all, the problem has been solved.
Logged

MrPhil
Quantum Encyclopedia Writer
*****
Offline Offline

Posts: 3201



« Reply #6 on: July 13, 2008, 09:02:20 AM »

Yesterday I logged in to ftp and found that my gallery.cgi changed to permission 0. I reseted it but it didn't work anyway.

Ah. If a script turns up with permissions of 000, it usually means that LP disabled it because it was consuming too many resources. You'll have to ask them why they disabled it. They should have sent you an email telling you what they did and why -- did you not receive it?
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM