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 Problems

Discussion in 'E-mail Discussions' started by ade_dnb, Aug 12, 2008.

  1. ade_dnb

    ade_dnb Registered

    Joined:
    Jan 27, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Exim was working fine untill a few days ago when I was recommended to use assp instead of spam assassin. Got that on there fine and was using the testmode untill I was ready to release it into the wild.

    Assp was not delivering some mail and also not sending some mail from VBulletin so I disabled it from CPanel untill I got everything sorted out.

    Im not sure when exim failed but now when trying to restart / start exim from CPanel I get the error:
    Code:
    Attempting to restart exim  	
    Waiting for exim to restart.... . . . . . . . . . . finished.
    
    exim status
    
    mailnull  7975  0.0  0.0   9396  1252 ?        Ss   Jul26   0:00 /usr/sbin/exim -tls-on-connect -bd -oX 465
    
    
    exim: [ != 220] exim has failed, please contact the sysadmin. 

    Ive tried resetting all of exims configurations like suggested elsewhere but still nothing.

    Looking in the logs I find:
    Code:
    2008-08-12 11:32:59 socket bind() to port 25 for address (any IPv4) failed: Address already in use: waiting 30s before trying again (9 more tries)
    2008-08-12 11:32:59 exim 4.69 daemon started: pid=7975, no queue runs, listening for SMTPS on port 465 (IPv4)
    2008-08-12 11:33:29 socket bind() to port 25 for address (any IPv4) failed: Address already in use: waiting 30s before trying again (8 more tries)
    and sudo netstat -natep | grep 25 shows:
    Code:
    tcp        0      0 0.0.0.0:465                 0.0.0.0:*                   LISTEN      0          102875255  12050/exim      
    tcp        0      0 xxx.xxx.xxx.xxx:53          0.0.0.0:*                   LISTEN      25         17691980   27880/named     
    tcp        0      0 xxx.xxx.xxx.xxx:53          0.0.0.0:*                   LISTEN      25         17691978   27880/named     
    tcp        0      0 127.0.0.1:53                0.0.0.0:*                   LISTEN      25         17691976   27880/named     
    tcp        0      0 0.0.0.0:25                  0.0.0.0:*                   LISTEN      0          100305871  30164/perl      
    tcp        0      0 127.0.0.1:953               0.0.0.0:*                   LISTEN      25         17691983   27880/named     
    tcp        0      0 0.0.0.0:2525                0.0.0.0:*                   LISTEN      0          100305874  30164/perl      
    tcp        0      0 xxx.xxx.xxx.xxx:2525        xxx.xxx.xxx.xxx:36160       TIME_WAIT   0          0          -               
    tcp        0      0 xxx.xxx.xxx.xxx:25          xxx.xxx.xxx.xxx:41963       TIME_WAIT   0          0          -               
    tcp        0    281 xxx.xxx.xxx.xxx:2086        xxx.xxx.xxx.xxx:3153            FIN_WAIT1   0          0          -               
    tcp        0      0 xxx.xxx.xxx.xxx:2086        xxx.xxx.xxx.xxx:60721           TIME_WAIT   0          0          -               
    tcp        0      0 xxx.xxx.xxx.xxx:2086        xxx.xxx.xxx.xxx:60695           TIME_WAIT   0          0          -               
    tcp        0      0 xxx.xxx.xxx.xxx:2086        xxx.xxx.xxx.xxx:60700           TIME_WAIT   0          0          -               
    tcp        0      0 xxx.xxx.xxx.xxx:80          xxx.xxx.xxx.xxx:60495           ESTABLISHED 99         102871615  26461/httpd     
    tcp        0   2212 ::ffff:xxx.xxx.xxx.xxx:22   ::ffff:xxx.xxx.xxx.xxx:2211     ESTABLISHED 0          102387277  28414/0
    Should named be listening on port25? Is that why exim is not starting or is there something else that could be causing it to fail?

    Any help on this would be brilliant. Cheers
     
  2. hydra

    hydra Well-Known Member

    Joined:
    Mar 26, 2008
    Messages:
    102
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Amsterdam, Netherlands
    Hi,

    Sorry, not very helpful i know but i don't see named running on port 25.
     
  3. ade_dnb

    ade_dnb Registered

    Joined:
    Jan 27, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Was this not what I thought...?

    Code:
    tcp        0      0 xxx.xxx.xxx.xxx:53          0.0.0.0:*                   LISTEN      25         17691980   27880/named   
    Thanks for the reply...
     
Loading...

Share This Page