Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Meekness: Uncommon patience in planning a revenge that is worth while. -- Ambrose Bierce


devel / comp.infosystems.www.servers.unix / graceful restart ignore ports.conf

SubjectAuthor
* graceful restart ignore ports.confFrédéric Deghetto
`* Re: graceful restart ignore ports.confThe Doctor
 `* Re: graceful restart ignore ports.confFrédéric Deghetto
  `* Re: graceful restart ignore ports.confFrédéric Deghetto
   `- Re: graceful restart ignore ports.confFrédéric Deghetto

1
graceful restart ignore ports.conf

<9027160f-ed69-4b33-802b-19f95b3719c3n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=76&group=comp.infosystems.www.servers.unix#76

  copy link   Newsgroups: comp.infosystems.www.servers.unix
X-Received: by 2002:a05:622a:5c89:b0:3ab:a3d9:c5d3 with SMTP id ge9-20020a05622a5c8900b003aba3d9c5d3mr1980936qtb.376.1673244680524;
Sun, 08 Jan 2023 22:11:20 -0800 (PST)
X-Received: by 2002:a05:6808:2103:b0:35e:1e36:e220 with SMTP id
r3-20020a056808210300b0035e1e36e220mr3060621oiw.75.1673244680100; Sun, 08 Jan
2023 22:11:20 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.infosystems.www.servers.unix
Date: Sun, 8 Jan 2023 22:11:19 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=185.251.8.13; posting-account=2rQouQoAAAASDisqJhCI1dUdlexRXNkg
NNTP-Posting-Host: 185.251.8.13
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9027160f-ed69-4b33-802b-19f95b3719c3n@googlegroups.com>
Subject: graceful restart ignore ports.conf
From: frederic...@gmail.com (Frédéric Deghetto)
Injection-Date: Mon, 09 Jan 2023 06:11:20 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2944
 by: Frédéric Deghetto - Mon, 9 Jan 2023 06:11 UTC

Hi,

Since few days every graceful restart, initiated by logrotate (every 12 hours), endup to :
[Sun Jan 08 22:21:19.381860 2023] [mpm_prefork:notice] [pid 155072] AH00171: Graceful restart requested, doing restart
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
[Sun Jan 08 22:21:19.410297 2023] [mpm_prefork:alert] [pid 155072] no listening sockets available, shutting down
[Sun Jan 08 22:21:19.410316 2023] [:emerg] [pid 155072] AH00019: Unable to open logs, exiting
[Sun Jan 08 22:21:24.020382 2023] [core:warn] [pid 275707] AH00098: pid file /var/run/apache2/apache2.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Jan 08 22:21:24.027850 2023] [mpm_prefork:notice] [pid 275707] AH00163: Apache/2.4.54 (Debian) configured -- resuming normal operations
[Sun Jan 08 22:21:24.029115 2023] [core:notice] [pid 275707] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jan 08 22:21:24.428695 2023] [mpm_prefork:notice] [pid 275707] AH00169: caught SIGTERM, shutting down

I don't understand why apache tries a graceful restart on port 80 as, in /etc/apache2/ports.conf I have this:
------------------------------------------
Listen 81

<IfModule ssl_module>
Listen 443
</IfModule>

<IfModule mod_gnutls.c>
Listen 443
</IfModule>
------------------------------------------
Listen is 81 as haproxy is on 80.

A normal apache2 start or restart is OK as expected, ending up on httpd listening on port 81.

I have the feeling there is something wrong with a script or ?

FYI, some more data:
- Linux serveur 5.15.84-v8+ #1613 SMP PREEMPT Thu Jan 5 12:03:08 GMT 2023 aarch64 GNU/Linux
- Server version: Apache/2.4.54 (Debian)
- Server built: 2022-06-09T04:26:43
- Raspberry pi OS: debian version 11.6

Many thanks,
Frederic

Re: graceful restart ignore ports.conf

