Hi Guys,
I used to have a cron job that ran both SARG and squid-analyzer. Somewhere along the line I've made some changes which have broken both applications. After scouring the net for help I managed to get SARG working by changing the permissions to the following:-
now I can add the following to my crontab and it works fine;-
However, this procedure has not worked for squid-analyzer.
I've tried upping the permissions by as much as 777 (not good practice I know) and I still get Permission denied but with additional information:-
Can anyone shed any light on this?
Thanks,
Andy
I used to have a cron job that ran both SARG and squid-analyzer. Somewhere along the line I've made some changes which have broken both applications. After scouring the net for help I managed to get SARG working by changing the permissions to the following:-
Code:
root@tinman:/usr/local/bin # chmod -R 644 /usr/local/bin/sarg
Code:
* */1 * * * /usr/local/bin/sarg -x
Code:
* */1 * * * /usr/local/bin /usr/local/bin/squid-analyzer
/usr/local/bin/squid-analyzer: Permission denied.
Code:
chmod -R 777 /usr/local/bin/squid-analyzer
/usr/local/bin/squid-analyzer
env: perl: Permission denied
Thanks,
Andy