ispCP - Board - Support
[solved] Problem with vHost for psyBNC - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: [solved] Problem with vHost for psyBNC (/thread-2915.html)

Pages: 1 2


RE: Problem with vHost for psyBNC - joximu - 04-04-2008 05:52 PM

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?


RE: Problem with vHost for psyBNC - DaSilva - 04-04-2008 06:02 PM

Sorry, but I don't know what you mean / what I should do now but thanks for your patience!


RE: Problem with vHost for psyBNC - joximu - 04-04-2008 09:49 PM

please do a "ls -la /var/www/fcgi/psybnc/" and post the output.

/J


RE: Problem with vHost for psyBNC - DaSilva - 04-04-2008 09:51 PM

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.


RE: Problem with vHost for psyBNC - joximu - 04-04-2008 09:59 PM

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


RE: Problem with vHost for psyBNC - DaSilva - 04-04-2008 11:05 PM

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


RE: Problem with vHost for psyBNC - joximu - 04-04-2008 11:42 PM

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