LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-20-2009, 10:34 PM   #1
ravangrid
LQ Newbie
 
Registered: Jun 2009
Posts: 12

Rep: Reputation: 0
ypbind taking port of imaps on reboot. Please help


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.

---------------------------------------------------------------------
 
Old 08-21-2009, 12:26 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,360

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Lock down the NIS ports: http://www.linuxtopia.org/online_boo...#s1-server-nis Section 42.2.3.4
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ypbind palisetty_suman Linux - Newbie 6 04-08-2009 04:20 PM
Imaps ajaye1971 Linux - Newbie 1 09-09-2005 02:37 PM
imaps certificate mcd Linux - Security 1 06-21-2005 07:30 PM
SPOP3 and IMAPS hypernetics Linux - Security 1 10-17-2003 08:25 PM
Configuring imaps on RH 7.1 bbunge Linux - General 2 09-28-2001 09:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration