Hi all,
I'm not sure if my problem belongs to devel list so I'm sorry if not.
I'm getting: Error 700 (Database failed with errorcode 20032. SELECT_FAILED)
when I want to request first certificate for CA Operator during initialization.
DB is set up correctly and user openca is owner and has all permissions on
tables.
I found out that problem is everywhere where is this code in DBI.pm:
$self->{STH}[scalar (@{$self->{STH}}) -1]->state
When it returns '00000' Perl takes it as TRUE and author of the code took it as
FALSE.
If I use
$self->{STH}[scalar (@{$self->{STH}}) -1]->state ne '00000'
everywhere in DBI.pm it is functioning OK and I can continue in initialization.
My system:
Debian unstable (kernel 2.6.8-1)
perl 5.8.4-8
libdbi-perl 1.46-6
libdbd-pg-perl 1.41-1
postgresql 7.4.7-5
I know that problem is somewhere between keyboard of my PC and back of my
chair, but I spent one day with debugging and searching problem in database or
access rights and found only this solution.
Can someone tell me what I'm doing wrong?
Thanks,
Richard Sufliarsky
---------------------------------------------------------
http://www.morfeo.sk/ - Morfeo.sk - Špecialista na vyhľadávanie na Slovensku!
-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start! http://www.idcswdc.com/cgi-bin/survey?id5hix
_______________________________________________
OpenCA-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openca-devel