1

Topic: Issues with policyd-cleanup in cron...

Hello,
I've searched the forum and found some ideas but none of them work for me..

I have iRedMail 0.51 - with policyd 1.82, running on RHEL 5.5

in cron i get ->
execl: couldn't exec `/bin/sh'
execl: Permission denied

for both policyd-cleanup lines.

I've tried a lot of things and none seem to work.

can you please advise me?

thanks in advance

2

Re: Issues with policyd-cleanup in cron...

Can you please paste these two lines?

3

Re: Issues with policyd-cleanup in cron...

sure...

here's the content of /var/spool/cron/policyd file...

# File generated by iRedMail (2010.05.18.00.46.33):
#
# Version:  0.5.1
# Project:  http://www.iredmail.org/
#
# If you deploy iRedMail in product environment, we suggest
# you public your information in 'Success Stories' forum to help us
# promote iRedMail.
#
# Community: http://www.iredmail.org/community.html
#

1       */2       *       *       *       /usr/sbin/policyd-cleanup -c /etc/policyd.conf
1       */2       *       *       *       /usr/sbin/policyd-cleanup -c /etc/policyd_sender_throttle.conf

4

Re: Issues with policyd-cleanup in cron...

in cron i get ->
execl: couldn't exec `/bin/sh'
execl: Permission denied

Policyd won't invoke /bin/sh, that's strange.

Is it caused by other cron jobs?

5

Re: Issues with policyd-cleanup in cron...

nope... only by policyd...

6

Re: Issues with policyd-cleanup in cron...

don't know why..
but it seemed that /bin had wrong permissions..
it was 700 when it should have been 755...
changed it to 755 and solved the issue...

thanks anyway for your reply...