Milí majitelé routerů Turris,
toto fórum bylo 9. 12. 2016 zmrazeno a nahrazeno naším novým Turris fórem. Ještě chvíli bude dostupné k prohlížení, ale již zde není možné přispívat. Více informací naleznete v oznámení o uzavření fóra.
Dear Turris routers users,
this forum has been frozen on Dec 9th, 2016 and replaced by our new Turris forum. It will be read-only accessible for some time after. For more information, read the announcement about closing the forum.
netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 4714/smbd
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 4881/unbound
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 4291/sshd
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 4714/smbd
tcp 0 0 :::139 :::* LISTEN 4714/smbd
tcp 0 0 :::53 :::* LISTEN 4881/unbound
tcp 0 0 :::22 :::* LISTEN 4291/sshd
tcp 0 0 :::445 :::* LISTEN 4714/smbd
cat /var/log/lighttpd/error.log
2015-03-24 17:09:25: (log.c.166) server started
2015-03-24 17:09:25: (mod_fastcgi.c.1103) the fastcgi-backend /usr/bin/python /www2/foris.py -s flup failed to start:
2015-03-24 17:09:25: (mod_fastcgi.c.1107) child exited with status 2 /usr/bin/python /www2/foris.py -s flup
2015-03-24 17:09:25: (mod_fastcgi.c.1110) 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.
2015-03-24 17:09:25: (mod_fastcgi.c.1397) [ERROR]: spawning fcgi failed.
2015-03-24 17:09:25: (server.c.964) Configuration of plugins failed. Going down.
# lighttpd -t -f /etc/lighttpd/lighttpd.conf
python
?updater.sh -n
? Ten bude dlouhý, tak raději na michal.vaner@nic.cz.python
je sice nainstalovaný, ale nejde spustit, vypadá dost promazaně.updater.out
má cca 600kB, takže ho pošlu mailem.======================================================= |__ __|| | | || __ \ | __ \ |_ _| / ____| | | | | | || |__) || |__) | | | | (___ | | | | | || _ / | _ / | | \___ \ | | | |__| || | \ \ | | \ \ _| |_ ____) | |_| \____/ |_| \_\|_| \_\|_____||_____/ BARRIER BREAKER (Bleeding Edge, r38891) root@turris /root [1]# python -bash: python: command not found root@turris /root [2]# updater.sh -n &> updater.out root@turris /root [3]# opkg list-installed|grep python python - 2.7.9-4 python-base - 2.7.9-4 python-beaker - 1.6.4-1 python-bottle - 0.12.7-1 python-bottle-i18n - 0.1.5-1 python-flup - 1.0.2-1 python-libatsha204 - 4 python-ncclient - 0.4pre-1 root@turris /root [4]# ll /usr/bin/python2 lrwxrwxrwx 1 root root 9 Mar 24 11:24 /usr/bin/python2 -> python2.7 root@turris /root [5]# ll /usr/bin/python* lrwxrwxrwx 1 root root 9 Mar 24 11:24 /usr/bin/python2 -> python2.7
opkg update && opkg install --force-reinstall python-base python
lighttpd
na portu 80.
Powered by mwForum 2.29.3 © 1999-2013 Markus Wichitill