Error messages (probably SSL related)

ericovk

Verified User
Joined
Apr 17, 2012
Messages
229
Location
Rotterdam, Netherlands
A week ago I tried to install an SSL certificate. When I restarted Apache I got an error with something like
Code:
/usr/lib64/libcrypto.so.10: no version information available

I searched for it and followed this: http://help.directadmin.com/item.php?id=536
I tried:
Code:
yum update openssl openssl-devel[COLOR=#000000][FONT=courier new]
[/FONT][/COLOR][COLOR=#000000][FONT=verdana]./build all d[/FONT][/COLOR][COLOR=#000000][FONT=courier new]
[/FONT][/COLOR]


After recompiling DirectAdmin, the SSL certificate I tried to install seemed to be mismatching somehow. So I had the SSL certificate replished. The SSL certificate seems to be installed correctly and without any errors by http://www.sslshopper.com/ssl-checker.html

The server just crashed today. Apache error logs is showing errors that seem to cause this problem.

Apache error log:
[Wed Aug 13 12:11:38.964342 2014] [cgi:error] [pid 6649] [client 75.98.84.57:45120] script not found or unable to stat: /var/www/cgi-bin/php[Wed Aug 13 12:11:39.279054 2014] [cgi:error] [pid 6648] [client 75.98.84.57:45128] script not found or unable to stat: /var/www/cgi-bin/php5
[Wed Aug 13 12:11:39.580524 2014] [cgi:error] [pid 6651] [client 75.98.84.57:45133] script not found or unable to stat: /var/www/cgi-bin/php-cgi
[Wed Aug 13 12:11:39.885920 2014] [cgi:error] [pid 6642] [client 75.98.84.57:45139] script not found or unable to stat: /var/www/cgi-bin/php.cgi
[Wed Aug 13 12:11:40.193324 2014] [cgi:error] [pid 6609] [client 75.98.84.57:45145] script not found or unable to stat: /var/www/cgi-bin/php4
[Wed Aug 13 13:13:55.488330 2014] [access_compat:error] [pid 8611] [client 127.0.0.1:57567] AH01797: client denied by server configuration: /var/www/html/server-status
[Wed Aug 13 13:50:25.128209 2014] [ssl:warn] [pid 2889] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Wed Aug 13 13:50:25.128425 2014] [ssl:warn] [pid 2889] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Wed Aug 13 13:50:25.128458 2014] [suexec:notice] [pid 2889] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Aug 13 13:50:25.160527 2014] [auth_digest:notice] [pid 2911] AH01757: generating secret for digest authentication ...
[Wed Aug 13 13:50:26.060983 2014] [ssl:warn] [pid 2911] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Wed Aug 13 13:50:26.061204 2014] [ssl:warn] [pid 2911] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Wed Aug 13 13:50:26.061251 2014] [lbmethod_heartbeat:notice] [pid 2911] AH02282: No slotmem from mod_heartmonitor
[Wed Aug 13 13:50:26.962373 2014] [mpm_prefork:notice] [pid 2911] AH00163: Apache/2.4.6 (Unix) OpenSSL/1.0.1e-fips PHP/5.3.27 configured -- resuming normal operations
[Wed Aug 13 13:50:26.962428 2014] [core:notice] [pid 2911] AH00094: Command line: '/usr/sbin/httpd -D SSL'

DirectAdmin error log:
014:08:12-19:10:06: Can't connect to ssl!
2014:08:12-19:10:06: -> A failure in the SSL library occurred, usually a protocol error.
2014:08:12-19:10:06: Can't connect to ssl!
2014:08:12-19:10:06: -> A failure in the SSL library occurred, usually a protocol error.
2014:08:12-19:10:06: -> error:00000001:lib(0):func(0):reason(1)
2014:08:12-19:10:06: -> error:00000001:lib(0):func(0):reason(1)

My problem is that I don't know how to solve it. I Googled for some answers, but I can't seem to find a good solution.
 
I'm not too experienced but I think the server crash was caused by something else.
I have similar warnings in my Apache and DA-logs, except for the /var/www/cgi-bin/ errors.
Maybe the 75.98.84.57-ip managed to break through and run a script orsomething?

I think you need to do some more digging in the logs to find the reason.
 
One of the most recurring things i see why a lot of processes stop working is that the disk is full with logs or redundant backups.

that's one of the things i check first.

Code:
df -h
 
:mad: Why didn't I think about that. Thanks a lot! It seems that the MySQL database backup files filled the server with "mysql-bin.0000xx" backups. I still haven't found a good configuration for that. Digging in...
 
You're welcome!

The first time i came across this problem it took me a few hours aswell. Didn't think those problems would come from there but it's actually pretty logic.
 
:mad: Why didn't I think about that. Thanks a lot! It seems that the MySQL database backup files filled the server with "mysql-bin.0000xx" backups. I still haven't found a good configuration for that. Digging in...

The binary log is a set of files that contain information about data modifications made by the MySQL server. The log consists of a set of binary log files, plus an index file.

That's what official docs say. The bin log are usually needed if you run MySQL replication, in other cases you don't need them. So you may disable it in /etc/my.cnf.
 
Back
Top