#Error nginx

26 messages · Page 1 of 1 (latest)

terse atlasBOT
#

@fallen venture; Type sudo nginx -t | nc pteropaste.com 99 or sudo systemctl status nginx to find out more more information.

fallen venture
#

root@Endiorite:~# sudo nginx -t | nc pteropaste.com 99
-bash: nc: command not found
nginx: [emerg] duplicate listen options for [::]:443 in /etc/nginx/sites-enabled/pterodactyl.conf:45
nginx: configuration file /etc/nginx/nginx.conf test failed
root@Endiorite:~#

terse atlasBOT
#

Ah, @fallen venture, you've stumbled into one of the smaller errors in life, unlike that time I went to Rio...

Anyways, you're just missing netcat on your system. We can fix this easily, just run one of the commands below based on your server OS and you should be up and running quicky.

Ubuntu/Debian Systems: apt install -y netcat
CentOS/RHEL: yum install -y nmap-ncat

fallen venture
#

Linux Endiorite 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
-bash: yum: command not found
root@Endiorite:~# apt install -y netcat
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
netcat-openbsd
The following NEW packages will be installed:
netcat netcat-openbsd
0 upgraded, 2 newly installed, 0 to remove and 26 not upgraded.
Need to get 50.8 kB of archives.
After this operation, 130 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 netcat-openbsd amd64 1.217-3 [41.1 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 netcat all 1.10-46
● nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor p> Active: failed (Result: exit-code) since Tue 2023-02-28 20:29:02 CET> Docs: man:nginx(8)
Process: 53471 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; maste> CPU: 12ms
Feb 28 20:29:02 Endiorite systemd[1]: Starting A high performance web ser>Feb 28 20:29:02 Endiorite nginx[53471]: nginx: [emerg] duplicate listen o>Feb 28 20:29:02 Endiorite nginx[53471]: nginx: configuration file /etc/ng>Feb 28 20:29:02 Endiorite systemd[1]: nginx.service: Control process exit>Feb 28 20:29:02 Endiorite systemd[1]: nginx.service: Failed with result '>Feb 28 20:29:02 Endiorite systemd[1]: Failed to start A high performance >~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
lines 1-13/13 (END)...skipping...
● nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor p> Active: failed (Result: exit-code) since Tue 2023-02-28 20:29:02 CET> Docs: man:nginx(8)
Process: 53471 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; maste> CPU: 12ms
Feb 28 20:29:02 Endiorite systemd[1]: Starting A high performance web ser>Feb 28 20:29:02 Endiorite nginx[53471]: nginx: [emerg] duplicate listen o>Feb 28 20:29:02 Endiorite nginx[53471]: nginx: configuration file /etc/ng>Feb 28 20:29:02 Endiorite systemd[1]: nginx.service: Control process exit>Feb 28 20:29:02 Endiorite systemd[1]: nginx.service: Failed with result '>Feb 28 20:29:02 Endiorite systemd[1]: Failed to start A high performance >

#

Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
root@Endiorite:~#

terse atlasBOT
#

@fallen venture; Type sudo nginx -t | nc pteropaste.com 99 or sudo systemctl status nginx to find out more more information.

fallen venture
#

nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor p> Active: failed (Result: exit-code) since Tue 2023-02-28 20:32:10 CET> Docs: man:nginx(8)
CPU: 11ms
Feb 28 20:32:10 Endiorite systemd[1]: Starting A high performance web ser>Feb 28 20:32:10 Endiorite nginx[53834]: nginx: [emerg] duplicate listen o>Feb 28 20:32:10 Endiorite nginx[53834]: nginx: configuration file /etc/ng>Feb 28 20:32:10 Endiorite systemd[1]: nginx.service: Control process exit>Feb 28 20:32:10 Endiorite systemd[1]: nginx.service: Failed with result '>Feb 28 20:32:10 Endiorite systemd[1]: Failed to start A high performance >lines 1-12/12

#

nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor p> Active: failed (Result: exit-code) since Tue 2023-02-28 20:32:10 CET> Docs: man:nginx(8)
CPU: 11ms
Feb 28 20:32:10 Endiorite systemd[1]: Starting A high performance web ser>Feb 28 20:32:10 Endiorite nginx[53834]: nginx: [emerg] duplicate listen o>Feb 28 20:32:10 Endiorite nginx[53834]: nginx: configuration file /etc/ng>Feb 28 20:32:10 Endiorite systemd[1]: nginx.service: Control process exit>Feb 28 20:32:10 Endiorite systemd[1]: nginx.service: Failed with result '>Feb 28 20:32:10 Endiorite systemd[1]: Failed to start A high performance >

#

Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
root@Endiorite:~#

terse atlasBOT
#

@fallen venture; Type sudo nginx -t | nc pteropaste.com 99 or sudo systemctl status nginx to find out more more information.

fallen venture
#

nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor p> Active: failed (Result: exit-code) since Tue 2023-02-28 20:33:23 CET> Docs: man:nginx(8)
Process: 54899 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; maste> CPU: 12ms

#

Feb 28 20:33:23 Endiorite systemd[1]: Starting A high performance web ser>Feb 28 20:33:23 Endiorite nginx[54899]: nginx: [emerg] duplicate listen o>Feb 28 20:33:23 Endiorite nginx[54899]: nginx: configuration file /etc/ng>Feb 28 20:33:23 Endiorite systemd[1]: nginx.service: Control process exit>Feb 28 20:33:23 Endiorite systemd[1]: nginx.service: Failed with result '>Feb 28 20:33:23 Endiorite systemd[1]: Failed to start A high performance >

#

nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor p> Active: failed (Result: exit-code) since Tue 2023-02-28 20:33:23 CET> Docs: man:nginx(8)
Process: 54899 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; maste> CPU: 12ms
Feb 28 20:33:23 Endiorite systemd[1]: Starting A high performance web ser>Feb 28 20:33:23 Endiorite nginx[54899]: nginx: [emerg] duplicate listen o>Feb 28 20:33:23 Endiorite nginx[54899]: nginx: configuration file /etc/ng>Feb 28 20:33:23 Endiorite systemd[1]: nginx.service: Control process exit>Feb 28 20:33:23 Endiorite systemd[1]: nginx.service: Failed with result '>Feb 28 20:33:23 Endiorite systemd[1]: Failed to start A high performance >

#

root@Endiorite:~# apt install -y netcat
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
netcat is already the newest version (1.10-46).
0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.

#

Now ?

#

root@Endiorite:~# systemctl restart nginx
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
root@Endiorite:~#

terse atlasBOT
#

@fallen venture; Type sudo nginx -t | nc pteropaste.com 99 or sudo systemctl status nginx to find out more more information.

fallen venture
#

See "systemctl status nginx.service" and "journalctl -xe" for details.
root@Endiorite:~# sudo nginx -t | nc pteropaste.com 99
nginx: [emerg] duplicate listen options for [::]:443 in /etc/nginx/sites-enabled/pterodactyl.conf:45
nginx: configuration file /etc/nginx/nginx.conf test failed
r

#

root@Endiorite:~# apt install -y netcatSee "systemctl status nginx.service" and "journalctl -xe" for details.
Reading package lists... Donec pteropaste.com
99ilding dependency tree... 50%
nginx: [emerg] duplicate listen options for [::]:443 in /etc/nginx/sites-enabled/pterodactyl.conf:45
nginx: configuration file /etc/nginx/nginx.conf test failed
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package netcatSee
E: Unable to locate package systemctl status nginx.service
E: Unable to locate package journalctl -xe
E: Unable to locate package for
E: Unable to locate package details.
E: Couldn't find any package by glob 'details.'
root@Endiorite:~# root@Endiorite:~# sudo nginx -t | nc pteropaste.com 99
-bash: root@Endiorite:~#: command not found
root@Endiorite:~# nginx: [emerg] duplicate listen options for [::]:443 in
/etc/nginx/sites-enabled/pterodactyl.conf:45
-bash: nginx:: command not found
root@Endiorite:~# nginx: configuration file /etc/nginx/nginx.conf test failed

#

root@Endiorite:~# apt install -y netcatSee "systemctl status nginx.service" and "journalctl -xe" for details.
Reading package lists... Donec pteropaste.com
99ilding dependency tree... 50%
nginx: [emerg] duplicate listen options for [::]:443 in /etc/nginx/sites-enabled/pterodactyl.conf:45
nginx: configuration file /etc/nginx/nginx.conf test failed
Building dependency tree... Done
Reading state information... Done

root@Endiorite:~# nginx: configuration file /etc/nginx/nginx.conf test failed

#

nginx: [emerg] duplicate listen options for [::]:443 in /etc/nginx/sites-enabled/pterodactyl.conf:45
nginx: configuration file /etc/nginx/nginx.conf test failed

#

Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.

terse atlasBOT
#

@fallen venture; Type sudo nginx -t | nc pteropaste.com 99 or sudo systemctl status nginx to find out more more information.

fallen venture
#

nginx: configuration file /etc/nginx/nginx.conf test failed

#

nginx: [emerg] duplicate listen options for [::]:443 in /etc/nginx/sites-enabled/pterodactyl.conf:45

sudden quiver