1 105547111 Silver Pleskian Feb 22, 2011 #1 New install Only root scheduled tasks run The domains they dont do anything at all Any idea?
1 105547111 Silver Pleskian Feb 23, 2011 #2 okay its permissions... My scripts want to use commands that seem forbidden like date... If I run them as root, they are owned by root I tried su as root back to the domain owner but it fails. Damn what a pain. I have to rewrite all my scripts to run as root, and then chown the files and reset the chcon as well Why is this changed from plesk 9.x, they used to work. Here is an example: mkdir -p /var/www/vhosts/domain.com/httpdocs/images/archive/$(date +%F) I changed to mkdir -p httpdocs/images/archive/$(date +%F) result: /bin/mkdir: /bin/mkdir: cannot execute binary file then tried (as root): su - domainuser date -: date: No such file or directory
okay its permissions... My scripts want to use commands that seem forbidden like date... If I run them as root, they are owned by root I tried su as root back to the domain owner but it fails. Damn what a pain. I have to rewrite all my scripts to run as root, and then chown the files and reset the chcon as well Why is this changed from plesk 9.x, they used to work. Here is an example: mkdir -p /var/www/vhosts/domain.com/httpdocs/images/archive/$(date +%F) I changed to mkdir -p httpdocs/images/archive/$(date +%F) result: /bin/mkdir: /bin/mkdir: cannot execute binary file then tried (as root): su - domainuser date -: date: No such file or directory