Lighttpd cannot be started. libssl. so.4 & amp; libcrypto. so.4 is missing. lighttpd cannot be wget

Source: Internet
Author: User
Tags install openssl

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.