Jump to content

Apache failed after restart


Talon21

Recommended Posts

Hi,

 

I'm runing a VPS on Debian OS.

It's seems that I manage to mess up my apache when I try to restart it I receive the following:

 

vps:/etc/apache2/sites-available# /etc/init.d/apache2 restart

Forcing reload of web server (apache2).../etc/init.d/apache2: line 78: kill: (15746) - No such process

apache2: Syntax error on line 185 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory

failed!

 

Please advice thanks,

Tal

Link to comment
https://forums.phpfreaks.com/topic/128156-apache-failed-after-restart/
Share on other sites

Ok so we have the following errors:

 

 

 

1. Forcing reload of web server (apache2).../etc/init.d/apache2: line 78: kill: (15746) - No such process

 

Line78:

 

if [ "${PID}" ]; then

# in this case it is everything nice and dandy

# and we kill apache2

Line78: kill $PID

 

 

2. apache2: Syntax error on line 185 of /etc/apache2/apache2.conf:

 

Line185:

 

# Include module configuration:

Include /etc/apache2/mods-enabled/*.load

Line 185: Include /etc/apache2/mods-enabled/*.conf

 

 

3. Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory

 

Line 1:

 

LoadModule php5_module /usr/lib/apache2/modules/libphp5.so

 

 

Thanks Again

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.