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
<VirtualHost 193.34.68.126:80>
ServerAdmin support[at]frefel.net
DocumentRoot /var/www/psybnc
ServerName bouncer.frefel.net
ServerAlias bouncer.*
ErrorLog /var/log/apache2/users/psybnc-error.log
TransferLog /var/log/apache2/users/psybnc-access.log
CustomLog /var/log/apache2/psybnc-traf.log traff
CustomLog /var/log/apache2/psybnc-combined.log combined
<IfModule suexec_module>
SuexecUserGroup psybnc psybnc
</IfModule>
<Directory /var/www/psybnc>
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<IfModule mod_fastcgi.c>
ScriptAlias /php4/ /var/www/fcgi/psybnc/
ScriptAlias /php5/ /var/www/fcgi/psybnc/
<Directory "/var/www/fcgi/psybnc">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_php4.c>
<Directory /var/www/psybnc>
php_admin_value open_basedir "/var/www/psybnc/:/var/www/psybnc/phptmp:/proc/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/share/php:/usr/share/pear"
php_admin_value session.save_path "/var/www/psybnc/phptmp/"
</Directory>
</IfModule>
<IfModule mod_php5.c>
<Directory /var/www/psybnc>
php_admin_value open_basedir "/var/www/psybnc/:/var/www/psybnc/phptmp:/proc/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/share/php:/usr/share/pear"
php_admin_value session.save_path "/var/www/psybnc/phptmp/"
</Directory>
</IfModule>
</VirtualHost>
/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
umask 022
PHPRC="/var/www/fcgi/psybnc/php5/"
export PHPRC
PHP_FCGI_CHILDREN=2
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=500
export PHP_FCGI_MAX_REQUESTS
exec /usr/bin/php5-cgi
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
Warning: include() [function.include]: Failed opening 'lang_dn.inc.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/psybnc/config.php on line 13
Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /var/www/psybnc/index.php on line 16
Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'vu2001'@'localhost' (using password: NO) in /var/www/psybnc/index.php on line 17
Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /var/www/psybnc/index.php on line 17
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /var/www/psybnc/config.php:13) in /var/www/psybnc/index.php on line 19
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/psybnc/config.php:13) in /var/www/psybnc/index.php on line 19
Warning: Cannot modify header information - headers already sent by (output started at /var/www/psybnc/config.php:13) in /var/www/psybnc/index.php on line 34
Warning: mysql_close(): supplied argument is not a valid MySQL-Link resource in /var/www/psybnc/index.php on line 3933