![]() |
[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 |
[solved] Problem with vHost for psyBNC - DaSilva - 04-03-2008 05:45 AM I have a problem with the vHost for psyBNC. The site is loading and loading and loading and ends with an error 500. Here is the part of the 00_master.conf: Code: # psyBNC /var/log/apache2/error.log says often Quote:[Wed Apr 02 21:45:06 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/psybnc/php5-fcgi-starter" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds /var/www/fcgi/psybnc/php5-fcgi-starter looks like this: Code: #!/bin/sh User and group "psybnc" have all rights at /var/www/psybnc and /var/www/fcgi/psybnc but with the problem of "endless" loading and error 500. ;open_basedir is commented ( ![]() What could be the problem? Thanks in advance. EDIT: A simple Quote:Alias /bouncer "/var/www/psybnc" shows me the right site but with this errors: Quote:Warning: include(lang_dn.inc.php) [function.include]: failed to open stream: No such file or directory in /var/www/psybnc/config.php on line 13 RE: Problem with vHost for psyBNC - gOOvER - 04-03-2008 07:32 AM Please consult psybnc Forum. This has nothing to do with ispcp itself. When you follow your postet log you will see many error's where you can fix on your own. RE: Problem with vHost for psyBNC - joximu - 04-03-2008 07:52 AM Please also read/learn the differences from mod-php to php fastcgi and how to set php-settings in the latter case. RE: Problem with vHost for psyBNC - DaSilva - 04-03-2008 05:42 PM The errors from the script are not important in this forum. I know that. Because of that the real question was how to setup the correct entry in the 00_master.conf to display the site as global subdomain "bouncer.domain.de". So my question is: What is wrong with my psyBNC vHost? Thanks in advance. RE: Problem with vHost for psyBNC - joximu - 04-03-2008 06:53 PM So, folder /var/www/fcgi/psybnc/ und below belongs to psybnc:psybnc? please use a simple php script to test, so you can exclude errors from the psybnc-software (which may be addressed in a second step). The settings look ok so far. Anything in suexec.log? RE: Problem with vHost for psyBNC - DaSilva - 04-03-2008 07:04 PM suexec.log: Quote:[2008-04-03 06:15:32]: uid: (psybnc/psybnc) gid: (2016/2016) cmd: php5-fcgi-starter (psybnc has user and group id 2016) Hmm, strange. If I create a simple *.html file it is displayed correctly. If I create a simple *.php file it is the same problem like the psybnc files (they are written in PHP also. So it seems to be a problem with *.php files. What could that be? Alias /bouncer "/var/www/psybnc/" displays *.php files correctly. Thanks. and many of Quote:[2008-04-03 10:21:40]: uid: (vu2013/vu2013) gid: (2013/2013) cmd: php5-fcgi-starter with different users. RE: Problem with vHost for psyBNC - joximu - 04-04-2008 05:52 AM the line with the word "mismatch" says it all! set the permissions/ownerschip of the php starter script correctly!!! RE: Problem with vHost for psyBNC - DaSilva - 04-04-2008 06:17 AM /var/www/fcgi/psybnc/php5-fcgi-starter has already the owner "psybnc" and the permission "750". Should I do a "chown 2016 /var/www/fcgi/psybnc/php5-fcgi-starter"? But even with "chmod 777 /var/www/fcgi/psybnc/php5-fcgi-starter" the problem persists. RE: Problem with vHost for psyBNC - joximu - 04-04-2008 07:55 AM You set in apache: SuexecUserGroup psybnc psybnc I don't know the uid/gid of theese but suexec is veryspecial with this. It's about security! target uid/gid (2016/2016) mismatch with directory (2016/0) or program (2016/2001): means: the group of the folder is root and should not be root. Please have a look on the other /var/www/fcgi/* and do it the same way but with the right user AND group. RE: Problem with vHost for psyBNC - DaSilva - 04-04-2008 05:40 PM /etc/passwd : Code: psybnc:x:2016:2016::/home/psybnc/:/bin/sh /etc/goup : Code: psybnc:x:2016: /var/www/psybnc , -R /var/www/psybnc/* , /var/www/fcgi/psybnc and -R /var/www/fcgi/psybnc/* are all owned by psybnc. /var/www/fcgi is owned by vu2000. So everything seems to me like the other entries. What could be the problem? |