Apache logs


 
Thread Tools Search this Thread
Operating Systems AIX Apache logs
# 1  
Old 08-22-2012
[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.
# 2  
Old 08-22-2012
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

# 3  
Old 08-22-2012
Found it!!!!! thank you!

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

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

Last edited by bakunin; 08-22-2012 at 11:08 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

If I ran perl script again,old logs should move with today date and new logs should generate.

Appreciate help for the below issue. Im using below code.....I dont want to attach the logs when I ran the perl twice...I just want to take backup with today date and generate new logs...What I need to do for the below scirpt.............. 1)if logs exist it should move the logs with extention... (1 Reply)
Discussion started by: Sanjeev G
1 Replies

2. Red Hat

Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-la

Have no idea on what the below error message is: Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-launcher.jar org.apache.tools.ant.launch.Launcher -buildfile build.xml dist. Any help? (3 Replies)
Discussion started by: gull05
3 Replies

3. Web Development

Apache module development on apache 2.2

Hi, I'm new to developing modules for Apache. I understand the basics now and can develop something simple which allows a 'GET' request to happen, but what I want to do is actually 'POST' information to my site. I know the basic POST Request works and I can see that it is post by looking at... (2 Replies)
Discussion started by: fishman2001
2 Replies

4. UNIX Desktop Questions & Answers

regarding logs

Hi , I am running an application on my windows and it logs are generated at /var/logs and for this i have to go this location and then do tail -f , Is there any command you can advise me so that when I execute this command at this location that logs get displayed fully and as the application... (3 Replies)
Discussion started by: KAREENA18
3 Replies

5. UNIX for Advanced & Expert Users

howto dump CFTOKEN and CFID in apache logs

hi folks, Can you help me how to dump CFTOKEN and CFID requests in apache access_log ? can you give me a better idea how to accomplish this ? thanks (2 Replies)
Discussion started by: linuxgeek
2 Replies

6. Red Hat

Sending all apache logs to Syslog Server

Hi All, I need to send all apache logs to local syslog and then to syslog server (STRM – Security Threat response manager). I follow these steps:- vi /etc/httpd/conf/httpd.conf Added these lines :- ErrorLog syslog:local1 LogLevel notice Then in syslog.conf:- local1.crit... (3 Replies)
Discussion started by: sidhurana
3 Replies

7. Shell Programming and Scripting

Grep yesterday logs from weblogic logs

Hi, I am trying to write a script which would go search and get the info from the logs based on yesterday timestamp and write yesterday logs in new file. The log file format is as follows: """"""""""""""""""""""""""... (3 Replies)
Discussion started by: harish.parker
3 Replies

8. UNIX for Dummies Questions & Answers

logs

can i include this command into my crontab file > /var/adm/wtmp to clear the contents on a regular basis ? what about file permissions ? (6 Replies)
Discussion started by: cubicle^dweller
6 Replies
Login or Register to Ask a Question