caught SIGTERM, shutting down?

Hi there!

I was trying to enable SSL in my webserver, but when I finished and restart apache, all my hosted websites was offline.

I already reverted all changes and restart apache again, but still offline.

Checked the apache logs and:

[Sun Oct 07 03:49:06 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.14 configured – resuming normal operations

[Sun Oct 07 03:49:06 2012] [warn] long lost child came home! (pid 11607)

[Sun Oct 07 03:49:07 2012] [warn] long lost child came home! (pid 11606)

[Fri Oct 12 12:18:52 2012] [notice] caught SIGTERM, shutting down

What the last could be? caught SIGTERM, shutting down? Already google it, but with no success.

Thanks.

7 Replies

It's probably just indicating that Apache was shut down by your restart command.

I'd suggest running apache2ctl configtest to see if there is a problem with your configuration.

Returned "Syntax OK", everything seems fine.

Any ideia?

Does apache2ctl restart generate any error messages?

Returns: "httpd not running, trying to start"

I found out the problem. There's something going on with de ssl module. I disabled it (a2dismod ssl) and everything started working again, but when I enable it, everything "shutdown".

But I need it enabled! Any ideas of what is going one?

Thanks in advance =)

Check your apache error log it should tell you what's wrong with the ssl configuration.

Nothing in the logs. No erros/notices/warnings.

Strangely the last time I had this issue, it was a problem with making sure my log directory and log files exist (to match my virtual-sites config).

The whole thing went down (not just one foul site) because I had a log directory with no log files in it.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct