You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/05/07 12:08:42 UTC

DO NOT REPLY [Bug 28824] New: - error logs can end up in /dev/null unexpectedly

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28824>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28824

error logs can end up in /dev/null unexpectedly

           Summary: error logs can end up in /dev/null unexpectedly
           Product: Apache httpd-1.3
           Version: 1.3.29
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: tt@createservices.com


In spite of having "ErrorLog syslog:local1" in httpd.conf I have found that an
error produced by not having the right ip address to bind to ends up in /dev/null.
Here follows a fragment of truss...

7492:   open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 2
7491:   write(1, 0x000390A1, 36)                        = 36
7491:      . / a p a c h e c t l   s t a r t s s l :   h t t p d   s t a r
7491:      t e d\n
7804:   write(2, 0x002A2D1C, 129)                       = 129
7804:      [ F r i   M a y     7   1 0 : 4 7 : 1 7   2 0 0 4 ]   [ c r i t
7804:      ]   ( 1 2 6 ) C a n n o t   a s s i g n   r e q u e s t e d   a
7804:      d d r e s s :   m a k e _ s o c k :   c o u l d   n o t   b i n
7804:      d   t o   a d d r e s s   1 0 . 6 4 . 0 . 2 4 2   p o r t   8 0

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org