On Tue, Jan 22, 2008 at 11:00:43AM +0100, Alexander Klink wrote:
> Hi Peter,
>
> On Tue, Jan 22, 2008 at 07:11:42AM +0100, Peter Mann wrote:
> > On Thu, Jan 17, 2008 at 01:12:01PM +0100, Peter Mann wrote:
> > > i forgot to run openxpkiadm initdb ... now i see "DONE" ;-)))
> >
> > after svn update (r1205) there is error:
> >
> > Exception during server initialization:
> > I18N_OPENXPKI_CRYPTO_TOKENMANAGER_ADD_TOKEN_CREATE_FAILED; __ERRVAL__ =>
> > I18N_OPENXPKI_CRYPTO_TOOLKIT_INCOMPLETE_CONFIGURATION; __ERRVAL__ =>
> > I18N_OPENXPKI_XML_CACHE_GET_XPATH_COUNT_NOTHING_FOUND; __XPATH__ =>
> > pki_realm/0/common/0/token/0/mode; __ATTRIBUTE__ => mode; __NAME__ =>
> > default; __TYPE__ => common at /usr/local/lib/perl/5.8.8/OpenXPKI/Server.pm
> > line 819.
>
> Did you run perl Makefile.PL; make; make install in
> trunk/perl-modules/core/trunk after the svn update?
oh yes, now it's ok ...
what steps are needed after svn update???
now i run:
SVNDIR="/usr/src/openxpki-svn.checkout"
cd ${SVNDIR}/trunk/perl-modules/core/trunk
perl Makefile.PL
make
make install
cd ${SVNDIR}/trunk/clients/perl/OpenXPKI-Client
perl Makefile.PL
make
make install
#adduser openxpki
cd ${SVNDIR}/trunk/deployment
./configure --prefix /usr/local
make
make install
#openxpkiadm deploy --template quickstart
#openxpki-configure --createdirs
#apt-get install libdbd-sqlite3-perl
#openxpkiadm initdb
openxpkictl stop
openxpkictl start
# msgfmt -o /usr/share/locale/en_GB/LC_MESSAGES/openxpki.mo
${SVNDIR}/trunk/i18n/en_GB/openxpki.po
(commented lines are before first run)
now i have webinterface, maybe we add Slovak localization, but now i must
configure PostgreSQL, because i now used only sqlite for installation process:
* I18N_OPENXPKI_SERVER_DBI_DBH_EXECUTE_FAILED; QUERY => INSERT INTO
seq_audittrail (seq_number, dummy) VALUES (NULL, 0); ERRNO => 1; ERRVAL =>
attempt to write a readonly database(1) at dbdimp.c line 402
i tried to setup pgsql with openxpki-configure -> database setup and with manual
changes in database.xml, but without success (no access in postgresql.log) ...
how can i debug database setup ??? (openxpkiadm initdb for postgresql ???)
--
5o Peter.Mann at tuke.sk
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users