Current time: 11-26-2024, 04:38 AM Hello There, Guest! (LoginRegister)


Post Reply 
Bind issues.
Author Message
otacon Offline
Newbie
*

Posts: 6
Joined: Jul 2010
Reputation: 0
Post: #1
Bind issues.
So when I try to start Bind I get an error:

Error in named configuration:
/etc/named-ispcp.conf:4: zone 'admin.myhost.remcycle.net': already exists previous definition: /etc/named-ispcp.conf:4
/etc/named-ispcp.conf:4: zone 'admin.myhost.remcycle.net': already exists previous definition: /etc/named-ispcp.conf:4

I understand that there was a previous known issue and a patch was released but I can not find that patch for the life of me.

I am on CentOs 5.4 and I am currently running isp-control 1.0.5
-------------------------------------------------------------------------------

/etc/ispcp/bind/working/named.conf
------------------------

// bind Data BEGIN.

// dmn [admin.myhost.remcycle.net] cfg entry BEGIN.
zone "admin.myhost.remcycle.net" {
type master;
file "/var/named/data/admin.myhost.remcycle.net.db";
notify YES;
};
// dmn [admin.myhost.remcycle.net] cfg entry END.

// dmn [{DMN_NAME}] cfg entry BEGIN.
// dmn [{DMN_NAME}] cfg entry END.

// bind Data END.

-----------------------------------------------------------------------

/var/named/data/admin.myhost.remcycle.net.db
-----------------------

$TTL 12H
$ORIGIN admin.myhost.remcycle.net.
@ IN SOA ns1.admin.myhost.remcycle.net. postmaster.admin.myhost.remcycle.net. (
; dmn [admin.myhost.remcycle.net] timestamp entry BEGIN.
2010070700 ; Serial
; dmn [admin.myhost.remcycle.net] timestamp entry END.
8H ; Refresh
15M ; Retry
4W ; Expire
3H ; Minimum TTL
)
IN NS ns1.admin.myhost.remcycle.net.
IN NS ns2.admin.myhost.remcycle.net.
IN MX 10 mail.admin.myhost.remcycle.net.

admin.myhost.remcycle.net. IN A 192.168.1.3
www IN A 192.168.1.3
admin.myhost.remcycle.net. IN TXT "v=spf1 a mx ip4:192.168.1.3 ip4:192.168.1.3 ~all"
localhost IN A 127.0.0.1
mail IN A 192.168.1.3
ns1 IN A 192.168.1.3
ns2 IN A 192.168.1.3
; CNAME for mail transfer
imap IN CNAME mail
pop IN CNAME mail
pop3 IN CNAME mail
relay IN CNAME mail
smtp IN CNAME mail
; CNAME for web transfer
ftp IN CNAME www
; sub [{SUB_NAME}] entry BEGIN.
; sub [{SUB_NAME}] entry END.


I tried to look up a log for it but my system log did not have anything in it about named.


Any help would be appreciated...

---------------------------------------------------------------------------

/var/named/chroot/etc/named.conf

include "/etc/named-ispcp.conf";
include "/etc/named-ispcp.conf";
include "/etc/named-ispcp.conf";


So when I saw this I created a backup of the configuration then removed the other two extra line

I try service named restart and now I get this

service named restart
Stopping named: [ OK ]
Starting named: [FAILED]


So now I really need to figure out where the bind error logs are since I have nothing to go off of now.

-------------------------------------------------------------

I found the logs by grep named /var/log/messages


Jul 8 22:10:49 localhost named[27072]: starting BIND 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 -u named -D -t /var/named/chroot
Jul 8 22:10:49 localhost named[27072]: adjusted limit on open files from 1024 to 1048576
Jul 8 22:10:49 localhost named[27072]: found 2 CPUs, using 2 worker threads
Jul 8 22:10:49 localhost named[27072]: using up to 4096 sockets
Jul 8 22:10:49 localhost named[27072]: loading configuration from '/etc/named.conf'
Jul 8 22:10:49 localhost named[27072]: using default UDP/IPv4 port range: [1024, 65535]
Jul 8 22:10:49 localhost named[27072]: using default UDP/IPv6 port range: [1024, 65535]
Jul 8 22:10:49 localhost named[27072]: listening on IPv4 interface lo, 127.0.0.1#53
Jul 8 22:10:49 localhost named[27072]: listening on IPv4 interface wlan0, 192.168.1.3#53
Jul 8 22:10:49 localhost named[27072]: command channel listening on 127.0.0.1#953
Jul 8 22:10:49 localhost named[27072]: command channel listening on ::1#953
Jul 8 22:10:49 localhost named[27072]: the working directory is not writable
Jul 8 22:10:49 localhost named[27072]: zone admin.myhost.remcycle.net/IN: loaded serial 2010070700
Jul 8 22:10:49 localhost named[27072]: zone admin.myhost.remcycle.net/IN: sending notifies (serial 2010070700)
Jul 8 22:10:49 localhost kernel: named[27073]: segfault at 00002aaaac0000d8 rip 00002aaaac0000d8 rsp 0000000040e78f58 error 15
(This post was last modified: 07-09-2010 12:20 PM by otacon.)
07-09-2010 12:15 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)