<tpgbkp$157n$3@gallifrey.nk.ca>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=77&group=comp.infosystems.www.servers.unix#77

  copy link   Newsgroups: comp.infosystems.www.servers.unix
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.nk.ca!.POSTED.doctor.nl2k.ab.ca!not-for-mail
From: doc...@doctor.nl2k.ab.ca (The Doctor)
Newsgroups: comp.infosystems.www.servers.unix
Subject: Re: graceful restart ignore ports.conf
Date: Mon, 9 Jan 2023 06:19:05 -0000 (UTC)
Organization: NetKnow News
Message-ID: <tpgbkp$157n$3@gallifrey.nk.ca>
References: <9027160f-ed69-4b33-802b-19f95b3719c3n@googlegroups.com>
Injection-Date: Mon, 9 Jan 2023 06:19:05 -0000 (UTC)
Injection-Info: gallifrey.nk.ca; posting-host="doctor.nl2k.ab.ca:204.209.81.1";
logging-data="38135"; mail-complaints-to="usenet@gallifrey.nk.ca"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: doctor@doctor.nl2k.ab.ca (The Doctor)
 by: The Doctor - Mon, 9 Jan 2023 06:19 UTC

In article <9027160f-ed69-4b33-802b-19f95b3719c3n@googlegroups.com>,
Frédéric Deghetto <frederic.deghetto@gmail.com> wrote:
>Hi,
>
>Since few days every graceful restart, initiated by logrotate (every 12
>hours), endup to :
>[Sun Jan 08 22:21:19.381860 2023] [mpm_prefork:notice] [pid 155072]
>AH00171: Graceful restart requested, doing restart
>(98)Address already in use: AH00072: make_sock: could not bind to
>address [::]:80
>(98)Address already in use: AH00072: make_sock: could not bind to
>address 0.0.0.0:80
>[Sun Jan 08 22:21:19.410297 2023] [mpm_prefork:alert] [pid 155072] no
>listening sockets available, shutting down
>[Sun Jan 08 22:21:19.410316 2023] [:emerg] [pid 155072] AH00019: Unable
>to open logs, exiting
>[Sun Jan 08 22:21:24.020382 2023] [core:warn] [pid 275707] AH00098: pid
>file /var/run/apache2/apache2.pid overwritten -- Unclean shutdown of
>previous Apache run?
>[Sun Jan 08 22:21:24.027850 2023] [mpm_prefork:notice] [pid 275707]
>AH00163: Apache/2.4.54 (Debian) configured -- resuming normal operations
>[Sun Jan 08 22:21:24.029115 2023] [core:notice] [pid 275707] AH00094:
>Command line: '/usr/sbin/apache2'
>[Sun Jan 08 22:21:24.428695 2023] [mpm_prefork:notice] [pid 275707]
>AH00169: caught SIGTERM, shutting down
>
>I don't understand why apache tries a graceful restart on port 80 as, in
>/etc/apache2/ports.conf I have this:
>------------------------------------------
>Listen 81
>
><IfModule ssl_module>
> Listen 443
></IfModule>
>
><IfModule mod_gnutls.c>
> Listen 443
></IfModule>
>------------------------------------------
>Listen is 81 as haproxy is on 80.
>
>A normal apache2 start or restart is OK as expected, ending up on httpd
>listening on port 81.
>
>I have the feeling there is something wrong with a script or ?
>
>FYI, some more data:
>- Linux serveur 5.15.84-v8+ #1613 SMP PREEMPT Thu Jan 5 12:03:08 GMT
>2023 aarch64 GNU/Linux
>- Server version: Apache/2.4.54 (Debian)
>- Server built: 2022-06-09T04:26:43
>- Raspberry pi OS: debian version 11.6
>
>Many thanks,
>Frederic

Debian? You might have to readd modules.
--
Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b
Birthdate: 29 Jan 1969 Redhill, Surrey, England Beware https://mindspring.com

Re: graceful restart ignore ports.conf

<a5956162-1d0e-44be-b5a4-1ff647d730a4n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=78&group=comp.infosystems.www.servers.unix#78

  copy link   Newsgroups: comp.infosystems.www.servers.unix
