httpd.conf and rotatelog functionality
Has anyone managed to get rotatelogs to work in the httpd.conf file, and not have to manually restart Apache every time a EAR file is newly deployed or undeployed?
We had put this in our httpd.conf file as follows:
CustomLog "|/opt/app/oracle/product/9iAS902_dev/Apache/Apache/bin/rotatelogs /opt/app/oracle/product/9iAS902_dev/Apache/Apache/logs/access_log.%Y%b%d 86400" common
However every time we need to do a new deployment or undeployment thru EMConsole, it hangs the Apache server on restart, and we manually have to restart the Apache server. We normally get the following if doing a ps -ef:grep apache
root 12155 12058 0 10:50:42 ? 0:00 /bin/sh -c /opt/app/oracle/product/9iAS902_rel/Apache/Apache/bin/rotatelogs /op
root 12156 12155 0 10:50:42 ? 0:00 /opt/app/oracle/product/9iAS902_rel/Apache/Apache/bin/rotatelogs /opt/app/oracl
If anyone has any suggestions on how to get it to work corectly, we would love to know ;)
Thanks,
Melissa