logrotate problem
i'm having problem with logrotate giving errors on all postrotate and prerotate scripts..the commands used during postrotate is to restart the logging for each service.. i've tested the command string is working when i do it on the prompt.. but somehow logrotate is unable to execute them when in a cron job or when i did a force rotate.. i've also tried variations of the commands.. but it still gives error during postrotate.. setting logging to verbose shows no addition details..
i've no idea what could be the problem. any help?