In article <9027160f-ed69-4b33...@googlegroups.com>,You mean the enabled modules ?
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,Debian? You might have to readd modules.
Frederic
--
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
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
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
You mean the enabled modules ?Many thanks,Debian? You might have to readd modules.
Frederic
--
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
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)
Le lundi 9 janvier 2023 à 07:29:55 UTC+1, Frédéric Deghetto a écrit :Looks OK right now.
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
I had /etc/apache2/sites-enabled/000-default.conf pointing on port 80 for virtualhost. I have changed it to 81.You mean the enabled modules ?Many thanks,Debian? You might have to readd modules.
Frederic
--
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
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 have seen this with apachectl -S.
I keep you in touch in test in progress
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 07:07:32 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,336,105 |