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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th January 2007, 22:27
Akirasoft Akirasoft is offline
Junior Member
 
Join Date: Jan 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Orphaned DNS entries (post recycle bin emptying!)

I have an orphaned dns site entry that I can only get to via search and all child entries (A, CNAME, MX, etc) have their relationships broken and can't be accessed at all.

After searching for the parent entry and deleting that and waiting about 30 minutes for the recycle bin to actually be available I thought I removed the entry. Recreating the entry is still resulting in ISPConfig claiming the SOA exists already....

Any ideas? I am perpetually running into this orphaning issue and have actually completely refreshed the OS install on the box a couple times to insure a fresh system before installing ISPConfig.
Reply With Quote
Sponsored Links
  #2  
Old 14th January 2007, 11:23
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,983
Thanks: 825
Thanked 5,372 Times in 4,219 Posts
Default

Do you men the entries are left in the databse or on the harddisk? The DNS-Manager has a recycle bin for every reseller and one for the admin, are the records in one of these recycle bin's and have you emptied all recycle bins?

Do you get any errors in the ISPConfig logfile /home/admispconfig/ispconfig/ispconfig.log ?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 14th January 2007, 23:15
Akirasoft Akirasoft is offline
Junior Member
 
Join Date: Jan 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till
Do you men the entries are left in the databse or on the harddisk? The DNS-Manager has a recycle bin for every reseller and one for the admin, are the records in one of these recycle bin's and have you emptied all recycle bins?

Do you get any errors in the ISPConfig logfile /home/admispconfig/ispconfig/ispconfig.log ?
I ended up fixing this by finding the entry via search and then putting it in a new parent folder. Not that it matters, it looks like the DNS setup is so hosed it wont actually update the zonefiles for any of the domains that are being configured via ISPConfig. No errors in the ISPConfig log. Is there anyway I can force ISPConfig to actually write the entries to the zonefiles?
Reply With Quote
  #4  
Old 14th January 2007, 23:20
Akirasoft Akirasoft is offline
Junior Member
 
Join Date: Jan 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

actually, come to think of it, I'm not entirely sure how or why, but I keep getting blank folders in my "DNS Manager" tree. There is no New Folder icon for that manager... Something is really messed up again, perhaps I have to reinstall again?
Reply With Quote
  #5  
Old 15th January 2007, 15:33
Akirasoft Akirasoft is offline
Junior Member
 
Join Date: Jan 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Not sure if anyone is still looking at this thread but....

After some digging, it looks like ISPConfig is pointed to an invalid location for it's zonefiles dir. It wants to goto /etc/named whichdoes not exist. The zonefiles are located in /var/named/chroot/var/named. Installation was performed according to the Centos 4.4 howto on howtoforge.

I'm thinking this item may be why it is unable to update the zonefiles when I make changes to records from within ISPConfig.

I attempted to make a change to this and the change did not take, after checking back into ispconfig later the setting was changed BACK ot /etc/named. I think my nextstep will be to do a symlink.
Reply With Quote
  #6  
Old 15th January 2007, 16:04
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

One of the steps in the Perfect setup is to create a symbolic link between /etc/named to your ch-root-ed directory
Reply With Quote
  #7  
Old 16th January 2007, 02:47
Akirasoft Akirasoft is offline
Junior Member
 
Join Date: Jan 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by martinfst
One of the steps in the Perfect setup is to create a symbolic link between /etc/named to your ch-root-ed directory
It can be tough for a blind man to read braile on an LCD.

I must have skipped that line

Even with the symlink ISPConfig is still not updating the zonefiles. In fact, ISPConfig has not updated the zonefiles in 4 days. Any other ideas what could be going on here?
Reply With Quote
  #8  
Old 16th January 2007, 04:14
Akirasoft Akirasoft is offline
Junior Member
 
Join Date: Jan 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Looks like I had the same problem as alot of people, even with the permissions set to the dirs properly as well as that symlink linking /etc/bind to the chroot jail still failed ot get my updates to post.

I did the following things:
  • updated the server_bind_zonefile_dir value in the mysql db to /var/named/chroot/var/named
  • removed the lockfile
  • added a dns entry to a domain in ISPConfig
  • deleted that entry

after doing those things, the zone file was updated. I'm wondering, how long do those lockfiles sit around, are they supposed to go away ever?
Reply With Quote
  #9  
Old 16th January 2007, 08:24
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,983
Thanks: 825
Thanked 5,372 Times in 4,219 Posts
 
Default

The lockfile stays for max. 120 seconds. But Maybe the server process died.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
DNS Configuration Problems VMartins Installation/Configuration 10 24th July 2007 14:40
Recycle bin will not empty. begmarz Installation/Configuration 14 12th December 2006 10:51
Manually removing a mysql entry out of the recycle bin brainz Installation/Configuration 2 26th June 2006 06:05
Empty Recycle Bin jon335 General 40 6th May 2006 11:56
Client can't see entries in the recycle bin flykip General 5 1st February 2006 10:30


All times are GMT +2. The time now is 08:30.


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