LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-01-2017, 01:44 AM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 1,621

Rep: Reputation: 128Reputation: 128
rndc sync -clean not merging and clearing journal files


I'm running BIND 9.10.4-P6 on Slackware64 14.2. When I run `rndc sync -clean`, my journal files are not getting cleaned out and removed. They used to be either with the 14.1 Slackware or with a previous version of bind. Why are they not getting sync'd and cleaned out now? Here is the output:
Code:
> rndc -V sync -clean
create memory context
create socket manager
create task manager
create task
create logging context
setting log tag
creating log channel
enabling log channel
create parser
get key
decode base64 secret
sync
post event
using server 127.0.0.1 (127.0.0.1#953)
create socket
bind socket
connect
create message
render message
schedule recv
send message
parse message
create message
render message
schedule recv
send message
parse message
I should also note that timestamp on this file is 3 months old indicating to me it hasn't been used for a while. Why not?

Last edited by mfoley; 05-01-2017 at 01:53 AM.
 
Old 05-02-2017, 01:45 PM   #2
t0m5k1
LQ Newbie
 
Registered: Oct 2012
Location: United Kingdon
Distribution: ArchLinux
Posts: 2

Rep: Reputation: Disabled
What happens when you stop/start the named service?
 
Old 05-05-2017, 01:54 PM   #3
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 1,621

Original Poster
Rep: Reputation: 128Reputation: 128
I found the problem. `rndc sync -clean` is working. I was looking in the wrong directory. Slackware changed the location of Samba dns files from /etc/samba/private/dns with 14.1 to /var/lib/samba/private/dns with 14.2. However, config files having the former path were not updated. I had to do that manually and I guess I missed one. I was looking in the old directory and not seeing the journal files updating and removed. That's not the first time the directory changed bit me!

All is well now.
 
  


Reply

Tags
bind, journal, named, sync


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: BitTorrent Sync: Automatically sync files on your Linux Devices LXer Syndicated Linux News 0 10-04-2013 03:50 PM
journal rollforward failed: journal out of sync with zone-No DDNS plvasco Linux - Server 0 05-31-2013 07:45 PM
rndc works, but rndc stats doesnt havok1977 Linux - Networking 2 04-08-2010 03:18 PM
[SOLVED] Bind and rndc problems!! How do I remove rndc? TylerD75 Linux - Server 4 01-06-2010 08:40 AM
Merging Two Files using C++ ckoniecny Programming 5 09-26-2006 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration