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.
zaxxon
August 22, 2012, 9:50am
2
Usually they are at
/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:
# 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
Found it!!!!! thank you!
it was in
/var/opt/freeware/apache/logs