Re: [Pdns-users] strange lock after some time after start

2011-05-12 Thread Vasiliy G Tolstov
On Mon, 2011-05-09 at 23:53 +0400, Vasiliy G Tolstov wrote:

Some new die from master:

May 12 12:39:25 www pdns[6695]: Guardian is launching an instance
May 12 12:39:25 www pdns[6695]: Reading random entropy from
'/dev/urandom'
May 12 12:39:25 www pdns[6695]: This is a guarded instance of pdns
May 12 12:39:25 www pdns[6695]: UDP server bound to 188.127.236.4:53
May 12 12:39:25 www pdns[6695]: TCP server bound to 188.127.236.4:53
May 12 12:39:25 www pdns[6695]: PowerDNS 3.0-rc2.20110427.2187 (C)
2001-2011 PowerDNS.COM BV (Apr 27 2011, 23:00:55, gcc 4.4.1) starting up
May 12 12:39:25 www pdns[6695]: PowerDNS comes with ABSOLUTELY NO
WARRANTY. This is free software, and you are welcome to redistribute it
according to the terms of the GPL version 2.
May 12 12:39:25 www pdns[6695]: Set effective group id to 102
May 12 12:39:25 www pdns[6695]: Set effective user id to 101
May 12 12:39:25 www pdns[6695]: DNS Proxy launched, local port 44300,
remote 8.8.8.8:53
May 12 12:39:25 www pdns[6695]: Creating backend connection for TCP
May 12 12:39:25 www pdns[6695]: Master/slave communicator launching
May 12 12:39:25 www pdns[6695]: gmysql Connection successful
May 12 12:39:25 www pdns[6695]: gmysql Connection successful
May 12 12:39:25 www pdns[6695]: Got a signal 11, attempting to print
trace: 
May 12 12:39:25 www pdns[6695]: gmysql Connection successful
May 12 12:39:25 www pdns[6695]: About to create 10 backend threads for
UDP
May 12 12:39:25 www pdns[6695]: gmysql Connection successful
May 12 12:39:25 www pdns[6695]: gmysql Connection successful
May 12 12:39:25 www pdns[6695]: [0x47da00]
May 12 12:39:25 www pdns[6695]: [0x892530]


-- 
Vasiliy G Tolstov v.tols...@selfip.ru
Selfip.Ru

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] another crash

2011-05-09 Thread Vasiliy G Tolstov
On Mon, 2011-05-09 at 10:43 +0200, bert hubert wrote:
 On Wed, May 04, 2011 at 01:56:41PM +0400, Vasiliy G Tolstov wrote:
  On Wed, 2011-05-04 at 13:04 +0400, Vasiliy G Tolstov wrote:
   On Tue, 2011-05-03 at 22:45 +0400, Vasiliy G Tolstov wrote:
hello. some new crash, but very minimal debug =(
pdns from 64 bit rpm: pdns-static-3.0rc2.20110427.2187-1
   
   Another dead:
  
  Some new error, but with debug info:
 
 So this is an error and not a crash? Can you allow 82.94.213.34 to AXFR
 stren.su? 
 
  May  4 13:55:54 ns2 pdns[26664]: Unable to parse record during incoming
  AXFR of 'stren.su' (MOADNSException): Error parsing packet of 735 bytes
  (rd=0), out of bounds: vector::_M_range_check
 

Yes. And in this moment i test it and it work's fine.

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] strange lock after some time after start

2011-05-09 Thread Vasiliy G Tolstov
On Mon, 2011-05-09 at 11:00 +0200, bert hubert wrote:
 On Thu, Apr 28, 2011 at 11:20:42PM +0400, Vasiliy G Tolstov wrote:
  On Tue, 2011-04-26 at 19:15 +0400, Vasiliy G Tolstov wrote:
   Hello =).
   
  
  Any progress about this problem? This reproduced always if i restart
  master and do notify for all zones in cycle o slave...
 
 Vasiliy,
 
 Can you confirm that the server itself works but that the controlsocket
 shuts down?

It work's, but not respond to all notify responses from master. But yes
- for all zones from it database ii response normal.

 
 Are you in a chroot?
 
   Bert


___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] strange lock after some time after start

2011-05-09 Thread Vasiliy G Tolstov
On Mon, 2011-05-09 at 19:06 +0400, Vasiliy G Tolstov wrote:
 On Mon, 2011-05-09 at 11:00 +0200, bert hubert wrote:
  On Thu, Apr 28, 2011 at 11:20:42PM +0400, Vasiliy G Tolstov wrote:
   On Tue, 2011-04-26 at 19:15 +0400, Vasiliy G Tolstov wrote:
Hello =).

   
   Any progress about this problem? This reproduced always if i restart
   master and do notify for all zones in cycle o slave...
  
  Vasiliy,
  
  Can you confirm that the server itself works but that the controlsocket
  shuts down?
 
 It work's, but not respond to all notify responses from master. But yes
 - for all zones from it database ii response normal.
 

Now it not respond to any queries. CLient side:
vase@mobile ~ $ dig @ns2.clodo.ru lis.ru ANY

;  DiG 9.7.2-P3  @ns2.clodo.ru lis.ru ANY
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached


