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.

Can't send/receive any email from server

Discussion in 'E-mail Discussions' started by gundamz, Nov 26, 2004.

  1. gundamz

    gundamz Well-Known Member

    Joined:
    Mar 27, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    Hi all,

    This is strange.
    I had tried to rebuild exim and my client still can't send or receive any email from the server.

    Any one have similar problem?

    this is a repeated case. Initially, i hire someone to fix it. However, the problem came back again.
    I was told rebuild exim will fix the problem. Isn't this the most easiest way to get exim problem fix?



    Additional info.
    mail log:

    2004-11-26 17:42:37 unexpected disconnection while reading SMTP command from (lotus.cs.berkeley.edu) [221.142.70.203]
     
    #1 gundamz, Nov 26, 2004
    Last edited: Nov 26, 2004
  2. Sinewy

    Sinewy Well-Known Member

    Joined:
    May 15, 2004
    Messages:
    367
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney, Australia
    cPanel Access Level:
    DataCenter Provider
    /scripts/exim4 --force
     
  3. gundamz

    gundamz Well-Known Member

    Joined:
    Mar 27, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16

    Hi sinewy,

    i tried your suggested command. Unfortunately, it doesn't fix the problem.
     
  4. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    Look in /var/log/exim_mainlog and /var/log/exim_paniclog for clues...
     
  5. gundamz

    gundamz Well-Known Member

    Joined:
    Mar 27, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16

    from exim_paniclog

    2004-11-26 13:42:56 failed to open /etc/localdomains for linear search: No such file or directory
    2004-11-26 13:42:59 failed to open /etc/localdomains for linear search: No such file or directory
    2004-11-26 13:42:59 failed to open /etc/localdomains for linear search: No such file or directory
    2004-11-26 17:19:00 non-existent configuration file(s): /etc/exim.conf
    2004-11-26 17:19:02 non-existent configuration file(s): /etc/exim.conf
    2004-11-26 17:19:02 non-existent configuration file(s): /etc/exim.conf
    2004-11-26 17:26:11 socket bind() to port 25 for address (any IPv4) failed: Address already in use: daemon abandoned
    2004-11-26 17:26:11 socket bind() to port 465 for address (any IPv4) failed: Address already in use: daemon abandoned
     
  6. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    that is it; your /etc/localdomains file has been deleted somehow. You will have to create this file again with all the domain name entries in it.
     
  7. gundamz

    gundamz Well-Known Member

    Joined:
    Mar 27, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    i tried pico /etc/localdomains

    It got my server domains in there.

    It doesn't seem to be deleted.
     
  8. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    check the permissions: it should be 644.
     
  9. gundamz

    gundamz Well-Known Member

    Joined:
    Mar 27, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    system show:
    -rw-r--r-- 1 root root 9362 Nov 26 17:52 localdomains




    from exim_paniclog

    The last log is :

    2004-11-26 17:26:11 socket bind() to port 25 for address (any IPv4) failed: Address already in use: daemon abandoned
    2004-11-26 17:26:11 socket bind() to port 465 for address (any IPv4) failed: Address already in use: daemon abandoned
     
    #9 gundamz, Nov 26, 2004
    Last edited: Nov 26, 2004
  10. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    stop the bind process; kill all instances of the same.

    stop exim; start exim.

    start bind.
     
  11. gundamz

    gundamz Well-Known Member

    Joined:
    Mar 27, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    Chirpy had help me fix my problem. Thanks. Rebuild a new system with his package. Anyway need help, can find chirpy aka jonathan. :)
     
Loading...

Share This Page