Current time: 04-20-2024, 01:10 AM Hello There, Guest! (LoginRegister)


Post Reply 
[solved] Problem with vHost for psyBNC
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #11
RE: Problem with vHost for psyBNC
I'm talking of the group setting, not the user. The user/owner is ok but the group!!!

***
target uid/gid (2016/2016) mismatch with directory (2016/0) or program (2016/2001):
***

The directory has group 0 (root) and the phpstarterscript has group 2001 (vu2001).

What do you need? a picture or a video?
04-04-2008 05:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
DaSilva Offline
Member
***

Posts: 302
Joined: Dec 2007
Reputation: 0
Post: #12
RE: Problem with vHost for psyBNC
Sorry, but I don't know what you mean / what I should do now but thanks for your patience!
04-04-2008 06:02 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #13
RE: Problem with vHost for psyBNC
please do a "ls -la /var/www/fcgi/psybnc/" and post the output.

/J
04-04-2008 09:49 PM
Visit this user's website Find all posts by this user Quote this message in a reply
DaSilva Offline
Member
***

Posts: 302
Joined: Dec 2007
Reputation: 0
Post: #14
RE: Problem with vHost for psyBNC
Quote:drwxr-xr-x 4 psybnc root 4096 2008-04-02 21:28 .
drwxr-xr-x 16 vu2000 vu2000 4096 2008-04-02 21:27 ..
drwxr-x--- 2 psybnc vu2001 4096 2008-02-28 17:41 php4
-rwxr-x--- 1 psybnc vu2001 195 2008-04-02 20:36 php4-fcgi-starter
drwxr-x--- 2 psybnc vu2001 4096 2008-04-02 22:28 php5
-rwxr-x--- 1 psybnc vu2001 195 2008-04-02 20:36 php5-fcgi-starter

You are right but I don't know how to change that.
Can you help me please?
Thanks.
(This post was last modified: 04-04-2008 09:51 PM by DaSilva.)
04-04-2008 09:51 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #15
RE: Problem with vHost for psyBNC
ok, on the console you use "chgrp" to change the group of a file/folder, also with "-R" to change the whole structure...

in future you also can use "chown -R user:group" to set both with one command.

so, for you:
Code:
chgrp -R psybnc:psybnc /var/www/fcgi/psybnc/
this should do the job.

BTW: I also like midnight commander for theese things..., maybe you install the packet "mc"..

/J
04-04-2008 09:59 PM
Visit this user's website Find all posts by this user Quote this message in a reply
DaSilva Offline
Member
***

Posts: 302
Joined: Dec 2007
Reputation: 0
Post: #16
RE: Problem with vHost for psyBNC
After

Code:
chgrp -R psybnc /var/www/fcgi/psybnc/

("chgrp -R psybnc:psybnc /var/www/fcgi/psybnc/" was wrong: "chgrp: ungültige Gruppe »psybnc:psybnc«)

/var/log/apache2/suexec.log like this:

Quote:[2008-04-04 14:59:18]: uid: (psybnc/psybnc) gid: (2016/2016) cmd: php5-fcgi-starter

and the error message is fixed!
Thank you very much for your help!
No better support is possible!
+1 reputation Smile
(This post was last modified: 04-04-2008 11:07 PM by DaSilva.)
04-04-2008 11:05 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #17
RE: Problem with vHost for psyBNC
sorry:

chown -R psybnc:psybnc /var/www/fcgi/psybnc/

or

chgrp -R psybnc /var/www/fcgi/psybnc/

but I hope you get what I wanted to tell you :-)

/Joxi
04-04-2008 11:42 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)