Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Jun 2006
    Posts
    43

    Default Apache and DNS crashes every 24 hours

    I’m having some difficulties with the apache and dns server failing 2 or 3 times everyday @ the same time…give or take a few hours. An apache or dns restart (sometimes both) seems to fix the problem until next day. I’m not sure if this is due to a dos attack but, to be on the safe side I went ahead and changed the Timeout to 5 seconds in the httpd.conf file and turned the dos prevention on in APF. The apache/dns crashes still occur, this time every 2 or 3 days. So that problem is not fixed. Any ideas on what could now be causing apache and the dns server to crash every 2 or 3 days?

    Also, sense I made these configurations my traffic dropped from 5000+ uniques to under 2000 a day. Is this due to the 5 second Timeout change? Or is my firewall now blocking legitimate traffic?

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Check the appropriate log files, /usr/local/apache/logs/error_log and /var/log/messages to see what error messages you get when they fall over. Do you have PRM installed? Is that killing off the processes - that's the most common cause that I've seen.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Jun 2006
    Posts
    43

    Default

    Ok i found this in /var/log/messages. Looks like some porn site...which i do not host. What is this saying, I have thousends of these in the messages file

    Code:
    Apr 15 23:33:15 server1 sshd(pam_unix)[28537]: check pass; user unknown
    Apr 15 23:33:15 server1 sshd(pam_unix)[28537]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=www.creamhouse.com 
    Apr 15 23:33:15 server1 sshd(pam_unix)[28540]: check pass; user unknown
    Apr 15 23:33:15 server1 sshd(pam_unix)[28540]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=www.creamhouse.com 
    Apr 15 23:33:18 server1 sshd(pam_unix)[28542]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=www.creamhouse.com  user=mailman
    Apr 15 23:33:18 server1 sshd(pam_unix)[28544]: check pass; user unknown
    Apr 15 23:33:18 server1 sshd(pam_unix)[28544]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=www.creamhouse.com 
    Apr 15 23:33:19 server1 sshd(pam_unix)[28546]: check pass; user unknown
    Apr 15 23:33:19 server1 sshd(pam_unix)[28546]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=www.creamhouse.com 
    Apr 15 23:33:19 server1 sshd(pam_unix)[28547]: check pass; user unknown
    Apr 15 23:33:19 server1 sshd(pam_unix)[28547]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=www.creamhouse.com 
    Apr 15 23:33:19 server1 sshd(pam_unix)[28550]: check pass; user unknown
    Apr 15 23:33:19 server1 sshd(pam_unix)[28550]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=www.creamhouse.com

  4. #4
    Member
    Join Date
    Nov 2006
    Posts
    340

    Default

    Same problem here

    Nov 23 19:14:25 server sshd(pam_unix)[29614]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com
    Nov 23 19:14:27 server sshd(pam_unix)[29618]: check pass; user unknown

    Nov 23 19:14:27 server sshd(pam_unix)[29618]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=a2.f5.5646.static.theplanet.com

    Nov 23 19:24:59 server pure-ftpd: (comtek2@189.138.198.131) [INFO] Timeout (no operation for 1800 seconds)
    Nov 23 19:25:01 server pure-ftpd: (?@189.138.198.131) [INFO] New connection from 189.138.198.131
    Nov 23 19:25:01 server pure-ftpd: (?@189.138.198.131) [INFO] comtek2 is now logged in
    Nov 23 19:32:13 server pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
    Nov 23 19:32:13 server pure-ftpd: (?@127.0.0.1) [INFO] Logout.
    Nov 23 19:40:40 server pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
    Nov 23 19:40:40 server pure-ftpd: (?@127.0.0.1) [INFO] Logout.
    Nov 23 19:49:06 server pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
    Nov 23 19:49:06 server pure-ftpd: (?@127.0.0.1) [INFO] Logout.

Similar Threads & Tags
Similar threads

  1. Help! Apache crashes every few hours :/
    By student in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-18-2007, 05:16 PM
  2. My server crashes after running cpbackup for about 3 hours
    By BianchiDude in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 10-01-2005, 12:16 AM
  3. broken apache!!! 10 hours my apache is down!! help!!!
    By the_bobara in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 09-23-2005, 02:15 AM
  4. dcpumon crashes the server every few hours
    By theunknownhost in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-10-2005, 11:52 PM
  5. Apache crash every 10-12 hours
    By cosmin in forum cPanel and WHM Discussions
    Replies: 17
    Last Post: 04-06-2004, 10:14 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube