一个lighthttpd 错误的解决

[root@HP07110086 data1]# /data1/lighttpd/bin/start.sh
/data1/lighttpd//sbin/lighttpd: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory

 

##############################

解决办法

[root@HP07110086 vshare]# yum install libpcre3
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
Setting up Install Process
Parsing package install arguments
No package libpcre3 available.
Nothing to do
[root@HP07110086 vshare]# yum install pcre
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
Setting up Install Process
Parsing package install arguments
Package pcre - 6.6-2.el5_1.7.x86_64 is already installed.
Resolving Dependencies
--> Running transaction check
---> Package pcre.i386 0:6.6-2.el5_1.7 set to be updated
--> Finished Dependency Resolution
 
Dependencies Resolved
 
=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 pcre                    i386       6.6-2.el5_1.7    base              112 k
 
Transaction Summary
=============================================================================
Install      1 Package(s)        
Update       0 Package(s)        
Remove       0 Package(s)        
 
Total download size: 112 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): pcre-6.6-2.el5_1.7 100% |=========================| 112 kB    00:00    
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897
Importing GPG key 0xE8562897 "CentOS-5 Key (CentOS 5 Official Signing Key) <[email protected]>" from http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: pcre                         ######################### [1/1]
 
Installed: pcre.i386 0:6.6-2.el5_1.7
Complete!

之后light可以启动

你可能感兴趣的:(centos,object,File,header,HP,download)