stomptokyo
11-13-2003, 09:07 AM
My ikonboard went down recently, and though I initially thought it was due to quota issues, I now discover that no perl scripts are working on my account at all.
Looking at the server error logs, I see the error:
failed to open log file
fopen: Permission denied
[Wed Nov 12 23:03:46 2003] [error] [client 69.36.160.205] Premature end of script headers: /www/badmovieplanet/cgi-bin/ib3/ikonboard.cgi
Which a quick google search tells me that the path to perl is probably wrong. I haven't, however, changed the path in any of these scripts, which is /usr/bin/perl.
I notice that some of the pre-installed scripts have /usr/local/bin/perl, so I tried that, to no avail.
Ikonboard ships with a perl test script, which returns the same 500 error. Here are links to two such scripts, identical except for the path. Perl_test uses #!/usr/local/bin/perl, and perl_test2 uses #!/usr/bin/perl.
http://www.badmovieplanet.com/cgi-bin/perl_test.cgi
http://www.badmovieplanet.com/cgi-bin/perl_test2.cgi
and here's the ikonboard itself:
http://www.badmovieplanet.com/cgi-bin/ib3/ikonboard.cgi
I have, of course, set the permissions on all scripts to 755.
Does anyone have insight on why my perl scripts suddenly stopped working? My contact with the westhost support folks so far has been only "We found this in your error log," which was something I knew already.
(By the way, this also affects my Westhost 1.0 control panel, which returns the same 500 error.)
Thanks so much for any help you can offer.
Looking at the server error logs, I see the error:
failed to open log file
fopen: Permission denied
[Wed Nov 12 23:03:46 2003] [error] [client 69.36.160.205] Premature end of script headers: /www/badmovieplanet/cgi-bin/ib3/ikonboard.cgi
Which a quick google search tells me that the path to perl is probably wrong. I haven't, however, changed the path in any of these scripts, which is /usr/bin/perl.
I notice that some of the pre-installed scripts have /usr/local/bin/perl, so I tried that, to no avail.
Ikonboard ships with a perl test script, which returns the same 500 error. Here are links to two such scripts, identical except for the path. Perl_test uses #!/usr/local/bin/perl, and perl_test2 uses #!/usr/bin/perl.
http://www.badmovieplanet.com/cgi-bin/perl_test.cgi
http://www.badmovieplanet.com/cgi-bin/perl_test2.cgi
and here's the ikonboard itself:
http://www.badmovieplanet.com/cgi-bin/ib3/ikonboard.cgi
I have, of course, set the permissions on all scripts to 755.
Does anyone have insight on why my perl scripts suddenly stopped working? My contact with the westhost support folks so far has been only "We found this in your error log," which was something I knew already.
(By the way, this also affects my Westhost 1.0 control panel, which returns the same 500 error.)
Thanks so much for any help you can offer.