* Re: X not starting
[not found] <199612020351.TAA01165@gerbil.aod.com>
@ 1996-12-02 23:10 ` Ville Steudle
0 siblings, 0 replies; 9+ messages in thread
From: Ville Steudle @ 1996-12-02 23:10 UTC (permalink / raw)
On Sun, 1 Dec 1996, bruce a. campbell wrote:
> >Something I don't understand: Why does X start when there is no route to
>
> It's probable the resolver call would eventually return, after a time out
> interval (probably ~30minutes per nameserver).
Yes, it returns indeed, but X terminates immediately after that, which
doesn't happen if there is no route to the nameserver.
Regards,
Ville
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: X not starting
@ 1996-12-02 3:51 bruce a. campbell
0 siblings, 0 replies; 9+ messages in thread
From: bruce a. campbell @ 1996-12-02 3:51 UTC (permalink / raw)
>Something I don't understand: Why does X start when there is no route to
It's probable the resolver call would eventually return, after a time out
interval (probably ~30minutes per nameserver).
baruch@aod.com
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread[parent not found: <Pine.LNX.3.95.961201211906.2273D-100000@rebekka.tu-graz.ac.at>]
* Re: X not starting
[not found] <Pine.LNX.3.95.961201211906.2273D-100000@rebekka.tu-graz.ac.at>
@ 1996-12-01 20:47 ` Ville Steudle
0 siblings, 0 replies; 9+ messages in thread
From: Ville Steudle @ 1996-12-01 20:47 UTC (permalink / raw)
On Sun, 1 Dec 1996, Fritz Ganter wrote:
> > > I entered a nameserver address in /etc/resolv.conf and a route to it. But
> > > when this nameserver is not reachable (e.g. down), my X server won't start
> > > (it terminates immediately after initializing the screen).
>
> you need a file /etc/nsswitch.conf, here is mine
I already had it, thanks.
My problem was quite easy to fix: I had entered a host in /etc/X0.hosts
which was not in my /etc/hosts file and caused a resolver call.
After removing this host everything runs fine.
Something I don't understand: Why does X start when there is no route to
the resolver, but doesn't start when there is a route, but the resolver
does not respond?
Regards,
Ville
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: X not starting
@ 1996-12-01 20:32 bruce a. campbell
0 siblings, 0 replies; 9+ messages in thread
From: bruce a. campbell @ 1996-12-01 20:32 UTC (permalink / raw)
>you need a file /etc/nsswitch.conf, here is mine
Groovy. This is identical to Solaris, but not mentioned anywhere I could
find in the man pages. Perhaps anyone from redhat proper could update the
man pages?
How does one sumbit a patch on man?
baruch@aod.com
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread[parent not found: <199612010307.TAA00294@gerbil.aod.com>]
* Re: X not starting
[not found] <199612010307.TAA00294@gerbil.aod.com>
@ 1996-12-01 12:26 ` Christian G. Warden
1996-12-01 20:20 ` Fritz Ganter
1 sibling, 0 replies; 9+ messages in thread
From: Christian G. Warden @ 1996-12-01 12:26 UTC (permalink / raw)
On Sat, 30 Nov 1996, bruce a. campbell wrote:
> > I entered a nameserver address in /etc/resolv.conf and a route to it. But
> > when this nameserver is not reachable (e.g. down), my X server won't start
> > (it terminates immediately after initializing the screen).
> >
> > If I remove the route entry, everything is fine.
> >
> > Removing the X server authorization didn't help; neither did I get any
> > hints by reading the xdm-errors file.
> >
> > What is the X server trying to look up?
>
> The server is trying to look up your local hostname by way of DNS. Not finding
> it, it barfs. The next question is why does it not find it in the local
> /etc/hosts? It appears that even when everything is set up right,
> (/etc/host.conf is setup to say "order hosts,bind\nmulti on"), the resolver
> does not seem to be looking at /etc/hosts. It this a bug or a feature?
>
> Anyway, since the resolver is ignoring /etc/hosts, you go to your nameserver
> and get a "not found". The work arounds possible are :
>
> 1. Add your host name and localhost to your nameservers map.
>
> 2. Add your IP address and 127.0.0.1 to /etc/X0.hosts. This way the X server
> will know someone to talk to, and possibly not give up on life.
>
> 3. Name /etc/resolv.conf to /etc/resolv.conf.good and only set a symbolic
> link to it when you need DNS, after the X server has started.
>
>
check /etc/nsswitch.conf and make sure you have a line
hosts: files dns
xn
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: X not starting
[not found] <199612010307.TAA00294@gerbil.aod.com>
1996-12-01 12:26 ` Christian G. Warden
@ 1996-12-01 20:20 ` Fritz Ganter
1 sibling, 0 replies; 9+ messages in thread
From: Fritz Ganter @ 1996-12-01 20:20 UTC (permalink / raw)
On Sat, 30 Nov 1996, bruce a. campbell wrote:
> > I entered a nameserver address in /etc/resolv.conf and a route to it. But
> > when this nameserver is not reachable (e.g. down), my X server won't start
> > (it terminates immediately after initializing the screen).
>
> Anyway, since the resolver is ignoring /etc/hosts, you go to your nameserver
> and get a "not found". The work arounds possible are :
you need a file /etc/nsswitch.conf, here is mine
# does not use any naming service.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
passwd: files
group: files
hosts: files dns
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparams: files
publickey: nisplus
netgroup: nisplus
automount: files
aliases: files
services: files
The important line is
hosts: files dns
This works for me.
Fritz "who dances with the Linux" Ganter. ganter@fvkma.tu-graz.ac.at
WWW: http://fvkma.tu-graz.ac.at/ganter ganter@quant-x.com
EDV-Consulting F.Ganter Grazerstr. 26a,A-8045 Graz support@quant-x.com
Member of the Quant-X Group: Alpha based Systems running Linux
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: X not starting
@ 1996-12-01 3:07 bruce a. campbell
0 siblings, 0 replies; 9+ messages in thread
From: bruce a. campbell @ 1996-12-01 3:07 UTC (permalink / raw)
> I entered a nameserver address in /etc/resolv.conf and a route to it. But
> when this nameserver is not reachable (e.g. down), my X server won't start
> (it terminates immediately after initializing the screen).
>
> If I remove the route entry, everything is fine.
>
> Removing the X server authorization didn't help; neither did I get any
> hints by reading the xdm-errors file.
>
> What is the X server trying to look up?
The server is trying to look up your local hostname by way of DNS. Not finding
it, it barfs. The next question is why does it not find it in the local
/etc/hosts? It appears that even when everything is set up right,
(/etc/host.conf is setup to say "order hosts,bind\nmulti on"), the resolver
does not seem to be looking at /etc/hosts. It this a bug or a feature?
Anyway, since the resolver is ignoring /etc/hosts, you go to your nameserver
and get a "not found". The work arounds possible are :
1. Add your host name and localhost to your nameservers map.
2. Add your IP address and 127.0.0.1 to /etc/X0.hosts. This way the X server
will know someone to talk to, and possibly not give up on life.
3. Name /etc/resolv.conf to /etc/resolv.conf.good and only set a symbolic
link to it when you need DNS, after the X server has started.
I would check /pub/redhat/devel and see if there is a new resolver available.
(If there is, proclaim it to the world. I'd like to fix this too....).
BTW, This does NOT appear to be happening on intel.
baruch@aod.com
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread[parent not found: <Pine.LNX.3.91.961130163607.9699A-100000@finland.hb.north.de>]
* Re: X not starting
[not found] <Pine.LNX.3.91.961130163607.9699A-100000@finland.hb.north.de>
@ 1996-11-30 20:18 ` Fritz Ganter
0 siblings, 0 replies; 9+ messages in thread
From: Fritz Ganter @ 1996-11-30 20:18 UTC (permalink / raw)
On Sat, 30 Nov 1996, Ville Steudle wrote:
> Hi,
>
> I noticed the following problem:
>
> I entered a nameserver address in /etc/resolv.conf and a route to it. But
> when this nameserver is not reachable (e.g. down), my X server won't start
> (it terminates immediately after initializing the screen).
>
> If I remove the route entry, everything is fine.
>
> Removing the X server authorization didn't help; neither did I get any
> hints by reading the xdm-errors file.
>
> What is the X server trying to look up?
I have the same problem. I have an entry in /etc/X0.hosts to allow a
second machine to send the X-output.
I did setup a little cache nameserver, now its better.
Fritz "who dances with the Linux" Ganter. ganter@fvkma.tu-graz.ac.at
WWW: http://fvkma.tu-graz.ac.at/ganter ganter@quant-x.com
EDV-Consulting F.Ganter Grazerstr. 26a,A-8045 Graz support@quant-x.com
Member of the Quant-X Group: Alpha based Systems running Linux
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* X not starting
@ 1996-11-30 15:41 Ville Steudle
0 siblings, 0 replies; 9+ messages in thread
From: Ville Steudle @ 1996-11-30 15:41 UTC (permalink / raw)
Hi,
I noticed the following problem:
I entered a nameserver address in /etc/resolv.conf and a route to it. But
when this nameserver is not reachable (e.g. down), my X server won't start
(it terminates immediately after initializing the screen).
If I remove the route entry, everything is fine.
Removing the X server authorization didn't help; neither did I get any
hints by reading the xdm-errors file.
What is the X server trying to look up?
Regards,
Ville
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~1996-12-02 23:10 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <199612020351.TAA01165@gerbil.aod.com>
1996-12-02 23:10 ` X not starting Ville Steudle
1996-12-02 3:51 bruce a. campbell
[not found] <Pine.LNX.3.95.961201211906.2273D-100000@rebekka.tu-graz.ac.at>
1996-12-01 20:47 ` Ville Steudle
-- strict thread matches above, loose matches on Subject: below --
1996-12-01 20:32 bruce a. campbell
[not found] <199612010307.TAA00294@gerbil.aod.com>
1996-12-01 12:26 ` Christian G. Warden
1996-12-01 20:20 ` Fritz Ganter
1996-12-01 3:07 bruce a. campbell
[not found] <Pine.LNX.3.91.961130163607.9699A-100000@finland.hb.north.de>
1996-11-30 20:18 ` Fritz Ganter
1996-11-30 15:41 Ville Steudle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox