Project

General

Profile

[Solved] undefined symbol: FAMNoExis | Failed to start Lighttpd Daemon

Added by uglybug about 6 years ago

os: ubuntu_1604
lighttpd version (1.4.35-4ubuntu2)
using default lighttpd.conf - shown at end of this posting.

i know these are basic Q's but have spent days trying & reading too many forums, books.
the issue occurs during initial setup|install of the package.

Q#1:
while it seems there is a variable called "FAMNoExis" that is undefined which is causing a problem,
i have no idea how to go about finding where it is being declared or how to fix.

Q#2:
part a:
the lighttpd.list file is empty & maybe that's because lighttpd hasn't been set up yet.
but could you explain why file system permissions would causes this warning to occur.

WARNING:root:could not open file '/etc/apt/sources.list.d/lighttpd.list'

i have been struggling to understand if this is a directory permission issue higher up in the directory chain.
or is it more of a file permission issue.
i ask because when not in terminal but on desktop in file-cabinet no matter what permissions i give in terminal, ie:
-rwxrwxrwx there is nothing i am allowed to do to the file, can't edit, copy, rename.

Q#2:
part b:
i have a couple books on linux but can't find what the "*" on the end of the filename represents such as shown in output below.

/-rwxr----- 1 root root 0 二 11 05:21 lighttpd.list*

after setup got the following from journalctl -xe

i pasted what seemed to be the most relevant parts of the output.
is there other output that i should have provided ???

Unit lighttpd.service has begun starting up.
二 11 11:37:11 ubuntu_1604 lighttpd9493: /usr/sbin/lighttpd: symbol lookup error: /usr/sbin/lighttpd: undefined
二 11 11:37:11 ubuntu_1604 systemd1: lighttpd.service: Control process exited, code=exited status=127
二 11 11:37:11 ubuntu_1604 systemd1: Failed to start Lighttpd Daemon.
-- Subject: Unit lighttpd.service has failed
-- Defined-By: systemd
& this is the line where "FAMNoExis" shows up
11 11:37:11 ubuntu_1604 lighttpd: /usr/sbin/lighttpd: symbol lookup error: /usr/sbin/lighttpd: undefined symbol: FAMNoExis
二 11 11:37:11 ubuntu_1604 systemd: lighttpd.service: Control process exited, code=exited status=127
二 11 11:37:11 ubuntu_1604 systemd: Failed to start Lighttpd Daemon.
-- Subject: Unit lighttpd.service has failed
-- Defined-By: systemd

using default lighttpd.conf file:

server.modules = (
"mod_access",
"mod_alias",
"mod_compress",
"mod_redirect",
  1. "mod_rewrite",
    )

server.document-root = "/var/www/html"
server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
server.errorlog = "/var/log/lighttpd/error.log"
server.pid-file = "/var/run/lighttpd.pid"
server.username = "www-data"
server.groupname = "www-data"
server.port = 80

index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )
url.access-deny = ( "~", ".inc" )
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )

compress.cache-dir = "/var/cache/lighttpd/compress/"
compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" )

  1. default listening port for IPv6 falls back to the IPv4 port
    1. Use ipv6 if available
      #include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
      include_shell "/usr/share/lighttpd/create-mime.assign.pl"
      include_shell "/usr/share/lighttpd/include-conf-enabled.pl"

Replies (1)

RE: undefined symbol: FAMNoExis | Failed to start Lighttpd Daemon - Added by gstrauss about 6 years ago

Have you tried Ubuntu's forums? First hit on google:
https://bugs.launchpad.net/ubuntu/+source/lighttpd/+bug/1453463

Second hit on google is this forum, which you apparently did not search, either
https://redmine.lighttpd.net/boards/2/topics/7488

    (1-1/1)