X-Received: by 2002:a37:ac1a:0:b0:705:b123:aacd with SMTP id e26-20020a37ac1a000000b00705b123aacdmr505756qkm.175.1673245794522;
Sun, 08 Jan 2023 22:29:54 -0800 (PST)
X-Received: by 2002:aca:bc8b:0:b0:363:976b:9305 with SMTP id
m133-20020acabc8b000000b00363976b9305mr1829291oif.274.1673245794192; Sun, 08
Jan 2023 22:29:54 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!border-1.nntp.ord.giganews.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.infosystems.www.servers.unix
Date: Sun, 8 Jan 2023 22:29:53 -0800 (PST)
In-Reply-To: <tpgbkp$157n$3@gallifrey.nk.ca>
Injection-Info: google-groups.googlegroups.com; posting-host=185.251.8.13; posting-account=2rQouQoAAAASDisqJhCI1dUdlexRXNkg
NNTP-Posting-Host: 185.251.8.13
References: <9027160f-ed69-4b33-802b-19f95b3719c3n@googlegroups.com> <tpgbkp$157n$3@gallifrey.nk.ca>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a5956162-1d0e-44be-b5a4-1ff647d730a4n@googlegroups.com>
Subject: Re: graceful restart ignore ports.conf
From: frederic...@gmail.com (Frédéric Deghetto)
Injection-Date: Mon, 09 Jan 2023 06:29:54 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 106
 by: Frédéric Deghetto - Mon, 9 Jan 2023 06:29 UTC

Le lundi 9 janvier 2023 à 07:19:07 UTC+1, The Doctor a écrit :
> In article <9027160f-ed69-4b33...@googlegroups.com>,
> Frédéric Deghetto <frederic...@gmail.com> wrote:
> >Hi,
> >
> >Since few days every graceful restart, initiated by logrotate (every 12
> >hours), endup to :
> >[Sun Jan 08 22:21:19.381860 2023] [mpm_prefork:notice] [pid 155072]
> >AH00171: Graceful restart requested, doing restart
> >(98)Address already in use: AH00072: make_sock: could not bind to
> >address [::]:80
> >(98)Address already in use: AH00072: make_sock: could not bind to
> >address 0.0.0.0:80
> >[Sun Jan 08 22:21:19.410297 2023] [mpm_prefork:alert] [pid 155072] no
> >listening sockets available, shutting down
> >[Sun Jan 08 22:21:19.410316 2023] [:emerg] [pid 155072] AH00019: Unable
> >to open logs, exiting
> >[Sun Jan 08 22:21:24.020382 2023] [core:warn] [pid 275707] AH00098: pid
> >file /var/run/apache2/apache2.pid overwritten -- Unclean shutdown of
> >previous Apache run?
> >[Sun Jan 08 22:21:24.027850 2023] [mpm_prefork:notice] [pid 275707]
> >AH00163: Apache/2.4.54 (Debian) configured -- resuming normal operations
> >[Sun Jan 08 22:21:24.029115 2023] [core:notice] [pid 275707] AH00094:
> >Command line: '/usr/sbin/apache2'
> >[Sun Jan 08 22:21:24.428695 2023] [mpm_prefork:notice] [pid 275707]
> >AH00169: caught SIGTERM, shutting down
> >
> >I don't understand why apache tries a graceful restart on port 80 as, in
> >/etc/apache2/ports.conf I have this:
> >------------------------------------------
> >Listen 81
> >
> ><IfModule ssl_module>
> > Listen 443
> ></IfModule>
> >
> ><IfModule mod_gnutls.c>
> > Listen 443
> ></IfModule>
> >------------------------------------------
> >Listen is 81 as haproxy is on 80.
> >
> >A normal apache2 start or restart is OK as expected, ending up on httpd
> >listening on port 81.
> >
> >I have the feeling there is something wrong with a script or ?
> >
> >FYI, some more data:
> >- Linux serveur 5.15.84-v8+ #1613 SMP PREEMPT Thu Jan 5 12:03:08 GMT
> >2023 aarch64 GNU/Linux
> >- Server version: Apache/2.4.54 (Debian)
> >- Server built: 2022-06-09T04:26:43
> >- Raspberry pi OS: debian version 11.6
> >
> >Many thanks,
> >Frederic
> Debian? You might have to readd modules.
> --
> Member - Liberal International This is doc...@nk.ca Ici doc...@nk.ca
> Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
> Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b
> Birthdate: 29 Jan 1969 Redhill, Surrey, England Beware https://mindspring..com
You mean the enabled modules ?
Here what I have:
Loaded Modules:
core_module (static)
so_module (static)
watchdog_module (static)
http_module (static)
log_config_module (static)
logio_module (static)
version_module (static)
unixd_module (static)
access_compat_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_core_module (shared)
authn_file_module (shared)
authz_core_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
filter_module (shared)
headers_module (shared)
mime_module (shared)
mpm_prefork_module (shared)
negotiation_module (shared)
proxy_module (shared)
proxy_fcgi_module (shared)
reqtimeout_module (shared)
rewrite_module (shared)
setenvif_module (shared)
socache_shmcb_module (shared)
status_module (shared)

