Hi,
on the command line
su drweb
/opt/drweb/update.pl
runs fine without any problems. As soon as I try to run it from cron both from the plesk task scheduler or manually from /etc/cron.d/drweb-update (of course with the user drweb each) I get an error:
-----
ERROR: Dr.Web Updater: Failed to delete file: /var/drweb/updater/drweb/data/1 (Permission denied) at /opt/drweb/update.pl line 4399.
Can not open file '/var/drweb/updater/last_try_cache' for writing: (Permission denied) at /opt/drweb/update.pl line 4051.
-----
I checked the permissions already as stated in https://kb.plesk.com/en/125041 and they are ok. Any ideas?
Thanks, Sphin
PLESK 12.5.30
Ubuntu 14.04
on the command line
su drweb
/opt/drweb/update.pl
runs fine without any problems. As soon as I try to run it from cron both from the plesk task scheduler or manually from /etc/cron.d/drweb-update (of course with the user drweb each) I get an error:
-----
ERROR: Dr.Web Updater: Failed to delete file: /var/drweb/updater/drweb/data/1 (Permission denied) at /opt/drweb/update.pl line 4399.
Can not open file '/var/drweb/updater/last_try_cache' for writing: (Permission denied) at /opt/drweb/update.pl line 4051.
-----
I checked the permissions already as stated in https://kb.plesk.com/en/125041 and they are ok. Any ideas?
Thanks, Sphin
PLESK 12.5.30
Ubuntu 14.04
Last edited: