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 no longer restarts from SSH. Anyone else notice this?

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

  1. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    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:
    397
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    New Jersey, USA
    cPanel Access Level:
    Root Administrator
  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
    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?
     
  4. jvandellen

    jvandellen Member
    PartnerNOC

    Joined:
    Jun 19, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    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:
    38
    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,279
    Likes Received:
    8
    Trophy Points:
    38
    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:
    38
    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