You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Srikanth Pippari <SP...@vitechinc.com.INVALID> on 2019/05/28 20:01:13 UTC

[users@httpd] RE: [EXT] Re: [users@httpd] Urgent: Apache log is not rotating after the upgrade

We have upgraded only Apache and I see the other OS related logs rotating fine but the issue is only with Apache logs(access.log,error.log).

Thanks & Regards
----------------------------------------------------------
Srikanth PippariĀ  | V3OPS team.
Email ID : spippari@vitechinc.com
-----------------------------------------------------------

-----Original Message-----
From: Mauricio Tavares <ra...@gmail.com> 
Sent: Tuesday, May 28, 2019 3:08 PM
To: users@httpd.apache.org
Subject: [EXT] Re: [users@httpd] Urgent: Apache log is not rotating after the upgrade

On Tue, May 28, 2019 at 2:09 PM Srikanth Pippari <SP...@vitechinc.com.invalid> wrote:
>
> Hello,
>
>
>
> We have upgraded Apache 2.2 version to Apache 2.4.34 version on Red Hat Enterprise Linux Server release 6.10 (Santiago) server . After the upgrade the log is not rotating  and we also check the log rotation file config looks good .
>
>
>
> Can some one help me to figure out the issue..
>
>
>
> Below is the config details of log rotation policy. Location of the 
> file : /etc/logrotate.d/httpd24-httpd
>
>
>
> /var/log/httpd24/*log {
>
>     daily
>
>     compress
>
>     missingok
>
>     notifempty
>
>     sharedscripts
>
>     delaycompress
>
>     rotate 90
>
>     postrotate
>
>       /sbin/service httpd24-httpd reload > /dev/null 2>/dev/null || 
> true
>
>            endscript
>
> }
>
>
>
>
>
> The config locations are different after the upgrade
>
>
>
> Configuration File location : 
> /opt/rh/httpd24/root/etc/httpd/conf/httpd.conf
>
> Command to stop/start/restart : service httpd24-httpd 
> start/stop/restart
>
>
>
> Thanks in Advance !!
>
>
>
> Thanks & Regards
>
> ----------------------------------------------------------
>
> Srikanth Pippari  | V3OPS team.
>
> Email ID : spippari@vitechinc.com
>
> -----------------------------------------------------------
>
      Does the problem follow the apache log or all other logs?
>
>
> This e-mail message and any files transmitted with it may contain confidential and proprietary information and are intended solely for the use of the individual or entity to which they are addressed. Any unauthorized review, use, disclosure or distribution is strictly prohibited. If you have received this e-mail in error please notify the sender by reply email and destroy all copies of the original message. Thank you for your cooperation.

Hmmmm, if this email is confidential and I am required to destroy all copies of it, I will have to delete it and any further reply to it.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org