Go Back   The UNIX and Linux Forums > Operating Systems > AIX


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 08-22-2012
Registered User
 
Join Date: Dec 2010
Location: Toronto, Canada
Posts: 86
Thanks: 11
Thanked 2 Times in 2 Posts
[Solved] Apache logs

Hi,

I can't seem to find the apache logs in my system. Can anyone assist me on finding them?

This was done with a RPM install. I've checked everywhere and even tried a find command with key names like httpd and apache. and i've come up with nothing except my conf files.
Sponsored Links
    #2  
Old 08-22-2012
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
code tag tagger
 
Join Date: Sep 2007
Location: St. Gallen, Switzerland
Posts: 5,866
Thanks: 80
Thanked 371 Times in 351 Posts
Usually they are at
Code:
/var/log/apache2

or something similar on Linux.

On AIX it will be at a different place, so you will have to check your httpd.conf or the appropriate include what is defined for CustomLog, ErrorLog .

To find your config files, check this example:

Code:
# rpm -qc apache2-2.2.3-16.18
/etc/apache2/charset.conv
/etc/apache2/default-server.conf
/etc/apache2/errors.conf
/etc/apache2/httpd.conf
/etc/apache2/listen.conf
/etc/apache2/magic
/etc/apache2/mime.types
/etc/apache2/mod_autoindex-defaults.conf
/etc/apache2/mod_info.conf
/etc/apache2/mod_log_config.conf
/etc/apache2/mod_mime-defaults.conf
/etc/apache2/mod_status.conf
/etc/apache2/mod_userdir.conf
/etc/apache2/mod_usertrack.conf
/etc/apache2/server-tuning.conf
/etc/apache2/ssl-global.conf
/etc/apache2/ssl.crl/Makefile
/etc/apache2/ssl.crt/Makefile
/etc/apache2/ssl.crt/ca-bundle.crt
/etc/apache2/ssl.crt/server.crt
/etc/apache2/ssl.csr/server.csr
/etc/apache2/ssl.key/server.key
/etc/apache2/uid.conf
/etc/init.d/apache2
/etc/logrotate.d/apache2

Sponsored Links
    #3  
Old 08-22-2012
Registered User
 
Join Date: Dec 2010
Location: Toronto, Canada
Posts: 86
Thanks: 11
Thanked 2 Times in 2 Posts
Found it!!!!! thank you!

it was in
Code:
/var/opt/freeware/apache/logs

Moderator's Comments:
edit by bakunin: congrats! changed the thread title to [solved]

Last edited by bakunin; 08-22-2012 at 10:08 AM..
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
[SOLVED] Regex with Apache RewriteRule Lynx4DBA Web Programming 1 08-04-2011 03:05 PM
howto dump CFTOKEN and CFID in apache logs linuxgeek UNIX for Advanced & Expert Users 2 06-30-2010 11:56 PM
Sending all apache logs to Syslog Server sidhurana Red Hat 3 01-18-2010 05:13 AM
Grep yesterday logs from weblogic logs harish.parker Shell Programming and Scripting 3 11-04-2008 08:00 AM



All times are GMT -4. The time now is 05:06 PM.