imap does not start (xinetd error)

Celta

Member
Aug 30, 2003
19
0
151
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
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
Doesn't look like it's anything to do with imap. This line:
Aug 24 00:50:24 server05 xinetd[32272]: missing service keyword [line=1]
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.
 

Celta

Member
Aug 30, 2003
19
0
151
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 ! :)