PDA

Bekijk de volledige versie : Installed lighttpd - missing library



zainka
01-06-2006, 13:01
I have installed and configured ligttpd web server but when trying to start service, lighttpd whines like this:



[admin@(none) lighttpd]$ lighttpd -t -f lighttpd.conf
lighttpd: can't load library 'libssl.so.0.9.7'


I have tried to search for and install libssl, heres the result given,



ipkg update
ipkg install libssl


giving result


[admin@(none) lighttpd]$ ipkg update
Downloading http://wl500g.dyndns.org/ipkg/Packages
Updated list of available packages in /opt/lib/ipkg/lists/wl500g
Downloading http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/Packages
Updated list of available packages in /opt/lib/ipkg/lists/unslung
Successfully terminated.
[admin@(none) lighttpd]$ ipkg install libssl
Nothing to be done
An error ocurred, return value: 4.
Collected errors:
Cannot find package libssl.
Check the spelling or perhaps run 'ipkg update'


Is there somewhere else I can find libssl or prehaps it is possible to stop lighttpd to ask for this lib. I do realy not need it. I am also quite sure I have not enabled it in lighttpd.config, which loks like this.



[admin@(none) lighttpd]$ cat lighttpd.conf
# lighttpd configuration file
# load modules
server.modules = (
# "mod_rewrite",
# "mod_redirect",
# "mod_alias",
"mod_access",
# "mod_cml",
# "mod_trigger_b4_dl",
# "mod_auth",
# "mod_status",
# "mod_setenv",
# "mod_fastcgi",
# "mod_proxy",
# "mod_simple_vhost",
# "mod_evhost",
# "mod_userdir",
"mod_cgi",
# "mod_compress",
# "mod_ssi",
# "mod_usertrack",
# "mod_expire",
# "mod_secdownload",
# "mod_rrdtool",
"mod_accesslog" )

## a static document-root, for virtual-hosting take look at the
## server.virtual-* options
server.document-root = "/opt/share/www/"

## where to send error-messages to
server.errorlog = "/opt/var/log/lighttpd/error.log"

# files to check for if .../ is requested
index-file.names = ( "index.php", "index.html",
"index.htm", "default.htm" )

# mimetype mapping
mimetype.assign = (
".pdf" => "application/pdf",
".sig" => "application/pgp-signature",
".spl" => "application/futuresplash",
".class" => "application/octet-stream",
".ps" => "application/postscript",
".torrent" => "application/x-bittorrent",
".dvi" => "application/x-dvi",
".gz" => "application/x-gzip",
".pac" => "application/x-ns-proxy-autoconfig",
".swf" => "application/x-shockwave-flash",
".tar.gz" => "application/x-tgz",
".tgz" => "application/x-tgz",
".tar" => "application/x-tar",
".zip" => "application/zip",
".mp3" => "audio/mpeg",
".m3u" => "audio/x-mpegurl",
".wma" => "audio/x-ms-wma",
".wax" => "audio/x-ms-wax",
".ogg" => "application/ogg",
".wav" => "audio/x-wav",
".gif" => "image/gif",
".jpg" => "image/jpeg",
".jpeg" => "image/jpeg",
".png" => "image/png",
".xbm" => "image/x-xbitmap",
".xpm" => "image/x-xpixmap",
".xwd" => "image/x-xwindowdump",
".css" => "text/css",
".html" => "text/html",
".htm" => "text/html",
".js" => "text/javascript",
".asc" => "text/plain",
".c" => "text/plain",
".cpp" => "text/plain",
".log" => "text/plain",
".conf" => "text/plain",
".text" => "text/plain",
".txt" => "text/plain",
".dtd" => "text/xml",
".xml" => "text/xml",
".mpeg" => "video/mpeg",
".mpg" => "video/mpeg",
".mov" => "video/quicktime",
".qt" => "video/quicktime",
".avi" => "video/x-msvideo",
".asf" => "video/x-ms-asf",
".asx" => "video/x-ms-asf",
".wmv" => "video/x-ms-wmv",
".bz2" => "application/x-bzip",
".tbz" => "application/x-bzip-compressed-tar",
".tar.bz2" => "application/x-bzip-compressed-tar"
)

#### accesslog module
accesslog.filename = "/opt/var/log/lighttpd/access.log"

## bind to port (default: 80)
server.port = 3000

## error-handler for status 404
#server.error-handler-404 = "/error-handler.html"
#server.error-handler-404 = "/error-handler.php"

## to help the rc.scripts
server.pid-file = "/var/run/lighttpd.pid"

#### CGI module
#cgi.assign = ( ".pl" => "/usr/bin/perl",
#


Hopes anyone can help.
Note when running code ps i get this output:


[admin@(none) lighttpd]$ ps
PID Uid VmSize Stat Command
1 admin 500 S /sbin/init
2 admin SW [keventd]
3 admin SWN [ksoftirqd_CPU0]
4 admin SW [kswapd]
5 admin SW [bdflush]
6 admin SW [kupdated]
7 admin SW [mtdblockd]
50 admin 276 S telnetd
54 admin 336 S httpd
58 admin 352 S udhcpc -i br0 -p /var/run/udhcpc_lan.pid -s /tmp/land
61 admin 292 S klogd
62 admin 332 S syslogd -m 0 -O /tmp/syslog.log -S -l 7
63 admin SW [khubd]
74 admin 272 S lpd
76 admin 228 S p9100d -f /dev/usb/lp0 0
78 admin 228 S p9101d -f /dev/printers/0 1
81 admin 364 S waveservermain
85 admin SW [usb-storage-0]
86 admin SW [scsi_eh_0]
88 admin 312 S infosvr br0
89 admin 468 S watchdog
91 admin 360 S ntp
97 admin SW [kjournald]
110 admin 392 S dropbear
119 admin 680 S dropbear
120 admin 548 S -sh
152 admin 372 R ps



And PID 54 i belive is the lighttpd server. Am I correct or does I fool my self here???


Thanks in advance
Vidar (Z)