Sponsored Content
Operating Systems BSD [OpenBSD] DNS startup problem Post 302239368 by BOFH on Tuesday 23rd of September 2008 12:21:30 PM
Old 09-23-2008
[OpenBSD] DNS startup problem

I have the DNS files set up on my OpenBSD 4.0 amd64 system however when I run named, I get the following error in my logs:

Code:
Sep 23 10:43:03 grunty named[11608]: starting BIND 9.3.2-P1
Sep 23 10:43:03 grunty named[11608]: /etc/named.conf:25: change directory to '/var/named' failed: file not found
Sep 23 10:43:03 grunty named[11608]: /etc/named.conf:25: parsing failed
Sep 23 10:43:03 grunty named[11608]: loading configuration: file not found
Sep 23 10:43:03 grunty named[11608]: exiting (due to fatal error)

The directory "/var/named" exists:

Code:
drwxr-xr-x   7 root    named      512 Sep 23 11:06 named

And the subdirectories also exist:

Code:
# ls -la
total 28
drwxr-xr-x   7 root  named  512 Sep 23 11:06 .
drwxr-xr-x  24 root  wheel  512 Aug 12 08:47 ..
drwxrwxr-x   2 root  named  512 Sep 23 11:05 dev
drwxrwxr-x   2 root  named  512 Sep 23 11:05 etc
drwxrwxr-x   3 root  named  512 Sep 23 11:05 master
drwxrwxr-x   2 root  named  512 Sep 23 11:05 slave
drwxrwxr-x   2 root  named  512 Sep 23 11:05 standard

named.conf exists in /var/named/etc:

Code:
# ls -al
total 20
drwxrwxr-x  2 root  named   512 Sep 23 11:05 .
drwxr-xr-x  7 root  named   512 Sep 23 11:06 ..
-rw-r-----  1 root  named  1617 Sep 16  2006 named-dual.conf
-rw-r-----  1 root  named  1407 Sep 16  2006 named-simple.conf
-r--r-----  1 root  named  1973 Sep 23 09:57 named.conf
# pwd
/var/named/etc

As near as I can tell, permissions and directories are all accurate. I've tried moving the directories under /var/named/var/named in case named chroot's before reading the config file but I get the same result.

I've done some poking around on Google and the answers all seem to be "does /var/named/etc exist" and "what are the permissions". I believe I've covered those questions here.

So, any other ideas?

Carl
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

problem with the startup

I have installed free bsd, and it won't reboot on it. I got win on disk 1 and on disk 2 is free bsd. Is there an optoin tha do so u could choose betwen win or free bsd? Is there an option in the installation that maybe I have missed? (4 Replies)
Discussion started by: Mr.Rudiment
4 Replies

2. UNIX for Dummies Questions & Answers

databse startup problem

i have oracle database startup problem. i have installed oracle8i(8.1.7) on windowsXP i have configured everything properly but i m unable to start database automatically and for this when i checked services of database it shows starting not started so i have to start it manually.Can u plz tell... (3 Replies)
Discussion started by: vandana
3 Replies

3. BSD

OpenBSD : mount problem

hi I have two hhd's. One is primary disk which holds the OpenBSD system and the other is my download disk (disk2). I formatted disk2 in "ffs" type. And created a "disklabel", wd1a. The disklabel program says "No change made", but I can see the changes by "p" command. I cannot mount my disk2!... (1 Reply)
Discussion started by: fnoyan
1 Replies

4. UNIX for Advanced & Expert Users

Irix - startup script problem

Hi there. Sorry if this is in the wrong forum but I guess a moderator can shift it if needed. I've set up a shell script to be run as a user that fires at startup on Solaris and RedHat by adding su - <user> -c <Path_to_Script>/<script>.sh And it works great. Problem is I can't get this to... (0 Replies)
Discussion started by: rshampshire
0 Replies

5. UNIX for Advanced & Expert Users

How to diagnosis the problem on Solaris 10 for DB startup

I run Oracle 10g on Solaris 10 Sparc machine. I created a dbora file to automatically start Oracle database when UNIX system reboot. I created this dbora file under /etc/init.d, Then link it to /etc/rc0.d/K10dbora and /etc/rc2.d/S99dbora. When I reboot solaris 10 system to test this script. It... (2 Replies)
Discussion started by: duke0001
2 Replies

6. IP Networking

Openbsd as gateway Problem

Hello all expert network administrator, i truly new to networking. Please help me in this problem. /etc/hostname.rl1(Wired Internal interface) inet 10.0.0.1 255.255.255.0 none /etc/hostname.ral0 : inet 10.0.1.1 255.255.255.0 and others option as well. /etc/dhcpd.conf : share-network local {... (82 Replies)
Discussion started by: Peter_APIIT
82 Replies

7. Linux

startup problem

Hello: I have a little problem, I have Windows Xp in my desktop, yesterday I installed centos 5. Now when the Pc starts it goes directly to windows and I do not have the option to start centos. Xp and centos are in the same disk. (4 Replies)
Discussion started by: jcpetela
4 Replies

8. BSD

Xwindows Problem OPenBSD 4.6

Hi, I have OPENBSD 4.6 installed as a VM in Virtual Box on my Ubuntu 9.10 machine. Problem is that the XWindows will not start when I boot my OPENBSD VM. I am new to OPENBSD. How do I fix this problem? (5 Replies)
Discussion started by: mojoman
5 Replies

9. Shell Programming and Scripting

Startup script problem

The attached file is a copy of my rc.local. The rc.local script appears to execute as the tightvncserver gets started. However the nodemon process does not start. The element nodemon is a symlink to nodemon and the path is correct. I have a little start script located in the... (3 Replies)
Discussion started by: barrygordon
3 Replies

10. UNIX for Beginners Questions & Answers

Problem in UNIX redhat v2.4.7-10 when startup

THE PROBLEM IS: Intializing USB controller (usb-uhci);Hint;insmod errors can be caused by in correct module parameters, including invailid IO or IRQ parsmeter lib /modules/2.4.7-10/kernel/drivers /usb-uhci.o:insmod/lib/modules/2.4.7/10/kernel/driverd/usb/usb-uhci.o failed Checking... (6 Replies)
Discussion started by: Weso
6 Replies
dnsextd(8)						    BSD System Manager's Manual 						dnsextd(8)

NAME
dnsextd -- BIND Extension Daemon SYNOPSIS
dnsextd DESCRIPTION
dnsextd is a daemon invoked at boot time, running alongside BIND 9, to implement two EDNS0 extensions to the standard DNS protocol. dnsextd allows clients to perform DNS Updates with an attached lease lifetime, so that if the client crashes or is disconnected from the net- work, its address records will be automatically deleted after the lease expires. dnsextd allows clients to perform long-lived queries. Instead of rapidly polling the server to discover when information changes, long-lived queries enable a client to indicate its interest in some set of data, and then be notified asynchronously by the server whenever any of that data changes. dnsextd has no user-specifiable command-line argument, and users should not run dnsextd manually. SEE ALSO
mDNS(1) mDNSResponder(8) For information on Dynamic DNS Update, see RFC 2136 "Dynamic Updates in the Domain Name System (DNS UPDATE)" For information on Dynamic DNS Update Leases, see http://files.dns-sd.org/draft-dns-update-leases.txt For information on Long-Lived Queries, see http://files.dns-sd.org/draft-dns-llq.txt BUGS
dnsextd bugs are tracked in Apple Radar component "mDNSResponder". HISTORY
The dnsextd daemon first appeared in Mac OS X 10.4 (Tiger). Darwin June 1, 2019 Darwin
All times are GMT -4. The time now is 04:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy