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!

exim no longer restarts from SSH. Anyone else notice this?

Discussion in 'E-mail Discussion' started by jols, May 20, 2009.

  1. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    168
    I attempt to restart exim the way we always did via shell, with this:

    /etc/init.d/exim restart

    or this

    service exim restart

    And here is the output that it really just instantly pops on to the shell window seemingly without any delay at all:

    Shutting down exim: [FAILED]
    Shutting down spamd: [FAILED]
    Starting exim-426: [ OK ]
    Starting exim: [ OK ]
    Starting exim-outgoing: [ OK ]
    Starting exim-smtps: [ OK ]

    ... and the results are that exim is not restarted.

    I've also tried entering these two commands, but I get the exact same result:

    service exim stop
    service exim start

    HOWEVER, I do find that I can restart exim via WHM (thank goodness).

    Okay, so we have some scripts that need to restart exim via a shell script, but apparently they no longer will work to restart exim because we can no longer do this via shell.

    By the way, I've also tried this:

    /scripts/restartsrv_exim

    .. but I get the same non-restart-results.

    Does anyone know if there is a better way to restart exim from shell these days?

    Thanks!
     
  2. PlatinumServerM

    PlatinumServerM Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2005
    Messages:
    400
    Likes Received:
    3
    Trophy Points:
    168
    Location:
    New Jersey, USA
    cPanel Access Level:
    Root Administrator
    You would need to check the logs and processes to find out more of what is going on. Something else may be stuck on the port or it may be failing upon loading parts of it.
     
  3. eth00

    eth00 Well-Known Member
    PartnerNOC

    Joined:
    Mar 30, 2003
    Messages:
    723
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    NC
    cPanel Access Level:
    Root Administrator
    I have not seen that issue with servers we work on, sounds like something specific to your server. Has /etc/init.d/exim been modified recently?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. jvandellen

    jvandellen Member
    PartnerNOC

    Joined:
    Jun 19, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    51
    I've got the same issue with spamd on multiple servers...
     
  5. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    168
    Nope. And this same thing is occurring on all of our cPanel servers. Currently running:

    cPanel 11.24.4-R36167 - WHM 11.24.2 - X 3.9
    REDHAT Enterprise 5.2 i686
     
  6. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    What about using /scripts/restartsrv_exim ?
     
  7. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    168
    Thanks, but I tried that. It seems to give the same results as service exim restart, could be wrong though. I'll investigate a bit further.

    Thanks again.
     
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