Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: SMTP socket wedged?
PostPosted: Sat Jun 26, 2004 7:26 pm 
Offline
Senior Newbie

Joined: Wed Dec 03, 2003 6:51 am
Posts: 14
Recently I've started to get messages of the following type in /var/log/mail.err:

Quote:
Jun 26 18:48:00 omni sm-mta[5098]: daemon Daemon1: problem creating SMTP socket
Jun 26 18:48:05 omni sm-mta[5098]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon Daemon1: cannot bind: Address already in use
Jun 26 18:48:05 omni sm-mta[5098]: daemon Daemon1: problem creating SMTP socket
Jun 26 18:48:10 omni sm-mta[5098]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon Daemon1: cannot bind: Address already in use
Jun 26 18:48:10 omni sm-mta[5098]: daemon Daemon1: problem creating SMTP socket
Jun 26 18:48:15 omni sm-mta[5098]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon Daemon1: cannot bind: Address already in use
Jun 26 18:48:15 omni sm-mta[5098]: daemon Daemon1: problem creating SMTP socket
Jun 26 18:48:20 omni sm-mta[5098]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon Daemon1: cannot bind: Address already in use
Jun 26 18:48:20 omni sm-mta[5098]: daemon Daemon1: problem creating SMTP socket
Jun 26 18:48:20 omni sm-mta[5098]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon Daemon1: server SMTP socket wedged: exiting


I haven't made any changes to my sendmail configuration, and all other services (pop3, ftp, ssh, etc.) seem to be working properly. This seems to have started with my last reboot (last night, to upgrade to the latest 2.4 series kernel). I'm lost here... anyone have ideas/suggestions?

Running Gentoo 1.4 on a Linode 96, host 11. Sendmail is configured to listen on both smtp and port 2525 through daemon_options in sendmail.mc.

Edited to add:

Ignore this. A run through the output of netstat -lp cleared things up... a portforwarding service I thought was disabled, wasn't.

(Closed)


Top
   
 Post subject:
PostPosted: Mon Jan 17, 2005 9:11 am 
Offline
Newbie

Joined: Mon Jan 17, 2005 9:07 am
Posts: 2
Can you please collaborate!

There seems to be alot of Q's about this on the net, but no answers. :(

Im a realtive n00b to Linux so dont make it too technical. :)


Top
   
 Post subject:
PostPosted: Mon Jan 17, 2005 9:30 am 
Offline
Senior Newbie

Joined: Wed Dec 03, 2003 6:51 am
Posts: 14
What was happening was that I had another process using that port. My ISP had closed off port 25 except when connecting to their mail servers, so I had initially set up a port forwarding daemon to allow me to connect on port 2525. The problem was that I hadn't dropped that port from the forwarding daemon's configuration before adding it to sendmail's config, so both processes were trying to bind to the same port. That's what was causing the errors.

So... if you're running into this kind of problem, check to see if two or more of your servers are trying to use the same port. (You can get a list of the ports in use using netstat like I did.)

As for being a n00b... heh, I still consider myself one. But we all learn what we need to know, eventually. :)


Top
   
 Post subject:
PostPosted: Mon Jan 17, 2005 11:27 am 
Offline
Newbie

Joined: Mon Jan 17, 2005 9:07 am
Posts: 2
Tnx for a fast reply!

I check it by telneting to the port 25. Sendmail replyed.

Right now it looks more like a rights issue on some files.
Have to do some more investigaton here. Root get permision denied when trying to send mail....... :oops:


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group