Re: graceful restart ignore ports.conf

<1a1205bb-c5dd-44c9-9944-ae4f556eda58n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=79&group=comp.infosystems.www.servers.unix#79

  copy link   Newsgroups: comp.infosystems.www.servers.unix
X-Received: by 2002:a37:a84b:0:b0:6ff:9543:d534 with SMTP id r72-20020a37a84b000000b006ff9543d534mr2576686qke.676.1673254053648;
Mon, 09 Jan 2023 00:47:33 -0800 (PST)
X-Received: by 2002:a54:4088:0:b0:35b:b54d:19a with SMTP id
i8-20020a544088000000b0035bb54d019amr3309064oii.242.1673254053252; Mon, 09
Jan 2023 00:47:33 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.infosystems.www.servers.unix
Date: Mon, 9 Jan 2023 00:47:33 -0800 (PST)
In-Reply-To: <a5956162-1d0e-44be-b5a4-1ff647d730a4n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=185.251.8.88; posting-account=2rQouQoAAAASDisqJhCI1dUdlexRXNkg
NNTP-Posting-Host: 185.251.8.88
References: <9027160f-ed69-4b33-802b-19f95b3719c3n@googlegroups.com>
<tpgbkp$157n$3@gallifrey.nk.ca> <a5956162-1d0e-44be-b5a4-1ff647d730a4n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1a1205bb-c5dd-44c9-9944-ae4f556eda58n@googlegroups.com>
Subject: Re: graceful restart ignore ports.conf
From: frederic...@gmail.com (Frédéric Deghetto)
Injection-Date: Mon, 09 Jan 2023 08:47:33 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 5640
 by: Frédéric Deghetto - Mon, 9 Jan 2023 08:47 UTC

Le lundi 9 janvier 2023 à 07:29:55 UTC+1, Frédéric Deghetto a écrit :
> Le lundi 9 janvier 2023 à 07:19:07 UTC+1, The Doctor a écrit :
> > In article <9027160f-ed69-4b33...@googlegroups.com>,
> > Frédéric Deghetto <frederic...@gmail.com> wrote:
> > >Hi,
> > >
> > >Since few days every graceful restart, initiated by logrotate (every 12
> > >hours), endup to :
> > >[Sun Jan 08 22:21:19.381860 2023] [mpm_prefork:notice] [pid 155072]
> > >AH00171: Graceful restart requested, doing restart
> > >(98)Address already in use: AH00072: make_sock: could not bind to
> > >address [::]:80
> > >(98)Address already in use: AH00072: make_sock: could not bind to
> > >address 0.0.0.0:80
> > >[Sun Jan 08 22:21:19.410297 2023] [mpm_prefork:alert] [pid 155072] no
> > >listening sockets available, shutting down
> > >[Sun Jan 08 22:21:19.410316 2023] [:emerg] [pid 155072] AH00019: Unable
> > >to open logs, exiting
> > >[Sun Jan 08 22:21:24.020382 2023] [core:warn] [pid 275707] AH00098: pid
> > >file /var/run/apache2/apache2.pid overwritten -- Unclean shutdown of
> > >previous Apache run?
> > >[Sun Jan 08 22:21:24.027850 2023] [mpm_prefork:notice] [pid 275707]
> > >AH00163: Apache/2.4.54 (Debian) configured -- resuming normal operations
> > >[Sun Jan 08 22:21:24.029115 2023] [core:notice] [pid 275707] AH00094:
> > >Command line: '/usr/sbin/apache2'
> > >[Sun Jan 08 22:21:24.428695 2023] [mpm_prefork:notice] [pid 275707]
> > >AH00169: caught SIGTERM, shutting down
> > >
> > >I don't understand why apache tries a graceful restart on port 80 as, in
> > >/etc/apache2/ports.conf I have this:
> > >------------------------------------------
> > >Listen 81
> > >
> > ><IfModule ssl_module>
> > > Listen 443
> > ></IfModule>
> > >
> > ><IfModule mod_gnutls.c>
> > > Listen 443
> > ></IfModule>
> > >------------------------------------------
> > >Listen is 81 as haproxy is on 80.
> > >
> > >A normal apache2 start or restart is OK as expected, ending up on httpd
> > >listening on port 81.
> > >
> > >I have the feeling there is something wrong with a script or ?
> > >
> > >FYI, some more data:
> > >- Linux serveur 5.15.84-v8+ #1613 SMP PREEMPT Thu Jan 5 12:03:08 GMT
> > >2023 aarch64 GNU/Linux
> > >- Server version: Apache/2.4.54 (Debian)
> > >- Server built: 2022-06-09T04:26:43
> > >- Raspberry pi OS: debian version 11.6
> > >
> > >Many thanks,
> > >Frederic
> > Debian? You might have to readd modules.
> > --
> > Member - Liberal International This is doc...@nk.ca Ici doc...@nk.ca
> > Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
> > Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b
> > Birthdate: 29 Jan 1969 Redhill, Surrey, England Beware https://mindspring.com
> You mean the enabled modules ?
> Here what I have:
> Loaded Modules:
> core_module (static)
> so_module (static)
> watchdog_module (static)
> http_module (static)
> log_config_module (static)
> logio_module (static)
> version_module (static)
> unixd_module (static)
> access_compat_module (shared)
> alias_module (shared)
> auth_basic_module (shared)
> authn_core_module (shared)
> authn_file_module (shared)
> authz_core_module (shared)
> authz_host_module (shared)
> authz_user_module (shared)
> autoindex_module (shared)
> deflate_module (shared)
> dir_module (shared)
> env_module (shared)
> filter_module (shared)
> headers_module (shared)
> mime_module (shared)
> mpm_prefork_module (shared)
> negotiation_module (shared)
> proxy_module (shared)
> proxy_fcgi_module (shared)
> reqtimeout_module (shared)
> rewrite_module (shared)
> setenvif_module (shared)
> socache_shmcb_module (shared)
> status_module (shared)

