The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Exim is not running

Discussion in 'General Discussion' started by upsforum, Jul 3, 2009.

  1. upsforum

    upsforum Well-Known Member

    Joined:
    Jul 27, 2005
    Messages:
    446
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    I receive this alert mail from my server:


    exim failed @ Fri Jul 3 18:34:15 2009. A restart was attempted automagically.
    Service Check Method: [check command]

    Cmd Service Check Raw Output: Exim is not running
     
  2. konrath

    konrath Well-Known Member

    Joined:
    May 3, 2005
    Messages:
    367
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Brasil


    try
    /scripts/eximup --force
     
  3. eth00

    eth00 Well-Known Member
    PartnerNOC

    Joined:
    Mar 30, 2003
    Messages:
    723
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    NC
    cPanel Access Level:
    Root Administrator
    Exim may have crashed or it may not have responded to the last check it did correctly due to the server overloading.

    Generally if you only get those once in awhile, if you start to get a few of them something is going on that probably needs to be looked into.
     
  4. upsforum

    upsforum Well-Known Member

    Joined:
    Jul 27, 2005
    Messages:
    446
    Likes Received:
    0
    Trophy Points:
    16
    I get another error:

    exim failed @ Tue Jul 7 05:10:46 2009. A restart was attempted automagically.
    Service Check Method: [tcp connect]

    Failure Reason: Unable to connect to port 25

    I try force update but it not work
     
  5. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    If exim is unable to start on port 25, you have a mail configuration issue
    or even more likely another process or firewall that is already hooked
    into port 25 and blocking exim from launching on that port.

    My bets are on a misconfigured firewall application based on what you said.
     
  6. upsforum

    upsforum Well-Known Member

    Joined:
    Jul 27, 2005
    Messages:
    446
    Likes Received:
    0
    Trophy Points:
    16
    I use lfd and csf , this is can the problem?
     
  7. balexander

    balexander Registered

    Joined:
    Sep 27, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hi all

    exim-4.69-4 freebsd 6.2

    _________________________

    myhost# exiwhat
    43770 daemon: -q30m, listening for SMTP on port 25 (IPv6 and IPv4)
    43773 daemon: no queue runs, listening for SMTPS on port 465 (IPv6 and IPv4)
    myhost#

    _________________________
    myhost# telnet localhost 25
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    Connection closed by foreign host.
    myhost#



    _________________________

    Main >> Restart Services >> Mail Server (Exim)

    Restarting Exim Mail Server
    Waiting for exim to restart..............finished.

    exim (/usr/local/sbin/exim -bd -q30m (exim-4.69-4)) running as mailnull with PID 42584
    exim (/usr/local/sbin/exim -tls-on-connect -bd -oX 465 (exim-4.69-4)) running as mailnull with PID 42587

    exim: [ != 220]
    exim has failed, please contact the sysadmin.
    _________________________

    myhost# netstat -a
    Active Internet connections (including servers)
    Proto Recv-Q Send-Q Local Address Foreign Address (state)
    tcp4 0 0 localhost.smtp localhost.59811 TIME_WAIT
    tcp4 0 0 *.smtps *.* LISTEN
    tcp6 0 0 *.smtps *.* LISTEN
    tcp4 0 0 *.smtp *.* LISTEN
    tcp6 0 0 *.smtp *.* LISTEN
    tcp4 0 0 *.2087 *.* LISTEN
    tcp4 0 0 *.2086 *.* LISTEN
    tcp4 0 0 *.2096 *.* LISTEN
    tcp4 0 0 *.2083 *.* LISTEN
    tcp4 0 0 *.2095 *.* LISTEN
    tcp4 0 0 *.2082 *.* LISTEN
    tcp4 0 0 *.pop3s *.* LISTEN
    tcp4 0 0 *.pop3 *.* LISTEN
    tcp4 0 0 *.2078 *.* LISTEN
    tcp4 0 0 *.2077 *.* LISTEN
    tcp4 0 0 *.2084 *.* LISTEN
    tcp4 0 0 *.imap *.* LISTEN
    tcp4 0 0 *.6666 *.* LISTEN
    tcp4 0 0 *.3306 *.* LISTEN
    tcp4 0 0 *.* *.* CLOSED
    tcp46 0 0 *.https *.* LISTEN
    tcp46 0 0 *.8080 *.* LISTEN
    tcp4 0 0 *.* *.* CLOSED
    tcp46 0 0 *.http *.* LISTEN
    tcp6 0 0 *.ftp *.* LISTEN
    tcp4 0 0 *.ftp *.* LISTEN
    tcp4 0 0 localhost.rndc *.* LISTEN
    tcp4 0 0 localhost.domain *.* LISTEN
    udp6 0 0 *.63882 *.*
    udp4 0 0 *.63881 *.*
    udp6 0 0 *.60706 *.*
    udp4 0 0 *.60705 *.*
    udp4 0 0 localhost.domain *.*
    udp4 0 0 *.syslog *.*
    udp6 0 0 *.syslog *.*

    _________________________


    mainlog

    2009-10-07 10:36:33 Start queue run: pid=44799
    2009-10-07 10:36:33 exim 4.69 daemon started: pid=44800, no queue runs, listening for SMTPS on port 465 (IPv6 and IPv4)
    2009-10-07 10:36:33 End queue run: pid=44799
    2009-10-07 10:40:25 1MvOK9-000BlP-Im Cannot lock /var/spool/exim/input/9/1MvOK9-000BlP-Im-D (22): Invalid argument
    2009-10-07 10:40:25 1MvOK9-000BlQ-J1 Cannot lock /var/spool/exim/input/9/1MvOK9-000BlQ-J1-D (22): Invalid argument
    2009-10-07 10:40:25 exim 4.69 daemon started: pid=45235, -q30m, listening for SMTP on port 25 (IPv6 and IPv4)
    2009-10-07 10:40:25 Start queue run: pid=45237
    2009-10-07 10:40:25 End queue run: pid=45237
    2009-10-07 10:40:25 exim 4.69 daemon started: pid=45238, no queue runs, listening for SMTPS on port 465 (IPv6 and IPv4)
    2009-10-07 10:44:00 1MvONc-000Bq4-RW Cannot lock /var/spool/exim/input/c/1MvONc-000Bq4-RW-D (22): Invalid argument

    _________________________


    paniclog:

    2009-10-07 10:40:25 1MvOK9-000BlQ-J1 Cannot lock /var/spool/exim/input/9/1MvOK9-000BlQ-J1-D (22): Invalid argument
    2009-10-07 10:44:00 1MvONc-000Bq4-RW Cannot lock /var/spool/exim/input/c/1MvONc-000Bq4-RW-D (22): Invalid argument


    ????????


    please help!
     
  8. billabongrob

    billabongrob Registered

    Joined:
    Jul 25, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I experienced this previously. Check your csf config for SMTP_ALLOWLOCAL = "0"

    It should be 1 if smtp_block = "1", also be sure to open both 25,26 right below that.
     
Loading...

Share This Page