tcp_send error!

Mark_Andrews at isc.org Mark_Andrews at isc.org
Fri Jan 25 23:46:57 UTC 2002


> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> This is only a guess but are you running (starting) named as a
> non-root user and have a query-source port < 1024? If so, that's your
> problem. Only root can bind to ports < 1024.

	The error would be "permission denied" in that case.  The user
	named is running at should not be a issue as the port is set
	to zero when binding for TCP letting system select the port.

	My suggestion would be to start it under a debugger (using -f)
	and set a break point on the ns_info line after the bind call in
	tcp_send and examine 'src' and 'options->query_source'.

	Mark
> 
> Take out the query-source port option, or start named as root and let
> it switch UID itself using the -u command-line option.
> 
> 
> Michael Kjörling
> 
> 
> On Jan 25 2002 11:17 -0500, Éric Allard wrote:
> 
> >
> > Hi!
> >
> > I use bind 8.2.5 on solaris 2.5.1 and I get constantly this error:
> >
> > Jan 25 10:49:27 empress named[29134]: tcp_send: bind(query_source): Invali
> d
> > argument
> >
> > What doest it means! Is anyone can give me a solution to resolve it?
> >
> > I will apreciate any hints!
> >
> > Thanks!
> 
> - -- 
> Michael Kjörling  --  Programmer/Network administrator  ^..^
> Internet: michael at kjorling.com -- FidoNet: 2:204/254.4   \/
> PGP: 95f1 074d 336d f8f0 f297 6a5b 2aa3 7bfd 8a70 e33e
> 
> ``And indeed people sometimes speak of man's "bestial" cruelty, but
> this is very unfair and insulting to the beasts: a beast can never be
> so cruel as a man, so ingeniously, so artistically cruel.''
> (Ivan Karamazov, in Dostoyevsky's 'The Brothers Karamazov')
> 
> *** Thinking about sending me spam? Take a close look at
> *** http://michael.kjorling.com/spam/ before doing so.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: Public key is at http://michael.kjorling.com/contact/pgp.html
> 
> iD8DBQE8UYaoKqN7/Ypw4z4RAsItAKDJP8NW1qMskGqnwfgKtgPxApY4VACdE7bg
> wKSOmEDAR+hj0dPiTPSOdkE=
> =/StV
> -----END PGP SIGNATURE-----
> 
> 
> 
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list