I had /etc/apache2/sites-enabled/000-default.conf pointing on port 80 for virtualhost. I have changed it to 81.
I have seen this with apachectl -S.
I keep you in touch in test in progress

Re: graceful restart ignore ports.conf

<5851a617-25ff-4f86-8cd4-5994d2b5d21cn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=80&group=comp.infosystems.www.servers.unix#80

  copy link   Newsgroups: comp.infosystems.www.servers.unix
X-Received: by 2002:a05:620a:4e1:b0:6fe:df47:44f5 with SMTP id b1-20020a05620a04e100b006fedf4744f5mr3599357qkh.416.1673328457745;
Mon, 09 Jan 2023 21:27:37 -0800 (PST)
X-Received: by 2002:a05:6871:4496:b0:144:5571:8621 with SMTP id
ne22-20020a056871449600b0014455718621mr4383889oab.99.1673328457364; Mon, 09
Jan 2023 21:27:37 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.infosystems.www.servers.unix
Date: Mon, 9 Jan 2023 21:27:37 -0800 (PST)
In-Reply-To: <1a1205bb-c5dd-44c9-9944-ae4f556eda58n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=185.251.8.87; posting-account=2rQouQoAAAASDisqJhCI1dUdlexRXNkg
NNTP-Posting-Host: 185.251.8.87
References: <9027160f-ed69-4b33-802b-19f95b3719c3n@googlegroups.com>
<tpgbkp$157n$3@gallifrey.nk.ca> <a5956162-1d0e-44be-b5a4-1ff647d730a4n@googlegroups.com>
<1a1205bb-c5dd-44c9-9944-ae4f556eda58n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5851a617-25ff-4f86-8cd4-5994d2b5d21cn@googlegroups.com>
Subject: Re: graceful restart ignore ports.conf
From: frederic...@gmail.com (Frédéric Deghetto)
Injection-Date: Tue, 10 Jan 2023 05:27:37 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 6044
 by: Frédéric Deghetto - Tue, 10 Jan 2023 05:27 UTC

