🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #300562

Re: Anyone know what this nginx error is about?

#300562
From: J.O. Aho
Date: Fri, 02 Nov 2018 07:50
28 lines
2106 bytes
On 11/2/18 2:21 AM, Nomen Nescio wrote:
> Nomen Nescio pretended :
>> root@me/etc/nginx/sites-available# nginx -t && /etc/init.d/nginx restart
>>
>> nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
>> nginx: configuration file /etc/nginx/nginx.conf test is successful
>>
>> [....] Restarting nginx (via systemctl): nginx.serviceJob for
>> nginx.service failed. See 'systemctl status nginx.service' and
>> 'journalctl -xn' for details.
>>  failed!
> 
> 
>  Got it fixed.  And wouldn't you know it, it was a systemd problem. 
> Something had connected to ports 80 and 443 outside of the systemd
> perview and systemd wouldn't allow a restart of nginx.

Nothing to do with systemd as systemd will try to start the service,
this is how port listening works in Linux, one instance at the time can
listen to a port, when nginx (in this case) can't open port 80/443 then
it will exit.

The reason to avoid systemd is that it's a big security vulnerability
risk and it eats up GNU applications.

-- 

 //Aho
Technical Details
Message-ID: <g42ducFtkqdU1@mid.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.misc.(214482).mbox.7z!not-for-mail
References: <prf07s$bjr$1@news.mixmin.net> <prg8qs$mkv$1@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <g42ducFtkqdU1@mid.individual.net>
Subject: Re: Anyone know what this nginx error is about?
Date: Fri, 2 Nov 2018 08:50:36 +0100
From: "J.O. Aho" <user@example.net>
References: <prf07s$bjr$1@news.mixmin.net> <prg8qs$mkv$1@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.misc.(214482).mbox.7z!not-for-mail
Newsgroups: alt.privacy.anon-server,alt.os.linux,comp.os.linux.misc
Lines: 28
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net FQzRBocrKGJC6WgPYYkA7wC5w9QW73hQE5ki05TYak6mPJK46p
Cancel-Lock: sha1:hSPmuwh7ow+aBP5HlQmaC06kOjI=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.0
In-Reply-To: <prg8qs$mkv$1@news.mixmin.net>
Content-Language: en-GB
X-Received-Bytes: 1936
X-Received-Body-CRC: 586488387