IMAP Server can not be started

xp2u

Active Member
Jan 27, 2003
41
0
156
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?
 

lhpnet

Member
Apr 27, 2003
20
0
151
:) 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
 

xp2u

Active Member
Jan 27, 2003
41
0
156
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
}
 

cyon

Well-Known Member
PartnerNOC
Jan 15, 2003
314
0
241
Originally posted by lhpnet
:) 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
wow, thx lhpnet , that worked for me!

cPanel.net Support Ticket Number:
 

WebNET

Active Member
Jul 21, 2003
38
0
156
USA Brooklyn NYC
Xcellent. Worked over here!

David K.

cPanel.net Support Ticket Number:
 

isnoop

Active Member
Jun 13, 2003
27
0
151
Originally posted by lhpnet
:) 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
Great fix. Thanks!
 

shadowspid

Active Member
Nov 28, 2002
31
2
158
Originally posted by lhpnet
:) 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

Hooray!!! works on my 8.5.5 E65
 

Devil Inside

Well-Known Member
Apr 4, 2003
276
0
166
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!
 

katz_global

Well-Known Member
PartnerNOC
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.
 

lankyb

Well-Known Member
Sep 21, 2004
99
0
166
Peterborough, UK
Just copy that statement from the board, then right click the putty window and it will paste it