[Pkg-raspi-maintainers] ngnix raspberry pi 3 stretch
David Bell
djbell1900 at gmail.com
Tue Nov 7 11:28:25 UTC 2017
Update .........
Followed this and it worked
Step 1: Open /etc/nginx/sites-enabled/default
vim /etc/nginx/sites-enabled/default
Step 2: Comment the below line:
listen [::]:80 default_server;
sorry to bother you
djb
hI,
I have a problem, hope you can help
I installed ngnix successfully.
I then installed ngnix-extra to allow a web cam over the internet
It failed
I then removed ngnix and attempted to reinstall it
I received this ..........
output from "systemctl status nginx.service"
nginx-full
E: Sub-process /usr/bin/dpkg returned an error code (1)
pi at p3web:~ $ journalctl -xe
Nov 07 10:02:29 p3web sudo[4857]: pam_unix(sudo:session): session closed for
user root
Nov 07 10:03:18 p3web sudo[4914]: pi : TTY=pts/0 ; PWD=/home/pi ;
USER=root ; COMMAND=/usr/bin/apt-get update
Nov 07 10:03:18 p3web sudo[4914]: pam_unix(sudo:session): session opened for
user root by (uid=0)
Nov 07 10:03:29 p3web sudo[4914]: pam_unix(sudo:session): session closed for
user root
Nov 07 10:03:33 p3web sshd[5027]: Received disconnect from 121.18.238.119
port 34745:11: [preauth]
Nov 07 10:03:33 p3web sshd[5027]: Disconnected from 121.18.238.119 port
34745 [preauth]
Nov 07 10:03:36 p3web sudo[5029]: pi : TTY=pts/0 ; PWD=/home/pi ;
USER=root ; COMMAND=/usr/bin/apt-get dist-upg
Nov 07 10:03:36 p3web sudo[5029]: pam_unix(sudo:session): session opened for
user root by (uid=0)
Nov 07 10:03:40 p3web sshd[5036]: Received disconnect from 121.18.238.125
port 45469:11: [preauth]
Nov 07 10:03:40 p3web sshd[5036]: Disconnected from 121.18.238.125 port
45469 [preauth]
Nov 07 10:03:51 p3web systemd[1]: Reloading.
Nov 07 10:03:52 p3web systemd[1]: apt-daily-upgrade.timer: Adding 3min
16.298682s random time.
Nov 07 10:03:52 p3web systemd[1]: apt-daily.timer: Adding 7h 42min 497.369ms
random time.
Nov 07 10:03:52 p3web systemd[1]: Starting A high performance web server and
a reverse proxy server...
-- Subject: Unit nginx.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit nginx.service has begun starting up.
Nov 07 10:03:52 p3web nginx[5065]: nginx: [emerg] open()
"/etc/nginx/nginx.conf" failed (2: No such file or directory
Nov 07 10:03:52 p3web nginx[5065]: nginx: configuration file
/etc/nginx/nginx.conf test failed
Nov 07 10:03:52 p3web systemd[1]: nginx.service: Control process exited,
code=exited status=1
Nov 07 10:03:52 p3web systemd[1]: Failed to start A high performance web
server and a reverse proxy server.
-- Subject: Unit nginx.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit nginx.service has failed.
--
-- The result is failed.
Nov 07 10:03:52 p3web systemd[1]: nginx.service: Unit entered failed state.
Nov 07 10:03:52 p3web systemd[1]: nginx.service: Failed with result
'exit-code'.
Nov 07 10:03:54 p3web sudo[5029]: pam_unix(sudo:session): session closed for
user root
Regards,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-raspi-maintainers/attachments/20171107/47ea149c/attachment-0001.html>
More information about the Pkg-raspi-maintainers
mailing list