Page 1 of 1

webserver down after update certificate?

Posted: 11 Sep 2009, 05:14
by squadra
The webserver gives the folowing error after restart:

Forcing reload of web server (apache2)...Syntax error on line 1 of /etc/apache2/conf.d/my_cert.pem:
Invalid command '-----BEGIN', perhaps misspelled or defined by a module not included in the server configuration
failed!

It seems i'm not able to get it running again? The admin and sites are not accessible anymore. What can i do? Thanks for helping me :-)

Maarten

Re: webserver down after update certificate?

Posted: 11 Sep 2009, 07:08
by carl
squadra wrote:The webserver gives the folowing error after restart:

Forcing reload of web server (apache2)...Syntax error on line 1 of /etc/apache2/conf.d/my_cert.pem:
Invalid command '-----BEGIN', perhaps misspelled or defined by a module not included in the server configuration
failed!

It seems i'm not able to get it running again? The admin and sites are not accessible anymore. What can i do? Thanks for helping me :-)

Maarten
It seems that an rouge my_cert.pem has found itself in the apache conf.d directory. As apache will read all files found in that directory, it's imperative that only valid apache configuration files is located therein.

/Carl

Re: webserver down after update certificate?

Posted: 12 Sep 2009, 08:45
by squadra
Forcing reload of web server (apache2)...httpd (no pid file) not running

Hmmm never mind when i restarted bubba it was fixed! Thanks Carl!