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.

IMAP Server can not be started

Discussion in 'General Discussion' started by xp2u, May 8, 2003.

  1. xp2u

    xp2u Active Member

    Joined:
    Jan 27, 2003
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    My Imap Server can not be started. Below is the error message:

    Server imapd is not executable [line=8] imap has failed, please contact the sysadmin.

    Anyone knows how to solve it?
     
  2. lhpnet

    lhpnet Member

    Joined:
    Apr 27, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    :) I had the same problem and seeked for help A LOT with no prevail. Then aftera bout a week I found the simple fix. :) See if it works.

    Try to
    vi /etc/xinetd.d/imap
    Change the line server = imapd into
    server = /usr/sbin/imapd

    The default installation assumes imapd is in the path environment which is not always true on all system. We just need to set it to the absolute path.

    Hope it helps.

    ML
     
  3. xp2u

    xp2u Active Member

    Joined:
    Jan 27, 2003
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    Actually, the setting is ok. Please see below But Imao can not be start:


    service imap
    {
    socket_type = stream
    wait = no
    user = root
    server = /usr/sbin/imapd
    log_on_success += HOST DURATION
    log_on_failure += HOST
    disable = yes
    }
     
  4. howard

    howard Well-Known Member

    Joined:
    Apr 20, 2003
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    have you tired changing that disable=yes to disable=no ?
     
  5. cyon

    cyon Well-Known Member
    PartnerNOC

    Joined:
    Jan 15, 2003
    Messages:
    320
    Likes Received:
    0
    Trophy Points:
    16
    wow, thx lhpnet , that worked for me!

    cPanel.net Support Ticket Number:
     
  6. WebNET

    WebNET Active Member

    Joined:
    Jul 21, 2003
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    USA Brooklyn NYC
    Xcellent. Worked over here!

    David K.

    cPanel.net Support Ticket Number:
     
  7. isnoop

    isnoop Active Member

    Joined:
    Jun 13, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Great fix. Thanks!
     
  8. gershwin

    gershwin Member

    Joined:
    Nov 16, 2003
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    server = /usr/sbin/imapd

    Thank you so much for taking time to post this fix.
     
  9. shadowspid

    shadowspid Active Member

    Joined:
    Nov 28, 2002
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6

    Hooray!!! works on my 8.5.5 E65
     
  10. Devil Inside

    Devil Inside Well-Known Member

    Joined:
    Apr 4, 2003
    Messages:
    277
    Likes Received:
    0
    Trophy Points:
    16
    server = /usr/sbin/imapd

    wow - thanks! After beating my brain for awhile as to why imap died after a couple of simple changes...that saved me!
     
  11. yufool

    yufool Active Member

    Joined:
    Jan 24, 2004
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    WOW AWESOME!
    it fixed my problem too

    Thanks
     
  12. viooltje

    viooltje Well-Known Member

    Joined:
    Mar 14, 2004
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    root@silent [/home/admin]# pico /etc/xinetd.d/imap
    root@silent [/home/admin]# /etc/xinetd.d/imap
    bash: /etc/xinetd.d/imap: No such file or directory
    root@silent [/home/admin]# bash: /etc/xinetd.d/imap: No such file or directory
    root@silent [/home/admin]#


    someone help me out please!!!
     
  13. viooltje

    viooltje Well-Known Member

    Joined:
    Mar 14, 2004
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    root@silent [/etc/xinetd.d]# ls -al
    total 24
    drwxr-xr-x 2 root root 4096 Mar 15 00:51 ./
    drwxr-xr-x 56 root root 8192 Mar 15 00:44 ../
    -rw------- 1 root root 12288 Mar 15 00:52 .imap.swp
    root@silent [/etc/xinetd.d]#


    root@silent [/usr/sbin]# whereis imapd
    imapd: /usr/sbin/imapd




    ?? what now
     
  14. katz_global

    katz_global Well-Known Member
    PartnerNOC

    Joined:
    Oct 18, 2003
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Hosting from: Panama, Hong Kong, Singapore, Malays
    you may also find that by typing

    whereis imap

    your get the results:

    usr/include/imap

    in which case you should edit the file:

    pico /etc/xinetd.d/imap or vi /etc/xinetd.d/imap

    from usr/sbin/imapd to usr/include/imap

    that is what fixed it once for me.

    For those who are still struggling after all this and reinstalling imap then this is one thing never mentioned previously.
     
  15. serhathakan

    serhathakan Member

    Joined:
    Jul 2, 2005
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    i cant write


    server = /usr/sbin/imapd

    line with putty

    How can i write it with putty?
     
  16. lankyb

    lankyb Well-Known Member

    Joined:
    Sep 21, 2004
    Messages:
    99
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Peterborough, UK
    Just copy that statement from the board, then right click the putty window and it will paste it
     
  17. serhathakan

    serhathakan Member

    Joined:
    Jul 2, 2005
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    i am doing like that but when i check it ist change the line
     
Loading...

Share This Page