Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
suexec2 target mismatch?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dodger10k
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jun 2003
Posts: 97

PostPosted: Sun Feb 01, 2004 11:47 pm    Post subject: suexec2 target mismatch? Reply with quote

Hi,

I just recompiled apache2 with changed suexec´s DocRoot to get it working for Virtual Users, and now suexec_log gives me the following error:

Quote:

[2004-02-02 00:42:11]: uid: (1158/web19) gid: (102/102) cmd: search.pl
[2004-02-02 00:42:11]: target uid/gid (1158/102) mismatch with directory (1158/81) or program (1158/81)


I´d like to understand what´s the meaning behind this and - of course - what do I have to do to get this to work? :-)

Any help appreciated :-)
Back to top
View user's profile Send private message
dma
Guru
Guru


Joined: 31 Jan 2003
Posts: 437
Location: Charlotte, NC, USA

PostPosted: Mon Feb 02, 2004 4:25 am    Post subject: Reply with quote

The answer is probably here.

It seems that your group id is somehow messed up, as the user ids are the same.
Back to top
View user's profile Send private message
dodger10k
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jun 2003
Posts: 97

PostPosted: Mon Feb 02, 2004 8:16 am    Post subject: Reply with quote

Hm not sure if I understood the reason completely but I changed the uid/gid-values for suexec and recompiled but still the same error occurs... What else could I check?
Back to top
View user's profile Send private message
dodger10k
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jun 2003
Posts: 97

PostPosted: Mon Feb 02, 2004 8:44 am    Post subject: Reply with quote

Just noticed that the SuexecUsergroup was set to the wrong user. But when I changed it still an InternalServerError occurs and suexec_log shows

Quote:

[2004-02-02 09:43:34]: uid: (1158/web19) gid: (81/81) cmd: search.pl


Any hints?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum