Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 14 of 14
  1. #1
    Member
    Join Date
    Sep 2003
    Posts
    45

    Default error restarting imap services

    When I tried to restart imap services via whm i get the following error message. When I tried to restart it via shell I was suceesfull.

    imap: [ != ..OK] imap has failed, please contact the sysadmin.

    I checked the /etc/xinetd.d/cpimap file.

    I also tried
    /etc/rc.d/init.d/portsentry stop
    restart imap
    /etc/rc.d/init.d/portsentry start

    Still the error is not fixed. Is this a BUG. Please help. Thanks in advance.

    --Anish

  2. #2
    nat
    nat is offline
    Member
    Join Date
    Jan 2003
    Posts
    210

    Default

    Did you find a fix to this as I am getting the same error.

  3. #3
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    it be better if you post your distro along with cpanel/whm version. If will help people to help you.
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

  4. #4
    nat
    nat is offline
    Member
    Join Date
    Jan 2003
    Posts
    210

    Default

    WHM 8.8.0 cPanel 8.8.0-R119
    RedHat Enterprise 3 - WHM X v2.1.2

    Upgradeing/Downgrading cpanel did not help. Reinstalling IMAP did not help.

  5. #5
    Member
    Join Date
    Jan 2004
    Posts
    19

    Default

    Originally posted by nat
    WHM 8.8.0 cPanel 8.8.0-R119
    RedHat Enterprise 3 - WHM X v2.1.2

    Upgradeing/Downgrading cpanel did not help. Reinstalling IMAP did not help.
    Probably too drastic a measure. Did you check your logs?

  6. #6
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Originally posted by nat
    WHM 8.8.0 cPanel 8.8.0-R119
    RedHat Enterprise 3 - WHM X v2.1.2

    Upgradeing/Downgrading cpanel did not help. Reinstalling IMAP did not help.
    Move to stable, then restart the services and post results here.
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

  7. #7
    nat
    nat is offline
    Member
    Join Date
    Jan 2003
    Posts
    210

    Default

    Results:

    imap: [ != ..OK] imap has failed, please contact the sysadmin.

  8. #8
    Member
    Join Date
    Jan 2004
    Posts
    19

    Default

    Originally posted by nat
    Results:

    imap: [ != ..OK] imap has failed, please contact the sysadmin.
    I don't mean to repeat myself, but I really think checking the logs would be a good idea.

    Try cat /var/log/messages* | grep imap

    Post the most recent results.

  9. #9
    nat
    nat is offline
    Member
    Join Date
    Jan 2003
    Posts
    210

    Default

    Feb 18 17:16:03 server xinetd: xinetd shutdown failed
    Feb 18 17:16:03 server xinetd[19794]: Server in.ntalkd is not executable [file=/etc/xinetd.d/ntalk] [line=9]
    Feb 18 17:16:03 server xinetd[19794]: Error parsing attribute server - DISABLING SERVICE [file=/etc/xinetd.d/ntalk] [line=9]
    Feb 18 17:16:03 server xinetd[19794]: Server in.qpopper is not executable [file=/etc/xinetd.d/pop-3] [line=9]
    Feb 18 17:16:03 server xinetd[19794]: Error parsing attribute server - DISABLING SERVICE [file=/etc/xinetd.d/pop-3] [line=9]
    Feb 18 17:16:03 server xinetd[19794]: Server in.talkd is not executable [file=/etc/xinetd.d/talk] [line=9]
    Feb 18 17:16:03 server xinetd[19794]: Error parsing attribute server - DISABLING SERVICE [file=/etc/xinetd.d/talk] [line=9]
    Feb 18 17:16:03 server xinetd[19794]: Server in.telnetd is not executable [file=/etc/xinetd.d/telnet] [line=9]
    Feb 18 17:16:03 server xinetd[19794]: Error parsing attribute server - DISABLING SERVICE [file=/etc/xinetd.d/telnet] [line=9]
    Feb 18 17:16:03 server xinetd: xinetd startup succeeded
    Feb 18 17:16:03 server xinetd[19794]: xinetd Version 2.3.12 started with libwrap loadavg options compiled in.
    Feb 18 17:16:03 server xinetd[19794]: Started working: 1 available service

    Then i get imap has failed notices every 10 mintues.


    The permissions on those files in /etc/xinetd.d are the same as on the other servers.

    -rw-r--r-- 1 root root 201 Feb 18 17:15 cpimap
    -rw-r--r-- 1 root root 368 Feb 18 17:15 imap
    -rw-r--r-- 1 root root 363 Feb 18 17:15 imaps
    -rw-r--r-- 1 root root 451 Feb 18 17:15 ipop2
    -rw-r--r-- 1 root root 357 Feb 18 17:15 ipop3
    -rw-r--r-- 1 root root 151 Feb 18 17:15 ntalk
    -rw-r--r-- 1 root root 173 Feb 18 17:15 pop-3
    -rw-r--r-- 1 root root 333 Feb 18 17:15 pop3s
    -rw-r--r-- 1 root root 149 Feb 18 17:15 talk
    -rw-r--r-- 1 root root 153 Feb 18 17:15 telnet


    root@server [/etc/xinetd.d]# more telnet
    service telnet
    {
    disable = yes
    socket_type = stream
    protocol = tcp
    wait = no
    user = root
    server = in.telnetd
    }

  10. #10
    cPanel Partner NOC cPanel Partner NOC Badge cyon's Avatar
    Join Date
    Jan 2003
    Posts
    323

    Default

    have you tried this?:

    pico /etc/xinetd.d/imap
    Change the line server = imapd into
    server = /usr/sbin/imapd

  11. #11
    Member
    Join Date
    Jan 2004
    Posts
    19

    Default

    I don't see anything about imap in those log file lines.. did you grep out imap? I'm only looking for imap related entries.. anything?

  12. #12
    nat
    nat is offline
    Member
    Join Date
    Jan 2003
    Posts
    210

    Default

    that is what is displayed in messages when restarting imap using WebHost Manager. It doesn't say anything about IMAP.

    cat messages | grep imap is blank.


    [QUOTE]have you tried this?:

    pico /etc/xinetd.d/imap
    Change the line server = imapd into
    server = /usr/sbin/imapdQUOTE]

    It is already like that.

    # default: off
    # description: The IMAP service allows remote users to access their mail using \
    # an IMAP client such as Mutt, Pine, fetchmail, or Netscape \
    # Communicator.
    service imap
    {
    disable = yes
    socket_type = stream
    wait = no
    user = root
    server = /usr/sbin/imapd
    log_on_success += HOST DURATION
    log_on_failure += HOST
    }



    Thanks for all of your help. I put in a ticket. It was resovled, with "wrong imap binary install. i have install the correct one" but it still is not working and it is still giving the errors.

  13. #13
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    [QUOTE]Originally posted by nat
    that is what is displayed in messages when restarting imap using WebHost Manager. It doesn't say anything about IMAP.

    cat messages | grep imap is blank.


    have you tried this?:

    pico /etc/xinetd.d/imap
    Change the line server = imapd into
    server = /usr/sbin/imapdQUOTE]

    It is already like that.

    # default: off
    # description: The IMAP service allows remote users to access their mail using \
    # an IMAP client such as Mutt, Pine, fetchmail, or Netscape \
    # Communicator.
    service imap
    {
    disable = yes
    socket_type = stream
    wait = no
    user = root
    server = /usr/sbin/imapd
    log_on_success += HOST DURATION
    log_on_failure += HOST
    }



    Thanks for all of your help. I put in a ticket. It was resovled, with "wrong imap binary install. i have install the correct one" but it still is not working and it is still giving the errors.
    Could this be the probs ??

    disable = yes
    Read your post above.
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

  14. #14
    nat
    nat is offline
    Member
    Join Date
    Jan 2003
    Posts
    210

    Default

    That makes since, but I changed it to:

    # default: off
    # description: The IMAP service allows remote users to access their mail using \
    # an IMAP client such as Mutt, Pine, fetchmail, or Netscape \
    # Communicator.
    service imap
    {
    disable = no
    socket_type = stream
    wait = no
    user = root
    server = /usr/sbin/imapd
    log_on_success += HOST DURATION
    log_on_failure += HOST
    }



    And then tried to restart and got:

    imap: [* BY != ..OK] imap has failed, please contact the sysadmin. Same error in logs.

Similar Threads & Tags
Similar threads

  1. Restarting Services
    By mifzal in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 06-03-2011, 07:30 AM
  2. cpanel keeps restarting services
    By ryanlee in forum New User Questions
    Replies: 5
    Last Post: 06-08-2010, 09:29 AM
  3. failed services not restarting
    By erinspice in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-01-2007, 11:43 AM
  4. restarting services
    By blaze64 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 12-23-2003, 03:46 AM
  5. services not restarting =-0
    By Final-Solution in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-27-2002, 07:38 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube