[Opendnssec-user] Signer Engine?

B C brettlists at gmail.com
Thu Aug 27 15:57:00 UTC 2009


On Wed, Aug 26, 2009 at 4:24 PM, Matthijs Mekking<matthijs at nlnetlabs.nl> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> My apologies for the late response, I had a few days off.
> However, it seems to work fine for me on Ubuntu. Since the unexpected
> exception is printing nothing useful (nothing at all), it is hard to
> troubleshoot this.
>
> Somehow the signer did move the .finalized file to the
> /var/opendnssec/signed, but the syslog does not contain any move output
> messages...
>
> I guess you have no <Audit\> configured? What about <NotifyCommand\>?
>
> I have committed a patch to trunk to raise the exception, rather than
> printing it (as Jelte suggested earlier). Could you send me the stack trace?
>

Ok So I checked out trunk (revision 1720)

I left all my old files in place in /etc/opendnssec and /var/opendnssec

I started up keygend and communicated then tried to start signer, and
got this response:


/opt/opendnssec2/sbin/signer_engine
Python engine proof of concept, v 0.0002 alpha
Zone list updated: 0 removed, 1 added, 0 updated
running as pid 2163
Unable to continue, stopping:
Unexpected error: exceptions.SystemExit

However despite what it says above this time it continued to run

Below is what it wrote to syslog:

