SIGTERM shutting down
|
06-17-2008, 12:16 AM,
Post: #11
|
|||
|
|||
Re: SIGTERM shutting down
The /var/www/* files
"Well, Jay was so giddy that someone named Jay was involved with this site we posted our first non-eBay listing in 3 years here at Lunarbid (we tried two items at Yahoo once upon a time, they bombed)" -Marie posting in a LunarBid thread at OTWA in 2005 wins the award for 'most moronic reason ever given for choosing a venue"
"thanks twat u must have nothing better 2 do. do u talk to all your members like that. will not be recomending your site. best way to put it is TULIPTOOLS.COM IS REALLY SHIT. DONT JOIN." -pubescent owner of rinky dink off2auction.com in 2011 |
|||
06-17-2008, 12:25 AM,
Post: #12
|
|||
|
|||
Re: SIGTERM shutting down
Awesome, thanks a lot for helping me guys. I've chown -R www-data /var/www/* now and restarted apache. I look forward to check it out tomorrow morning.
|
|||
06-17-2008, 11:38 AM,
Post: #13
|
|||
|
|||
Re: SIGTERM shutting down
Sorry my apache2 went down this morning as well.
It must be something in my cronjob [Tue Jun 17 06:25:09 2008] [notice] caught SIGTERM, shutting down I found this via webmin : For log rotation configured using this module to be performed, the command logrotate must be run on a regular schedule (usually daily) by Cron. Currently, the log rotation command is being run from the script /etc/cron.daily/logrotate every day at 6:25, and cannot be adjusted. Something keep apache2 from being restarted I guess? |
|||
06-17-2008, 11:51 AM,
Post: #14
|
|||
|
|||
Re: SIGTERM shutting down
Oh dear I think I am too old for Linux.
I found this in logrotate.d/apache2 : /etc/init.d/apache2 restart > /dev/null I changed it to /etc/init.d/apache2 restart -USR1 > /dev/null I hope that will help |
|||
06-17-2008, 02:27 PM,
Post: #15
|
|||
|
|||
Re: SIGTERM shutting down
Did you use a passphrase/password when you created the self-signed SSL?
There is a bug in Debian (and probably its offshoot Ubuntu) involving SSL and logrotate which causes a SIGTERM. One solution is to use 'reload' instead of 'restart' in logrotate.d/apache2 The other solution if you're using an SSL with a passphrase is to replace it with one that doesn't use a pasphrase or you could comment out the SSL lines in the virtual host: # SSLEngine on # SSLCertificateFile /etc/apache2/ssl/domain.self.crt # SSLCertificateKeyFile /etc/apache2/ssl/domain.net.key |
|||
06-17-2008, 07:01 PM,
Post: #16
|
|||
|
|||
Re: SIGTERM shutting down
Great, thank you! I think I will try reload, because I really don't like to restart my apache.
|
|||
« Next Oldest | Next Newest »
|
Users browsing this thread: 2 Guest(s)