[Opendnssec-user] starting enforcer failed at first time " ods-control start" but second time to run "ods-control start" running !!!

Abdalmonem Tharwat Galila agalila at mcit.gov.eg
Sun Aug 31 17:43:39 UTC 2014


Hi ,


I noticed that when i run ods-control start , the first time i got

>>

[root at myDns2 ~]# ods-control start

Starting enforcer...

OpenDNSSEC ods-enforcerd started (version 1.4.5), pid 19382

Could not start enforcer



the log :-


Aug 31 20:30:01 mydns2 ods-enforcerd: Received SIGTERM, exiting...

Aug 31 20:30:01 mydns2 ods-enforcerd: all done! hsm_close result: 0

Aug 31 20:30:26 mydns2 ods-enforcerd: opendnssec starting...

Aug 31 20:30:26 mydns2 ods-enforcerd: opendnssec Parent exiting...

Aug 31 20:30:26 mydns2 ods-enforcerd: opendnssec forked OK...

Aug 31 20:30:26 mydns2 ods-enforcerd: group set to: ods (491)

Aug 31 20:30:26 mydns2 ods-enforcerd: user set to: ods (496)

Aug 31 20:30:26 mydns2 ods-enforcerd: opendnssec started (version 1.4.5), pid 19382

Aug 31 20:30:28 mydns2 ods-enforcerd: HSM opened successfully.

Aug 31 20:30:31 mydns2 ods-enforcerd: Checking database connection...

Aug 31 20:30:31 mydns2 ods-enforcerd: Database connection ok.

Aug 31 20:30:31 mydns2 ods-enforcerd: Reading config "/etc/opendnssec/conf.xml"

Aug 31 20:30:31 mydns2 ods-enforcerd: Reading config schema "/usr/share/opendnssec/conf.rng"

Aug 31 20:30:31 mydns2 ods-enforcerd: Communication Interval: 360

Aug 31 20:30:31 mydns2 ods-enforcerd: No DS Submit command supplied

Aug 31 20:30:31 mydns2 ods-enforcerd: SQLite database set to: /var/opendnssec/kasp.db

Aug 31 20:30:31 mydns2 ods-enforcerd: Log User set to: local0

Aug 31 20:30:31 mydns2 ods-enforcerd: Switched log facility to: local0

Aug 31 20:30:31 mydns2 ods-enforcerd: Connecting to Database...

Aug 31 20:30:31 mydns2 ods-enforcerd: Policy default found.

Aug 31 20:30:31 mydns2 ods-enforcerd: Key sharing is Off.

Aug 31 20:30:31 mydns2 ods-enforcerd: No zones on policy default, skipping...

Aug 31 20:30:31 mydns2 ods-enforcerd: Policy myPolicy found.

Aug 31 20:30:31 mydns2 ods-enforcerd: Key sharing is Off.

Aug 31 20:30:31 mydns2 ods-enforcerd: 1 zone(s) found on policy "myPolicy"

Aug 31 20:30:31 mydns2 ods-enforcerd: No new KSKs need to be created.

Aug 31 20:30:31 mydns2 ods-enforcerd: No new ZSKs need to be created.

Aug 31 20:30:31 mydns2 ods-enforcerd: zonelist filename set to /etc/opendnssec/zonelist.xml.

Aug 31 20:30:31 mydns2 ods-enforcerd: Zone myTLD found.

Aug 31 20:30:31 mydns2 ods-enforcerd: Policy for myTLD set to myPolicy.

Aug 31 20:30:31 mydns2 ods-enforcerd: Config will be output to /DNSSEC31-08-2014/zones/conf/myTLD.xml.

Aug 31 20:30:31 mydns2 ods-enforcerd: No change to: /DNSSEC31-08-2014/zones/conf/myTLD.xml

Aug 31 20:30:31 mydns2 ods-enforcerd: Disconnecting from Database...

Aug 31 20:30:31 mydns2 ods-enforcerd: Sleeping for 360 seconds.

Aug 31 20:30:42 mydns2 ods-enforcerd: opendnssec starting...

Aug 31 20:30:42 mydns2 ods-enforcerd: opendnssec Parent exiting...

Aug 31 20:30:42 mydns2 ods-enforcerd: opendnssec forked OK...

