PDA

View Full Version : reinstalling parts of the base system?


Business_woman
07-12-2008, 12:28 PM
Hi,

I accidentally removed my /etc/namedb directory. Shouldn't it be possible to rebuild it by simply running: cd /usr/src/etc/namedb && make install ?

Thanks

Edit Of course i tried that but got an error message, is there another way ?

Carpetsmoker
07-12-2008, 09:15 PM
Hehe, still wrestling with bind I see ... What's the score? ;)

Shouldn't it be possible to rebuild it by simply running: cd /usr/src/etc/namedb && make install ?

Thanks

Edit Of course i tried that but gon an error message, is there another way ?

Hmm, this should just work, I double-checked to be sure:

[/usr/src/etc/namedb]# make install
install -o root -g wheel -m 644 named.conf named.root /etc/namedb
===> master (install)
install -o root -g wheel -m 644 empty.db localhost-forward.db localhost-reverse.db /etc/namedb/master

What's the error message you got?

Business_woman
07-13-2008, 12:54 AM
Hehe, yep.
This is what i get:
Install -o root -g wheel -m 644 named.conf
install:wrong types of argument

*** error code 64

Stop in /usr/src/etc/namedb

davidgurvich
07-13-2008, 02:56 AM
Sounds like your sources don't match your installed base. What's the output of 'uname -r'?