You are not logged in.

#1 2018-06-24 01:22:01

anselm
Member
Registered: 2017-11-21
Posts: 49

Apache crashes when logrotate happens

My apache server simply crashed. From /var/log/httpd/error.log.1:

[Sun Jun 24 00:00:31.279180 2018] [mpm_event:notice] [pid 5697:tid 3082519104] AH00493: SIGUSR1 received.  Doing graceful restart
httpd: Syntax error on line 154 of /etc/httpd/conf/httpd.conf: Cannot load modules/mod_mpm_event.so into server: /etc/httpd/modules/mod_mpm_event.so: undefined symbol: ap_queue_info_wait_for_idler

The timestamp is very close to the "mtime" of rotated logfile:

> stat /var/log/httpd/error_log.1 

  File: error_log.1
  Size: 5799970   	Blocks: 11360      IO Block: 4096   regular file
Device: 801h/2049d	Inode: 393350      Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2018-06-24 00:02:00.916603907 +0200
Modify: 2018-06-24 00:00:32.593148937 +0200
Change: 2018-06-24 00:00:32.593148937 +0200
 Birth: -

Offline

#2 2018-06-24 19:12:09

deep42thought
Administrator
From: Jena, Germany
Registered: 2017-06-17
Posts: 617

Re: Apache crashes when logrotate happens

This is not really promising, but as far as it concerns packaging: the database does not know of any apache linking issues.

Offline

#3 2018-06-25 11:18:45

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 833
Website

Re: Apache crashes when logrotate happens

Sounds upstream has the same issue: https://webcache.googleusercontent.com/ … refox-b-ab.

Offline

#4 2018-06-25 11:29:21

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 833
Website

Re: Apache crashes when logrotate happens

The name ap_queue_info_wait_for_idler would makes one think it's a function from APR, but
it's defined in: src/httpd-2.4.33/server/mpm_fdqueue.h and implemented in
src/httpd-2.4.33/server/mpm_fdqueue.c

Maybe this is a too agressive elimination of exported functions, as the function is only used at runtime
by the module?

Offline

Board footer

Powered by FluxBB