I upgraded to Apache 2.2 this past weekend, and everything looked to be going ok until a client emailed in getting this error on their script.
scgiwrap: Caller must be uid 99
When I had Apache 1.3, the suexec_log looked like this:
[2008-01-19 05:13:56]: info: (target/actual) uid: (blah/blah) gid: (blah/blah) cmd: guestbook.cgi
[2008-01-19 05:13:56]: info: (target/actual) uid: (blah/blah) gid: (blah/blah) cmd: guestbook.cgi
[2008-01-19 05:13:57]: info: (target/actual) uid: (blah2/blah2) gid: (blah2/blah2) cmd: guestbook.cgi
[2008-01-19 05:14:32]: info: (target/actual) uid: (blah2/blah2) gid: (blah2/blah2) cmd: agora.cgi
Now with 2.2 after recompile, they look like this.
[2008-01-20 14:37:20]: uid: (32307/blahblah) gid: (32309/32309) cmd: Count.cgi
[2008-01-20 14:37:23]: uid: (32427/blah) gid: (32429/32429) cmd: randomvideo.pl
[2008-01-20 14:37:23]: uid: (32427/blah) gid: (32429/32429) cmd: currentupdatex.pl
[2008-01-20 14:37:23]: uid: (32427/blah) gid: (32429/32429) cmd: allusers2.pl
and they get the errors above. I've recompiled, and still the same thing - is there some step that I missed somewhere that I should have done but didn't do? This is happening on all servers. Also getting an occasional error in the log of:
[2008-01-20 14:38:43]: cannot stat program: (date --utc)
scgiwrap: Caller must be uid 99
When I had Apache 1.3, the suexec_log looked like this:
[2008-01-19 05:13:56]: info: (target/actual) uid: (blah/blah) gid: (blah/blah) cmd: guestbook.cgi
[2008-01-19 05:13:56]: info: (target/actual) uid: (blah/blah) gid: (blah/blah) cmd: guestbook.cgi
[2008-01-19 05:13:57]: info: (target/actual) uid: (blah2/blah2) gid: (blah2/blah2) cmd: guestbook.cgi
[2008-01-19 05:14:32]: info: (target/actual) uid: (blah2/blah2) gid: (blah2/blah2) cmd: agora.cgi
Now with 2.2 after recompile, they look like this.
[2008-01-20 14:37:20]: uid: (32307/blahblah) gid: (32309/32309) cmd: Count.cgi
[2008-01-20 14:37:23]: uid: (32427/blah) gid: (32429/32429) cmd: randomvideo.pl
[2008-01-20 14:37:23]: uid: (32427/blah) gid: (32429/32429) cmd: currentupdatex.pl
[2008-01-20 14:37:23]: uid: (32427/blah) gid: (32429/32429) cmd: allusers2.pl
and they get the errors above. I've recompiled, and still the same thing - is there some step that I missed somewhere that I should have done but didn't do? This is happening on all servers. Also getting an occasional error in the log of:
[2008-01-20 14:38:43]: cannot stat program: (date --utc)
Last edited: