
22nd July 2010, 21:32
|
|
Senior Member
|
|
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 13 Times in 5 Posts
|
|
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.
|

22nd July 2010, 21:43
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,888
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
|
|
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.
|

22nd July 2010, 21:49
|
|
Senior Member
|
|
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 13 Times in 5 Posts
|
|
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.
|

22nd July 2010, 22:17
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,888
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
|
|
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.
|

22nd July 2010, 22:30
|
|
Senior Member
|
|
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 13 Times in 5 Posts
|
|
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$
|

22nd July 2010, 22:33
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,888
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
|
|
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.
|

22nd July 2010, 22:35
|
|
Senior Member
|
|
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 13 Times in 5 Posts
|
|
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.
|

22nd July 2010, 22:39
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,888
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
|
|
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.
|

22nd July 2010, 22:43
|
|
Senior Member
|
|
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 13 Times in 5 Posts
|
|
They want evidence... So this seems to be the only way to get something to show?
|

22nd July 2010, 22:49
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,888
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
|
|
You can try without verbosity first. But if it does not show enough info then, you might have to try again with verbose logging.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 06:17.
|
|
Recent comments
1 day 3 hours ago
1 day 8 hours ago
1 day 10 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 17 hours ago
1 day 18 hours ago
1 day 20 hours ago
2 days 9 hours ago
2 days 11 hours ago