Re: Rotating apache logs when is configured as a resource under RHCS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



how i  configure media player in linux operation system
please tell me about configure procedure(Commands).






Harvinder Singh S/O Baldev Raj, VPO Barwa Teh. Anandpur Sahib, Dist. Ropar, PunjabE-Mail ID:-     jmd_singhsaini@xxxxxxxxx


--- On Mon, 19/9/11, carlopmart <carlopmart@xxxxxxxxx> wrote:

> From: carlopmart <carlopmart@xxxxxxxxx>
> Subject:  Rotating apache logs when is configured as a resource under RHCS
> To: linux-cluster@xxxxxxxxxx
> Date: Monday, 19 September, 2011, 2:09 AM
> Hi all,
> 
>  I have configured an apache resource under cluster.conf
> like this: (both nodes are RHEL6.1)
> 
> <apache
> config_file="/data/config/etc/httpd/conf/httpd-mirror.conf"
> name="httpd-mirror" server_root="/data/config/etc/httpd"
> shutdown_wait="3"/>
> 
>  My question is: which is the best form to rotate apache
> logs using logrotate configuration??
> 
>  Is this a possible solution:
> 
>  /var/log/httpd/*log {
>     missingok
>     notifempty
>     sharedscripts
>     delaycompress
>     postrotate
>         if [ -f
> /var/run/cluster/apache/apache:httpd-mirror.pid ]; then
>             clusvcadm -R
> httpd-mirror
>         fi
>     endscript
> }
> -- 
> CL Martinez
> carlopmart {at} gmail {d0t} com
> 
> --
> Linux-cluster mailing list
> Linux-cluster@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/linux-cluster
> 

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster



[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux