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 does not start (xinetd error)

Discussion in 'General Discussion' started by Celta, Aug 23, 2005.

  1. Celta

    Celta Member

    Joined:
    Aug 30, 2003
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    My xinetd does not start, so I have not imap server right now :(

    I've tried to update to latest CURRENT version with no luck, and then downgrading to RELEASE. It still doesn't works. Error is the same.

    /var/log/messages shows the following:

    Code:
    Aug 24 00:50:24 server05 xinetd: xinetd shutdown failed
    Aug 24 00:50:24 server05 xinetd[32272]: Server in.ntalkd is not executable [line=8]
    Aug 24 00:50:24 server05 xinetd[32272]: Error parsing attribute server - DISABLING SERVICE [line=8]
    Aug 24 00:50:24 server05 xinetd[32272]: Server in.qpopper is not executable [line=8]
    Aug 24 00:50:24 server05 xinetd[32272]: Error parsing attribute server - DISABLING SERVICE [line=8]
    Aug 24 00:50:24 server05 xinetd[32272]: Server in.talkd is not executable [line=8]
    Aug 24 00:50:24 server05 xinetd[32272]: Error parsing attribute server - DISABLING SERVICE [line=8]
    Aug 24 00:50:24 server05 xinetd[32272]: missing service keyword [line=1]
    Aug 24 00:50:24 server05 xinetd[32272]: 32272 {general_handler} (32272) Unexpected signal: 11 (Segmentation fault)
    Aug 24 00:50:24 server05 last message repeated 9 times
    Aug 24 00:50:24 server05 xinetd[32272]: 32272 {bad_signal} Received 10 signals in 1 seconds. Exiting...
    Aug 24 00:50:24 server05 xinetd: xinetd startup succeeded
    
    /etc/xinetd.d/cpimap:
    Code:
    # default: off
    # description: imapd
    service imap
    {
            socket_type             = stream
            wait                    = no
            user                    = root
            server                  = /usr/local/cpanel/3rdparty/bin/imapd
            disable                 = no
    }
    
    ls -alF /usr/local/cpanel/3rdparty/bin/imapd
    Code:
    -rwxr-xr-x    1 root     root      1442255 Aug 23 23:59 /usr/local/cpanel/3rdparty/bin/imapd*
    
    I am totally blocked. Can not figure why it refuses to start.

    Please, any hints ? It will solve anything if I reinstall cpanel RPM for IMAP ? where can I get it ?


    Thank you very much in advance.

    Regards,
    Celta
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Doesn't look like it's anything to do with imap. This line:
    suggests that you have a service in /etc/xinetd.d/* that is incorrectly setup. You should check each and every file in that directory and make sure each of them has a:

    service XXX {

    As the first line after any comments # lines.
     
  3. Celta

    Celta Member

    Joined:
    Aug 30, 2003
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Solved.

    Trouble was caused by

    /etc/xinetd.d/telnet

    Code:
     Converted by inetdconvert
    service telnet
    {
            socket_type             = stream
            protocol                = tcp
           wait                    = no
            user                    = root
            server                  = /usr/sbin/in.telnetd
            disable                 = yes
    }
    
    I can not guess WHY it has the first line uncommented (without "#" at the beginning).. I have never touch that file :-?

    Anyway... thank you very much ! :)
     
Loading...

Share This Page