[php-maint] Bug#668597: Bug#668597: php5 creates weird files in /
Ulf Hermann
ulfhermann at kulturserver.de
Tue May 22 21:12:40 UTC 2012
The effect is perfectly reproducible, but only on those two systems.
Even with the exact same apache and php configs I cannot reproduce the
effect on a third computer, though. Unfortunately I cannot recreate the
exact same set of packages there at the moment. Steps are as follows:
1. Change the comment sign to '#' in /etc/php5/apache2/conf.d/apc.ini
2. Do "/etc/init.d/apache2 reload" (not "restart")
Then the file appears and the following lines show up in
/var/log/apache2/error.log
[Tue May 22 20:51:32 2012] [notice] Graceful restart requested, doing
restart
[Tue May 22 20:51:32 2012] [error] (9)Bad file descriptor:
apr_socket_accept: (client socket)
[Tue May 22 20:51:32 2012] [notice] Apache/2.2.16 (Debian)
mod_ssl/2.2.16 OpenSSL/0.9.8o configured -- resuming normal operations
That is interesting. When I do a "restart" the strange file is not
created and instead those lines show up there:
Tue May 22 20:52:57 2012] [notice] caught SIGTERM, shutting down
PHP Deprecated: Comments starting with '#' are deprecated in
/etc/php5/apache2/conf.d/apc.ini on line 1 in Unknown on line 0
[Tue May 22 20:52:58 2012] [notice] Apache/2.2.16 (Debian)
mod_ssl/2.2.16 OpenSSL/0.9.8o configured -- resuming normal operations
The problem might have something to do with this:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/174805 - at least
it creates the same error message. The third computer where it doesn't
happen also listens on ports 80 and 443, though. And I don't see any
hung processes anywhere.
More information about the pkg-php-maint
mailing list