Re: Possible Problem With Apache

From: Emma Jukie (kidjue_at_yahoo.co.uk)
Date: 02/19/05

  • Next message: Marko Raiha: "Re: Postfix+Courier-Imap with MySQL."
    Date: Sat, 19 Feb 2005 13:58:28 +0000 (GMT)
    To: M <m@mlnet.co.uk>
    
    

    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@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@freebsd.org mailing list
    > >
    >
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    > > To unsubscribe, send any mail to
    > "freebsd-net-unsubscribe@freebsd.org"
    > >
    > >
    >
    >

            
            
                    
    ___________________________________________________________
    ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"


  • Next message: Marko Raiha: "Re: Postfix+Courier-Imap with MySQL."

    Relevant Pages

    • Re: Possible Problem With Apache
      ... My error log is as follows; ... flock ... > Is apache still running? ... > My guess is that you have a bug in your perl script ...
      (freebsd-net)
    • Re: apache problem
      ... I'm unable to reproduce this on my 1.3.26 ... > Subject: Re: apache problem ... > This causes the cpu to reach 100% and the httpd process consumes all ... >> Few minutes before in error log: ...
      (Incidents)
    • Re: Calling a perl script from an html doc
      ... > created as html files on a linux server, and they pop up in IE6 on our local ... Maybe you need to re-think this and write a perl script that collects the data ... You can use CGI with the Apache webserver and execute perl scripts either by ...
      (comp.lang.perl.misc)
    • Re: newsyslog and apache
      ... detected in the parent process ... the new error log shows, ... overwritten -- Unclean shutdown of previous Apache run? ... uname -a gives ...
      (freebsd-questions)
    • Apache configuration in Redhat
      ... I'm running Redhat 9.0 with Apache 1.3.29. ... Nothing shows in the error log. ... I don't believe the directory really needs an .htaccess file, ...
      (linux.redhat)

  • Quantcast