• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Scheduled Task created under the domain fails: "No such file or directory"

alli81

New Pleskian
Hi, i have the sam problem wrote here:
Scheduled Task created under the domain fails: "No such file or directory"
(when run a crontab i receive "not such file or directory")

If i run this command:
grep SHELL /var/spool/cron/mywebsite

I receive:
SHELL=/usr/local/psa/bin/chrootsh

The guide tell me:
Find the specific set of utilities available in the chrooted environment by default in the ${HTTPD_VHOSTS_D}/chroot directory hierarchy ( HTTPD_VHOSTS_D is defined in /etc/psa/psa.conf ).

But i not undestand really what i need to do

Can you help me?
(i have plesk 11)
 
First, find your ${HTTPD_VHOSTS_D} variable. For example:

# grep HTTPD_VHOSTS_D /etc/psa/psa.conf
HTTPD_VHOSTS_D /var/www/vhosts

Then find your chrooted environment ${HTTPD_VHOSTS_D}/chroot:

# ll /var/www/vhosts/chroot
total 20
lrwxrwxrwx 1 root root 7 Sep 11 05:24 bin -> usr/bin
drwxr-xr-x 2 root root 4096 Sep 11 05:23 dev
drwxr-xr-x 2 root root 4096 Sep 11 05:24 etc
lrwxrwxrwx 1 root root 7 Sep 11 05:24 lib -> usr/lib
lrwxrwxrwx 1 root root 9 Sep 11 05:24 lib64 -> usr/lib64
lrwxrwxrwx 1 root root 8 Sep 11 05:24 sbin -> usr/sbin
drwxrwxrwt 2 root root 4096 Sep 11 05:23 tmp
drwxr-xr-x 6 root root 4096 Sep 11 05:23 usr
drwxr-xr-x 3 root root 4096 Sep 11 05:23 var

Now you can use commands from your chrooted dirs like /var/www/vhosts/chroot/bin/ or /var/www/vhosts/chroot/usr/bin/ for your scheduled tasks.
 
Back
Top