Le lundi 9 janvier 2023 à 09:47:34 UTC+1, Frédéric Deghetto a écrit :
> Le lundi 9 janvier 2023 à 07:29:55 UTC+1, Frédéric Deghetto a écrit :
> > Le lundi 9 janvier 2023 à 07:19:07 UTC+1, The Doctor a écrit :
> > > In article <9027160f-ed69-4b33...@googlegroups.com>,
> > > Frédéric Deghetto <frederic...@gmail.com> wrote:
> > > >Hi,
> > > >
> > > >Since few days every graceful restart, initiated by logrotate (every 12
> > > >hours), endup to :
> > > >[Sun Jan 08 22:21:19.381860 2023] [mpm_prefork:notice] [pid 155072]
> > > >AH00171: Graceful restart requested, doing restart
> > > >(98)Address already in use: AH00072: make_sock: could not bind to
> > > >address [::]:80
> > > >(98)Address already in use: AH00072: make_sock: could not bind to
> > > >address 0.0.0.0:80
> > > >[Sun Jan 08 22:21:19.410297 2023] [mpm_prefork:alert] [pid 155072] no
> > > >listening sockets available, shutting down
> > > >[Sun Jan 08 22:21:19.410316 2023] [:emerg] [pid 155072] AH00019: Unable
> > > >to open logs, exiting
> > > >[Sun Jan 08 22:21:24.020382 2023] [core:warn] [pid 275707] AH00098: pid
> > > >file /var/run/apache2/apache2.pid overwritten -- Unclean shutdown of
> > > >previous Apache run?
> > > >[Sun Jan 08 22:21:24.027850 2023] [mpm_prefork:notice] [pid 275707]
> > > >AH00163: Apache/2.4.54 (Debian) configured -- resuming normal operations
> > > >[Sun Jan 08 22:21:24.029115 2023] [core:notice] [pid 275707] AH00094:
> > > >Command line: '/usr/sbin/apache2'
> > > >[Sun Jan 08 22:21:24.428695 2023] [mpm_prefork:notice] [pid 275707]
> > > >AH00169: caught SIGTERM, shutting down
> > > >
> > > >I don't understand why apache tries a graceful restart on port 80 as, in
> > > >/etc/apache2/ports.conf I have this:
> > > >------------------------------------------
> > > >Listen 81
> > > >
> > > ><IfModule ssl_module>
> > > > Listen 443
> > > ></IfModule>
> > > >
> > > ><IfModule mod_gnutls.c>
> > > > Listen 443
> > > ></IfModule>
> > > >------------------------------------------
> > > >Listen is 81 as haproxy is on 80.
> > > >
> > > >A normal apache2 start or restart is OK as expected, ending up on httpd
> > > >listening on port 81.
> > > >
> > > >I have the feeling there is something wrong with a script or ?
> > > >
> > > >FYI, some more data:
> > > >- Linux serveur 5.15.84-v8+ #1613 SMP PREEMPT Thu Jan 5 12:03:08 GMT
> > > >2023 aarch64 GNU/Linux
> > > >- Server version: Apache/2.4.54 (Debian)
> > > >- Server built: 2022-06-09T04:26:43
> > > >- Raspberry pi OS: debian version 11.6
> > > >
> > > >Many thanks,
> > > >Frederic
> > > Debian? You might have to readd modules.
> > > --
> > > Member - Liberal International This is doc...@nk.ca Ici doc...@nk.ca
> > > Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
> > > Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b
> > > Birthdate: 29 Jan 1969 Redhill, Surrey, England Beware https://mindspring.com
> > You mean the enabled modules ?
> > Here what I have:
> > Loaded Modules:
> > core_module (static)
> > so_module (static)
> > watchdog_module (static)
> > http_module (static)
> > log_config_module (static)
> > logio_module (static)
> > version_module (static)
> > unixd_module (static)
> > access_compat_module (shared)
> > alias_module (shared)
> > auth_basic_module (shared)
> > authn_core_module (shared)
> > authn_file_module (shared)
> > authz_core_module (shared)
> > authz_host_module (shared)
> > authz_user_module (shared)
> > autoindex_module (shared)
> > deflate_module (shared)
> > dir_module (shared)
> > env_module (shared)
> > filter_module (shared)
> > headers_module (shared)
> > mime_module (shared)
> > mpm_prefork_module (shared)
> > negotiation_module (shared)
> > proxy_module (shared)
> > proxy_fcgi_module (shared)
> > reqtimeout_module (shared)
> > rewrite_module (shared)
> > setenvif_module (shared)
> > socache_shmcb_module (shared)
> > status_module (shared)
> I had /etc/apache2/sites-enabled/000-default.conf pointing on port 80 for virtualhost. I have changed it to 81.
> I have seen this with apachectl -S.
> I keep you in touch in test in progress
Looks OK right now.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor