[Opendnssec-user] Problem with configuration; terse output

Nick Urbanik nicku at nicku.org
Thu Feb 16 00:40:19 UTC 2023


Dear Folks,

I am attempting to start ods-enforcerd on Fedora 37.

journalctl shows this:
[engine] enforcerd (pid: 1233258) stopped with exitcode 3

Running on the command line shows this:
$ sudo -u ods /usr/sbin/ods-enforcerd -d -v -v -v -v -v
OpenDNSSEC key and signing policy enforcer version 2.1.10
setup failed: Database error

tcpdump shows no network connection to the database.

Here is part of my /etc/opendnssec/conf.xml:
                 <Datastore>
                         <MySQL>
                                 <Host Port="3306">localhost</Host>
                                 <Database>opendnssec</Database>
                                 <Username>ods</Username>
                                 <Password>Cherry7Chunky8Voyage</Password>
                         </MySQL>
                 </Datastore>

I can connect to mariadb with:
mysql -h 127.0.0.1 -u ods -pCherry7Chunky8Voyage opendnssec
...
MariaDB [opendnssec]> show tables;
+----------------------+
| Tables_in_opendnssec |
+----------------------+
| databaseVersion      |
| hsmKey               |
| keyData              |
| keyDependency        |
| keyState             |
| policy               |
| policyKey            |
| zone                 |
+----------------------+
8 rows in set (0.001 sec)

Can anyone suggest how to get more information to troubleshoot?
-- 
Nick Urbanik             http://nicku.org           nicku at nicku.org
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24


More information about the Opendnssec-user mailing list