Hi Joshua, >> I tried it with no luck. I'm far from being a debugger expert, but what's happening doesn't look >> normal to me. strace starts fine and writes tons of stuff when the server starts. I wait until it's >> done and make a request to that web page. Page is displayed but nothing is written in the trace log >> at all, it sits where it stopped after the server start. I've tried -f option on strace but it's no >> different. Also tried truss instead of strace - same story. >> Last lines of the strace log are: >> ====- 8< -=================================================== >> open("/var/run/accept.lock.41858", O_WRONLY) = 12 >> geteuid(0x1) = 0 >> setgid(0x50 >> ====- 8< -=================================================== >> (yes, last line is incomplete) >> I've also tried strace-ing httpd itself, no difference. It does serve pages, it doesn't show >> anything. I suspect this might be due to httpd falling down to user and group "www" (last lines hint >> to that) and it can't be traced thereafter. But Apache doesn't start under root. Do I have any other >> options here? > Are you sure you are passing the "-X", which puts it in single-process > mode? You can try starting under a non-root user to see if the setgid > is really the problem. I've tried strace -u www httpd -X but the result is exactly the same as above. As far as I know Apache needs to start as root to begin listening http ports and switches to www user later for securinty reasons. And yes, I'm starting it with -X option. And server seems to work except strace is not able to trace anything... -- Best regards, Victor --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx