What's new

Entware [Solved]issue install rtorrent-easy-install( php8 )

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

pem

New Around Here
i use ‘ opkg install rtorrent-easy-install’
S80lighttpd start ----failed

opkg list
ca-bundle - 20211016-1
coreutils - 9.3-1
coreutils-dd - 9.3-1
coreutils-id - 9.3-1
coreutils-stat - 9.3-1
curl - 8.1.1-1
entware-opt - 227000-3
entware-release - 1.0-2
entware-upgrade - 1.0-1
findutils - 4.9.0-1
grep - 3.8-2
gzip - 1.12-1
libatomic - 8.4.0-11
libc - 2.23-11
libcurl - 8.1.1-1
libgcc - 8.4.0-11
libgmp - 6.2.1-1a
libiconv-full - 1.17-1
libncurses - 6.4-2
libncursesw - 6.4-2
libnettle - 3.9-1
libopenssl - 3.0.8-9
libpcre2 - 10.42-1
libpthread - 2.23-11
librt - 2.23-11
libssp - 8.4.0-11
libstdcpp - 8.4.0-11
libxml2 - 2.11.4-1
lighttpd - 1.4.70-1
lighttpd-mod-auth - 1.4.70-1
lighttpd-mod-authn_file - 1.4.70-1
lighttpd-mod-fastcgi - 1.4.70-1
lighttpd-mod-scgi - 1.4.70-1
locales - 2.23-9
opkg - 2022-02-24-d038e5b6-2
php8 - 8.2.6-1
php8-cgi - 8.2.6-1
rtorrent-easy-install - 0.2-6
rtorrent-rpc - 0.9.8-2
rutorrent - 4.1.5-1
rutorrent-plugin-rpc - 4.1.5-1
screen - 4.8.0-2
terminfo - 6.4-2
vim - 9.0-1
xmlrpc-c - 1.51.07-3
xmlrpc-c-common - 1.51.07-3
xmlrpc-c-internal - 1.51.07-3
xmlrpc-c-server - 1.51.07-3
zlib - 1.2.13-1
zoneinfo-asia - 2023c-2
zoneinfo-core - 2023c-2
zoneinfo-europe - 2023c-2

/opt/var/log/lighttpd/error.log

2023-06-13 08:34:09: (../src/server.c.1909) server started (lighttpd/1.4.70)
2023-06-13 08:34:09: (../src/gw_backend.c.526) connect() /tmp/php-fcgi.sock-0: Connection refused
2023-06-13 08:34:09: (../src/gw_backend.c.369) child exited: 127 unix:/tmp/php-fcgi.sock-0
2023-06-13 08:34:09: (../src/gw_backend.c.669) gw-backend failed to start: /opt/bin/php-fcgi
2023-06-13 08:34:09: (../src/gw_backend.c.671) If you're trying to run your app as a FastCGI backend, make sure you're using the FastCGI-enabled version. If this is PHP on Gentoo, add 'fastcgi' to the USE flags. If this is PHP, try removing the bytecode caches for now and try again.
2023-06-13 08:34:09: (../src/gw_backend.c.1741) [ERROR]: spawning gw failed.
2023-06-13 08:34:09: (../src/server.c.1913) Configuration of plugins failed. Going down.

ls /opt/bin/php*

/opt/bin/php-cgi /opt/bin/php-fcgi /opt/bin/php8-cgi /opt/bin/php8-fcgi

entware install by amtm. the version is armv7soft (2.3.36)

It seems the lighttpd not support php8.
 
Just to clarify, you changed the port that lightttpd listens on from 80 to another port? Port 80 is used by the router's WebGUI.
 
Looking at the entware package list (opkg list | grep lighttpd, you may need to install the lighttpd-mod-fastcgi package.
 
Looking at the entware package list (opkg list | grep lighttpd, you may need to install the lighttpd-mod-fastcgi package.
yes,installed

lighttpd - 1.4.70-1
lighttpd-mod-auth - 1.4.70-1
lighttpd-mod-authn_file - 1.4.70-1
lighttpd-mod-fastcgi - 1.4.70-1
lighttpd-mod-scgi - 1.4.70-1
 
Your posted log suggests that lightttpd is having trouble creating/accessing the socket. I ran into a similar situation with NUT. Entware packages are built around OpenWRT. Check the lighttpd config files to make sure lighttpd is not trying to start as a user that simply does not exist in Merlin (in my case with NUT, NUT tries to start as user "root", which does not exist).

A google search certainly suggests you are having a permission issue with the socket file.

Wish I could be more help, but I have never used lighttpd.
 
Your posted log suggests that lightttpd is having trouble creating/accessing the socket. I ran into a similar situation with NUT. Entware packages are built around OpenWRT. Check the lighttpd config files to make sure lighttpd is not trying to start as a user that simply does not exist in Merlin (in my case with NUT, NUT tries to start as user "root", which does not exist).

A google search certainly suggests you are having a permission issue with the socket file.

Wish I could be more help, but I have never used lighttpd.
u use apache or nigux?
 
Nginx. Have used it on both my AC86U and AX86U as a reverse proxy.
 
I would imagine so. According to google, so does lighttpd. As said, your logs suggest an issue with opening the socket file. Not php
 
Out of curiosity, which firmware version are you using? Some other folks are also having issues with the latest version of Transmission on 388.2.2 whereas it works fine on 388.2 and 388.1. There solution too was to use an older ipk version of Transmission.
 
i try to downgrade ipk version. Finally, i foud it is ipk version issue. sovled. thx.
This fixed it for mee too.

For those looking to downgarde.
wget the previous versions of lighttpd, from the archive folder https://bin.entware.net/

In my case armv7sf-k2.6

wget https://bin.entware.net/armv7sf-k2.6/archive/lighttpd_1.4.69-1_armv7-2.6.ipk

lighttpd_1.4.69-1_armv7-2.6.ipk
lighttpd-mod-auth_1.4.69-1_armv7-2.6.ipk
lighttpd-mod-authn_file_1.4.69-1_armv7-2.6.ipk
lighttpd-mod-fastcgi_1.4.69-1_armv7-2.6.ipk
lighttpd-mod-scgi_1.4.69-1_armv7-2.6.ipk

Install with: opkg install packagename --force-downgrade
Do this for all 5

After that
/opt/etc/init.d/S80lighttpd start
Starting lighttpd... done.

To see if its running
/opt/etc/init.d/S80lighttpd check
Checking lighttpd... alive.
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top