Hi Oliver!

I tried the command "mysql -h 10.10.3.174 -p" and I had the follow result:

[EMAIL PROTECTED] openca]# mysql -h 10.10.3.174 -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 6 to server version: 3.23.58

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>

I've checked the password in the config.xml and it is the same as I typed for 
the command mysql -h 10.10.3.174 -p ... So, it is all right!


About the permissions, I have the follow permissions in the CA Server's 
directory:

[EMAIL PROTECTED] openca]# l /var/lib/openca/
total 36
drwxr-x---    9 apache   apache       4096 Feb 16 08:52 ./
drwxr-xr-x   21 root     root         4096 Feb 16 08:52 ../
drwxr-x---    4 apache   apache       4096 Feb 16 08:52 bp/
drwxr-x---    8 apache   apache       4096 Feb 16 09:52 crypto/
drwxr-x---    2 apache   apache       4096 Feb 16 10:03 db/
drwxr-x---    7 apache   apache       4096 Feb 16 11:09 log/
drwxr-x---    4 apache   apache       4096 Feb 16 08:52 mail/
drwxr-x---    3 apache   apache       4096 Feb 16 08:52 session/
drwxr-x---    2 apache   apache       4096 Feb 22 18:11 tmp/

[EMAIL PROTECTED] openca]# l /etc/openca/
total 260
drwxr-xr-x   10 apache   apache       4096 Feb 22 18:21 ./
drwxr-xr-x   64 root     root         8192 Feb 22 17:50 ../
drwxr-xr-x    2 apache   apache       4096 Feb 16 18:03 access_control/
-rw-r--r--    1 root     root         2828 Feb 16 10:45 backup.xml
-rw-r--r--    1 root     root         2665 Feb 16 08:52 backup.xml.template
drwxr-xr-x    3 apache   apache       4096 Feb 16 08:52 bp/
-rwxr-xr-x    1 root     root         1221 Feb 16 08:52 configure_etc.sh*
-rw-r--r--    1 root     root        30578 Feb 22 18:11 config.xml
drwxr-xr-x    2 apache   apache       4096 Feb 22 18:09 database/
drwxr-xr-x    2 apache   apache       4096 Feb 16 08:52 init.d/
-rw-r--r--    1 root     root        24132 Feb 16 10:45 ldap.xml
-rw-r--r--    1 root     root        24135 Feb 16 08:52 ldap.xml.template
-rw-r--r--    1 root     root        10874 Feb 16 08:52 loa.xml
-rw-r--r--    1 root     root          816 Feb 16 08:52 log.xml
-rw-r--r--    1 root     root        33920 Feb 16 10:45 menu.xml
-rw-r--r--    1 root     root        34465 Feb 16 08:52 menu.xml.template
-rwxr-xr-x    1 root     root          419 Feb 16 08:52 openca_rc*
-rwxr-xr-x    1 root     root         1796 Feb 16 10:45 openca_start*
-rwxr-xr-x    1 root     root         1796 Feb 16 08:52 openca_start.template*
-rwxr-xr-x    1 root     root          270 Feb 16 10:45 openca_stop*
-rwxr-xr-x    1 root     root          264 Feb 16 08:52 openca_stop.template*
drwxr-xr-x    4 apache   apache       4096 Feb 16 08:53 openssl/
drwxr-xr-x    3 apache   apache       4096 Feb 16 18:22 rbac/
drwxr-xr-x    2 apache   apache       4096 Feb 16 08:52 scep/
drwxr-xr-x    2 apache   apache       4096 Feb 16 18:21 servers/
-rw-r--r--    1 root     root        14678 Feb 16 08:55 token.xml

[EMAIL PROTECTED] openca]# l /usr/share/openca/
total 44
drwxr-xr-x   11 root     root         4096 Feb 16 08:53 ./
drwxr-xr-x  169 root     root         4096 Feb 16 08:52 ../
drwxr-xr-x    2 root     root         4096 Feb 16 08:52 bp/
drwxr-xr-x    5 root     root         4096 Feb 16 08:53 cgi-bin/
drwxr-xr-x    2 root     root         4096 Feb 16 08:52 cmds/
drwxr-xr-x    2 root     root         4096 Feb 16 08:52 functions/
drwxr-xr-x    5 root     root         4096 Feb 16 08:53 htdocs/
drwxr-xr-x   11 root     root         4096 Feb 16 08:52 locale/
drwxr-xr-x   12 root     root         4096 Feb 16 08:52 mails/
drwxr-xr-x    3 root     root         4096 Feb 16 08:52 servers/
drwxr-xr-x    2 root     root         4096 Feb 16 08:52 stylesheets/


What can I do? 

Please help me!

Thanks a lot!!

Andr�a.


----- Original Message ----- 
From: "Oliver Welter" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, February 16, 2005 5:59 PM
Subject: Re: [Openca-Users] CONNECT_FAILED


Andr�a Cavallari wrote:

> I don't known what happen, but when I will access the CA URL (that call the 
> page index.html from CA) I have this message:
> 
>     Error 20001
>       General Error CONNECT_FAILED (error 1045: Access denied for user: 
> '[EMAIL PROTECTED]' (Using password: YES))
> 
> I installed and stated de Openca and Mysql with root user... Is it correct?
> What can I do?
> 
This is clearly a mysql error - you can of course use openca with the 
root account on mysq

1) Have you set the correct password in config.xml ?
2) Has the rrot-user sufficent rights to access the system from the 
ca-server ? try with the mysql command line "mysql -h <mysqlhost> -p" - 
use the same string as stated in the config.xml

Oliver

-- 
Diese Nachricht wurde digital unterschrieben
oliwel's public key: http://www.oliwel.de/oliwel.crt
Basiszertifikat: http://www.ldv.ei.tum.de/page72

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to