Fixed
Created: Mar 7, 2016
Updated: Sep 8, 2018
Resolved Date: Mar 10, 2016
Found In Version: 7.0.0.12
Fix Version: 7.0.0.14
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace
after target booted up, you can see the service is failed, and restart the service manually does not work.
root@WR-IDP-F6B9:~# systemctl status lighttpd -l
\ufffd\ufffd lighttpd.service - Lightning Fast Webserver With Light System Requirements
Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled)
Active: failed (Result: exit-code) since Mon 2016-02-22 06:04:51 UTC; 5min ago
Process: 2677 ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd.conf (code=exited, status=255)
Process: 2611 ExecStartPre=/usr/sbin/lighttpd -t -f /etc/lighttpd.conf (code=exited, status=0/SUCCESS)
Main PID: 2677 (code=exited, status=255)
Feb 22 06:04:50 WR-IDP-F6B9 lighttpd[2611]: Syntax OK
Feb 22 06:04:50 WR-IDP-F6B9 systemd[1]: Started Lightning Fast Webserver With Light System Requirements.
Feb 22 06:04:51 WR-IDP-F6B9 lighttpd[2677]: 2016-02-22 06:04:50: (/id23_gigabyte/bitbake_build/tmp/work/corei7-64-wrs-linux/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/plugin.c.169) dlopen() failed for: /usr/lib64/mod_cgi.so /usr/lib64/mod_cgi.so: cannot open shared object file: No such file or directory
Feb 22 06:04:51 WR-IDP-F6B9 lighttpd[2677]: 2016-02-22 06:04:50: (/id23_gigabyte/bitbake_build/tmp/work/corei7-64-wrs-linux/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/server.c.679) loading plugins finally failed
Feb 22 06:04:51 WR-IDP-F6B9 systemd[1]: lighttpd.service: main process exited, code=exited, status=255/n/a
Feb 22 06:04:51 WR-IDP-F6B9 systemd[1]: Unit lighttpd.service entered failed state.
root@WR-IDP-F6B9:~# systemctl restart lighttpd
root@WR-IDP-F6B9:~# systemctl status lighttpd -l
\ufffd\ufffd lighttpd.service - Lightning Fast Webserver With Light System Requirements
Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled)
Active: failed (Result: exit-code) since Mon 2016-02-22 06:10:03 UTC; 1s ago
Process: 4178 ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd.conf (code=exited, status=255)
Process: 4176 ExecStartPre=/usr/sbin/lighttpd -t -f /etc/lighttpd.conf (code=exited, status=0/SUCCESS)
Main PID: 4178 (code=exited, status=255)
Feb 22 06:10:03 WR-IDP-F6B9 lighttpd[4176]: Syntax OK
Feb 22 06:10:03 WR-IDP-F6B9 systemd[1]: Started Lightning Fast Webserver With Light System Requirements.
Feb 22 06:10:03 WR-IDP-F6B9 lighttpd[4178]: 2016-02-22 06:10:03: (/id23_gigabyte/bitbake_build/tmp/work/corei7-64-wrs-linux/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/plugin.c.169) dlopen() failed for: /usr/lib64/mod_cgi.so /usr/lib64/mod_cgi.so: cannot open shared object file: No such file or directory
Feb 22 06:10:03 WR-IDP-F6B9 lighttpd[4178]: 2016-02-22 06:10:03: (/id23_gigabyte/bitbake_build/tmp/work/corei7-64-wrs-linux/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/server.c.679) loading plugins finally failed
Feb 22 06:10:03 WR-IDP-F6B9 systemd[1]: lighttpd.service: main process exited, code=exited, status=255/n/a
Feb 22 06:10:03 WR-IDP-F6B9 systemd[1]: Unit lighttpd.service entered failed state.
root@WR-IDP-F6B9:~#
1. configure --enable-board=intel-baytrail-64 --enable-kernel=standard --enable-rootfs=glibc-std --enable-reconfig --with-layer=wr-hac-agent --with-template=feature/haccmds,feature/hacweb --enable-internet-download=yes
2. boot target
3. check the service status by:
systemctl status lighttpd