Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th November 2008, 18:55
id10t id10t is offline
Senior Member
 
Join Date: Nov 2008
Posts: 242
Thanks: 2
Thanked 22 Times in 22 Posts
Default ispconfig mailing that server is down, it isn't...

OK... so ISPConfig is sending mail every 15 minutes saying the apache service isn't running on an IP. It is though...

During setup, ISPConfig bound to both IPs I have. Since then I've reconfigured it so that hosted sites are served from one ip (the one being reported down) and ISPConfig is being served from the second IP (with SSL on 443). Everything is working fine, but... the email is annoying. And I'd rather it send mail when things really are broken, so just ignoring the messages coming isn't a good solution either.

Any ideas?
Reply With Quote
Sponsored Links
  #2  
Old 20th November 2008, 19:46
id10t id10t is offline
Senior Member
 
Join Date: Nov 2008
Posts: 242
Thanks: 2
Thanked 22 Times in 22 Posts
 
Default

Solved it! Amazing what lunch and a soda can do for your brain...

Anyway, in /root/ispconfig/scripts/shell the services_check.php script checks for localhost connectivity. That is what sends cron job emails. Changed it to point to the IP I have apache listening on and ran the script, no mail.

The script that controls the "services" tab in the web interface was also reporting it down, although that is the IP that I have "available" to host sites on elsewhere in the config. Assuming that it too was checking localhost, I simply re-edited my /etc/apache2/ports.conf file and have apache2 listening on the one IP and on localhost. No more red there either!
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
Ubuntu Server, postfix, gmail relay sjau Server Operation 3 14th December 2010 19:20
Problem with keeping Apache alive bobeq Server Operation 3 29th November 2007 17:11
ispconfig - server migration best way sygram Installation/Configuration 3 26th October 2007 12:37
[Multiple ISPConfig servers] Howto select best server for remoting account creation? krakoukas Installation/Configuration 4 8th July 2007 20:01
Rejecting outbound mail tristanlee85 General 11 20th May 2007 18:04


All times are GMT +2. The time now is 00:43.


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