Active
Project:
backup
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
16 Apr 2007 at 03:45 UTC
Updated:
29 Apr 2007 at 04:02 UTC
Jump to comment: Most recent file
I've installed and enabled the Backup module in my Drupal 5.1 installation. When I try to run the it I receive the following error message:
System program "mysqldump" not found in $PATH. Please check with your sysadmin for further assistance.
Debugging Information
System Path
/bin: /usr/bin: /sbin: /usr/sbin: /usr/local/bin: /usr/local/sbin
Programs that will be used
* mysqldump program NOT found or executable
* tar program NOT found or executable
* gzip program NOT found or executableI am able to backup the database using my CPanel backup button and/or myPhpAdmin. The backups made there are in the *.tar.gz format so the tar and gzip programs must be present.
I've asked my host for the full paths to these applications and this is what they told me:
These are the full paths.
/usr/local/bin/mysqldump
/bin/gzip
/bin/tarAny ideas??
Thanks for your time.
--
James
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | phpinfo.html | 67.32 KB | ronw-1 |
Comments
Comment #1
dmuth commentedHi,
I have been wracking my brain on this one for awhile, but I cannot find anything glaringly obvious in my code. Before I go and point the finger elsewhere, however, I'd like to get more detailed information about your system.
I've uploaded a new version of this module that should be packaged and available for download in about 12 hours. You will notice under the "Debugging Information" section, a new link called "Click to run phpinfo()". Please click that link, and email me the output from that page. It will show lots of system settings that I can take a look at to try and diagnose the problem.
Thanks,
-- Doug
Comment #2
ronw-1 commentedI've run into the problem described above as well on 5.1. I downloaded the backup module today.
mysqladmin, tar, and gzip are in my path:
-sh-2.05b$ echo $PATH
/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/lib/jre/bin
-sh-2.05b$ whereis mysqladmin
mysqladmin: /usr/bin/mysqladmin /usr/share/man/man1/mysqladmin.1.gz
-sh-2.05b$ whereis tar
tar: /bin/tar /usr/include/tar.h /usr/share/man/man1/tar.1.gz
-sh-2.05b$ whereis gzip
gzip: /bin/gzip /usr/bin/gzip /usr/share/man/man1/gzip.1.gz
And, if I understand the output of phpinfo(), Apache is looking in /usr/bin:/bin. I've emailed the phpinfo() page in case the original poster hasn't gotten back to you.
Thanks.