Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th July 2010, 16:40
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 14 Times in 6 Posts
Default MyDNS Segfaults

So, my server stops responding to hostnames. Finally looked in the log, here's a snippet. Any thoughts?

Code:
Jul  8 09:46:14 my kernel: [1957128.249175] mydns[31597]: segfault at 0 ip 40e87d sp 7fffffffd490 error 4 in mydns[400000+32000]
Jul  8 09:54:41 my kernel: [1957667.599821] mydns[3709]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:54:41 my kernel: [1957668.288273] mydns[3710]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:54:41 my kernel: [1957668.312274] mydns[3711]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:54:41 my kernel: [1957668.324277] mydns[3712]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:54:41 my kernel: [1957668.328930] mydns[3713]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:54:41 my kernel: [1957668.390657] mydns[3714]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:54:41 my kernel: [1957668.400529] mydns[3715]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:54:41 my kernel: [1957668.405663] mydns[3716]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:54:41 my kernel: [1957668.500529] mydns[3717]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:54:41 my kernel: [1957668.566591] mydns[3718]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:54:53 my kernel: [1957681.320283] __ratelimit: 5 messages suppressed
Jul  8 09:54:53 my kernel: [1957681.320290] mydns[3724]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:54:53 my kernel: [1957681.342731] mydns[3726]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:54:59 my kernel: [1957688.760196] __ratelimit: 22 messages suppressed
Jul  8 09:54:59 my kernel: [1957688.760196] mydns[3752]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:55:11 my kernel: [1957701.883140] mydns[3754]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:55:11 my kernel: [1957701.894715] mydns[3767]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:55:11 my kernel: [1957701.902294] mydns[3768]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:55:14 my pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jul  8 09:55:14 my pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jul  8 09:55:24 my kernel: [1957714.417575] __ratelimit: 46 messages suppressed 
Jul  8 09:55:24 my kernel: [1957714.417575] mydns[3817]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:56:20 my kernel: [1957774.895848] mydns[3828]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:57:29 my kernel: [1957849.633692] mydns[3883]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
.................
Jul  8 09:58:42 my kernel: [1957927.055896] mydns[4994]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:58:42 my kernel: [1957927.097923] mydns[4995]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:58:44 my kernel: [1957929.030362] mydns[4996]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:58:44 my kernel: [1957929.043844] mydns[4997]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:58:44 my kernel: [1957929.049654] mydns[4998]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:58:44 my kernel: [1957929.055844] mydns[4999]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:58:44 my kernel: [1957929.414219] __ratelimit: 33 messages suppressed
Jul  8 09:58:44 my kernel: [1957929.414219] mydns[5033]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:58:49 my kernel: [1957934.819720] __ratelimit: 4 messages suppressed
Jul  8 09:58:49 my kernel: [1957934.819727] mydns[5040]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Jul  8 09:58:56 my kernel: [1957941.326794] __ratelimit: 497 messages suppressed
Jul  8 09:58:56 my kernel: [1957941.326800] mydns[5539]: segfault at 0 ip 404638 sp 7fffffffd430 error 4 in mydns[400000+32000]
Debian Lenny x64, used the Perfect Setup guide. All apt-get updates were installed. dual 2ghz, 2gb ram, 300gb hdd

Quote:
my:/home/dingle# mydns --version
mydns (mydns) 1.2.8.25 (MySQL 5.0.51a)

Copyright (C) 2002-2005 Don Moore 2007-2008 Howard Wilkinson
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Last edited by crypted; 8th July 2010 at 17:15.
Reply With Quote
Sponsored Links
  #2  
Old 9th July 2010, 08:21
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,386 Times in 4,231 Posts
Default

Try to update mydns to the latest version (mydns-ng 1.2.8.27)

http://sourceforge.net/projects/mydns-ng/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 9th July 2010, 16:20
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 14 Times in 6 Posts
Default

Yep, did that. Will see what happens. Might wanna get falko to update the package link in the perfect setup guides...
Reply With Quote
  #4  
Old 17th July 2010, 05:22
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 14 Times in 6 Posts
Default

MyDNS has segfaulted once again. What happens is NO DOMAIN will resolve, but the machine is accessible via IP. The Shared-IP page will load for those IPs as well.

I setup a cronjob that will restart via the init.d script every three hours because downtime can be over a day as I'm not always available to restart it myself.

I upgrade to the latest MyDNS as discussed above. Still not working out right.

How can I get MyDNS to create a logfile to help pinpoint the matter?

I did everything as instructed in the Perfect Setup guide for Debian Lenny.
Reply With Quote
  #5  
Old 17th July 2010, 09:55
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,386 Times in 4,231 Posts
Default

Have you contacted the mydns developers in their mailinglist? They might be able to help you more in detail with this segfault.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 17th July 2010, 16:59
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 14 Times in 6 Posts
Default

Will do. Just thought I'd turn to you guys as a first resource.
Reply With Quote
  #7  
Old 22nd July 2010, 18:38
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 14 Times in 6 Posts
Default

Apparently, the consensus so far is that there were problems when ISPCONFIG wrote the zonefiles to the database.

Till, i don't know the tables used for DNS and what not, what are they?

Also, is there any way to have them rewritten or to have the system check for consistency errors?
Reply With Quote
  #8  
Old 22nd July 2010, 19:21
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,386 Times in 4,231 Posts
Default

Quote:
Till, i don't know the tables used for DNS and what not, what are they?
The table nemes names are the same then the protocol:

dns_*

Quote:
Also, is there any way to have them rewritten or to have the system check for consistency errors?
Records in a database are always consistent, this is handled by mysql as every record is written at once into the databse with one sql insert or update statement. A application should never fail with a segfault. Maybe they should add code to handle database connection problems better.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 22nd July 2010 at 20:49.
Reply With Quote
  #9  
Old 22nd July 2010, 19:56
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 14 Times in 6 Posts
Default

Any clue of a way to run mydns so that it outputs all data and creates a log?

I think there was something like gdb on FreeBSD for that but no clue.
Reply With Quote
  #10  
Old 22nd July 2010, 21:01
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,386 Times in 4,231 Posts
 
Default

The only logging option that I'am aware of is this one:

http://mydns.bboy.net/doc/html/mydns_22.html
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
crypted (22nd July 2010)
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
MyDNS to PowerDNS : Safe Migration zenny Tips/Tricks/Mods 11 23rd December 2010 10:22
MyDNS is stopped Ventzy General 3 26th June 2010 19:30
MyDNS fails to start tristanlee85 Installation/Configuration 11 16th March 2010 15:49
ipsconfig3 on Lenny how-to troubles | myDNS tomdavidson Installation/Configuration 3 7th November 2009 19:33
mydns settings/help believo General 1 26th January 2009 12:49


All times are GMT +2. The time now is 04:54.


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