LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-22-2004, 10:55 PM   #1
sureplan_ian
LQ Newbie
 
Registered: Nov 2004
Posts: 3

Rep: Reputation: 0
Changing port 25


New to Linux

Trying to setup notes Domino 6 server for mail,

Currently receiving error message

Unable to bind to Port Port = 6400 errno - 98 "address already in use"

I take it this means port 25 is already being used by mail - how do I free this port.

Is it as simple as /etc/services and editting the current settings to change the following line

smtp. . 25/tcp. . mail
smtp . 25/udp . mail

Thanks
 
Old 11-23-2004, 12:06 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
if it's being used you can free it by stopping whatever application is using it...

maybe you have some other mail daemon running??

 
Old 11-23-2004, 12:59 AM   #3
jmajor
Member
 
Registered: Nov 2004
Location: Australia
Distribution: Fedora, Ubuntu
Posts: 55
Blog Entries: 2

Rep: Reputation: 17
It's complaining about port 6400, not 25. 6400 is a reasonably obscure port number so I suspect you have an instance of Domino already running.

the /etc/services file does not control what is loaded, it mearly provides a mapping of names (like smtp) to numbers (like 25) and back. It is mostly for readability.

To find wat process is using 6400 use
netstat -natp

as root. If there is too much to sort through try
netstat -natp | grep ':6400'

The far right column shows the PID(process ID) and the name of the task that owns the connection. You are looking for a connection with a state of 'LISTEN'

Last edited by jmajor; 11-23-2004 at 01:01 AM.
 
Old 11-23-2004, 12:54 PM   #4
phatboyz
Member
 
Registered: Feb 2004
Location: Mooresville NC
Distribution: CentOS 4,Free BSD,
Posts: 358

Rep: Reputation: 30
I dont want to hijack this thread or nothing, but I need help with the setup of domino 6.5. Can you help me sureplan?

I have installed everything, but when I am in /local/notesdata/ and run the server command nothing happes, it just sits there after saying something about some .jar files and never returns me to a prompt or show any message.
I an not new to linux, but new to domino for linux, I have 9 domino servers that I work to keep running but there 2000 servers

Last edited by phatboyz; 11-23-2004 at 01:06 PM.
 
Old 11-23-2004, 05:06 PM   #5
sureplan_ian
LQ Newbie
 
Registered: Nov 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Sorry Phatboyz,

I'm new to both really - Spending plenty of time stuffing around on it and may have a solution in the future but I simply don't know at the moment with your issue.
 
Old 11-23-2004, 05:13 PM   #6
sureplan_ian
LQ Newbie
 
Registered: Nov 2004
Posts: 3

Original Poster
Rep: Reputation: 0
JMAJOR

put in the command as you suggested and had the following response in one line:

tcp 0 0 127.0.0.1:25 0.0.0.0 LISTEN
1647/sendmail: acce


a response from the Notes/Domino 6 Forum suggested the Prot 6400 comes from byte swapping port 25 ie 25 = 0xcc19 ~ 0x1900 = 6400

At a (very rough) guess from memory I've installed the mail server as part of the Linux setup routine and now I'm trying to install a notes mail server the Linux server is already using Port 25 thus I need to release Port 25 so the Notes mail server can utilise this !!!!

Problem is I don't know how to do this - can anybody please advise???
 
Old 11-24-2004, 12:02 AM   #7
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally posted by sureplan_ian
0 0 127.0.0.1:25 0.0.0.0 LISTEN
1647/sendmail: acce
you have sendmail running... kill it and then try your domino again:

killall sendmail

then either remove sendmail from your startup scripts, or uninstall it... how you do that depends on your distro, and i'm not sure what distro you're using as you haven't mentioned it and it's not in your profile... *hint*

=)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
about changing the port no dummyagain Linux - Security 2 09-13-2004 04:24 AM
SMTP Port changing mosherben Linux - Software 4 07-25-2004 11:16 AM
changing the port on vsftpd nuzzy Linux - Software 8 05-05-2003 06:24 PM
Changing port number cli_man Linux - General 2 04-20-2002 08:50 AM
changing port 110 jonfa Linux - Networking 3 03-03-2002 03:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:35 AM.

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