• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

sh: /mysqldump: No such file or directory

E

Estores

Guest
We have a php backup script which runs the following command (password removed):

exec('/usr/bin/mysqldump -hlocalhost -u db_user -p********** db_galleyfm | gzip >
/var/www/vhosts/somedomain.com/httpdocs/control/backups/backup_tue.sql.gz');

This script runs without error when run via a url, and the command works ok in Putty via SSH, but gives the following error in an automated email when run via a cron:
sh: /mysqldump: No such file or directory

This is on a dedicated server with Parellels Plesk 9.0.1.

Any advice please? The provider is not willing to assist.
 
Please, make sure that task is configured to be ran under root and path to mysqldump is really valid.
 
Back
Top