Lighttpd cannot be started. libssl. so.4 & libcrypto. so.4 is missing. lighttpd cannot be wget
The error log of lighttd is in log/out_lighttpd. When lighttd cannot be started, the cause is described in the file.
Today's error is:
Error while loading shared libraries: libssl. so.4
This is because the dynamic library fails to be loaded. There is no dynamic library named libssl. so.4 in your environment.
The solution is to find a solution.
Method 1: copy one from another machine.
For example, if lighttd of machine 1 can be used up, machine 2 cannot start up. So machine 1 must have this database. I found it and copied it,
Find/-name "libssl. so.4"
Copies are generally stored in/lib,/lib64,/usr/lib,/usr/lib64 where dynamic libraries are stored. This is a few places where the dynamic library is stored by default, and the program will look for it here.
Do not forget chmod + x libssl. so.4 to design executable permissions.
Method 2: If I cannot copy the file on another machine, or I can't find it, or I can't find it. Then
Yum-y install openssl-devel