------=_Part_8894_14307937.1129414715235
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
That is a good question but I "guess" it is.. please see the attached
files for more information.
They are...
lsoutput.txt: I made ls in all the path to the certificates files
mysqld.log: Mysqld log file, interesting because it contains the
specific error, openssl .c files, line numbers (that by the way does
not match with the actual file, because of comment I guess), and
more..
strace.txt: a fragment of the mysqld strace output with the failing open ca=
ll...
I must thak you for the help and interest
best regards
Israel
--
____________________
Israel Fdez. Cabrera
***@gmail.com
------=_Part_8894_14307937.1129414715235
Content-Type: text/plain; name=lsoutput.txt; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="lsoutput.txt"
#>ls / | grep etc
drwxr-xr-x 83 root root 12288 Oct 15 16:50 etc
#>ls /etc | grep pki
drwxr-xr-x 7 root root 4096 Oct 14 17:51 pki
#>ls /etc/pki
total 104
drwxr-xr-x 3 root root 4096 Oct 14 21:46 CA
drwxr-xr-x 3 root root 4096 Oct 8 16:54 dovecot
-rwxr-xr-x 1 root root 1088 Oct 8 16:54 gencert.sh
-rwxr-xr-x 1 root root 1056 Oct 8 16:54 gencert.sh~
-rw-r--r-- 1 root root 236 Oct 8 16:54 index.txt
-rw-r--r-- 1 root root 21 Oct 8 16:54 index.txt.attr
-rw-r--r-- 1 root root 21 Oct 8 16:54 index.txt.attr.old
-rw-r--r-- 1 root root 118 Oct 8 16:54 index.txt.old
drwxr-xr-x 2 root root 4096 Oct 8 16:54 newcerts
drwxr-xr-x 2 root root 4096 Oct 8 16:54 rpm-gpg
-rw-r--r-- 1 root root 3 Oct 8 16:54 serial
-rw-r--r-- 1 root root 3 Oct 8 16:54 serial.old
drwxr-xr-x 5 root root 4096 Oct 14 17:51 tls
#>ls /etc/pki/tls
total 40
lrwxrwxrwx 1 root root 19 Oct 8 16:54 cert.pem -> certs/ca-bundle.crt
drwxr-xr-x 2 root root 4096 Oct 15 14:18 certs
drwxr-xr-x 2 root root 4096 Oct 8 16:54 misc
-r--r--r-- 1 root root 7998 Oct 14 17:59 openssl.cnf
drwxr-xr-x 2 root root 4096 Oct 8 16:54 private
#>ls /etc/pki/tls/certs
total 492
-rw-r--r-- 1 root root 427833 Oct 8 16:54 ca-bundle.crt
-rw-r--r-- 1 root root 3617 Oct 14 21:46 client-cert.pem
-rw-r--r-- 1 root mysql 887 Oct 8 16:54 client-key.pem
-rw-r--r-- 1 root mysql 769 Oct 8 16:54 client-req.pem
-rw-r--r-- 1 root root 610 Oct 8 16:54 make-dummy-cert
-rw-r--r-- 1 root root 2240 Oct 8 16:54 Makefile
-rw-r--r-- 1 root root 3617 Oct 14 21:46 server-cert.pem
-rw-r--r-- 1 root root 887 Oct 14 21:46 server-key.pem
-rw-r--r-- 1 root mysql 769 Oct 8 16:54 server-req.pem
------=_Part_8894_14307937.1129414715235
Content-Type: application/octet-stream; name=mysqld.log
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="mysqld.log"
051009 07:58:29 mysqld started
051009 7:58:30 InnoDB: Started; log sequence number 0 5774459
/usr/libexec/mysqld: ready for connections.
Version: '4.1.11' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
051009 8:00:04 [Note] /usr/libexec/mysqld: Normal shutdown
051009 8:00:04 InnoDB: Starting shutdown...
051009 8:00:07 InnoDB: Shutdown completed; log sequence number 0 5774459
051009 8:00:07 [Note] /usr/libexec/mysqld: Shutdown complete
051009 08:00:07 mysqld ended
051009 08:00:57 mysqld started
051009 8:00:57 InnoDB: Started; log sequence number 0 5774459
/usr/libexec/mysqld: ready for connections.
Version: '4.1.11' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
051009 8:01:13 [Note] /usr/libexec/mysqld: Normal shutdown
051009 8:01:13 InnoDB: Starting shutdown...
051009 8:01:16 InnoDB: Shutdown completed; log sequence number 0 5774459
051009 8:01:16 [Note] /usr/libexec/mysqld: Shutdown complete
051009 08:01:16 mysqld ended
051009 08:01:29 mysqld started
051009 8:01:30 InnoDB: Started; log sequence number 0 5774459
/usr/libexec/mysqld: ready for connections.
Version: '4.1.11' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
051009 8:24:41 [Note] /usr/libexec/mysqld: Normal shutdown
051009 8:24:41 InnoDB: Starting shutdown...
051009 8:24:44 InnoDB: Shutdown completed; log sequence number 0 5774469
051009 8:24:44 [Note] /usr/libexec/mysqld: Shutdown complete
051009 08:24:44 mysqld ended
051009 08:24:55 mysqld started
051009 8:24:55 InnoDB: Started; log sequence number 0 5774469
/usr/libexec/mysqld: ready for connections.
Version: '4.1.11' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
051009 8:25:33 [Note] /usr/libexec/mysqld: Normal shutdown
051009 8:25:33 InnoDB: Starting shutdown...
051009 8:25:36 InnoDB: Shutdown completed; log sequence number 0 5774469
051009 8:25:36 [Note] /usr/libexec/mysqld: Shutdown complete
051009 08:25:36 mysqld ended
051009 08:25:36 mysqld started
051009 8:25:37 InnoDB: Started; log sequence number 0 5774469
/usr/libexec/mysqld: ready for connections.
Version: '4.1.11' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
A mysqld process already exists at Sun Oct 9 11:04:59 CDT 2005
051009 11:05:38 [Note] /usr/libexec/mysqld: Normal shutdown
051009 11:05:39 InnoDB: Starting shutdown...
051009 11:05:41 InnoDB: Shutdown completed; log sequence number 0 5774469
051009 11:05:41 [Note] /usr/libexec/mysqld: Shutdown complete
051009 11:05:41 mysqld ended
051009 11:05:54 mysqld started
051009 11:05:55 InnoDB: Started; log sequence number 0 5774469
/usr/libexec/mysqld: ready for connections.
Version: '4.1.11' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
A mysqld process already exists at Sun Oct 9 11:06:35 CDT 2005
051009 13:02:46 [Note] /usr/libexec/mysqld: Normal shutdown
051009 13:02:46 InnoDB: Starting shutdown...
051009 13:02:49 InnoDB: Shutdown completed; log sequence number 0 6090268
051009 13:02:49 [Note] /usr/libexec/mysqld: Shutdown complete
051009 13:02:49 mysqld ended
051009 13:02:53 mysqld started
051009 13:02:54 InnoDB: Started; log sequence number 0 6090268
/usr/libexec/mysqld: ready for connections.
Version: '4.1.11' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
A mysqld process already exists at Sun Oct 9 14:01:46 CDT 2005
A mysqld process already exists at Sun Oct 9 15:06:32 CDT 2005
051009 15:06:40 [Note] /usr/libexec/mysqld: Normal shutdown
051009 15:06:40 InnoDB: Starting shutdown...
051009 15:06:43 InnoDB: Shutdown completed; log sequence number 0 6411998
051009 15:06:43 [Note] /usr/libexec/mysqld: Shutdown complete
051009 15:06:44 mysqld ended
051009 15:07:10 mysqld started
Error when connection to server using SSL:25701:error:0200100D:system library:fopen:Permission denied:bss_file.c:278:fopen('/etc/pki/tls/certs/server-cert.pem','r')
25701:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:280:
25701:error:140AD002:SSL routines:SSL_CTX_use_certificate_file:system lib:ssl_rsa.c:515:
Unable to get certificate from '/etc/pki/tls/certs/server-cert.pem'
051009 15:07:12 InnoDB: Started; log sequence number 0 6411998
/usr/libexec/mysqld: ready for connections.
Version: '4.1.11' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
051009 15:07:38 [Note] /usr/libexec/mysqld: Normal shutdown
051009 15:07:38 InnoDB: Starting shutdown...
051009 15:07:40 InnoDB: Shutdown completed; log sequence number 0 6411998
051009 15:07:40 [Note] /usr/libexec/mysqld: Shutdown complete
051009 15:40:40 mysqld started
051009 15:40:40 InnoDB: Started; log sequence number 0 6411998
/usr/libexec/mysqld: ready for connections.
Version: '4.1.11' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
051009 15:45:33 [Note] /usr/libexec/mysqld: Normal shutdown
051009 15:45:33 InnoDB: Starting shutdown...
051009 15:45:37 InnoDB: Shutdown completed; log sequence number 0 6413215
051009 15:45:37 [Note] /usr/libexec/mysqld: Shutdown complete
051009 15:45:37 mysqld ended
051009 15:45:46 mysqld started
051009 15:45:46 InnoDB: Started; log sequence number 0 6413215
/usr/libexec/mysqld: ready for connections.
Version: '4.1.11' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
051009 15:50:11 [Note] /usr/libexec/mysqld: Normal shutdown
051009 15:50:11 InnoDB: Starting shutdown...
051009 15:50:12 InnoDB: Shutdown completed; log sequence number 0 6413747
051009 15:50:12 [Note] /usr/libexec/mysqld: Shutdown complete
051009 15:50:13 mysqld ended
051009 15:50:30 mysqld started
051009 15:50:30 InnoDB: Started; log sequence number 0 6413747
/usr/libexec/mysqld: ready for connections.
Version: '4.1.11' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
051009 15:51:27 [Note] /usr/libexec/mysqld: Normal shutdown
051009 15:51:27 InnoDB: Starting shutdown...
051009 15:51:30 InnoDB: Shutdown completed; log sequence number 0 6414801
051009 15:51:30 [Note] /usr/libexec/mysqld: Shutdown complete
051009 15:51:30 mysqld ended
051009 15:53:11 mysqld started
051009 15:53:12 InnoDB: Started; log sequence number 0 6414801
/usr/libexec/mysqld: ready for connections.
Version: '4.1.11' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
051009 15:53:37 [Note] /usr/libexec/mysqld: Normal shutdown
051009 15:53:37 InnoDB: Starting shutdown...
051009 15:53:40 InnoDB: Shutdown completed; log sequence number 0 6415333
051009 15:53:40 [Note] /usr/libexec/mysqld: Shutdown complete
051009 15:53:40 mysqld ended
051009 16:06:26 mysqld started
051009 16:06:27 InnoDB: Started; log sequence number 0 6415333
/usr/libexec/mysqld: ready for connections.
Version: '4.1.11' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
Status information:
Current dir: /var/lib/mysql/
Running threads: 0 Stack size: 196608
Current locks:
lock: 0xa438f10:
lock: 0xa4e8360:
lock: 0xa4e4ae8:
lock: 0xa4e3b88:
lock: 0xa4e2920:
lock: 0xa4e0228:
lock: 0xa4d26f0:
lock: 0xa4d25c0:
lock: 0xa4399f0:
lock: 0xa433530:
lock: 0xa4dce70:
lock: 0xa4dcdd8:
Key caches:
default
Buffer_size: 8388600
Block_size: 1024
Division_limit: 100
Age_limit: 300
blocks used: 7
not flushed: 0
w_requests: 0
writes: 0
r_requests: 26
reads: 7
handler status:
read_key: 120
read_next: 112
read_rnd 1
read_first: 38
write: 4
delete 0
update: 0
Table status:
Opened tables: 23
Open tables: 12
Open files: 0
Open streams: 0
Alarm status:
Active alarms: 0
Max used alarms: 2
Next alarm time: 0
051009 16:08:13 [Note] /usr/libexec/mysqld: Normal shutdown
051009 16:08:13 InnoDB: Starting shutdown...
051009 16:08:14 InnoDB: Shutdown completed; log sequence number 0 6415865
051009 16:08:14 [Note] /usr/libexec/mysqld: Shutdown complete
Memory status:
Non-mmapped space allocated from system: 6127616
Number of free chunks: 63
Number of fastbin blocks: 0
Number of mmapped regions: 12
Space in mmapped regions: 37273600
Maximum total allocated space: 0
Space available in freed fastbin blocks: 0
Total allocated space: 5836920
Total free space: 290696
Top-most, releasable space: 90072
Estimated memory (with thread stack): 43401216
051009 16:08:14 mysqld ended
051009 16:10:24 mysqld started
Error when connection to server using SSL:1904:error:0200100D:system library:fopen:Permission denied:bss_file.c:278:fopen('/etc/pki/tls/certs/server-cert.pem','r')
1904:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:280:
1904:error:140AD002:SSL routines:SSL_CTX_use_certificate_file:system lib:ssl_rsa.c:515:
Unable to get certificate from '/etc/pki/tls/certs/server-cert.pem'
051009 16:10:26 InnoDB: Started; log sequence number 0 6415865
/usr/libexec/mysqld: ready for connections.
Version: '4.1.11' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
051014 10:42:25 mysqld started
051014 10:42:29 InnoDB: Started; log sequence number 0 6415865
/usr/libexec/mysqld: ready for connections.
Version: '4.1.11' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
051014 13:58:36 [Note] /usr/libexec/mysqld: Normal shutdown
051014 13:58:37 InnoDB: Starting shutdown...
051014 13:58:39 InnoDB: Shutdown completed; log sequence number 0 6481795
051014 13:58:39 [Note] /usr/libexec/mysqld: Shutdown complete
051014 13:58:40 mysqld ended
051014 13:58:43 mysqld started
051014 13:58:44 InnoDB: Started; log sequence number 0 6481795
/usr/libexec/mysqld: ready for connections.
Version: '4.1.11' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
051014 14:01:15 [Note] /usr/libexec/mysqld: Normal shutdown
051014 14:01:15 InnoDB: Starting shutdown...
051014 14:01:17 InnoDB: Shutdown completed; log sequence number 0 6481831
051014 14:01:17 [Note] /usr/libexec/mysqld: Shutdown complete
051014 14:01:17 mysqld ended
051014 14:01:18 mysqld started
051014 14:01:18 InnoDB: Started; log sequence number 0 6481831
/usr/libexec/mysqld: ready for connections.
Version: '4.1.11' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
A mysqld process already exists at Fri Oct 14 17:20:44 CDT 2005
A mysqld process already exists at Fri Oct 14 17:54:02 CDT 2005
051014 17:57:25 [Note] /usr/libexec/mysqld: Normal shutdown
051014 17:57:25 InnoDB: Starting shutdown...
051014 17:57:29 InnoDB: Shutdown completed; log sequence number 0 7124617
051014 17:57:29 [Note] /usr/libexec/mysqld: Shutdown complete
A mysqld process already exists at Fri Oct 14 17:57:29 CDT 2005
051014 17:57:30 mysqld ended
051014 17:57:59 mysqld started
051014 17:58:00 InnoDB: Started; log sequence number 0 7124617
/usr/libexec/mysqld: ready for connections.
Version: '4.1.11' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
051014 17:58:31 [Note] /usr/libexec/mysqld: Normal shutdown
051014 17:58:31 InnoDB: Starting shutdown...
051014 17:58:34 InnoDB: Shutdown completed; log sequence number 0 7125149
051014 17:58:34 [Note] /usr/libexec/mysqld: Shutdown complete
051014 17:58:34 mysqld ended
051014 18:00:22 mysqld started
051014 18:00:22 InnoDB: Started; log sequence number 0 7125149
/usr/libexec/mysqld: ready for connections.
Version: '4.1.11' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
051015 16:52:29 [Note] /usr/libexec/mysqld: Normal shutdown
051015 16:52:29 InnoDB: Starting shutdown...
051015 16:52:35 InnoDB: Shutdown completed; log sequence number 0 7473283
051015 16:52:35 [Note] /usr/libexec/mysqld: Shutdown complete
A mysqld process already exists at Sat Oct 15 16:52:35 CDT 2005
051015 16:52:35 mysqld ended
051015 16:53:14 mysqld started
Error when connection to server using SSL:10976:error:0200100D:system library:fopen:Permission denied:bss_file.c:278:fopen('/etc/pki/tls/certs/server-cert.pem','r')
10976:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:280:
10976:error:140AD002:SSL routines:SSL_CTX_use_certificate_file:system lib:ssl_rsa.c:515:
Unable to get certificate from '/etc/pki/tls/certs/server-cert.pem'
051015 17:15:04 mysqld ended
051015 17:15:05 mysqld started
Error when connection to server using SSL:11222:error:0200100D:system library:fopen:Permission denied:bss_file.c:278:fopen('/etc/pki/tls/certs/server-cert.pem','r')
11222:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:280:
11222:error:140AD002:SSL routines:SSL_CTX_use_certificate_file:system lib:ssl_rsa.c:515:
Unable to get certificate from '/etc/pki/tls/certs/server-cert.pem'
051015 17:15:38 mysqld ended
A mysqld process already exists at Sat Oct 15 17:15:38 CDT 2005
051015 17:16:06 mysqld started
Error when connection to server using SSL:11562:error:0200100D:system library:fopen:Permission denied:bss_file.c:278:fopen('/etc/pki/tls/certs/server-cert.pem','r')
11562:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:280:
11562:error:140AD002:SSL routines:SSL_CTX_use_certificate_file:system lib:ssl_rsa.c:515:
Unable to get certificate from '/etc/pki/tls/certs/server-cert.pem'
------=_Part_8894_14307937.1129414715235
Content-Type: text/plain; name=strace.txt; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="strace.txt"
open("/etc/pki/tls/certs/server-cert.pem", O_RDONLY) = -1 EACCES (Permission denied)
write(2, "Error when connection to server "..., 42) = 42
write(2, "1872:error:0200100D:system libra"..., 122) = 122
write(2, "1872:error:20074002:BIO routines"..., 70) = 70
write(2, "1872:error:140AD002:SSL routines"..., 88) = 88
write(2, "Unable to get certificate from \'"..., 68) = 68
open("/etc/pki/CA/cacert.pem", O_RDONLY) = -1 EACCES (Permission denied)
open("/etc/pki/tls/cert.pem", O_RDONLY) = -1 EACCES (Permission denied)
time([1129246383]) = 1129246383
open("/dev/urandom", O_RDONLY|O_NONBLOCK|O_NOCTTY) = -1 EACCES (Permission denied)
open("/dev/random", O_RDONLY|O_NONBLOCK|O_NOCTTY) = -1 EACCES (Permission denied)
open("/dev/srandom", O_RDONLY|O_NONBLOCK|O_NOCTTY) = -1 ENOENT (No such file or directory)
socket(PF_FILE, SOCK_STREAM, 0) = 3
connect(3, {sa_family=AF_FILE, path="/var/run/egd-pool"}, 19) = -1 ENOENT (No such file or directory)
close(3) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 3
------=_Part_8894_14307937.1129414715235--
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-***@openssl.org
Automated List Manager ***@openssl.org