#3456 Log rotation command file syntax error


AfterI added some command lines to httpd log rotation script by typing into "Commands to run after rotation" on "Edit Log File" page, system log rotation was keeping failed to run. Accounrding to my investigation, when some lines were added to /etc/logrotate.d/httpd by webmin, it seems, a "}" character was added duplicately. it means there are two "}" characters in last 2 lines. It causes syntax error on log rotation command "logrotate".
This problem is occurred on previous version.
On deletion and modification without number of line change, this problem is not happened.

I am not sure how to solve it on webmin module, but this should be corrected ASAP.

Thanks and regards.


  • Nobody/Anonymous

    Sample file

  • Jamie Cameron

    Jamie Cameron - 2009-07-23

    Would it be possible for you to attach the logrotate config file or section as it was before Webmin modified it?


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks