• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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