PINE64

Full Version: lighttpd
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Ubuntu newbie here.  Loaded lighttpd  (apt-get) and it failed.

Pine64 2gb memory
NEW Ubuntu Pine64 ML-Anderal.img

lighttpd failed

Apr 19 11:47:57 TMS-160 systemd[1]: Starting Lighttpd Daemon...
-- Subject: Unit lighttpd.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/lis...temd-devel
--
-- Unit lighttpd.service has begun starting up.
Apr 19 11:47:57 TMS-160 lighttpd[13991]: /usr/sbin/lighttpd: symbol lookup error: /usr/sbin/lighttpd: undefined symbol: FAMNoExists
Apr 19 11:47:58 TMS-160 systemd[1]: lighttpd.service: Control process exited, code=exited status=127
Apr 19 11:47:58 TMS-160 systemd[1]: Failed to start Lighttpd Daemon.
-- Subject: Unit lighttpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/lis...temd-devel
--
-- Unit lighttpd.service has failed.
--
-- The result is failed.
Apr 19 11:47:58 TMS-160 systemd[1]: lighttpd.service: Unit entered failed state.
Apr 19 11:47:58 TMS-160 systemd[1]: lighttpd.service: Failed with result 'exit-code'.

FWIW, I uninstalled lighttpd and installed apache2
It is working fine.

Thank you
Mhm works fine here. What image is that which you installed. I would suggest you do not use images from "somewhere" which do not even have a version number.

Code:
root@pine64-2gb:~# systemctl status lighttpd
● lighttpd.service - Lighttpd Daemon
  Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset:
  Active: active (running) since Tue 2016-04-19 19:27:05 UTC; 46s ago
Main PID: 20237 (lighttpd)
  CGroup: /system.slice/lighttpd.service
          └─20237 /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf

Apr 19 19:27:04 pine64-2gb systemd[1]: Starting Lighttpd Daemon...
Apr 19 19:27:05 pine64-2gb lighttpd[20230]: Syntax OK
Apr 19 19:27:05 pine64-2gb systemd[1]: Started Lighttpd Daemon.

root@pine64-2gb:~# apt-get install lighttpd
Reading package lists... Done
Building dependency tree        
Reading state information... Done
The following packages were automatically installed and are no longer required:
 libnih1 libnl-route-3-200 seccomp ubuntu-core-security-apparmor
 ubuntu-core-security-seccomp ubuntu-core-security-utils ubuntu-snappy-cli
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
 gamin libgamin0 libterm-readkey-perl libterm-readline-perl-perl spawn-fcgi
Suggested packages:
 rrdtool apache2-utils
The following NEW packages will be installed:
 gamin libgamin0 libterm-readkey-perl libterm-readline-perl-perl lighttpd
 spawn-fcgi

root@pine64-2gb:~# ps ax|grep lighttp
20237 ?        Ss     0:00 /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
(04-19-2016, 01:06 PM)wymand Wrote: [ -> ]Ubuntu newbie here.  Loaded lighttpd  (apt-get) and it failed.

Pine64 2gb memory
NEW Ubuntu Pine64 ML-Anderal.img

lighttpd failed

Apr 19 11:47:57 TMS-160 systemd[1]: Starting Lighttpd Daemon...
-- Subject: Unit lighttpd.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/lis...temd-devel
--
-- Unit lighttpd.service has begun starting up.
Apr 19 11:47:57 TMS-160 lighttpd[13991]: /usr/sbin/lighttpd: symbol lookup error: /usr/sbin/lighttpd: undefined symbol: FAMNoExists
Apr 19 11:47:58 TMS-160 systemd[1]: lighttpd.service: Control process exited, code=exited status=127
Apr 19 11:47:58 TMS-160 systemd[1]: Failed to start Lighttpd Daemon.
-- Subject: Unit lighttpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/lis...temd-devel
--
-- Unit lighttpd.service has failed.
--
-- The result is failed.
Apr 19 11:47:58 TMS-160 systemd[1]: lighttpd.service: Unit entered failed state.
Apr 19 11:47:58 TMS-160 systemd[1]: lighttpd.service: Failed with result 'exit-code'.

FWIW, I uninstalled lighttpd and installed apache2
It is working fine.

Thank you

Bug ref. https://bugs.launchpad.net/ubuntu/+sourc...ug/1453463

You have to install gamin.
Code:
sudo apt-get install gamin
(04-19-2016, 01:30 PM)longsleep Wrote: [ -> ]Mhm works fine here. What image is that which you installed. I would suggest you do not use images from "somewhere" which do not even have a version number.

Code:
root@pine64-2gb:~# systemctl status lighttpd
● lighttpd.service - Lighttpd Daemon
  Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset:
  Active: active (running) since Tue 2016-04-19 19:27:05 UTC; 46s ago
Main PID: 20237 (lighttpd)
  CGroup: /system.slice/lighttpd.service
          └─20237 /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf

Apr 19 19:27:04 pine64-2gb systemd[1]: Starting Lighttpd Daemon...
Apr 19 19:27:05 pine64-2gb lighttpd[20230]: Syntax OK
Apr 19 19:27:05 pine64-2gb systemd[1]: Started Lighttpd Daemon.

root@pine64-2gb:~# apt-get install lighttpd
Reading package lists... Done
Building dependency tree        
Reading state information... Done
The following packages were automatically installed and are no longer required:
 libnih1 libnl-route-3-200 seccomp ubuntu-core-security-apparmor
 ubuntu-core-security-seccomp ubuntu-core-security-utils ubuntu-snappy-cli
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
 gamin libgamin0 libterm-readkey-perl libterm-readline-perl-perl spawn-fcgi
Suggested packages:
 rrdtool apache2-utils
The following NEW packages will be installed:
 gamin libgamin0 libterm-readkey-perl libterm-readline-perl-perl lighttpd
 spawn-fcgi

root@pine64-2gb:~# ps ax|grep lighttp
20237 ?        Ss     0:00 /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
I am using the only image that works with the pine64 large memory version uploaded 04/17 from the Pine64.com web site link
Lighttpd failed with the error and rather than fight it and with the power of the pine64 I decided to go with Apache2 which works

(04-19-2016, 03:34 PM)jozzy answered Wrote: [ -> ]Bug ref. https://bugs.launchpad.net/ubuntu/+sourc...ug/1453463

You have to install gamin.
Code:
sudo apt-get install gamin

Thank You Jozzy I am loading it.  I am not sure if it will be needed as I will probably stay with Apache2
I will be replacing a Debial i386 power hungry server with the pine64 and it will run headless at my main
network star junction and will (hopefully) be recording about 15 network cameras to disk and acting as
a stream server.  So far all is good
(04-19-2016, 04:11 PM)wymand Wrote: [ -> ]I am using the only image that works with the pine64 large memory version uploaded 04/17 from the Pine64.com web site link

So obviously there's something really wrong with the Pine64.com site when no one can find the good OS images when starting from there?
(04-20-2016, 03:06 AM)tkaiser Wrote: [ -> ]
(04-19-2016, 04:11 PM)wymand Wrote: [ -> ]I am using the only image that works with the pine64 large memory version uploaded 04/17 from the Pine64.com web site link

So obviously there's something really wrong with the Pine64.com site when no one can find the good OS images when starting from there?

I think it is more that the advanced properties of the board are such that it takes some time to port the OS
to the new hardware.  As an old (73) ASM programmer I know how much of a pain it can be to port software
to new hardware.  I think the Pine64 crew and the volunteer programmers have come a long way to getting
it all to work smoothly.