#1  
Old 16th December 2007, 19:43
asus asus is offline
Member
 
Join Date: Jul 2007
Posts: 67
Thanks: 3
Thanked 1 Time in 1 Post
Default Cron error

ok every day I get this error and it shuts down apache..
Code:
Cron  test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
/etc/cron.daily/logrotate:
[Sun Dec 16 06:27:56 2007] [warn] NameVirtualHost 192.168.1.1:80 has no VirtualHosts
[Sun Dec 16 06:27:56 2007] [warn] NameVirtualHost *:0 has no VirtualHosts
[Sun Dec 16 06:28:06 2007] [warn] NameVirtualHost 192.168.1.1:80 has no VirtualHosts
[Sun Dec 16 06:28:06 2007] [warn] NameVirtualHost *:0 has no VirtualHosts
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
error: error running shared postrotate script for /var/log/apache2/*.log
run-parts: /etc/cron.daily/logrotate exited with return code 1
I wake up and the apache is down and i have like 10 emails from the system telling me that its down can someone please help
Reply With Quote
Sponsored Links
  #2  
Old 17th December 2007, 03:06
asus asus is offline
Member
 
Join Date: Jul 2007
Posts: 67
Thanks: 3
Thanked 1 Time in 1 Post
Default

I also found these errors in the apache logs

[Sun Dec 16 13:32:04 2007] [notice] Apache/2.2.3 (Ubuntu) PHP/5.2.1 mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal operations
[Sun Dec 16 18:46:12 2007] [notice] Graceful restart requested, doing restart
[Sun Dec 16 18:46:12 2007] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Sun Dec 16 18:46:14 2007] [warn] NameVirtualHost *:0 has no VirtualHosts
PHP Warning: Module 'json' already loaded in Unknown on line 0
[Sun Dec 16 18:46:26 2007] [notice] Apache/2.2.3 (Ubuntu) PHP/5.2.1 mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal operations
[Sun Dec 16 18:46:26 2007] [warn] long lost child came home! (pid 4556)
Reply With Quote
  #3  
Old 17th December 2007, 16:49
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Are you using the IP address 0.0.0.0 somewhere in your Apache configuration?
What's the output of
Code:
apache2 -t
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 17th December 2007, 17:55
asus asus is offline
Member
 
Join Date: Jul 2007
Posts: 67
Thanks: 3
Thanked 1 Time in 1 Post
Default

Code:
[Mon Dec 17 11:54:38 2007] [warn] NameVirtualHost *:0 has no VirtualHosts
Syntax OK
Reply With Quote
  #5  
Old 18th December 2007, 17:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Do you use NameVirtualHost *:0 somewhere? Please comment it out and restart Apache.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 19th December 2007, 18:58
asus asus is offline
Member
 
Join Date: Jul 2007
Posts: 67
Thanks: 3
Thanked 1 Time in 1 Post
Default

there is no entry in the apache2.conf with NameVirtualHost *:0
Reply With Quote
  #7  
Old 20th December 2007, 16:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by asus
there is no entry in the apache2.conf with NameVirtualHost *:0
And what about the files that are included/referenced in apache2.conf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
configuring IPTABLES firewall adityavpratap HOWTO-Related Questions 9 27th May 2006 21:42
Frustrated with ISPConfig install! woozyerdaddee Installation/Configuration 4 19th May 2006 03:38
Installation Fails... :( cyberstorm Installation/Configuration 1 15th January 2006 18:07
Could not make OpenSSL yontengyatso Installation/Configuration 3 3rd November 2005 10:50
Install stop at uuwish, UUDeview SeaWolf Installation/Configuration 6 4th October 2005 23:53


All times are GMT +2. The time now is 13:59.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.