Manually installing the missing Perl module (perl-DBD-SQLite), removing the pki-ra
instance with pkiremove and then recreating it with pkicreate allowed the RA to be
configured by the Wizard.
Cheers,
Andrew
-----Original Message-----
From: Andrew Commons [mailto:andrew.commons@bigpond.com]
Sent: Saturday, 30 January 2010 9:57 PM
To: 'John Magne'
Cc: 'pki-users(a)redhat.com'
Subject: RE: [Pki-users] RA Wizard failing
John,
Maybe this might help a bit more:
[Fri Jan 29 22:02:22 2010] [error] [client 192.168.0.9] install_driver(SQLite) failed:
Can't locate DBD/SQLite.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl . /var/lib/pki-ra /var/lib/pki-ra/lib/perl) at (eval 152) line
3.\nPerhaps the DBD::SQLite perl module hasn't been fully installed,\nor perhaps the
capitalisation of 'SQLite' isn't right.\nAvailable drivers: DBM, ExampleP,
File, Gofer, Proxy, Sponge.\n at /var/lib/pki-ra/lib/perl/PKI/RA/DatabasePanel.pm line
79\n, referer:
https://xxxxxx.yyyyy.zzzzzz:12890/ra/admin/console/config/wizard
That looks like 'Ouch!' to me :)
It would appear that package perl-DBD-SQLite should be a dependency?
I will install it and recreate everything. Is removing the pki-ra directory and all its
contents going to be enough to roll back the configuration?
Cheers,
Andrew
-----Original Message-----
From: John Magne [mailto:jmagne@redhat.com]
Sent: Saturday, 30 January 2010 4:08 AM
To: Andrew Commons
Cc: pki-users(a)redhat.com
Subject: Re: [Pki-users] RA Wizard failing
Those lines are not much to go on. At least for me :)
If you could perhaps look in the log file directory to see if there are any clues in any
of other log files present.
This should be /var/lib/pki-ra/logs I believe. Also, in your pkicreate command you are
using the redirect switch which might not be needed since you are using the default file
locations. This should not be an issue though.
----- Original Message -----
From: "Andrew Commons" <andrew.commons(a)bigpond.com>
To: pki-users(a)redhat.com
Sent: Friday, January 29, 2010 3:52:16 AM GMT -08:00 US/Canada Pacific
Subject: [Pki-users] RA Wizard failing
I am getting a fatal server error running the RA Wizard at the Internal
Database step when I click Next.
The last few lines in the log that seem associated with that page are:
Fri Jan 29 22:02:22 CST 2010 - RA wizard: in handler
Fri Jan 29 22:02:22 CST 2010 - RA wizard:
uri='/ra/admin/console/config/wizard'
Fri Jan 29 22:02:22 CST 2010 - RA wizard: http parameter name='p'
value='5'
Fri Jan 29 22:02:22 CST 2010 - RA wizard: http parameter name='op'
value='next'
Fri Jan 29 22:02:22 CST 2010 - RA wizard: before argparsing
Fri Jan 29 22:02:22 CST 2010 - RA wizard: setting up test objects
Fri Jan 29 22:02:22 CST 2010 - RA wizard: found 2 certtags
These lines are repeated if I use the Back Arrow to return to the page.
Clicking Next again does not add anything to the log after that.
The system is Fedora 11. The pki-ra install was performed with the "Test
Updates" repositories enabled since this was required to get the CA up and
running.
The pkicreate command used to setup the RA was:
pkicreate -pki_instance_root=/var/lib -pki_instance_name=pki-ra
-subsystem_type=ra -secure_port=12889 -non_clientauth_secure_port=12890
-unsecure_port=12888 -user=pkiuser -group=pkiuser -redirect conf=/etc/pki-ra
-redirect logs=/var/log/pki-ra -verbose
Which is the RA example out of the pkicreate help. The command used to setup
the CA was the example command as well. The CA Config Wizard was fine and
the CA seems to be functioning.
Any suggestions?
Cheers,
Andrew
_______________________________________________
Pki-users mailing list
Pki-users(a)redhat.com
https://www.redhat.com/mailman/listinfo/pki-users