From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <0b764472d2af52c1687f852e1667e25f@quanstro.net> From: erik quanstrom Date: Fri, 14 Mar 2008 11:24:29 -0400 To: 9fans@9fans.net In-Reply-To: <20080314150739.GK21680@hermes.my.domain> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] dns woes Topicbox-Message-UUID: 798aa142-ead3-11e9-9d60-3106f5b1d025 > 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