"Jerry Lundström" wrote in message news:[email protected]...

On Apr 3, 2012, at 16:32 , Fred Zwarts (KVI) wrote:
SQLite database set to: /var/opendnssec/kasp.db
Keys:
hsm_get_slot_id(): could not find token with the name OpenDNSSEC
Error: failed to list keys

Any suggestion as to what is missing in the backup/restore procedure?


Does the .schema look the same on the original and the restored server?
$ sqlite3 /var/softhsm/slot0.db .schema

Yes. A diff does not find any difference.


Do you have SQLite < 3.6.11, if so:
$ sqlite3 /var/softhsm/slot0.db "PRAGMA user_version = 100;"

The source system had a lower version, the destination system had a higher version. I executed this command and now it is working.


/Jerry

Many thanks to everyone who contributed to this thread and helped to create this backup/restore procedure.

_______________________________________________
Opendnssec-user mailing list
[email protected]
https://lists.opendnssec.org/mailman/listinfo/opendnssec-user

Reply via email to