LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-03-2014, 12:56 PM   #1
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1-15 RH 6.2/7, RHEL 6.5 SuSE 8.2/11.1, Debian 10.5
Posts: 516

Rep: Reputation: 32
trying to solve "auth/tcp (2): bind: Address already in use"


Got a fresh Slack 14 64 install (well, kind of fresh) and I'm noticing the folloing in my syslog every 10 minutes:

Code:
Mar  3 18:48:45 orion inetd[6615]: auth/tcp (2): bind: Address already in use
This has pretty much been the case since install and I'm trying to get to the bottom of it. Searching on here and googling etc but I'm in a hole really. Any pointers would be greatly appreciated.

Other servers (albeit) older installs don't show similar logs.
Thanks in advance...

UPDATE

I stopped in.identd and haven't seen the entry in the log since, if that explains anything.

Last edited by plisken; 03-03-2014 at 01:20 PM.
 
Old 03-03-2014, 02:20 PM   #2
perbh
Member
 
Registered: May 2008
Location: Republic of Texas
Posts: 393

Rep: Reputation: 81
I'm surprised no-one else has experienced it - typically, when opening a socket, you set the socket options before you call 'bind'. In this case it would be:
Code:
char one=1;
setsockopt({socket_fd}, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(char));
bind({socket_fd}, struct sockaddr *....);
If the module/program/daemon/whatever for some reason aborted and was restarted, you would get the above message 'cuz the socket was not properly closed on exit (if you didn't do the setsockopt-call that is).
 
  


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
dhcpd error "Can't bind to dhcp address" msjenkins Linux - Networking 4 10-06-2010 05:16 PM
[SOLVED] How to fix error: "bind: Cannot assign requested address" Azazwa Linux - Networking 3 07-22-2010 09:35 AM
Mesh networking issue "Can't bind send socket: address already in use" WhiskeyTangoFoxtrot Linux - Networking 4 02-24-2009 10:38 AM
inetd[14870]: auth/tcp (2): bind: Address already in use czezz Linux - Security 1 12-24-2006 07:31 AM
bind error on high ports "address already in use" DCalabrese Linux - Networking 2 05-25-2005 09:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:00 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