Hi Michael,

At 16.30 11/06/2003 +0200, Michael Bell wrote:
Fausto Saporito wrote:
Hello again,
i enabled the debug option in DBI.conf, and now I have a little bit of information:
in the top of the screen I can read:
Debugging is activated!
defining the class parameters
checking the configuration for enough data
preparing the database (vendor dependent)
Pg detected
DB: dbi:Pg:dbname=openca;host=localhost;port=5432
connecting to database
try to connect
connect failed
OpenCA::DBI automatic rollback by destructor DESTROY
OpenCA::DBI -> rollback
call finish on all statement handles to avoid warnings by DBI
Content-type:text/html
I see that neither the user, neither the password are passed to DBI string. Is it correct?

Yes, what you see is the DSN. The user and the passphrase are not part of the DSN but they will submitted to DBI if the function connect is called. Do you allow TCP connects? Do you test the database with psql?

yes... I can access the db with psql with username and password. But I also tried without password.
By the way I tested the DB alternative (using dbm) and I have a strange problem: because my httpd is running as nobody, when the system creates the files in /usr/local/OpenCA/var/db, those files are owned by root... so I receive a similar error, i chowned the files and all is ok.


Anyway the postgres db openca is owned by user openca.

Another question not strictly related: with DB option all works, but I receive a login prompt when I try to access the ca web page. What user do I use?

regards,
fausto


Michael
--
-------------------------------------------------------------------
Michael Bell                   Email: [EMAIL PROTECTED]
ZE Computer- und Medienservice            Tel.: +49 (0)30-2093 2482
(Computing Centre)                        Fax:  +49 (0)30-2093 2704
Humboldt-University of Berlin
Unter den Linden 6
10099 Berlin                   Email (private): [EMAIL PROTECTED]
Germany                                       http://www.openca.org



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users



------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Openca-Users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to