Web Hosting Talk







View Full Version : New install of cpanel = imapd errors


networkology
03-07-2003, 10:58 PM
I just renewed my license thru a different distributor and now every 5 minutes I get e-mailed.

I did try this suggestion, but it didn't fix the problem:

/etc/rc.d/init.d/portsentry stop
restart imap
/etc/rc.d/init.d/portsentry start
You may need to restart xinetd as the second step if the above does not allow imap to restart:
/etc/rc.d/init.d/xinetd restart

Mar 7 13:26:03 secure xinetd[24495]: Server imapd is not executable [line=8] Mar 7 13:27:01 secure xinetd[25582]: Server
imapd is not executable [line=8] Mar 7 13:35:30 secure xinetd[25719]: Server imapd is not executable [line=8] Mar 7
13:44:00 secure xinetd[25837]: Server imapd is not executable [line=8] Mar 7 13:52:29 secure xinetd[25992]: Server imapd is
not executable [line=8] Mar 7 14:00:58 secure xinetd[26126]: Server imapd is not executable [line=8] Mar 7 14:09:27 secure
xinetd[26237]: Server imapd is not executable [line=8] Mar 7 14:17:57 secure xinetd[26605]: Server imapd is not executable
[line=8] Mar 7 14:20:03 secure xinetd[26711]: Server imapd is not executable [line=8] imap has failed, please contact the
sysadmin.

serial
03-08-2003, 07:48 AM
Make sure that everything is alright permissions & ownership wise with the imapd daemon:root@cipher [~]# stat /usr/sbin/imapd
File: "/usr/sbin/imapd"
Size: 1519222 Blocks: 2976 IO Block: -4611696669946277888 Regular File
Device: 305h/773d Inode: 129670 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: Sat Mar 8 06:41:15 2003
Modify: Sun Mar 2 03:01:02 2003
Change: Sun Mar 2 03:01:02 2003

networkology
03-08-2003, 10:23 AM
File: "imapd"
Size: 1519222 Blocks: 2976 IO Block: 4096 Regular File
Device: 302h/770d Inode: 360558 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: Fri Mar 7 13:18:37 2003
Modify: Tue Mar 4 14:18:14 2003
Change: Tue Mar 4 14:18:14 2003

networkology
03-08-2003, 10:33 AM
I took screen shots of my setup before the new license was installed, just in case. Everything but the "mail" zone. Currently that zone doesn't have an entry and I'm not sure what it should be.

ho247
03-08-2003, 11:15 AM
Take a look in the '/etc/xinetd.d' folder, then see if there is an 'imap' file or a 'cpimap' file. Open whichever one that is there and check the 'server' line, change it to '/usr/sbin/imapd'. Save the file and restart xinetd.

The above is only a suggestion, but if you have "server = imapd", then changing it to /usr/sbin/imapd should make it work.

Alan

networkology
03-08-2003, 11:39 AM
You know your stuff.


That did the trick. Thanks very much!

ho247
03-08-2003, 11:54 AM
Originally posted by networkology
You know your stuff.


That did the trick. Thanks very much! No problem... it's my job to solve problems like the one in this thread :).

Alan