Server side:
[root@ns2 ~]# strace  -ff -v -p 19019
Process 19019 attached with 25 threads - interrupt to quit
[pid  9682] futex(0xf04220, FUTEX_WAIT_PRIVATE, 2, NULL unfinished ...
[pid  9676] futex(0xf04220, FUTEX_WAIT_PRIVATE, 2, NULL unfinished ...
[pid  9664] futex(0xf04220, FUTEX_WAIT_PRIVATE, 2, NULL unfinished ...
[pid  9663] futex(0xf04220, FUTEX_WAIT_PRIVATE, 2, NULL unfinished ...
[pid  9662] futex(0xf04220, FUTEX_WAIT_PRIVATE, 2, NULL unfinished ...
[pid  9661] futex(0xf04220, FUTEX_WAIT_PRIVATE, 2, NULL unfinished ...
[pid  9660] futex(0xf04180, FUTEX_WAIT_PRIVATE, 2, NULL unfinished ...
[pid 19060] futex(0x2b898020, FUTEX_WAIT_PRIVATE, 2, NULL
unfinished ...
[pid 19057] futex(0xf04180, FUTEX_WAIT_PRIVATE, 2, NULL unfinished ...
[pid 19054] futex(0xf04180, FUTEX_WAIT_PRIVATE, 2, NULL unfinished ...
[pid 19051] futex(0xf04180, FUTEX_WAIT_PRIVATE, 2, NULL unfinished ...
[pid 19048] futex(0x2b898020, FUTEX_WAIT_PRIVATE, 2, NULL
unfinished ...
[pid 19045] futex(0x2b898020, FUTEX_WAIT_PRIVATE, 2, NULL
unfinished ...
[pid 19042] futex(0xf04180, FUTEX_WAIT_PRIVATE, 2, NULL unfinished ...
[pid 19039] futex(0xf04180, FUTEX_WAIT_PRIVATE, 2, NULL unfinished ...
[pid 19036] futex(0xf04180, FUTEX_WAIT_PRIVATE, 2, NULL unfinished ...
[pid 19033] futex(0xf04180, FUTEX_WAIT_PRIVATE, 2, NULL unfinished ...
[pid 19030] futex(0xf04180, FUTEX_WAIT_PRIVATE, 2, NULL unfinished ...
[pid 19029] poll([{fd=6, events=POLLIN}], 1, -1 unfinished ...
[pid 19024] futex(0xf04180, FUTEX_WAIT_PRIVATE, 2, NULL unfinished ...
[pid 19023] futex(0x2b898020, FUTEX_WAIT_PRIVATE, 2, NULL
unfinished ...
[pid 19022] futex(0x2b898020, FUTEX_WAIT_PRIVATE, 2, NULL
unfinished ...
[pid 19021] read(0,  unfinished ...
[pid 19020] recvfrom(8,  unfinished ...
[pid 19019] futex(0x2b8987c059e0, FUTEX_WAIT, 19060, NULL


And nothing more from strace ...

  
  Are you in a chroot?
  

No, i'm not in chroot.

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] another crash

2011-05-04 Thread Vasiliy G Tolstov
On Tue, 2011-05-03 at 22:45 +0400, Vasiliy G Tolstov wrote:
 hello. some new crash, but very minimal debug =(
 pdns from 64 bit rpm: pdns-static-3.0rc2.20110427.2187-1

Another dead:

May  4 13:03:33 www pdns[21998]: TCP Connection Thread died because of
STL error: Parsing record content: while parsing IP address, expected
digits at position 0 in 'mail.nic.ru.'
May  4 13:03:33 www pdns[21998]: gmysql Connection successful
May  4 13:03:33 www pdns[21998]: AXFR of domain 'www.voentorgshop.ru'
initiated by 89.249.18.119
May  4 13:03:33 www pdns[21998]: AXFR of domain 'www.voentorgshop.ru'
failed: not authoritative
May  4 13:03:33 www pdns[21998]: gmysql Connection successful
May  4 13:03:33 www pdns[21998]: AXFR of domain 'tb.drugdrugu.ru'
initiated by 89.249.18.119
May  4 13:03:33 www pdns[21998]: AXFR of domain 'tb.drugdrugu.ru'
failed: not authoritative
May  4 13:03:33 www pdns[21998]: gmysql Connection successful
May  4 13:03:33 www pdns[21998]: AXFR of domain 'www.pynikov.name'
initiated by 89.249.18.119
May  4 13:03:33 www pdns[21998]: AXFR of domain 'www.pynikov.name'
failed: not authoritative
May  4 13:03:33 www pdns[21998]: gmysql Connection successful
May  4 13:03:33 www pdns[21998]: AXFR of domain 'go-fun.ru' initiated by
89.249.18.119
May  4 13:03:33 www pdns[21998]: gmysql Connection successful
May  4 13:03:33 www pdns[21998]: gmysql Connection successful
May  4 13:03:33 www pdns[21998]: AXFR of domain 'go-fun.ru' to
89.249.18.119 finished
May  4 13:03:33 www pdns[21998]: gmysql Connection successful
May  4 13:03:33 www pdns[21998]: AXFR of domain 'www.bezvoprosov.ru'
initiated by 89.249.18.119
May  4 13:03:33 www pdns[21998]: AXFR of domain 'www.bezvoprosov.ru'
failed: not authoritative
May  4 13:03:33 www pdns[21998]: TCP Connection Thread died because of
STL error: Reading data: Connection reset by peer
May  4 13:03:33 www pdns[21998]: gmysql Connection successful
May  4 13:03:33 www pdns[21998]: AXFR of domain 'ns1.tronixlab.ru'
initiated by 89.249.18.119
May  4 13:03:33 www pdns[21998]: AXFR of domain 'ns1.tronixlab.ru'
failed: not authoritative
May  4 13:03:33 www pdns[21998]: gmysql Connection successful
May  4 13:03:33 www pdns[21998]: AXFR of domain 'cms.web-wood.ru'
initiated by 89.249.18.119
May  4 13:03:33 www pdns[21998]: AXFR of domain 'cms.web-wood.ru'
failed: not authoritative
May  4 13:03:33 www pdns[21998]: gmysql Connection successful
May  4 13:03:33 www pdns[21998]: AXFR of domain 'www.vipoffice.net'
initiated by 89.249.18.119
May  4 13:03:33 www pdns[21998]: AXFR of domain 'www.vipoffice.net'
failed: not authoritative
May  4 13:03:33 www pdns[21998]: gmysql Connection successful
May  4 13:03:33 www pdns[21998]: AXFR of domain 'test.web-wood.ru'
initiated by 89.249.18.119
May  4 13:03:33 www pdns[21998]: AXFR of domain 'test.web-wood.ru'
failed: not authoritative
May  4 13:03:33 www pdns[21998]: gmysql Connection successful
May  4 13:03:33 www pdns[21998]: AXFR of domain 'stren.su' initiated by
89.249.18.119
May  4 13:03:33 www pdns[21998]: gmysql Connection successful
May  4 13:03:33 www pdns[21998]: gmysql Connection successful
May  4 13:03:33 www pdns[21998]: AXFR of domain 'stren.su' to
89.249.18.119 finished
May  4 13:03:33 www pdns[21998]: TCP Connection Thread died because of
STL error: Reading data: Connection reset by peer
May  4 13:03:34 www pdns[21998]: gmysql Connection successful
May  4 13:03:34 www pdns[21998]: AXFR of domain 'poput4ik.net' initiated
by 89.249.18.119
May  4 13:03:34 www pdns[21998]: gmysql Connection successful
May  4 13:03:34 www pdns[21998]: gmysql Connection successful


-- 
Vasiliy G Tolstov v.tols...@selfip.ru
Selfip.Ru

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] another crash

2011-05-04 Thread Vasiliy G Tolstov
On Wed, 2011-05-04 at 13:04 +0400, Vasiliy G Tolstov wrote:
 On Tue, 2011-05-03 at 22:45 +0400, Vasiliy G Tolstov wrote:
  hello. some new crash, but very minimal debug =(
  pdns from 64 bit rpm: pdns-static-3.0rc2.20110427.2187-1
 
 Another dead:

Some new error, but with debug info:

May  4 13:55:54 ns2 pdns[26664]: Query: select
id,name,master,last_check,notified_serial,type from domains where
name='stren.su'
May  4 13:55:54 ns2 pdns[26664]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name='stren.su'
May  4 13:55:54 ns2 pdns[26664]: Unable to AXFR zone 'test.web-wood.ru'
from remote '188.127.236.4' (resolver): AXFR chunk with a non-zero rcode
9
May  4 13:55:54 ns2 pdns[26664]: AXFR started for 'stren.su',
transaction started
May  4 13:55:54 ns2 pdns[26664]: Query: begin
May  4 13:55:54 ns2 pdns[26664]: Query: delete from records where
domain_id=3445
May  4 13:55:54 ns2 pdns[26664]: Query: insert into records
(content,ttl,prio,type,domain_id,name) values ('ns1.clodo.ru.
ya.ufort.ru. 2011050400 3600 600 86400
3600',86400,0,'SOA',3445,'stren.su')
May  4 13:55:54 ns2 pdns[26664]: Unable to parse record during incoming
AXFR of 'stren.su' (MOADNSException): Error parsing packet of 735 bytes
(rd=0), out of bounds: vector::_M_range_check
May  4 13:55:54 ns2 pdns[26664]: Aborting possible open transaction for
domain 'stren.su' AXFR
May  4 13:55:54 ns2 pdns[26664]: Query: rollback


-- 
Vasiliy G Tolstov v.tols...@selfip.ru
Selfip.Ru

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] another crash

2011-05-04 Thread Vasiliy G Tolstov
On Wed, 2011-05-04 at 12:09 +0200, bert hubert wrote:
 On Wed, May 04, 2011 at 01:56:41PM +0400, Vasiliy G Tolstov wrote:
  On Wed, 2011-05-04 at 13:04 +0400, Vasiliy G Tolstov wrote:
   On Tue, 2011-05-03 at 22:45 +0400, Vasiliy G Tolstov wrote:
hello. some new crash, but very minimal debug =(
pdns from 64 bit rpm: pdns-static-3.0rc2.20110427.2187-1
   
   Another dead:
  
  Some new error, but with debug info:
 
 Hi Vasiliy,
 
 Thanks for this  your other reports about PowerDNS locking up. I just
 wanted to let you know we are not ignoring you ;-)
 
 We are currently busy with a few other things, Friday is probably when we
 will get to work on the remaning RC2 problems.
 
   Bert

Thank's.

-- 
Vasiliy G Tolstov v.tols...@selfip.ru
Selfip.Ru

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


[Pdns-users] another crash

2011-05-03 Thread Vasiliy G Tolstov

hello. some new crash, but very minimal debug =(
pdns from 64 bit rpm: pdns-static-3.0rc2.20110427.2187-1

May  3 22:41:15 www pdns[22083]: Listening on controlsocket in
'/var/run/pdns.controlsocket'
May  3 22:41:15 www pdns[22085]: Guardian is launching an instance
May  3 22:41:15 www pdns[22085]: Reading random entropy from
'/dev/urandom'
May  3 22:41:15 www pdns[22085]: This is a guarded instance of pdns
May  3 22:41:15 www pdns[22085]: UDP server bound to 188.127.236.4:53
May  3 22:41:15 www pdns[22085]: TCP server bound to 188.127.236.4:53
May  3 22:41:15 www pdns[22085]: PowerDNS 3.0-rc2.20110427.2187 (C)
2001-2011 PowerDNS.COM BV (Apr 27 2011, 23:00:55, gcc 4.4.1) starting up
May  3 22:41:15 www pdns[22085]: PowerDNS comes with ABSOLUTELY NO
WARRANTY. This is free software, and you are welcome to redistribute it
according to the terms of the GPL version 2.
May  3 22:41:15 www pdns[22085]: Set effective group id to 102
May  3 22:41:15 www pdns[22085]: Set effective user id to 101
May  3 22:41:15 www pdns[22085]: DNS Proxy launched, local port 19881,
remote 8.8.8.8:53
May  3 22:41:15 www pdns[22085]: Master/slave communicator launching
May  3 22:41:15 www pdns[22085]: Creating backend connection for TCP
May  3 22:41:15 www pdns[22085]: Got a signal 11, attempting to print
trace: 
May  3 22:41:15 www pdns[22085]: gmysql Connection successful
May  3 22:41:15 www pdns[22085]: gmysql Connection successful
May  3 22:41:15 www pdns[22085]: No new unfresh slave domains, 0 queued
for AXFR already
May  3 22:41:15 www pdns[22085]: [0x47da00]
May  3 22:41:15 www pdns[22085]: [0x892530]
May  3 22:41:16 www pdns[22083]: Our pdns instance (22085) exited after
signal 6
May  3 22:41:16 www pdns[22083]: Respawning
May  3 22:41:17 www pdns[22092]: Guardian is launching an instance
May  3 22:41:17 www pdns[22092]: Reading random entropy from
'/dev/urandom'
May  3 22:41:17 www pdns[22092]: This is a guarded instance of pdns
May  3 22:41:17 www pdns[22092]: UDP server bound to 188.127.236.4:53
May  3 22:41:17 www pdns[22092]: TCP server bound to 188.127.236.4:53
May  3 22:41:17 www pdns[22092]: PowerDNS 3.0-rc2.20110427.2187 (C)
2001-2011 PowerDNS.COM BV (Apr 27 2011, 23:00:55, gcc 4.4.1) starting up
May  3 22:41:17 www pdns[22092]: PowerDNS comes with ABSOLUTELY NO
WARRANTY. This is free software, and you are welcome to redistribute it
according to the terms of the GPL version 2.
May  3 22:41:17 www pdns[22092]: Set effective group id to 102
May  3 22:41:17 www pdns[22092]: Set effective user id to 101
May  3 22:41:17 www pdns[22092]: DNS Proxy launched, local port 37118,
remote 8.8.8.8:53
May  3 22:41:17 www pdns[22092]: Master/slave communicator launching
May  3 22:41:17 www pdns[22092]: Creating backend connection for TCP
May  3 22:41:17 www pdns[22092]: gmysql Connection successful
May  3 22:41:17 www pdns[22092]: gmysql Connection successful
May  3 22:41:17 www pdns[22092]: gmysql Connection successful
May  3 22:41:17 www pdns[22092]: gmysql Connection successful
May  3 22:41:17 www pdns[22092]: About to create 5 backend threads for
UDP
May  3 22:41:17 www pdns[22092]: No new unfresh slave domains, 0 queued
for AXFR already
May  3 22:41:17 www pdns[22092]: gmysql Connection successful
May  3 22:41:17 www pdns[22092]: gmysql Connection successful
May  3 22:41:17 www pdns[22092]: gmysql Connection successful
May  3 22:41:17 www pdns[22092]: gmysql Connection successful
May  3 22:41:17 www pdns[22092]: gmysql Connection successful
May  3 22:41:17 www pdns[22092]: gmysql Connection successful
May  3 22:41:17 www pdns[22092]: gmysql Connection successful
May  3 22:41:17 www pdns[22092]: gmysql Connection successful
May  3 22:41:17 www pdns[22092]: gmysql Connection successful
May  3 22:41:17 www pdns[22092]: gmysql Connection successful
May  3 22:41:17 www pdns[22092]: Done launching threads, ready to
distribute questions


P.S. I send some time ago e-mail about strange behaviour when after some
time after start master stops notifing slave and does not respond to
notify command via pdns_control What progress in this bug?

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] strange lock after some time after start

2011-04-28 Thread Vasiliy G Tolstov
On Tue, 2011-04-26 at 19:15 +0400, Vasiliy G Tolstov wrote:
 Hello =).
 

Any progress about this problem? This reproduced always if i restart
master and do notify for all zones in cycle o slave...

 I'm use pdns-static-3.0rc1.20110414.2163-1 64 bit from packages in
 pdnssec site.
 
 
 After one or two days working, my primary ns server (master mode with
 mysql backend) not respond to any commands sended by pdns_control:
 vase@vase ~ $ ssh ns1.clodo.ru
 Last login: Tue Apr 26 18:41:13 2011 from 85.142.60.148
 [root@www ~]# strace -ff -v -F pdns_control notify hellodroid.ru
 execve(/usr/bin/pdns_control, [pdns_control, notify,
 hellodroid.ru], [HOSTNAME=www.clodo.ru, TERM=xterm,
 SHELL=/bin/bash, HISTSIZE=1000, SSH_CLIENT=85.142.60.148 43151 2,
 SSH_TTY=/dev/pts/0, USER=root, LS_COLORS=no=00:fi=00:di=00;34:l,
 MAIL=/var/spool/mail/root, PATH=/usr/kerberos/sbin:/usr/ker,
 INPUTRC=/etc/inputrc, PWD=/root, SHLVL=1, HOME=/root,
 LOGNAME=root, SSH_CONNECTION=85.142.60.148 431,
 LESSOPEN=|/usr/bin/lesspipe.sh %, G_BROKEN_FILENAMES=1,
 _=/usr/bin/strace]) = 0
 uname({sysname=Linux, nodename=www.clodo.ru,
 release=2.6.18-194.8.1.el5.centos.plusxen, version=#1 SMP Wed Jul 7
 12:25:41 EDT 2010, machine=x86_64}) = 0
 brk(0)  = 0x11cd9000
 brk(0x11cd9f70) = 0x11cd9f70
 arch_prctl(ARCH_SET_FS, 0x11cd9870) = 0
 set_tid_address(0x11cd9940) = 28384
 set_robust_list(0x11cd9950, 0x18)   = 0
 futex(0x7fffc20bb45c, FUTEX_WAKE_PRIVATE, 1) = 0
 futex(0x7fffc20bb45c, 0x189 /* FUTEX_??? */, 1, NULL, 11cd9870) = -1
 ENOSYS (Function not implemented)
 rt_sigaction(SIGRTMIN, {0x47de40, [], SA_RESTORER|SA_SIGINFO, 0x480d40},
 NULL, 8) = 0
 rt_sigaction(SIGRT_1, {0x47dd70, [], SA_RESTORER|SA_RESTART|SA_SIGINFO,
 0x480d40}, NULL, 8) = 0
 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
 getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) =
 0
 open(/dev/urandom, O_RDONLY)  = 3
 read(3, \206~c\367\325\223\375, 7)= 7
 close(3)= 0
 brk(0x11cfaf70) = 0x11cfaf70
 brk(0x11cfb000) = 0x11cfb000
 futex(0x7593a8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
 open(/etc/powerdns/pdns.conf, O_RDONLY) = 3
 read(3, setuid=pdns\nsetgid=pdns\n# Autoge..., 8191) = 8173
 read(3, , 8191)   = 0
 close(3)= 0
 socket(PF_FILE, SOCK_STREAM, 0) = 3
 gettimeofday({1303830540, 769328}, NULL) = 0
 open(/tmp/lsockW8zwzm, O_RDWR|O_CREAT|O_EXCL, 0600) = 4
 unlink(/tmp/lsockW8zwzm)  = 0
 bind(3, {sa_family=AF_FILE, path=/tmp/lsockW8zwzm...}, 110) = 0
 chmod(/tmp/lsockW8zwzm, 0666) = 0
 connect(3, {sa_family=AF_FILE, path=/var/run/pdns.controlsocket...},
 110) = 0
 write(3, notify hellodroid.ru\n, 21)  = 21
 recvfrom(3,  unfinished ...
 
 
 Nothing happened in pdns_server_instance
 
 


___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


[Pdns-users] strange lock after some time after start

2011-04-26 Thread Vasiliy G Tolstov
Hello =).

I'm use pdns-static-3.0rc1.20110414.2163-1 64 bit from packages in
pdnssec site.


After one or two days working, my primary ns server (master mode with
mysql backend) not respond to any commands sended by pdns_control:
vase@vase ~ $ ssh ns1.clodo.ru
Last login: Tue Apr 26 18:41:13 2011 from 85.142.60.148
[root@www ~]# strace -ff -v -F pdns_control notify hellodroid.ru
execve(/usr/bin/pdns_control, [pdns_control, notify,
hellodroid.ru], [HOSTNAME=www.clodo.ru, TERM=xterm,
SHELL=/bin/bash, HISTSIZE=1000, SSH_CLIENT=85.142.60.148 43151 2,
SSH_TTY=/dev/pts/0, USER=root, LS_COLORS=no=00:fi=00:di=00;34:l,
MAIL=/var/spool/mail/root, PATH=/usr/kerberos/sbin:/usr/ker,
INPUTRC=/etc/inputrc, PWD=/root, SHLVL=1, HOME=/root,
LOGNAME=root, SSH_CONNECTION=85.142.60.148 431,
LESSOPEN=|/usr/bin/lesspipe.sh %, G_BROKEN_FILENAMES=1,
_=/usr/bin/strace]) = 0
uname({sysname=Linux, nodename=www.clodo.ru,
release=2.6.18-194.8.1.el5.centos.plusxen, version=#1 SMP Wed Jul 7
12:25:41 EDT 2010, machine=x86_64}) = 0
brk(0)  = 0x11cd9000
brk(0x11cd9f70) = 0x11cd9f70
arch_prctl(ARCH_SET_FS, 0x11cd9870) = 0
set_tid_address(0x11cd9940) = 28384
set_robust_list(0x11cd9950, 0x18)   = 0
futex(0x7fffc20bb45c, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7fffc20bb45c, 0x189 /* FUTEX_??? */, 1, NULL, 11cd9870) = -1
ENOSYS (Function not implemented)
rt_sigaction(SIGRTMIN, {0x47de40, [], SA_RESTORER|SA_SIGINFO, 0x480d40},
NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x47dd70, [], SA_RESTORER|SA_RESTART|SA_SIGINFO,
0x480d40}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) =
0
open(/dev/urandom, O_RDONLY)  = 3
read(3, \206~c\367\325\223\375, 7)= 7
close(3)= 0
brk(0x11cfaf70) = 0x11cfaf70
brk(0x11cfb000) = 0x11cfb000
futex(0x7593a8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
open(/etc/powerdns/pdns.conf, O_RDONLY) = 3
read(3, setuid=pdns\nsetgid=pdns\n# Autoge..., 8191) = 8173
read(3, , 8191)   = 0
close(3)= 0
socket(PF_FILE, SOCK_STREAM, 0) = 3
gettimeofday({1303830540, 769328}, NULL) = 0
open(/tmp/lsockW8zwzm, O_RDWR|O_CREAT|O_EXCL, 0600) = 4
unlink(/tmp/lsockW8zwzm)  = 0
bind(3, {sa_family=AF_FILE, path=/tmp/lsockW8zwzm...}, 110) = 0
chmod(/tmp/lsockW8zwzm, 0666) = 0
connect(3, {sa_family=AF_FILE, path=/var/run/pdns.controlsocket...},
110) = 0
write(3, notify hellodroid.ru\n, 21)  = 21
recvfrom(3,  unfinished ...


Nothing happened in pdns_server_instance


-- 
Vasiliy G Tolstov v.tols...@selfip.ru
Selfip.Ru

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] issues using the recursive-cache-ttl on powerdns 3.0rc2

2011-04-20 Thread Vasiliy G Tolstov
On Tue, 2011-04-19 at 22:05 +0200, bert hubert wrote:
 On Tue, Apr 19, 2011 at 01:14:45PM -0600, Bauer, Steven J. wrote:
 
  I have a linux machine configured with the powerdns server 3.0rc2 as an
  authoritive server using the gmysql backend.  This server is configured to
  handle recursive queries for the local campus as well by handling the
  request over the recursive resolver.
 
 Hi Steven!
 
  The issue that I am seeing is that the first time a request is handled
  over to the recursive resolver (ie www.news.com), I get the correct
  results for the query.  Then if I duplicate the query again before the
  timeout of set by the recursive-cache-ttl expires, I get the following
  error when using nslookup:
 
 Well spotted. As part of a recent cleanup, we removed certain functions we
 thought were duplicates within PowerDNS. One of these duplicates turned out
 not to be.
 
 This in effect meant we were storing empty packets in the cache, and serving
 them as answers to subsequent questions.
 
 Can you verify against
 http://powerdnssec.org/downloads/pdns-3.0-rc2.20110419.2176.tar.gz
 or the associated packages on http://powerdnssec.org/downloads/packages/ ?
 
 That would be most appreciated.
 
 Changelog http://wiki.powerdns.com/trac/changeset/2176
 Regression tests:
 http://powerdnssec.org/downloads/regression-test-results-2176.txt
 
 Kind regards,
 
 Bert Hubert
 

Sometimes ago i send e-mail about this problem. But not recive any
answer. I'm try to... =)


-- 
Vasiliy G Tolstov v.tols...@selfip.ru
Selfip.Ru

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] issues using the recursive-cache-ttl on powerdns 3.0rc2

2011-04-20 Thread Vasiliy G Tolstov
On Wed, 2011-04-20 at 09:10 +0200, bert hubert wrote:
 On Wed, Apr 20, 2011 at 10:04:04AM +0400, Vasiliy G Tolstov wrote:
  Sometimes ago i send e-mail about this problem. But not recive any
  answer. I'm try to... =)
 
 Hehe - well, your bug report was a lot more detailed and looked like a lot
 of work ;-) No good deed goes unpunished it appears.
 
 Apologies for that - can you confirm that 2176 really fixes your issue?
 
   Bert

Yes. Now all work's fine with new version.

-- 
Vasiliy G Tolstov v.tols...@selfip.ru
Selfip.Ru

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] strange answers from pdns 3.0-rc1 with recursor=8.8.8.8

2011-04-12 Thread Vasiliy G Tolstov
On Mon, 2011-04-11 at 19:46 +0400, Vasiliy G Tolstov wrote:
 On Mon, 2011-04-11 at 19:45 +0400, Vasiliy G Tolstov wrote:
  I'm using pdns-3.0-rc1
  

Another strange answer, after that answer going to cache and nothing
returned:

dig @ns1.selfip.ru www.clodo.ru A

2011-04-12T13:04:38.103086+04:00 selfip pdns[24590]: Received a packet
31 bytes long from 188.127.241.48
2011-04-12T13:04:38.103119+04:00 selfip pdns[24590]: Remote
188.127.241.48 wants 'ns1.selfip.ru|A', do = 0, bufsize = 512:
packetcache MISS
2011-04-12T13:04:38.103132+04:00 selfip pdns[24590]: DNSPacket copy
constructor called!
2011-04-12T13:04:38.103144+04:00 selfip pdns[24590]: Distributor has 5
threads available
2011-04-12T13:04:38.103233+04:00 selfip pdns[24590]: Received a packet
31 bytes long from 188.127.241.48
2011-04-12T13:04:38.103386+04:00 selfip pdns[24590]: We have authority,
zone='selfip.ru', id=1
2011-04-12T13:04:38.103402+04:00 selfip pdns[24590]: UeberBackend
received question for ANY of ns1.selfip.ru
2011-04-12T13:04:38.103415+04:00 selfip pdns[24590]: Remote
188.127.241.48 wants 'ns1.selfip.ru|', do = 0, bufsize = 512:
packetcache MISS
2011-04-12T13:04:38.103427+04:00 selfip pdns[24590]: DNSPacket copy
constructor called!
2011-04-12T13:04:38.103494+04:00 selfip pdns[24590]: Distributor has 5
threads available
2011-04-12T13:04:38.103613+04:00 selfip pdns[24590]: After first ANY
query: weDone=1, weHaveUnauth=0, weRedirected=0
2011-04-12T13:04:38.103669+04:00 selfip pdns[24590]: We have authority,
zone='selfip.ru', id=1
2011-04-12T13:04:38.103730+04:00 selfip pdns[24590]: UeberBackend
received question for ANY of ns1.selfip.ru
2011-04-12T13:04:38.103853+04:00 selfip pdns[24590]: Sending a packet to
188.127.241.48 (47 octets)
2011-04-12T13:04:38.103933+04:00 selfip pdns[24590]: After first ANY
query: weDone=0, weHaveUnauth=0, weRedirected=0
2011-04-12T13:04:38.103986+04:00 selfip pdns[24590]: Have some data, but
not the right data
2011-04-12T13:04:38.104102+04:00 selfip pdns[24590]: Sending a packet to
188.127.241.48 (77 octets)
2011-04-12T13:04:38.106910+04:00 selfip pdns[24590]: Received a packet
30 bytes long from 188.127.241.48
2011-04-12T13:04:38.106927+04:00 selfip pdns[24590]: Remote
188.127.241.48 wants 'www.clodo.ru|A', do = 0, bufsize = 512:
packetcache MISS
2011-04-12T13:04:38.106936+04:00 selfip pdns[24590]: DNSPacket copy
constructor called!
2011-04-12T13:04:38.106943+04:00 selfip pdns[24590]: Distributor has 5
threads available
2011-04-12T13:04:38.107349+04:00 selfip pdns_recursor[24531]: 1 question
answered from packet cache from 127.0.0.1



-- 
Vasiliy G Tolstov v.tols...@selfip.ru
Selfip.Ru

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


[Pdns-users] strange answers from pdns 3.0-rc1 with recursor=8.8.8.8

2011-04-11 Thread Vasiliy G Tolstov
I'm using pdns-3.0-rc1

if i dig www.clodo.ru on 188.127.244.30 like: 
dig @188.127.244.30 www.clodo.ru A

first answer is correct:
cc00:~ # dig @188.127.244.30 www.clodo.ru A

;  DiG 9.5.0-P2  @188.127.244.30 www.clodo.ru A
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 53151
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.clodo.ru.  IN  A

;; ANSWER SECTION:
www.clodo.ru.   21335   IN  CNAME   clodo.ru.
clodo.ru.   21335   IN  A   188.127.236.5
clodo.ru.   21335   IN  A   188.127.236.4

;; Query time: 0 msec
;; SERVER: 188.127.244.30#53(188.127.244.30)
;; WHEN: Mon Apr 11 19:41:55 2011
;; MSG SIZE  rcvd: 76


But second is incorrect:

cc00:~ # dig @188.127.244.30 www.clodo.ru A

;  DiG 9.5.0-P2  @188.127.244.30 www.clodo.ru A
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 51682
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.clodo.ru.  IN  A

;; Query time: 0 msec
;; SERVER: 188.127.244.30#53(188.127.244.30)
;; WHEN: Mon Apr 11 19:43:22 2011
;; MSG SIZE  rcvd: 30


If i wait some time (about some seconds) next answer is correct, but
after that i get incorrect answers... 
But if i dig from recursor - all answers is correct at any time


config file:
allow-axfr-ips=77.221.141.148/32,77.221.143.26/32,188.127.241.48/32,188.127.244.30/32,188.127.236.4/32,188.127.236.5/32,89.249.18.119/32
allow-recursion=0.0.0.0/0
allow-recursion-override=no
chroot=/var/lib/powerdns
distributor-threads=2
fancy-records=yes
launch=gpgsql
gpgsql-host=127.0.0.1
gpgsql-user=dns
gpgsql-password=dns
gpgsql-dbname=dns
gpgsql-port=5432
lazy-recursion=yes
local-address=188.127.244.30
local-port=53
log-dns-details=on
log-failed-updates=yes
loglevel=9
master=yes
max-queue-length=1
max-tcp-connections=100
out-of-zone-additional-processing=yes
query-local-address=188.127.244.30
query-logging=yes
queue-limit=3500
recursor=8.8.8.8
send-root-referral=yes
setgid=pdns
setuid=pdns
skip-cname=no


-- 
Vasiliy G Tolstov v.tols...@selfip.ru
Selfip.Ru

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] strange answers from pdns 3.0-rc1 with recursor=8.8.8.8

2011-04-11 Thread Vasiliy G Tolstov
On Mon, 2011-04-11 at 19:45 +0400, Vasiliy G Tolstov wrote:
 I'm using pdns-3.0-rc1
 
 if i dig www.clodo.ru on 188.127.244.30 like: 
 dig @188.127.244.30 www.clodo.ru A

In gpgsql database this domain does not exists.

pdns log contains:
2011-04-11T19:43:21.026760+04:00 selfip pdns[30873]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name=E'www.clodo.ru'
2011-04-11T19:43:21.026865+04:00 selfip pdns[30873]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name=E'clodo.ru'
2011-04-11T19:43:21.027272+04:00 selfip pdns[30873]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name=E'ru'
2011-04-11T19:43:21.027630+04:00 selfip pdns[30873]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name=E''
2011-04-11T19:43:21.883582+04:00 selfip pdns_recursor[30671]: 0 question
answered from packet cache from 188.127.236.5
2011-04-11T19:43:21.883612+04:00 selfip pdns_recursor[30671]: 1 question
answered from packet cache from 188.127.236.5
2011-04-11T19:43:21.883956+04:00 selfip pdns_recursor[30671]: 1 question
answered from packet cache from 188.127.236.5
2011-04-11T19:43:21.883977+04:00 selfip pdns_recursor[30671]: 0 question
answered from packet cache from 188.127.236.5
2011-04-11T19:43:25.221649+04:00 selfip pdns_recursor[30671]: 0 question
answered from packet cache from 188.127.236.4
2011-04-11T19:43:25.221676+04:00 selfip pdns_recursor[30671]: 1 question
answered from packet cache from 188.127.236.4
2011-04-11T19:43:25.88+04:00 selfip pdns_recursor[30671]: 1 question
answered from packet cache from 188.127.236.4
2011-04-11T19:43:25.222307+04:00 selfip pdns_recursor[30671]: 0 question
answered from packet cache from 188.127.236.4



-- 
Vasiliy G Tolstov v.tols...@selfip.ru
Selfip.Ru

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


[Pdns-users] release date for pdns 3?

2011-04-03 Thread Vasiliy G Tolstov
Hello. Where i can find release date for powerdns 3 ? roadmap in wiki
says nothing...

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


[Pdns-users] wildcards in backend and wrong any answer

2011-04-01 Thread Vasiliy G Tolstov
Some new problem with pdsn trunk:
Simple test - create domain, create subdomain with *.domain.tld IN A
xxx

Why ANY does not return A ?


dig it:

dig @ns1.clodo.ru ddd.testing-domain.ru ANY 
;  DiG 9.7.2-P3  @ns1.clodo.ru ddd.testing-domain.ru ANY
; (1 server found)
;; global options: +cmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NXDOMAIN, id: 48494
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;ddd.testing-domain.ru. IN  ANY
;; AUTHORITY SECTION:
testing-domain.ru.  86400   IN  SOA ns1.clodo.ru. 
v\.tolstov.selfip.ru.
2011040100 3600 600 86400 3600
;; Query time: 36 msec
;; SERVER: 188.127.236.4#53(188.127.236.4)
;; WHEN: Fri Apr  1 22:09:40 2011
;; MSG SIZE  rcvd: 102

But

vase@mobile ~ $ dig @ns1.clodo.ru ddd.testing-domain.ru A 

;  DiG 9.7.2-P3  @ns1.clodo.ru ddd.testing-domain.ru A
; (1 server found)
;; global options: +cmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 57945
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;ddd.testing-domain.ru. IN  A

;; ANSWER SECTION:
ddd.testing-domain.ru.  86400   IN  A   188.127.241.48

;; Query time: 39 msec
;; SERVER: 188.127.236.4#53(188.127.236.4)
;; WHEN: Fri Apr  1 22:11:07 2011
;; MSG SIZE  rcvd: 55





Config:
setuid=pdns
setgid=pdns
allow-axfr-ips=89.249.18.119/32,89.249.18.120/32,127.0.0.1/32,188.127.236.4/32,188.127.236.5/32
allow-recursion=89.249.18.119/32,89.249.18.120/32,127.0.0.1/32,188.127.236.4/32,188.127.236.5/32
allow-recursion-override=yes
distributor-threads=1
lazy-recursion=yes
local-address=188.127.236.5
local-port=53
log-dns-details=yes
log-failed-updates=yes
loglevel=9
master=yes
max-tcp-connections=50
query-local-address=188.127.236.5
query-logging=yes
queue-limit=2000
recursor=8.8.8.8
send-root-referral=yes
slave=no
wildcards=yes


___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] probably fixed Re: current svn crushes...

2011-03-31 Thread Vasiliy G Tolstov
On Thu, 2011-03-31 at 09:53 +0200, bert hubert wrote:
 On Wed, Mar 30, 2011 at 02:59:34PM +0400, Vasiliy G Tolstov wrote:
   If it doesn't always start there, can you paste some other traces?
   Thanks!
  
  pdns[31390]: 
  /usr/sbin/pdns_server-instance(_ZN17CommunicatorClass12slaveRefreshEP13PacketHandler+0x1a8b)
   [0x8169c2b]
  Mar 30 14:52:25 monitoring
  pdns[31390]: 
  /usr/sbin/pdns_server-instance(_ZN17CommunicatorClass8mainloopEv+0x11c) 
  [0x8175f5c]
  Mar 30 14:52:25 monitoring
 
 Based on your fine debugging traces, I've been able to reproduce the crash,
 and I solved what I could reproduce in:
 http://wiki.powerdns.com/trac/changeset/2109
 
 fix crashes reported by Vasiliy G Tolstov and Frank Altpeter - turns out we
 were handing a copy of the database connection to the master/slave
 connection.. while we were still using it!
 
 New packages are now building.
 
   Bert

Thank You. I'm try to rebuild from trunk.


-- 
Vasiliy G Tolstov v.tols...@selfip.ru
Selfip.Ru

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


[Pdns-users] error notify master to itself with it's own zone

2011-03-31 Thread Vasiliy G Tolstov
Another problem (may be not related to current trunk..)

Received NOTIFY for clodo.ru from 188.127.236.4 which is not a master
But pdns on 188.127.236.4 already master for zone clodo.ru ? Why this
happened?

-- 
Vasiliy G Tolstov v.tols...@selfip.ru
Selfip.Ru

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] error notify master to itself with it's own zone

2011-03-31 Thread Vasiliy G Tolstov
On Thu, 2011-03-31 at 10:13 +0200, bert hubert wrote:
 On Thu, Mar 31, 2011 at 12:10:00PM +0400, Vasiliy G Tolstov wrote:
  Another problem (may be not related to current trunk..)
  
  Received NOTIFY for clodo.ru from 188.127.236.4 which is not a master
  But pdns on 188.127.236.4 already master for zone clodo.ru ? Why this
  happened?
 
 This is a master notifying itself?
 
   bert

Yes. 

-- 
Vasiliy G Tolstov v.tols...@selfip.ru
Selfip.Ru

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


[Pdns-users] current svn crushes...

2011-03-30 Thread Vasiliy G Tolstov
 14:33:34 monitoring pdns[28785]: Domain 45.76.62.in-addr.arpa is
fresh (not presigned, no RRSIG check)
Mar 30 14:33:34 monitoring pdns[28785]: Domain 46.76.62.in-addr.arpa is
fresh (not presigned, no RRSIG check)
Mar 30 14:33:34 monitoring pdns[28785]: Domain 47.76.62.in-addr.arpa is
fresh (not presigned, no RRSIG check)
Mar 30 14:33:34 monitoring pdns[28785]: Got a signal 11, attempting to
print trace: 
Mar 30 14:33:34 monitoring pdns[28785]: /usr/sbin/pdns_server-instance
[0x813a614]
Mar 30 14:33:34 monitoring pdns[28785]: [0x604420]
Mar 30 14:33:34 monitoring
pdns[28785]: /usr/lib/mysql/libmysqlclient.so.16 [0x2c1221]
Mar 30 14:33:34 monitoring
pdns[28785]: /usr/lib/mysql/libmysqlclient.so.16(my_net_read+0x1a0)
[0x2c15a0]
Mar 30 14:33:34 monitoring
pdns[28785]: /usr/lib/mysql/libmysqlclient.so.16(cli_safe_read+0x48)
[0x2ba658]
Mar 30 14:33:34 monitoring
pdns[28785]: /usr/lib/mysql/libmysqlclient.so.16 [0x2bb555]
Mar 30 14:33:34 monitoring
pdns[28785]: /usr/lib/mysql/libmysqlclient.so.16(mysql_real_query+0x44)
[0x2b9ce4]
Mar 30 14:33:34 monitoring
pdns[28785]: /usr/lib/mysql/libmysqlclient.so.16(mysql_query+0x35)
[0x28fcf5]
Mar 30 14:33:34 monitoring
pdns[28785]: /usr/sbin/pdns_server-instance(_ZN6SMySQL7doQueryERKSs
+0x13e) [0x80b538e]
Mar 30 14:33:34 monitoring
pdns[28785]: /usr/sbin/pdns_server-instance(_ZN11GSQLBackend8setFreshEj
+0x73) [0x81acd53]
Mar 30 14:33:34 monitoring
pdns[28785]: 
/usr/sbin/pdns_server-instance(_ZN17CommunicatorClass12slaveRefreshEP13PacketHandler+0x1a8b)
 [0x8169c2b]
Mar 30 14:33:34 monitoring
pdns[28785]: 
/usr/sbin/pdns_server-instance(_ZN17CommunicatorClass8mainloopEv+0x11c) 
[0x8175f5c]
Mar 30 14:33:34 monitoring
pdns[28785]: 
/usr/sbin/pdns_server-instance(_ZN17CommunicatorClass12launchhelperEPv+0x11) 
[0x8176e41]
Mar 30 14:33:34 monitoring pdns[28785]: /lib/libpthread.so.0 [0xcdd832]
Mar 30 14:33:34 monitoring pdns[28785]: /lib/libc.so.6(clone+0x5e)
[0x570f6e]
Mar 30 14:33:35 monitoring pdns[23474]: Our pdns instance (28785) exited
after signal 6

-- 
Vasiliy G Tolstov v.tols...@selfip.ru
Selfip.Ru

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] current svn crushes...

2011-03-30 Thread Vasiliy G Tolstov
On Wed, 2011-03-30 at 12:47 +0200, bert hubert wrote:
 On Wed, Mar 30, 2011 at 02:36:14PM +0400, Vasiliy G Tolstov wrote:
  I'm build current svn trunk, something work's fine, but sometimes i get
  this error:
 
 Hi Vasiliy,
 
 Can you verify that the crash always starts:
 
  pdns[28785]: /usr/sbin/pdns_server-instance(_ZN11GSQLBackend8setFreshEj
  +0x73) [0x81acd53]
  Mar 30 14:33:34 monitoring
  pdns[28785]: 
  /usr/sbin/pdns_server-instance(_ZN17CommunicatorClass12slaveRefreshEP13PacketHandler+0x1a8b)
   [0x8169c2b]
  Mar 30 14:33:34 monitoring
 
 Here?
 
 If it doesn't always start there, can you paste some other traces?
 
 Thanks!

Another crush:

Mar 30 14:51:57 monitoring pdns[31390]: Guardian is launching an
instance
Mar 30 14:51:57 monitoring pdns[31390]: Reading random entropy from
'/dev/urandom'
Mar 30 14:51:57 monitoring pdns[31390]: This is a guarded instance of
pdns
Mar 30 14:51:57 monitoring pdns[31390]: UDP server bound to
89.249.18.120:53
Mar 30 14:51:57 monitoring pdns[31390]: TCP server bound to
89.249.18.120:53
Mar 30 14:51:57 monitoring pdns[31390]: PowerDNS 3.0-rc1 (C) 2001-2011
PowerDNS.COM BV (Mar 30 2011, 14:01:21, gcc 4.1.2 20080704 (Red Hat
4.1.2-48)) starting up
Mar 30 14:51:57 monitoring pdns[31390]: PowerDNS comes with ABSOLUTELY
NO WARRANTY. This is free software, and you are welcome to redistribute
it according to the terms of the GPL version 2.
Mar 30 14:51:57 monitoring pdns[31390]: Creating backend connection for
TCP
Mar 30 14:51:57 monitoring pdns[31390]: gmysql Connection successful
Mar 30 14:51:57 monitoring pdns[31390]: gmysql Connection successful
Mar 30 14:51:57 monitoring pdns[31390]: Master/slave communicator
launching
Mar 30 14:51:57 monitoring pdns[31390]: gmysql Connection successful
Mar 30 14:51:57 monitoring pdns[31390]: About to create 3 backend
threads for UDP
Mar 30 14:51:57 monitoring pdns[31390]: gmysql Connection successful
Mar 30 14:51:57 monitoring pdns[31390]: Done launching threads, ready to
distribute questions
Mar 30 14:51:58 monitoring pdns[31390]: gmysql Connection successful
Mar 30 14:51:58 monitoring pdns[31390]: No new unfresh slave domains, 0
queued for AXFR already
Mar 30 14:51:58 monitoring pdns[31390]: No master domains need
notifications
Mar 30 14:52:03 monitoring pdns[31390]: gmysql Connection successful
Mar 30 14:52:03 monitoring pdns[31390]: 7 slave domains need checking, 0
queued for AXFR
Mar 30 14:52:03 monitoring pdns[31390]: Received serial number updates
for 7 zones, had 0 timeouts
Mar 30 14:52:03 monitoring pdns[31390]: Domain 236.127.188.in-addr.arpa
is fresh (not presigned, no RRSIG check)
Mar 30 14:52:03 monitoring pdns[31390]: Domain 237.127.188.in-addr.arpa
is fresh (not presigned, no RRSIG check)
Mar 30 14:52:03 monitoring pdns[31390]: Domain 238.127.188.in-addr.arpa
is fresh (not presigned, no RRSIG check)
Mar 30 14:52:03 monitoring pdns[31390]: Domain 239.127.188.in-addr.arpa
is fresh (not presigned, no RRSIG check)
Mar 30 14:52:03 monitoring pdns[31390]: Domain 241.127.188.in-addr.arpa
is fresh (not presigned, no RRSIG check)
Mar 30 14:52:03 monitoring pdns[31390]: Domain 245.127.188.in-addr.arpa
is fresh (not presigned, no RRSIG check)
Mar 30 14:52:03 monitoring pdns[31390]: Domain clodo.ru is fresh (not
presigned, no RRSIG check)
Mar 30 14:52:03 monitoring pdns[31390]: gmysql Connection successful
Mar 30 14:52:03 monitoring pdns[31390]: 10 slave domains need checking,
0 queued for AXFR
Mar 30 14:52:03 monitoring pdns[31390]: Received serial number updates
for 10 zones, had 0 timeouts
Mar 30 14:52:03 monitoring pdns[31390]: Domain 240.127.188.in-addr.arpa
is fresh (not presigned, no RRSIG check)
Mar 30 14:52:03 monitoring pdns[31390]: Domain 244.127.188.in-addr.arpa
is fresh (not presigned, no RRSIG check)
Mar 30 14:52:03 monitoring pdns[31390]: Domain 40.76.62.in-addr.arpa is
fresh (not presigned, no RRSIG check)
Mar 30 14:52:03 monitoring pdns[31390]: Domain 41.76.62.in-addr.arpa is
fresh (not presigned, no RRSIG check)
Mar 30 14:52:03 monitoring pdns[31390]: Domain 42.76.62.in-addr.arpa is
fresh (not presigned, no RRSIG check)
Mar 30 14:52:03 monitoring pdns[31390]: Domain 43.76.62.in-addr.arpa is
fresh (not presigned, no RRSIG check)
Mar 30 14:52:03 monitoring pdns[31390]: Domain 44.76.62.in-addr.arpa is
fresh (not presigned, no RRSIG check)
Mar 30 14:52:03 monitoring pdns[31390]: Domain 45.76.62.in-addr.arpa is
fresh (not presigned, no RRSIG check)
Mar 30 14:52:03 monitoring pdns[31390]: Domain 46.76.62.in-addr.arpa is
fresh (not presigned, no RRSIG check)
Mar 30 14:52:03 monitoring pdns[31390]: Domain 47.76.62.in-addr.arpa is
fresh (not presigned, no RRSIG check)
Mar 30 14:52:04 monitoring pdns[31390]: gmysql Connection successful
Mar 30 14:52:10 monitoring pdns[31390]: 17 slave domains need checking,
0 queued for AXFR
Mar 30 14:52:10 monitoring pdns[31390]: Received serial number updates
for 17 zones, had 0 timeouts
Mar 30 14:52:10 monitoring pdns[31390]: Domain 236.127.188.in-addr.arpa
is fresh (not presigned

Re: [Pdns-users] master-slave serial problem

2011-03-26 Thread Vasiliy G Tolstov
On Fri, 2011-03-25 at 23:49 +0100, Nils Breunese (Lemonbit) wrote:
 Nick Williams wrote:
 
  Just for the record, there IS a pdns package (and pdns-*-backend packages) 
  in CentOS 5. I have several CentOS 5 machines, none of which have extra 
  repositories like EPEL, and all of them have a pdns package either 
  installed or installable from yum.
 
 That's weird. Are you sure? I checked 
 http://mirror.centos.org/centos-5/5.5/os/x86_64/CentOS/ but there are no 
 pdns* packages to be found. All of our PowerDNS installations have been done 
 using the EPEL repository. If CentOS had pdns* packages I don't think EPEL 
 would have them, since EPEL doesn't upgrade CentOS packages, but EPEL does 
 have them: 
 http://download.fedora.redhat.com/pub/epel/5/x86_64/repoview/pdns.html
 
 Nils.

Centos have pdns in extras repo, but in extras and epel all versions of
pdns have big problem with master-slave working.

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] master-slave serial problem

2011-03-26 Thread Vasiliy G Tolstov
On Sat, 2011-03-26 at 09:31 +0100, Nils Breunese (Lemonbit) wrote:
 Vasiliy G Tolstov wrote:
 
  On Fri, 2011-03-25 at 23:49 +0100, Nils Breunese (Lemonbit) wrote:
  Nick Williams wrote:
  
  Just for the record, there IS a pdns package (and pdns-*-backend 
  packages) in CentOS 5. I have several CentOS 5 machines, none of which 
  have extra repositories like EPEL, and all of them have a pdns package 
  either installed or installable from yum.
  
  That's weird. Are you sure? I checked 
  http://mirror.centos.org/centos-5/5.5/os/x86_64/CentOS/ but there are no 
  pdns* packages to be found. All of our PowerDNS installations have been 
  done using the EPEL repository. If CentOS had pdns* packages I don't think 
  EPEL would have them, since EPEL doesn't upgrade CentOS packages, but EPEL 
  does have them: 
  http://download.fedora.redhat.com/pub/epel/5/x86_64/repoview/pdns.html
  
  Centos have pdns in extras repo, but in extras and epel all versions of
  pdns have big problem with master-slave working.
 
 Ah ok, CentOS Extras... Have you reported this to the maintainer of the pdns* 
 packages in Extras (and maybe even EPEL while you're at it)?
 
 Nils.

I'm add bug to epel repo.

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users