Re: [Ilugc] Log rotation in apache

2013-12-10 Thread Arun Khan
On Tue, Dec 10, 2013 at 5:24 PM, hari prasadh  wrote:
> its centos. Log files doesn't resides in /var/log/httpd.Earlier i had seen
> all the files in that folder.suddenly when i saw yesterday i was not able
> to see those files in the location.
>
> any other clues?
>

Is this server on a public IP address?

RHEL/CentOS default apache log location is /var/log/httpd unless you
have changed the location in the config files.

apache logrotate policy would be somewhere in /etc/logrotate.d.

If there is no log files in /var/log/httpd then it is quite likely
that your system is b0rk3d.

rpm -a --verify should report any anomalies in files installed from
official CentOS repos.

'aide' is more versatile if you have installed packages from tar balls.

HTH,
-- Arun Khan
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines


Re: [Ilugc] Log rotation in apache

2013-12-10 Thread hari prasadh
its centos. Log files doesn't resides in /var/log/httpd.Earlier i had seen
all the files in that folder.suddenly when i saw yesterday i was not able
to see those files in the location.

any other clues?




On Tue, Dec 10, 2013 at 11:27 AM, Ganesh Hariharan wrote:

> not sure which host flavour of Unix/Linux you use, try in the path
> /var/log/apache*
>
> later
>
>
> On Tue, Dec 10, 2013 at 10:56 AM, hari prasadh  >wrote:
>
> > Hi All,
> >
> > I want to know how log rotation happens in apache
> > if rotated then where we can find rotated log files.
> > Please help to get the old log files for apache.it is not present in
> > /etc/httpd/logs/
> >
> > --
> > Thanks & Regards,
> > HariPrasadh
> > ___
> > ILUGC Mailing List:
> > http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
> > ILUGC Mailing List Guidelines:
> > http://ilugc.in/mailinglist-guidelines
> >
> ___
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
> ILUGC Mailing List Guidelines:
> http://ilugc.in/mailinglist-guidelines
>



-- 
Thanks & Regards,
HariPrasadh
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines


Re: [Ilugc] Log rotation in apache

2013-12-09 Thread Ganesh Hariharan
not sure which host flavour of Unix/Linux you use, try in the path
/var/log/apache*

later


On Tue, Dec 10, 2013 at 10:56 AM, hari prasadh wrote:

> Hi All,
>
> I want to know how log rotation happens in apache
> if rotated then where we can find rotated log files.
> Please help to get the old log files for apache.it is not present in
> /etc/httpd/logs/
>
> --
> Thanks & Regards,
> HariPrasadh
> ___
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
> ILUGC Mailing List Guidelines:
> http://ilugc.in/mailinglist-guidelines
>
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines


[Ilugc] Log rotation in apache

2013-12-09 Thread hari prasadh
Hi All,

I want to know how log rotation happens in apache
if rotated then where we can find rotated log files.
Please help to get the old log files for apache.it is not present in
/etc/httpd/logs/

-- 
Thanks & Regards,
HariPrasadh
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines