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
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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.