httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: [users@httpd] piped logs problem on sco 6.0.0
Date Tue, 06 Dec 2011 19:38:22 GMT
On Tue, Dec 6, 2011 at 1:47 PM, Rob Landrito <rlandrito@gmail.com> wrote:
> Greetings,
>
> I'm trying to used piped logs as described here:
> http://httpd.apache.org/docs/2.2/logs.html#piped.  The environment is
> httpd 2.2.11 on sco 6.0.0 (SCO_SV system 5 6.0.0 i386).  I'm using
> User nouser
> Group nogroup
>
> Apache is unable to start, printing the following to stderr on startup:
> [Tue Dec 06 13:09:59 2011] [error] (22)Invalid argument: setting of
> group failedBroken Pipe

That's the concatenation of two different error messages.

Switch your error log temporarily to a file instead of to a piped
logger, and make sure everything starts up cleanly.  (It looks like
you'll have to modify the Group directive.)

Then try using a piped logger for the access log, again with a simpler
logging mechanism for the error log.


>
> It doesn't seem to matter what program I use on the other end of the
> pipe.  I'm actually trying to use rotatelogs but echo seems to have
> the same problem.  I've tried various setuid tricks just to see if I
> could pinpoint the issue.  I suid'd the rotatelogs binary to root as
> well as nouser and neither seemed to help.  I suspect that this
> problem is isolated to SCO.  Any ideas would be appreciated.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>



-- 
Born in Roswell... married an alien...

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message