Aug 27 16:37:04 dnssigner2 OpenDNSSEC signer engine: Zone pwei.net locked
Aug 27 16:37:04 dnssigner2 OpenDNSSEC signer engine: Scheduling task
to sign zone pwei.net at 1251387424.97 with resign time 7200
Aug 27 16:37:04 dnssigner2 OpenDNSSEC signer engine: acquire cond
Aug 27 16:37:04 dnssigner2 OpenDNSSEC signer engine: notify
Aug 27 16:37:04 dnssigner2 OpenDNSSEC signer engine: release cond
Aug 27 16:37:04 dnssigner2 OpenDNSSEC signer engine: Releasing lock on
zone pwei.net
Aug 27 16:37:04 dnssigner2 OpenDNSSEC signer engine: scheduling resign
of zone 'pwei.net' in 1169 seconds
Aug 27 16:37:04 dnssigner2 OpenDNSSEC signer engine: Scheduling task
to sign zone pwei.net at 1251388593.99 with resign time 7200
Aug 27 16:37:04 dnssigner2 OpenDNSSEC signer engine: acquire cond
Aug 27 16:37:04 dnssigner2 OpenDNSSEC signer engine: notify
Aug 27 16:37:04 dnssigner2 OpenDNSSEC signer engine: release cond
Aug 27 16:37:04 dnssigner2 OpenDNSSEC signer engine: Zone pwei.net added
Aug 27 16:37:04 dnssigner2 OpenDNSSEC signer engine: opening socket:
/var/run/opendnssec/engine.sock
Aug 27 16:37:04 dnssigner2 OpenDNSSEC signer engine: Engine running
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: worker 1 acquiring lock
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: worker 1 acquired lock
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: no task for
worker 1, sleep for 1168.98085213
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: worker 1 released
lock by going to wait (for ttime)
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: worker 2 acquiring lock
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: worker 2 acquired lock
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: no task for
worker 2, sleep for 1168.95733809
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: worker 2 released
lock by going to wait (for ttime)
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: worker 3 acquiring lock
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: worker 3 acquired lock
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: no task for
worker 3, sleep for 1168.94697714
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: worker 3 released
lock by going to wait (for ttime)
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: worker 6 acquiring lock
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: worker 6 acquired lock
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: no task for
worker 6, sleep for 1168.93836093
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: worker 6 released
lock by going to wait (for ttime)
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: worker 4 acquiring lock
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: worker 4 acquired lock
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: no task for
worker 4, sleep for 1168.93154001
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: worker 4 released
lock by going to wait (for ttime)
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: worker 7 acquiring lock
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: worker 7 acquired lock
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: no task for
worker 7, sleep for 1168.92470098
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: worker 7 released
lock by going to wait (for ttime)
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: worker 8 acquiring lock
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: worker 8 acquired lock
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: no task for
worker 8, sleep for 1168.90158415
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: worker 8 released
lock by going to wait (for ttime)
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: worker 5 acquiring lock
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: worker 5 acquired lock
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: no task for
worker 5, sleep for 1168.86364007
Aug 27 16:37:05 dnssigner2 OpenDNSSEC signer engine: worker 5 released
lock by going to wait (for ttime)
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: call stop_workers()
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: call stop_workers()
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: stopping worker 1
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: stopping worker 2
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: stopping worker 3
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: stopping worker 4
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: stopping worker 5
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: stopping worker 6
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: stopping worker 7
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: stopping worker 8
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: wake all workers
so they can finish
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: acquire cond
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: notify
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: release cond
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: let workers finish
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: let worker 1 finish
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: worker 1 finished
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: let worker 2 finish
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: worker 2 finished
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: let worker 3 finish
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: worker 3 finished
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: let worker 4 finish
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: worker 4 finished
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: let worker 5 finish
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: worker 5 finished
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: let worker 6 finish
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: worker 6 finished
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: let worker 7 finish
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: worker 7 finished
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: let worker 8 finish
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: worker 8 finished
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: shut down command socket
Aug 27 16:37:12 dnssigner2 OpenDNSSEC signer engine: close command socket
Aug 27 16:38:01 dnssigner2 OpenDNSSEC signer engine: Zone pwei.net locked
Aug 27 16:38:01 dnssigner2 OpenDNSSEC signer engine: Scheduling task
to sign zone pwei.net at 1251387481.47 with resign time 7200
Aug 27 16:38:01 dnssigner2 OpenDNSSEC signer engine: acquire cond
Aug 27 16:38:01 dnssigner2 OpenDNSSEC signer engine: notify
Aug 27 16:38:01 dnssigner2 OpenDNSSEC signer engine: release cond
Aug 27 16:38:01 dnssigner2 OpenDNSSEC signer engine: Releasing lock on
zone pwei.net
Aug 27 16:38:01 dnssigner2 OpenDNSSEC signer engine: scheduling resign
of zone 'pwei.net' in 1112 seconds
Aug 27 16:38:01 dnssigner2 OpenDNSSEC signer engine: Scheduling task
to sign zone pwei.net at 1251388593.48 with resign time 7200
Aug 27 16:38:01 dnssigner2 OpenDNSSEC signer engine: acquire cond
Aug 27 16:38:01 dnssigner2 OpenDNSSEC signer engine: notify
Aug 27 16:38:01 dnssigner2 OpenDNSSEC signer engine: release cond
Aug 27 16:38:01 dnssigner2 OpenDNSSEC signer engine: Zone pwei.net added
Aug 27 16:38:01 dnssigner2 OpenDNSSEC signer engine: opening socket:
/var/run/opendnssec/engine.sock
Aug 27 16:38:01 dnssigner2 OpenDNSSEC signer engine: Engine running
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: worker 1 acquiring lock
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: worker 1 acquired lock
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: no task for
worker 1, sleep for 1111.40591812
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: worker 1 released
lock by going to wait (for ttime)
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: worker 2 acquiring lock
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: worker 2 acquired lock
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: no task for
worker 2, sleep for 1111.40558314
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: worker 2 released
lock by going to wait (for ttime)
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: worker 3 acquiring lock
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: worker 3 acquired lock
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: no task for
worker 3, sleep for 1111.405195
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: worker 3 released
lock by going to wait (for ttime)
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: worker 4 acquiring lock
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: worker 4 acquired lock
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: no task for
worker 4, sleep for 1111.26021194
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: worker 4 released
lock by going to wait (for ttime)
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: worker 5 acquiring lock
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: worker 5 acquired lock
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: no task for
worker 5, sleep for 1111.03989697
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: worker 5 released
lock by going to wait (for ttime)
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: worker 6 acquiring lock
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: worker 6 acquired lock
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: no task for
worker 6, sleep for 1110.94278717
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: worker 6 released
lock by going to wait (for ttime)
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: worker 7 acquiring lock
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: worker 7 acquired lock
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: no task for
worker 7, sleep for 1110.92228913
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: worker 7 released
lock by going to wait (for ttime)
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: worker 8 acquiring lock
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: worker 8 acquired lock
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: no task for
worker 8, sleep for 1110.89556599
Aug 27 16:38:02 dnssigner2 OpenDNSSEC signer engine: worker 8 released
lock by going to wait (for ttime)


Coincidentally I am going home for tea now so I am also going to wait
for ttime :)

btw just attached strace to the pid and it didn't do anything for 20 minutes

Brett



More information about the Opendnssec-user mailing list