9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] dns woes
@ 2008-03-14 15:07 Christian Kellermann
  2008-03-14 15:24 ` erik quanstrom
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Kellermann @ 2008-03-14 15:07 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 947 bytes --]

Dear List,

I am currently having strange problems with my ndb/dns resolver.
cpu% ndb/dnsquery
can't open /net: '/net' dns: permission denied
cpu% ls -l /net
[...]
--rw-rw-rw- M 24238 ckeen   ckeen    0 Mar 14 15:44 /net/cs
--rw-rw-rw- M 24240 ckeen   ckeen    0 Mar 14 15:44 /net/dns
[...]
cpu% ndb/dns -r
dns 95194: suicide: sys: trap: fault read addr=0x0 pc=0x0001ec0a
cpu% acid 95194
/proc/95194/text:386 plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/386
acid: stk()
abort()+0x0 /sys/src/libc/9sys/abort.c:6
mountinit(mntpt=0x3c754,service=0xdfffeed4)+0x70 /sys/src/cmd/ndb/dns.c:281
main(argv=0xdfffefb0,argc=0x0)+0x223 /sys/src/cmd/ndb/dns.c:200
_main+0x31 /sys/src/libc/386/main9.s:16

ÃAny idea what's going on here? I am typing this all via a drawterm connection as user ckeen...

Thanks!

Christian

-- 
You may use my gpg key for replies:
pub  1024D/47F79788 2005/02/02 Christian Kellermann (C-Keen)

[-- Attachment #2: Type: application/pgp-signature, Size: 194 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] dns woes
  2008-03-14 15:07 [9fans] dns woes Christian Kellermann
@ 2008-03-14 15:24 ` erik quanstrom
  2008-03-14 15:57   ` Christian Kellermann
  0 siblings, 1 reply; 5+ messages in thread
From: erik quanstrom @ 2008-03-14 15:24 UTC (permalink / raw)
  To: 9fans

> Dear List,
>
> I am currently having strange problems with my ndb/dns resolver.
> cpu% ndb/dnsquery
> can't open /net: '/net' dns: permission denied
> cpu% ls -l /net
> [...]
> --rw-rw-rw- M 24238 ckeen   ckeen    0 Mar 14 15:44 /net/cs
> --rw-rw-rw- M 24240 ckeen   ckeen    0 Mar 14 15:44 /net/dns
> [...]
> cpu% ndb/dns -r
> dns 95194: suicide: sys: trap: fault read addr=0x0 pc=0x0001ec0a
> cpu% acid 95194
> /proc/95194/text:386 plan 9 executable
> /sys/lib/acid/port
> /sys/lib/acid/386
> acid: stk()
> abort()+0x0 /sys/src/libc/9sys/abort.c:6
> mountinit(mntpt=0x3c754,service=0xdfffeed4)+0x70 /sys/src/cmd/ndb/dns.c:281
> main(argv=0xdfffefb0,argc=0x0)+0x223 /sys/src/cmd/ndb/dns.c:200
> _main+0x31 /sys/src/libc/386/main9.s:16
>
> Any idea what's going on here? I am typing this all via a drawterm connection as user ckeen...

as a matter of fact, i just stumbled on part of your problem this morning.
you need to be the hostowner to start dns.

as to the permission denied problem, did you have a running resolver
before you tried to start one?

- erik


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] dns woes
  2008-03-14 15:24 ` erik quanstrom
@ 2008-03-14 15:57   ` Christian Kellermann
  2008-03-14 15:59     ` erik quanstrom
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Kellermann @ 2008-03-14 15:57 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 594 bytes --]

* erik quanstrom <quanstro@quanstro.net> [080314 16:26]:
> 
> as a matter of fact, i just stumbled on part of your problem this morning.
> you need to be the hostowner to start dns.
> 
> as to the permission denied problem, did you have a running resolver
> before you tried to start one?

This is not as reproducible as I thought. I just opened another
window and ran ndb/dnsquery and it works now. Could this be due to
temporary dns failure problems?

Thanks,

Christian

-- 
You may use my gpg key for replies:
pub  1024D/47F79788 2005/02/02 Christian Kellermann (C-Keen)

[-- Attachment #2: Type: application/pgp-signature, Size: 194 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] dns woes
  2008-03-14 15:57   ` Christian Kellermann
@ 2008-03-14 15:59     ` erik quanstrom
  2008-03-14 16:53       ` Christian Kellermann
  0 siblings, 1 reply; 5+ messages in thread
From: erik quanstrom @ 2008-03-14 15:59 UTC (permalink / raw)
  To: 9fans

> This is not as reproducible as I thought. I just opened another
> window and ran ndb/dnsquery and it works now. Could this be due to
> temporary dns failure problems?

do you have any other broken dns, other than the one you started?

- erik


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] dns woes
  2008-03-14 15:59     ` erik quanstrom
@ 2008-03-14 16:53       ` Christian Kellermann
  0 siblings, 0 replies; 5+ messages in thread
From: Christian Kellermann @ 2008-03-14 16:53 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 433 bytes --]

* erik quanstrom <quanstro@quanstro.net> [080314 17:01]:
> > This is not as reproducible as I thought. I just opened another
> > window and ran ndb/dnsquery and it works now. Could this be due to
> > temporary dns failure problems?
> 
> do you have any other broken dns, other than the one you started?

not anymore :(

-- 
You may use my gpg key for replies:
pub  1024D/47F79788 2005/02/02 Christian Kellermann (C-Keen)

[-- Attachment #2: Type: application/pgp-signature, Size: 194 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-03-14 16:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-14 15:07 [9fans] dns woes Christian Kellermann
2008-03-14 15:24 ` erik quanstrom
2008-03-14 15:57   ` Christian Kellermann
2008-03-14 15:59     ` erik quanstrom
2008-03-14 16:53       ` Christian Kellermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).