logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: mod_jk logrotate
Author
Qmpeltaty



Joined: 06 Feb 2008
Posts: 182
Location: Poland

PostPosted: Thu 30 Aug '12 10:23    Post subject: mod_jk logrotate Reply with quote

Hi

I have switched from Apache 2.2.21 32bit from apache.org to 2.4.3 x64 from apachelounge. The only thing that does not want to work is logrotate.

My config :

Code:
JkLogFile "|bin/rotatelogs e:/logs/apache/mod_jk/mod_jk.log 15M"


Error :

Code:
[Thu Aug 30 10:48:14.112907 2012] [jk:error] [pid 8968:tid 576] mod_jk: could not open reliable pipe to jk log bin/rotatelogs e:/logs/apache/mod_jk/mod_jk 15M


Above error is generated when starting Apache - i have to comment bin|rotatelogs from httpd.conf, otherwise Apache dont want to start.

This issue affects all logs, mod_jk is only the example.
Back to top
Qmpeltaty



Joined: 06 Feb 2008
Posts: 182
Location: Poland

PostPosted: Thu 30 Aug '12 11:41    Post subject: Reply with quote

Fixed - path to rotatelogs must contain .exe file extension.

Code:

JkLogFile "|bin/rotatelogs.exe e:/logs/apache/mod_jk/mod_jk 15M"
Back to top


Reply to topic   Topic: mod_jk logrotate View previous topic :: View next topic
Post new topic   Forum Index -> Apache