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!

IMAP restart in WHM

Discussion in 'General Discussion' started by TRAIN YARD SOFTWARE, Aug 24, 2002.

  1. TRAIN YARD SOFTWARE

    TRAIN YARD SOFTWARE Well-Known Member

    Joined:
    Dec 20, 2001
    Messages:
    224
    Likes Received:
    0
    Trophy Points:
    316
    Attempting to restart imap
    Can't connect at /scripts/restartsrv line 179, line 40594. imap status imap did not return a status report

    How do i correct this?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. ecoutez

    ecoutez Well-Known Member

    Joined:
    May 23, 2002
    Messages:
    152
    Likes Received:
    0
    Trophy Points:
    316
    Looks like the script is looking to restart using inet instead of xinetd. The former was used prior to RedHat 7, the latter from 7.0 and on.

    You could probably edit these two lines:

    $st = '/etc/rc.d/init.d/inet status';
    $command = '/etc/rc.d/init.d/inet stop;/etc/rc.d/init.d/inet start';

    to:

    $st = '/etc/rc.d/init.d/xinetd status';
    $command = '/etc/rc.d/init.d/xinetd stop;/etc/rc.d/init.d/xinetd start';

    Or perhaps just add a symbolic link. Ideally WHM should probably take care of this by looking for the existance of one file or the other, or checking the RH version. I suspect any change you make in the scripts will just get overwritten when CPanel updates.

    - Jason
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. TRAIN YARD SOFTWARE

    TRAIN YARD SOFTWARE Well-Known Member

    Joined:
    Dec 20, 2001
    Messages:
    224
    Likes Received:
    0
    Trophy Points:
    316
    I dont know what file this is in, so I just ran this from prompt:

    &/etc/rc.d/init.d/xinetd stop;/etc/rc.d/init.d/xinetd start&

    and it is all better... Will CPanel update break it?

    -Ed
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Vital

    Vital Active Member

    Joined:
    Nov 17, 2001
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    306
    [quote:db5fe193d5][i:db5fe193d5]Originally posted by TRAIN YARD SOFTWARE[/i:db5fe193d5]

    I dont know what file this is in, so I just ran this from prompt:

    &/etc/rc.d/init.d/xinetd stop;/etc/rc.d/init.d/xinetd start&

    and it is all better... Will CPanel update break it?

    -Ed
    [/quote:db5fe193d5]

    It may. ;) So you'd better just reinstall imap from RPMs using WHM installer link ;) It fixes imap problem more easily (just don't forget to check [x] force)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. bdraco

    bdraco Guest

    should be cleaned up a bit in build 64
     
  6. TRAIN YARD SOFTWARE

    TRAIN YARD SOFTWARE Well-Known Member

    Joined:
    Dec 20, 2001
    Messages:
    224
    Likes Received:
    0
    Trophy Points:
    316
    Thankx Nick
     
    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