Hi,
> Thank you Oliver for the reply. I have installed the DBD::Oracle driver
> manually in the container. Now I get an TNS listener saying SID is incorrect.
> I think now the problem is how I have configured the database.yaml file.
> Would you be kind enough to have a look at the database.yaml and see if it's
> in the correct format?
The first thing to verify is that the OpenXPKI runtime user must be able to
"tnsping" the database connection. Do not continue until this works.
For connecting to an Oracle database the following database config schema
should work.
main:
debug: 0
type: Oracle
name: TNSNAME
namespace: SCHEMA_OWNER
user: SCHEMA_USER
passwd: PASSWORD
environment:
vendor: Oracle
driver:
LongReadLen: 25000000
# How often to try to connect to the database on startup if not avail -
# default is to fail immediately. This is mainly useful if database and
# OpenXPKI are started by the same init process and the DB might take
# some time to come up
wait_on_init:
retry_count: 10
retry_interval: 30
Cheers
Martin
_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users