Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

system/2943: httpd dies when newsyslog rotates log files

From: Nicolas Untz <nicolas(at)untz.net>
Date: Thu Oct 03 2002 - 00:19:15 EDT


>Number: 2943
>Category: system
>Synopsis: httpd dies when newsyslog rotates log files
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 07 13:17:14 MST 2002
>Closed-Date:
>Last-Modified:
>Originator: Nicolas Untz
>Release: OpenBSD 3.2-beta (GENERIC) #8: Wed Sep 25 17:00:26 MDT 2002
>Organization:

Nicolas Untz <nicolas@untz.net>
>Environment:

	System      : OpenBSD 3.2
	Architecture: OpenBSD.i386
	Machine     : i386

>Description:
When the following lines are uncommented in /etc/newsyslog.conf: /var/www/logs/access_log 644 7 250 * Z /var/www/logs/httpd.pid SIGUSR1 /var/www/logs/error_log 644 7 250 * Z /var/www/logs/httpd.pid SIGUSR1 newsyslog will send SIGUSR1 to httpd, which dies because the following files are missing: /var/www/conf/access.conf /var/www/conf/srm.conf [Wed Oct 2 20:00:01 2002] [notice] SIGUSR1 received. Doing graceful restart fopen: No such file or directory httpd: could not open document config file /conf/access.conf
>How-To-Repeat:
Uncomment following lines in /etc/newsyslog.conf /var/www/logs/access_log 644 7 250 * Z /var/www/logs/httpd.pid SIGUSR1 /var/www/logs/error_log 644 7 250 * Z /var/www/logs/httpd.pid SIGUSR1
>Fix:
Temporary workaround by creating empty access.conf and srm.conf

>Release-Note:
Received on Thu Nov 7 16:59:25 2002

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:29:37 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library