Dear all,
Upon reboot, ypbind takes the port of imaps. Upon reboot, ypbind starts earlier than imaps. Sometimes ypbind takes 993 and sometimes 995, both cause problems for imaps to start on reboot. My system is RHEL 5. I need both the services to be ON. (I have many other services also running which should be ON, like vsftpd, sshd, nfs, cups, ntpd, httpd, etc. And, SE-Linux has to be in "enforcing" mode.)
I tried the following:
Code:
# service dovecot status
(its not running and stopped)
# netstat -tanp | grep 993
# netstat -tanp | grep 995
(these show that ypbind has taken either of these ports)
# service ypbind stop
# service dovecot start
# chkconfig dovecot on
# service ypbind start
# chkconfig ypbind on
(Now, dovecot first takes its appropriate port. Next, ypbind too takes its appropriate port.)
However, upon reboot, sometimes the problem appears again that imaps is not able to start because its ports is taken (mostly by ypbind).
Please help guys.
---------------------------------------------------------------------