Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Can't send/receive any email from server

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

  1. gundamz

    gundamz Well-Known Member

    Joined:
    Mar 27, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    316
    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]
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #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:
    168
    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:
    316

    Hi sinewy,

    i tried your suggested command. Unfortunately, it doesn't fix the problem.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    191
    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:
    316

    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,191
    Likes Received:
    1
    Trophy Points:
    168
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. gundamz

    gundamz Well-Known Member

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

    It got my server domains in there.

    It doesn't seem to be deleted.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,191
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    India
    cPanel Access Level:
    Root Administrator
    check the permissions: it should be 644.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. gundamz

    gundamz Well-Known Member

    Joined:
    Mar 27, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    316
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #9 gundamz, Nov 26, 2004
    Last edited: Nov 26, 2004
  10. linux-image

    linux-image Well-Known Member

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

    stop exim; start exim.

    start bind.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. gundamz

    gundamz Well-Known Member

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

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice