[9fans] dns woes - Plan9

This is a discussion on [9fans] dns woes - Plan9 ; 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 ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: [9fans] dns woes

  1. [9fans] dns woes

    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)

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.7 (OpenBSD)

    iD8DBQFH2pS7XYob3Uf3l4gRAlbuAKCf/W140ihtfEnOqC5HTj24W9qcDwCeM2+j
    zpAUJOwU9usfwx5G7DnY1Ew=
    =WAsI
    -----END PGP SIGNATURE-----


  2. Re: [9fans] dns woes

    > 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


  3. Re: [9fans] dns woes

    * erik quanstrom [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)

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.7 (OpenBSD)

    iD8DBQFH2qBfXYob3Uf3l4gRAuLAAKCiiGuUGNApIbQ6XaxwDO vma7QLcACeK1U8
    qjzc9a6Qb4jfGPGNhenJf3M=
    =ne92
    -----END PGP SIGNATURE-----


  4. Re: [9fans] dns woes

    > 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


  5. Re: [9fans] dns woes

    * erik quanstrom [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)

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.7 (OpenBSD)

    iD8DBQFH2q2fXYob3Uf3l4gRAgRpAJ9d2ugU7elNKyAzuZqce2 6R0x7oKACfXGzS
    b9tA7elsGQSP/TVy4ph0CXU=
    =W6Bp
    -----END PGP SIGNATURE-----


+ Reply to Thread