Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th May 2008, 22:02
navop navop is offline
Junior Member
 
Join Date: Jan 2008
Posts: 15
Thanks: 1
Thanked 0 Times in 0 Posts
Default Perfect Server Ubuntu 8.04 page 4 bind problem?

Following the steps in The perfect server ubuntu8.04 lts

I'm trying to restart bind9, and at the end of the line it says [fail]

I noticed that when installing bind9 that it reloaded AppArmor, whinc in step 10 on page 3 it says to disable it which I did

Why is it that when installing Bind9 it reloads it?

Also included the error that is found in /var/log/syslog

http://pastebin.com/dc327a40

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 13th May 2008, 23:03
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

Please try to disable apparmor again and then start bind. Maybe you did not fully disable app armor the first time.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 3rd July 2008, 02:42
PatrickDickey PatrickDickey is offline
Junior Member
 
Join Date: Jul 2008
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to PatrickDickey Send a message via Yahoo to PatrickDickey Send a message via Skype™ to PatrickDickey
Default

Quote:
Originally Posted by navop View Post
Following the steps in The perfect server ubuntu8.04 lts

I'm trying to restart bind9, and at the end of the line it says [fail]

I noticed that when installing bind9 that it reloaded AppArmor, whinc in step 10 on page 3 it says to disable it which I did

Why is it that when installing Bind9 it reloads it?

Also included the error that is found in /var/log/syslog

http://pastebin.com/dc327a40

Thanks
I'm having this same issue. As for disabling AppArmor, I copied and pasted the lines from the tutorial. I tried to look at the OP's pastebin, but it's expired. So, here are the messages I get when I try to start bind.

Quote:
Jul 2 17:23:32 dcky-ubuntu named[6820]: starting BIND 9.4.2 -u bind -t /var/lib/named
Jul 2 17:23:32 dcky-ubuntu named[6820]: found 1 CPU, using 1 worker thread
Jul 2 17:23:32 dcky-ubuntu named[6820]: loading configuration from '/etc/bind/named.conf'
Jul 2 17:23:32 dcky-ubuntu named[6820]: none:0: open: /etc/bind/named.conf: permission denied
Jul 2 17:23:32 dcky-ubuntu named[6820]: loading configuration: permission denied
Jul 2 17:23:32 dcky-ubuntu named[6820]: exiting (due to fatal error)
I've since removed AppArmor, and installed the GnomeBindAdmin program. If I try to point it to my /var/lib/named directory, it comes up with the errors above (or /etc/named.conf in place of /etc/bind/named.conf). If I try it with the /var/named directory that it's asking for, I have to reenter all of my information (which is ok, as long as it works).

Any help will be greatly appreciated.
Have a great day
Patrick.
Reply With Quote
  #4  
Old 3rd July 2008, 15:37
PatrickDickey PatrickDickey is offline
Junior Member
 
Join Date: Jul 2008
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to PatrickDickey Send a message via Yahoo to PatrickDickey Send a message via Skype™ to PatrickDickey
Default

Also to be noted, I uninstalled Bind, removed the symlinks, and removed all of the files from the directories that were created. Then, I completely removed AppArmor. I went back through the tutorial, and reinstalled Bind and followed the tutorial.

I noticed that there were a few parts that I messed up (in /etc/hosts mainly), and did them right this time. Now, when I restart bind9, I get an error when it shuts down (suggesting that I'm using an older form of the command, the computer I'm on (which is the server itself) is not authorized, or my clocks aren't in synch). But, the bind9 start portion gives me [ok].

From my Windows Vista computer, if I do a nslookup of any computer in my local domain (dcky-ubuntu.dickey.local.lan for example) it comes back with non-existant domain. However, if I do a search for say www.google.com, it comes back with an IP address.

I can post my config files and my conf.local along with zone files, if needed. One thing to note is, where in the tutorial, he created a reverse-zone file with his public IP, I created it with my NAT (Private) IP, since I'm not running an e-mail server. In other words, where he's got a file that's called rev13.3.10.in-addr.arpa, mine is rev1.168.192.in-addr-arpa.

Thanks for any help with this. I've also created a post in the HOW-TO Questions forum, because I didn't find this post until later on.

Have a great day
Patrick.
Reply With Quote
  #5  
Old 3rd July 2008, 23:02
PatrickDickey PatrickDickey is offline
Junior Member
 
Join Date: Jul 2008
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to PatrickDickey Send a message via Yahoo to PatrickDickey Send a message via Skype™ to PatrickDickey
 
Default

Just so I don't have to recopy everything, here's the thread that I started in another forum about this issue...

http://www.howtoforge.com/forums/sho...d=1#post134105

Have a great day I have my config files up there, and more information.
Patrick.
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
Installing Xen On An Ubuntu 8.04 (Hardy Heron) Server : Host network nonfunctional breshead HOWTO-Related Questions 3 9th May 2008 00:28
Perfect Setup Ubuntu Feisty Fawn 7.04 - Problem to login with IMAP and POP3 (failed) gbo HOWTO-Related Questions 3 9th April 2008 23:54
Can't start apache Musty Server Operation 12 9th March 2008 13:58
Perfect Setup Ubuntu 7.04: MySQL host password problem cheros HOWTO-Related Questions 6 10th January 2008 16:30
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 02:30


All times are GMT +2. The time now is 20:37.


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