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
  #11  
Old 22nd July 2010, 22:32
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 14 Times in 6 Posts
Default

Yeah, what I did to start logging:

Code:
touch /var/log/mydns
nano /etc/mydns.conf

look for the ETC area, where it says log, change to this:
log = /var/log/mydns

/etc/init.d/mydns restart
It appears to be logging now. One line written showing that it started. Hopefully, it will give some output as to the crashing.
Reply With Quote
Sponsored Links
  #12  
Old 22nd July 2010, 22:43
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,788
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

According to the link that I posted in, you can make logging more verbose by adding the -v option to the mydqns command. I guess you will have to add it somewhere in the start script.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #13  
Old 22nd July 2010, 22:49
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 14 Times in 6 Posts
Default

this way is pretty simple, too. and its an easy way to control where it logs. keeps it from mixing in with the flood of messages in my /var/log/messages as i mentioned in another post a few minutes ago.
Reply With Quote
  #14  
Old 22nd July 2010, 23:17
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,788
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

You misunderstood me. I'am not talking about the log facility, I'am talking about log verbosity! As you have not increased the log verbosity, the error might not get logged or you will not be able to see the cause of the error in the log.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #15  
Old 22nd July 2010, 23:30
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 14 Times in 6 Posts
Default

I did misunderstand, now -v is used. Damn this is nuts. It's flooding the logfile.

Code:
mydns[31663]: mydns: mydns 1.2.8.27 started Thu Jul 22 16:28:09 2010 (listening on 12 addresses)
mydns[31665]: mydns: 22-Jul-2010 16:28:09+263021 #26 22569 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG N QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+263194 #27 10202 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+263234 #28 17133 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+263271 #29 23499 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+263307 #30 59605 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+263406 #31 37000 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+409154 #32 51675 UDP 93.184.209.51 IN A ns1.derekgordon.com. NOERROR - 1 1 2 1 LOG N QUER$
mydns[31665]: mydns: 22-Jul-2010 16:28:09+409264 #64 38137 UDP 93.184.209.51 IN A ns3.derekgordon.com. NOERROR - 1 1 2 2 LOG N QUER$
mydns[31665]: mydns: 22-Jul-2010 16:28:09+528919 #65 6698 UDP 93.184.209.51 IN A irc.newnet.net. NOERROR - 1 7 2 2 LOG N QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+550525 #66 51992 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY "" 
mydns[31665]: mydns: 22-Jul-2010 16:28:09+550621 #78 26312 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+550660 #79 27893 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+550697 #90 8945 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+550734 #91 64523 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+550769 #96 39558 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+641764 #97 42905 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+641860 #125 48654 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+641900 #128 15762 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+641937 #138 57571 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+641973 #139 45288 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+642021 #153 16437 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+689888 #154 13023 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+689995 #160 28485 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+690036 #165 25121 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+690072 #176 23067 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+690109 #177 47199 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+690145 #192 2230 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY "" 
mydns[31665]: mydns: 22-Jul-2010 16:28:09+720445 #193 25769 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+720549 #194 10989 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+720591 #215 17182 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+720627 #224 9994 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY "" 
mydns[31665]: mydns: 22-Jul-2010 16:28:09+720664 #256 37349 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+720700 #288 12516 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+911428 #289 40075 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+911533 #312 23858 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+911574 #313 29025 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+911645 #320 20446 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+911684 #352 27752 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
mydns[31665]: mydns: 22-Jul-2010 16:28:09+911732 #359 39668 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
.......................
mydns[31665]: mydns: 22-Jul-2010 16:28:53+084720 #12807 27632 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY$
mydns[31665]: mydns: 22-Jul-2010 16:28:53+084756 #12808 1489 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY $
mydns[31665]: mydns: 22-Jul-2010 16:28:53+168990 #12809 1093 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY $
mydns[31665]: mydns: 22-Jul-2010 16:28:53+169079 #12810 44118 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY$
mydns[31665]: mydns: 22-Jul-2010 16:28:53+169119 #12811 45081 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY$
mydns[31665]: mydns: 22-Jul-2010 16:28:53+169157 #12812 7789 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY $
mydns[31665]: mydns: 22-Jul-2010 16:28:53+169195 #12813 54331 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY$
mydns[31665]: mydns: 22-Jul-2010 16:28:53+169231 #12814 4907 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY $
mydns[31665]: mydns: 22-Jul-2010 16:28:53+277174 #12815 44445 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY$
mydns[31665]: mydns: 22-Jul-2010 16:28:53+277295 #12816 37650 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY$
mydns[31665]: mydns: 22-Jul-2010 16:28:53+277336 #12817 10402 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY$
mydns[31665]: mydns: 22-Jul-2010 16:28:53+277374 #12818 59240 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY$
mydns[31665]: mydns: 22-Jul-2010 16:28:53+277448 #12819 14324 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY$
mydns[31665]: mydns: 22-Jul-2010 16:28:53+277486 #12820 54930 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY$
mydns[31665]: mydns: 22-Jul-2010 16:28:53+343023 #12821 39876 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY$
mydns[31665]: mydns: 22-Jul-2010 16:28:53+343132 #12822 34760 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY$
mydns[31665]: mydns: 22-Jul-2010 16:28:53+343172 #12823 29957 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY$
mydns[31665]: mydns: 22-Jul-2010 16:28:53+343211 #12824 39880 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY$
mydns[31665]: mydns: 22-Jul-2010 16:28:53+343259 #12825 51480 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY$
mydns[31665]: mydns: 22-Jul-2010 16:28:53+343297 #12826 59782 UDP 204.188.249.62 IN NS . REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY$
Reply With Quote
  #16  
Old 22nd July 2010, 23:33
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,788
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

Yes, thats verbose logging and if you want to find the reason for the segfaults on your system, this is the way to find it.

If you think that it only happens when you insert or update dns records, then you should now create or update dns records to see if you can create a segfault.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #17  
Old 22nd July 2010, 23:35
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 14 Times in 6 Posts
Default

Yeah, no clue about that. ISPCONFIG is not being touched when it happens. Usually, it's at random hours of the day when I'm out on the down, meaning no-one is using SSH or ISPCONFIG.

So, it would be related to general queries I think.
Reply With Quote
  #18  
Old 22nd July 2010, 23:39
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,788
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

Quote:
Yeah, no clue about that. ISPCONFIG is not being touched when it happens. Usually, it's at random hours of the day when I'm out on the down, meaning no-one is using SSH or ISPCONFIG.
Then the theory that you posted about the reasons for the segfaults can not be the case. If you are not logged into ispconfig, nothing gets changed or altered in the tables used by mydns. You should tell the guys in the mydns mailinglist that the segfaults happen when no data gets altered or added in the database.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #19  
Old 22nd July 2010, 23:43
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 14 Times in 6 Posts
Default

They want evidence... So this seems to be the only way to get something to show?
Reply With Quote
  #20  
Old 22nd July 2010, 23:49
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,788
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
 
Default

You can try without verbosity first. But if it does not show enough info then, you might have to try again with verbose logging.
__________________
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
MyDNS to PowerDNS : Safe Migration zenny Tips/Tricks/Mods 11 23rd December 2010 11:22
MyDNS is stopped Ventzy General 3 26th June 2010 20:30
MyDNS fails to start tristanlee85 Installation/Configuration 11 16th March 2010 16:49
ipsconfig3 on Lenny how-to troubles | myDNS tomdavidson Installation/Configuration 3 7th November 2009 20:33
mydns settings/help believo General 1 26th January 2009 13:49


All times are GMT +2. The time now is 01:12.


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