Possible Problem With Apache
Emma Jukie
kidjue at yahoo.co.uk
Sat Feb 19 05:58:30 PST 2005
Apparently apache is still running at that point in
time. My error log is as follows;
test# tail /var/log/httpd-error.log
[Sat Feb 19 16:38:17 2005] [notice] Accept mutex:
flock (Default: flock)
[Sat Feb 19 16:38:19 2005] [error] [client
xx.xx.xx.xx] File does not exist:
/usr/local/www/cgi-bin/favicon.ico
[Sat Feb 19 16:38:22 2005] [error] [client
xx.xx.xx.xx] File does not exist:
/usr/local/www/cgi-bin/favicon.ico
[Sat Feb 19 16:38:24 2005] [error] [client
xx.xx.xx.xx] File does not exist:
/usr/local/www/cgi-bin/favicon.ico
[Sat Feb 19 16:38:27 2005] [error] [client
xx.xx.xx.xx] File does not exist:
/usr/local/www/cgi-bin/favicon.ico
[Sat Feb 19 16:38:38 2005] [notice] SIGHUP received.
Attempting to restart
[Sat Feb 19 16:38:39 2005] [notice] Apache/1.3.33
(Unix) mod_perl/1.29 mod_ssl/2.8.22 OpenSSL/0.9.7d
configured -- resuming normal operations
[Sat Feb 19 16:38:39 2005] [notice] Accept mutex:
flock (Default: flock)
[Sat Feb 19 16:38:41 2005] [error] [client
xx.xx.xx.xx] File does not exist:
/usr/local/www/cgi-bin/favicon.ico
[Sat Feb 19 16:38:43 2005] [error] [client
xx.xx.xx.xx] File does not exist:
/usr/local/www/cgi-bin/favicon.ico
Rgds,
Emma.
--- M <m at mlnet.co.uk> wrote:
>
> What does your error_log say?
> Is apache still running?
>
> Put debug messages in your script (if you print to
> STDERR, eg
>
> print STDERR "watchpoint 4 variable x=$x\n";
>
> you can get more usefull information in your
> error_log
> file.
>
> Write perl which has 'use strict;' somewhere near
> the
> top - best practice. If you can use -Tw at the
> start
> oif the first line, eg
> #!/usr/local/bin/perl -Tw
> (path is dependant on where perl is located on your
> system.)
>
> My guess is that you have a bug in your perl script
> that
> causes it to either eat memory, not close files,
> leave locks, or never end.
>
>
> Regards
>
>
> Matthew
>
>
>
> > Hi all,
> >
> > I have created a GUI with the help of Perl scripts
> and
> > Apache as my web server and this is running off a
> > FreeBSD 4.x platform. The GUI has several menus
> plus
> > components but the problem is whenever I click on
> a
> > menu say, 'Submit' after I have made some
> > modifications, a web page comes up with the error,
> > "Internal Server Error, please contact your
> Systems
> > Administrator." To overcome this and view the page
> I
> > want, I have to restart apache from command line.
> Yet
> > at this point in time apache is actually running!
> >
> > My Apache and Perl versions are as below;
> > apache+mod_ssl-1.3.33+2.8.22
> > mod_perl-1.29_1
> >
> > Anyone got ideas on how I can go about this? Your
> > quick responses will be highly appreciated.
> >
> > Thanks,
> > Emma.
> >
> >
> >
> >
> >
> >
> >
> >
>
___________________________________________________________
>
> > ALL-NEW Yahoo! Messenger - all new features - even
> more fun! http://uk.messenger.yahoo.com
> > _______________________________________________
> > freebsd-net at freebsd.org mailing list
> >
>
http://lists.freebsd.org/mailman/listinfo/freebsd-net
> > To unsubscribe, send any mail to
> "freebsd-net-unsubscribe at freebsd.org"
> >
> >
>
>
___________________________________________________________
ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
More information about the freebsd-net
mailing list