apache 1.3.12

gnomeboy plug-discuss@lists.PLUG.phoenix.az.us
Tue, 10 Jul 2001 10:28:09 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_008B_01C1092B.038FE450
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

problem resolved, by adding another ' - ' to the su statement so as to =
accept the environment variables for the user created to run rotatelogs, =
it nolonger tries to kill roots shell. so now the directive is:

CustomLog "| su - -c '/usr/sbin/rotatelogs
/var/log/httpd/apache2mysql/apache2mysql_log_bunny 3600' logsync" mysql

and error_log returns=20

[Tue Jul 10 10:25:34 2001] [notice] Apache/1.3.12 (Unix)  =
(Red-Hat/Linux) mod_ssl/2.8.1 OpenSSL/0.9.6 DAV/1.0.2 PHP/4.
0.4pl1 mod_perl/1.24_01 configured -- resuming normal operations

once again thanks for giving me places to search.





------=_NextPart_000_008B_01C1092B.038FE450
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>problem resolved, by adding another ' - =
' to the su=20
statement so as to accept the environment variables for the user created =
to run=20
rotatelogs, it nolonger tries to kill roots shell. so now the directive=20
is:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>CustomLog "| su - -c=20
'/usr/sbin/rotatelogs<BR>/var/log/httpd/apache2mysql/apache2mysql_log_bun=
ny=20
3600' logsync" mysql</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>and error_log returns </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>[Tue Jul 10 10:25:34 2001] [notice] =
Apache/1.3.12=20
(Unix)&nbsp; (Red-Hat/Linux) mod_ssl/2.8.1 OpenSSL/0.9.6 DAV/1.0.2=20
PHP/4.<BR>0.4pl1 mod_perl/1.24_01 configured -- resuming normal=20
operations</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>once again thanks for giving me places =
to=20
search.</DIV>
<DIV><BR></DIV></FONT>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_008B_01C1092B.038FE450--