Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th May 2008, 23:16
coldspring coldspring is offline
Junior Member
 
Join Date: May 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Fedora 9 Perfect Server - BIND?

This is my first time working with servers so please excuse my lack of knowledge.

Starting from a fresh Fedora 9 Install I have been following the Fedroa 9 How-to when I go to 10 Install A Chrooted DNS Server (BIND9).

The following interaction to place:

[root@server ~]# yum install bind-chroot
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package bind-chroot.i386 32:9.5.0-29.b2.fc9 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Installing:
bind-chroot i386 32:9.5.0-29.b2.fc9 fedora 55 k

Transaction Summary
================================================== ===========================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 55 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): bind-chroot-9.5.0-29.b2.fc9.i386.rpm | 55 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: bind-chroot ######################### [1/1]
warning: group named does not exist - using root
warning: group named does not exist - using root
warning: group named does not exist - using root
warning: group named does not exist - using root
warning: user named does not exist - using root
warning: group named does not exist - using root
warning: group named does not exist - using root
warning: user named does not exist - using root
warning: group named does not exist - using root
warning: user named does not exist - using root
warning: group named does not exist - using root
warning: user named does not exist - using root
warning: group named does not exist - using root
warning: group named does not exist - using root
warning: user named does not exist - using root
warning: group named does not exist - using root
warning: user named does not exist - using root
warning: group named does not exist - using root

Installed: bind-chroot.i386 32:9.5.0-29.b2.fc9
Complete!
[root@server ~]# chmod 755 /var/named/
[root@server ~]# chmod 775 /var/named/chroot/
[root@server ~]# chmod 775 /var/named/chroot/var/
[root@server ~]# chmod 775 /var/named/chroot/var/named/
[root@server ~]# chmod 775 /var/named/chroot/var/run/
[root@server ~]# chmod 777 /var/named/chroot/var/run/named/
[root@server ~]# cd /var/named/chroot/var/named/
[root@server named]# ln -s ../../ chroot
[root@server named]# chkconfig --levels 235 named on
error reading information on service named: No such file or directory
[root@server named]# /etc/init.d/named start
-bash: /etc/init.d/named: No such file or directory


As you can see I received an error saying it could not read information on service named: No such file or directory

I got around this problem by installing BIND. and got the following respose:

[root@server named]# yum install bind
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package bind.i386 32:9.5.0-29.b2.fc9 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Installing:
bind i386 32:9.5.0-29.b2.fc9 fedora 1.6 M

Transaction Summary
================================================== ===========================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 1.6 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): bind-9.5.0-29.b2.fc9.i386.rpm | 1.6 MB 00:03
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: bind ######################### [1/1]
/usr/bin/find: /var/log/named.log: No such file or directory
warning: /etc/sysconfig/named created as /etc/sysconfig/named.rpmnew

Installed: bind.i386 32:9.5.0-29.b2.fc9
Complete!
[root@server named]# yum install bind-chroot
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
Package 32:bind-chroot-9.5.0-29.b2.fc9.i386 already installed and latest version
Nothing to do
[root@server named]# chmod 755 /var/named/
[root@server named]# chmod 775 /var/named/chroot/
[root@server named]# chmod 775 /var/named/chroot/var/
[root@server named]# chmod 775 /var/named/chroot/var/named/
[root@server named]# chmod 775 /var/named/chroot/var/run/
[root@server named]# chmod 777 /var/named/chroot/var/run/named/
[root@server named]# cd /var/named/chroot/var/named/
[root@server named]# ln -s ../../ chroot
ln: creating symbolic link `chroot/..': File exists
[root@server named]# chkconfig --levels 235 named on
[root@server named]# /etc/init.d/named start
Starting named: [ OK ]


My question is this: Do I have bind in a chroot directory or in my main directory? And; Why did I have to do something different than the How-to?


Thanks for the help

Chris
Reply With Quote
Sponsored Links
  #2  
Old 28th May 2008, 21:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
 
Default

Should be ok now. I don't know why this happened, maybe the Fedora packages have changed in the meantime...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mail delivered in mbox patfee Installation/Configuration 8 11th December 2007 13:58
The Perfect Server - Fedora 7 markg85 HOWTO-Related Questions 9 6th July 2007 17:18
Perfect Server Fedora 7 829 HOWTO-Related Questions 3 2nd July 2007 19:12
Fedora 7 - Perfect Server Questions jrj127 HOWTO-Related Questions 1 23rd June 2007 21:08
Bind-Chroot-Howto (Debian) spaz HOWTO-Related Questions 5 9th March 2006 14:50


All times are GMT +2. The time now is 18:39.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.