Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
inetd missing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
jtombre
n00b
n00b


Joined: 02 Sep 2004
Posts: 10
Location: Littleton, CO

PostPosted: Thu Sep 09, 2004 11:26 pm    Post subject: inetd missing Reply with quote

I have been doing some emerges and all of a sudden my emerges started failing. After troubleshooting I could not resolve any hosts. It looks like my inetd is not only not running, but somehow missing. Does anyone have an inetd for a sparc64 Ultra 5.
--Thx Jay
Back to top
View user's profile Send private message
jtombre
n00b
n00b


Joined: 02 Sep 2004
Posts: 10
Location: Littleton, CO

PostPosted: Fri Sep 10, 2004 1:03 am    Post subject: Reply with quote

Let me also say that I believe this to be my problem as I cannot resolve any hosts. I have verified my /etc/resolv.conf, /etc/nsswitch.conf and they look correct. My IP connectivity works fine. From my solaris side, not having inetd would be the cause of my problem.
Back to top
View user's profile Send private message
labrador
Guru
Guru


Joined: 04 Oct 2003
Posts: 316

PostPosted: Fri Sep 10, 2004 2:23 am    Post subject: should test other things? Reply with quote

inetd is related to running services on your machine, such as telnet, ftp
and so on for the outside to connect to your box. If your box can't get
out, then this probably isn't the problem.

Perhaps on Solaris the dhcp client was run under inetd.

Check network is up: ifconfig
If not, check your settings in /etc/conf.d/net for the network
and if they need a correction, then restart the network,
typically with: /etc/init.d/net.eth0 restart
If you needed the dhcp client, it will take care of that.

Check if routing shows your network how to get out: route -n
(there should be a gateway set up for the destination of 0.0.0.0)

Can you ping your gateway? Can you ping your DNS server?
Can dig or nslookup resolve any host names?
Make sure you have an IP and not a hostname for the DNS server
in resolv.conf
Back to top
View user's profile Send private message
jtombre
n00b
n00b


Joined: 02 Sep 2004
Posts: 10
Location: Littleton, CO

PostPosted: Fri Sep 10, 2004 3:32 pm    Post subject: Reply with quote

I have full IP connectivity in and out of the box. IP connectivity being defined as using IP's as opposed to DNS. I currently do not have dig or nslookup up and have had to use ping and ssh as my source to validate if dns is working. You may be right about inetd, but I did notice that none of my inetd.conf services are running, but that may be a gentoo security thing.
What is the service for DNS resolution? bind or named? I thought those were for DNS services and not the client process that returned the ip???

Code:

gentoo root # ping yahoo.com
ping: unknown host yahoo.com
gentoo root # ssh yahoo.com
ssh: yahoo.com: Name or service not known
gentoo root # ping 206.196.128.1     # DNS server
PING 206.196.128.1 (206.196.128.1) 56(84) bytes of data.
64 bytes from 206.196.128.1: icmp_seq=1 ttl=60 time=51.7 ms

gentoo root # cat /etc/resolv.conf
nameserver 206.196.128.1
nameserver 205.171.3.65
gentoo root #  cat /etc/nsswitch.conf
hosts:       files dns
networks:    files dns

Back to top
View user's profile Send private message
labrador
Guru
Guru


Joined: 04 Oct 2003
Posts: 316

PostPosted: Fri Sep 10, 2004 6:11 pm    Post subject: now check that dns works Reply with quote

You don't need bind running to use dns as a client. Bind is
the DNS project name, and named is the daemon, which run
the DNS server side. It can also be run in a caching mode
but that has nothing to do with your problem.

The ping to the IP address worked, so I guess there is
a network up.

Now, how do you know that IP is a DNS server? It returns
a ping but it could be something else.

Test DNS using dig or nslookup.

dig cnn.com
nslookup cnn.com
Back to top
View user's profile Send private message
jtombre
n00b
n00b


Joined: 02 Sep 2004
Posts: 10
Location: Littleton, CO

PostPosted: Sat Sep 11, 2004 12:02 am    Post subject: Reply with quote

The IP's are the same for my whole network. All other computer are able to resolve. I will try to get dig or nslookup working. Updates to follow. So what is the 'service' that does the resolution? nsswitch.conf tells it to use files then dns, and resolv.conf gives the address for the lookup to use. But what is the service that references those files that does the dip to the dns servers? Does gentoo have truss?
Back to top
View user's profile Send private message
labrador
Guru
Guru


Joined: 04 Oct 2003
Posts: 316

PostPosted: Tue Sep 14, 2004 2:37 am    Post subject: No service I am aware of Reply with quote

There is no service other than caching DNS (which is just to remember
previous lookups in a cache) related to DNS on the client end. It
seems to be built into TCP/IP.

I've heard of cases where an ethernet card can fail with
a specific symptom like yours, but first you need to test the
basics.

Another test is to try telnet 206.196.128.1 53
If that responds with a Connected message, then
DNS is up on that port, but if there is Connection
refused, then something is blocking you. Do you run
a firewall? Try iptables -L
to see if there is firewall up and what rules are currently loaded.

I've never used the /etc/nsswitch.conf so you might want to
check if the syntax of that is OK.
Back to top
View user's profile Send private message
jtombre
n00b
n00b


Joined: 02 Sep 2004
Posts: 10
Location: Littleton, CO

PostPosted: Thu Sep 23, 2004 3:12 am    Post subject: Reply with quote

just a follow-up. I found that the first entry in my /etc/resolv.conf pointed to a dns which was up(could ping the box), but the dns service was not running. For some reason, gentoo would not attempt the second entry in resolv.conf. Before I found this I reinstalled 2.6.6 (still trying to get it up) I will test this again when I get a stable platform.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum