Apache2 doesn't start after I rebooted my new B3 box. Before the reboot I disabled ftp and mail through the web interface, and now after a reboot apache doesn't start. I see no signs of it even starting in the apache log,
there is a link in /etc/rc2.d to ../init.d/apache2 so it should start and give some error somewhere but no.
I have ssh access to the box and when I try to start it manually:
/etc/init.d/apache2 start
Code: Select all
root@b3:/var/log# /etc/init.d/apache2 start
Starting web server: apache2[Wed Jun 06 11:43:44 2012] [warn] The Alias directive in /etc/apache2/conf.d/admin.conf at line 1 will probably never match because it overlaps an earlier Alias.
[Wed Jun 06 11:43:44 2012] [warn] The ScriptAlias directive in /etc/apache2/conf.d/admin.conf at line 12 will probably never match because it overlaps an earlier ScriptAlias.
Syntax error on line 13 of /etc/apache2/conf.d/admin.conf:
FastCgiExternalServer: redefinition of previously defined class "/usr/share/web-admin/admin/index.php"
Action 'start' failed.
The Apache error log may have more information.
failed!
Code: Select all
Alias /admin /usr/share/web-admin/admin
<Directory /usr/share/web-admin/admin >
AllowOverride None
Order allow,deny
allow from all
DirectoryIndex index.php
AddHandler php-cgi .php
Action php-cgi /fcgi-bin/php.cgi virtual
</Directory>
ScriptAlias /fcgi-bin/php.cgi /usr/share/web-admin/admin
FastCgiExternalServer /usr/share/web-admin/admin/index.php -socket fcgi -idle-timeout 120 -flush
<Location /admin>
RewriteEngine on
RewriteBase /admin
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</Location>
Thanx
/zw