Aug 31 20:30:42 mydns2 ods-enforcerd: group set to: ods (491)

Aug 31 20:30:42 mydns2 ods-enforcerd: user set to: ods (496)

Aug 31 20:30:42 mydns2 ods-enforcerd: opendnssec started (version 1.4.5), pid 19396

Aug 31 20:30:45 mydns2 ods-enforcerd: HSM opened successfully.

Aug 31 20:30:45 mydns2 ods-signerd: [hsm] libhsm connection opened succesfully

Aug 31 20:30:45 mydns2 ods-signerd: [engine] signer started (version 1.4.5), pid 19400

Aug 31 20:30:47 mydns2 ods-enforcerd: Checking database connection...

Aug 31 20:30:47 mydns2 ods-enforcerd: Database connection ok.

Aug 31 20:30:47 mydns2 ods-enforcerd: pidfile /var/run/opendnssec/enforcerd.pid already exists, a process with pid 19382 is already running. If no ods-enforcerd process is running, a previous instance didn't shutdown cleanly, please remove this file and try again.



----------------------------------------------------------------------------

the second  time i got the following :-



[root at myDns2 ~]# ods-control start

Starting enforcer...

OpenDNSSEC ods-enforcerd started (version 1.4.5), pid 19396

Starting signer engine...

OpenDNSSEC signer engine version 1.4.5

Engine running.


the log :-



Aug 31 20:30:57 mydns2 ods-enforcerd: HSM connection open.

Aug 31 20:30:57 mydns2 ods-enforcerd: Reading config "/etc/opendnssec/conf.xml"

Aug 31 20:30:57 mydns2 ods-enforcerd: Reading config schema "/usr/share/opendnssec/conf.rng"

Aug 31 20:30:57 mydns2 ods-enforcerd: Communication Interval: 360

Aug 31 20:30:57 mydns2 ods-enforcerd: No DS Submit command supplied

Aug 31 20:30:57 mydns2 ods-enforcerd: SQLite database set to: /var/opendnssec/kasp.db

Aug 31 20:30:57 mydns2 ods-enforcerd: Log User set to: local0

Aug 31 20:30:57 mydns2 ods-enforcerd: Switched log facility to: local0

Aug 31 20:30:57 mydns2 ods-enforcerd: Connecting to Database...

Aug 31 20:30:57 mydns2 ods-enforcerd: Policy default found.

Aug 31 20:30:57 mydns2 ods-enforcerd: Key sharing is Off.

Aug 31 20:30:57 mydns2 ods-enforcerd: No zones on policy default, skipping...

Aug 31 20:30:57 mydns2 ods-enforcerd: Policy myPolicy found.

Aug 31 20:30:57 mydns2 ods-enforcerd: Key sharing is Off.

Aug 31 20:30:57 mydns2 ods-enforcerd: 1 zone(s) found on policy "myPolicy"

Aug 31 20:30:57 mydns2 ods-enforcerd: No new KSKs need to be created.

Aug 31 20:30:57 mydns2 ods-enforcerd: No new ZSKs need to be created.

Aug 31 20:30:57 mydns2 ods-enforcerd: zonelist filename set to /etc/opendnssec/zonelist.xml.

Aug 31 20:30:57 mydns2 ods-enforcerd: Zone myTLD found.

Aug 31 20:30:57 mydns2 ods-enforcerd: Policy for myTLD set to myPolicy.

Aug 31 20:30:57 mydns2 ods-enforcerd: Config will be output to /DNSSEC31-08-2014/zones/conf/myTLD.xml.

Aug 31 20:30:57 mydns2 ods-enforcerd: No change to: /DNSSEC31-08-2014/zones/conf/myTLD.xml

Aug 31 20:30:57 mydns2 ods-enforcerd: Disconnecting from Database...

Aug 31 20:30:57 mydns2 ods-enforcerd: Sleeping for 360 seconds.



i tried to remove .pid file , but nothing new.

1) is this means ods is hanging or what ? and how to fix that ?

Thnx for your time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opendnssec.org/pipermail/opendnssec-user/attachments/20140831/4b10a6ce/attachment.htm>


More information about the Opendnssec-user mailing list