[Opendnssec-user] OpenDNSSEC heartbeat startup script
sebastian at nzrs.net.nz
Wed Feb 23 20:35:12 UTC 2011
On 02/23/2011 11:32 PM, Simon Mittelberger wrote:
> I am currently trying to run OpenDNSSEC on a cluster with heartbeat and
> drbd. Therefore I made a few changes to the "ods-control" script and
> moved it to /etc/init.d/opendnssec (heartbeat requires the "status"
> parameter). The script works fine, when starting up, shutting down and
> polling status by hand.
> If heartbeat uses the startup script the enforcer starts up fine, but
> the signer seems to hang somehow. The signer starts up and does all its
> scheduled jobs, but the cli doesn't work anymore. The cli commands
> "ods-signer queue", "ods-signer running", ... all take forever with
> nothing happening.
Could you provide more information about the timing? Does the signer
keep doing things after all tasks are completed?
> I tried with OpenDNSSEC trunk and OpenDNSSEC 1.2.0.
> Has anyone had this issue before? Has anyone an idea why this happens or
> can anyone point me to the right direction?
What I've seen on 1.2.0 is the process that reads the control socket
(engine.sock) crashes for some reason, so there is no listener on the
line. Any signer client sending commands on the socket will get blocked.
I suggest you to debug the execution of the signer in order to rule out
this scenario. For example, try to start the signer on no-daemonize mode
(-d) and with one worker thread and see if it's crashes.
> The startup script is attached.
> All the best,
> Opendnssec-user mailing list
> Opendnssec-user at lists.opendnssec.org
.nz Registry Services (New Zealand Domain Name Registry Limited)
desk: +64 4 495 2337
mobile: +64 21 400535
More information about the Opendnssec-user