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? Thank You, Regards, Kosala
On Tue, Nov 24, 2020 at 8:00 PM Oliver Welter <[email protected]> wrote: > Hi, > > the name of the driver is "Oracle" with a capital letter in the beginning > but this will not make it work. > > You need the DBD::Oracle driver (https://metacpan.org/pod/DBD::Oracle) > which is not installed in the docker container. > > As packaging of this driver requires a locally installed oracle library > which is covered by a commercial license those packages are not available > for debian. We can provide such packages for SLES/RHEL based on a > commercial subscription. > > Oliver > > Am 24.11.20 um 10:40 schrieb Kosala Lakshitha De Silva: > > Hi All, > I am trying to configure the OpenxPKI to work with an existing oracle > database. > I am using https://github.com/openxpki/openxpki-docker docker example > shown here. > I configured openxpki-config\config.d\system\database.yaml for an oracle > database and removed the database pod from the docker-compose file. > > when i try to start the containers I get the following error. > > (Database not connected; __error__ => Unable to require() database driver > package; __class_name__ => OpenXPKI::Server::Database::Driver::oracle, > __message__ => Can't locate OpenXPKI/Server/Database/Driver/oracle.pm in > @INC (you may need to install the > OpenXPKI::Server::Database::Driver::oracle module) (@INC contains: > /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 > /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 > /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 > /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at > /usr/share/perl/5.28/Module/Load.pm line 77. > > > have attached the databse.yaml file. Can anyone help me figure out what I > am doing wrong? > Also I have installed an oracle instant client and verified that its > working with sqlplus. > > Thank You, > Kosala > > > _______________________________________________ > OpenXPKI-users mailing > [email protected]https://lists.sourceforge.net/lists/listinfo/openxpki-users > > > -- > Protect your environment - close windows and adopt a penguin! > > _______________________________________________ > OpenXPKI-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/openxpki-users >
database.yaml
Description: Binary data
_______________________________________________ OpenXPKI-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openxpki-users
