Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

httpd.conf and rotatelog functionality

217435Aug 21 2003
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 18 2003
Added on Aug 21 2003
0 comments
312 views