Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: jason_78 on January 05, 2005, 02:42:41 AM

Title: Internal Server Error
Post by: jason_78 on January 05, 2005, 02:42:41 AM
I am running SME6 and when i try to save a login script it comes up with the the following message

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin 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.

If someone can help it would be greatly appreciated
Title: Internal Server Error
Post by: irian on January 05, 2005, 02:09:05 PM
Quote

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


Can you give the information from that log please?
What does your loginscript look like and from where exactly is the script stored?
Title: Internal Server Error
Post by: cydonia on January 05, 2005, 02:32:40 PM
Are you trying to run the script from the cgi-bin?

If so, then this is a probably a few people have experienced, there are heaps of fixes around for this, do a search of the forums.


Tristan
Title: Internal Server Error
Post by: jason_78 on January 06, 2005, 05:55:07 AM
where do i get the log from?
Title: Internal Server Error
Post by: cydonia on January 06, 2005, 08:11:23 AM
server.ip.address/server-manager

un: admin
pw: what ever you set when you setup your server.


Then, you will see a menu on the left, click on "View Log Files"

Look at the httpd error log file.



Tristan
Title: Internal Server Error
Post by: jason_78 on January 06, 2005, 10:39:57 PM
Thanks
This is the log message

Fri Jan  7 07:46:46 2005] loginscript: esmith::showInitial() called too early to check prototype at /etc/e-smith/web/panels/manager/cgi-bin/loginscript line 46.
[Fri Jan  7 07:46:46 2005] loginscript: esmith::performAndShowResult() called too early to check prototype at /etc/e-smith/web/panels/manager/cgi-bin/loginscript line 51.
[Fri Jan  7 07:46:47 2005] loginscript: esmith::showInitial() called too early to check prototype at /etc/e-smith/web/panels/manager/cgi-bin/loginscript line 46.
[Fri Jan  7 07:46:47 2005] loginscript: esmith::performAndShowResult() called too early to check prototype at /etc/e-smith/web/panels/manager/cgi-bin/loginscript line 51.
[Fri Jan  7 07:46:47 2005] loginscript: Couldn't open /home/netlogon/netlogon.template file! at /etc/e-smith/web/panels/manager/cgi-bin/loginscript line 229.
[Fri Jan  7 07:46:47 2005] [error] [client 127.0.0.1] malformed header from script. Bad header=<pre>Couldn't open /home/netlo: /etc/e-smith/web/panels/manager/cgi-bin/loginscript
get_languages: Browser asked for missing languages en-au
get_languages: Browser asked for missing languages en-au
get_languages: Browser asked for missing languages en-au
print() on unopened filehandle esmith::FormMagick::LOG at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 401, <DATA> line 1.
get_languages: Browser asked for missing languages en-au
get_languages: Browser asked for missing languages en-au
get_languages: Browser asked for missing languages en-au
get_languages: Browser asked for missing languages en-au
print() on unopened filehandle esmith::FormMagick::LOG at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 401, <DATA> line 1.
get_languages: Browser asked for missing languages en-au
Title: Internal Server Error
Post by: cydonia on January 07, 2005, 03:36:05 AM
I would say this is to do with permissions, I just posted a thread about this:

http://forums.contribs.org/index.php?topic=25475.0


I still havn't worked out all the files needed, but I managed to get a step closer to working it out.

Specific lines that I would look at are:

Quote from: "jason_78"


[Fri Jan  7 07:46:47 2005] loginscript: Couldn't open /home/netlogon/netlogon.template file! at /etc/e-smith/web/panels/manager/cgi-bin/loginscript line 229.

[Fri Jan  7 07:46:47 2005] [error] [client 127.0.0.1] malformed header from script. Bad header=<pre>Couldn't open /home/netlo: /etc/e-smith/web/panels/manager/cgi-bin/loginscript



They look like they may be permission related.  Do a search for "Internal Server Error" on the forums, there was a similar sort of fix discussed recently.

DISCLAIMER:  These are suggestions only, I havn't tried any of these, fiddling with permissions can sometimes wreck things.  Make sure you take note of any of the original permissions if you start changing things.


Tristan