Networking Forums

Networking Forums > Computer Networking > Linux Networking > /etc/inetd.conf ???

Reply
Thread Tools Display Modes

/etc/inetd.conf ???

 
 
michanux
Guest
Posts: n/a

 
      07-15-2006, 07:34 PM
Hello

You answered:

>On 10 Jul 2006, in the Usenet newsgroup comp.os.linux.networking, in article
>
><1152563399.101092.240...@75g2000cwc.googlegroups .com>, michanux wrote:
>>The answer of 'nslookup michael.zuhause.de' is:

>
>working OK
>
>>Neither 'ping' nor 'ftp michael.zuhause.de' find the address but 'ping
>>192.168.1.12' and
>>'ftp 192.168.1.12' are successfull.

>
>Three possible causes:
>
>[compton ~]$ cat /etc/host.conf
>order hosts,bind
>multi on
>[compton ~]$ grep host /etc/nsswitch.conf
>hosts: files nis dns
>[compton ~]$
>
>(Explanation: DNS tools like '
>
>dig' 'dnsquery', 'host' and 'nslookup' ignore
>those two files. /etc/host.conf is the older file, used by libc based
>applications. /etc/nsswitch.conf is the more modern file, used by glibc2.)
>
>It's also possible though far less likely, that there is an entry for that
>hostname either in /etc/hosts, or (in the above example) in the NIS database
>if you are running yp - that lists the hostname but no address, or lists some
>non-accurate address.
>
> Old guy


All the files are the way you figure out. Meanwhile I got an new
suspicion.
'named' started at The beginning of the session by '/etc/rc.local'. But
should I
open a special port for an additional daemon in '/etc/inetd.conf'

Michael

 
Reply With Quote
 
 
 
 
Moe Trin
Guest
Posts: n/a

 
      07-16-2006, 09:14 PM
On 15 Jul 2006, in the Usenet newsgroup comp.os.linux.networking, in article
<(E-Mail Removed) .com>, michanux wrote:


] On 11 Jul 2006, in the Usenet newsgroup comp.os.linux.networking, in article
] <(E-Mail Removed)>, I wrote:

>>On 10 Jul 2006, in the Usenet newsgroup comp.os.linux.networking, in article
>><1152563399.101092.240...@75g2000cwc.googlegroup s.com>, michanux wrote:


>>>The answer of 'nslookup michael.zuhause.de' is:

>>
>>working OK


>>>Neither 'ping' nor 'ftp michael.zuhause.de' find the address but 'ping

>>192.168.1.12' and 'ftp 192.168.1.12' are successfull.


>>(Explanation: DNS tools like 'dig' 'dnsquery', 'host' and 'nslookup' ignore


/etc/host.conf and /etc/nsswitch.conf, but gethostbyname(3) checks those
when making a lookup.

>All the files are the way you figure out. Meanwhile I got an new
>suspicion.
>'named' started at The beginning of the session by '/etc/rc.local'. But
>should I open a special port for an additional daemon in '/etc/inetd.conf'


No - you can only run the daemon out of one place (the normal would be a
a runlevel script, such as /etc/rc.d/rc3.d/S55named - lacking that,
then running it out of rc.local is OK). Trying to run it out of inetd.conf
is _most_ unusual (I don't think I've ever seen it done by any regular
distribution), and will cause grief because the same port can not be
accessed by two or more daemons at the same time.

Try using 'strace' to see where things are barfing. Try

strace -eopen ping michael.zuhause.de

which _might_ give clues about the failure.

Old guy
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
inetd - more than one socket for daemon? bchm@op.pl Linux Networking 0 05-22-2006 07:50 PM
dhcpd.conf, resolv.conf and the search directive Andy Richardson Linux Networking 4 07-13-2005 08:23 AM
inetd and my own server vertigo Linux Networking 2 02-29-2004 07:22 PM
inetd: dhcpd already running Stephan Eichler Linux Networking 1 11-27-2003 01:02 PM
Bash script via inetd = no joy tylernt Linux Networking 10 09-05-2003 08:53 PM



1 2 3 4 5 6 7 8 9 10 11