Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm running WHM and cPanel and have a script that requires the following

ftpcopy binary (for Create/Refresh local FTP mirror)

mysqldump binary (for Create local SQL mirror)

And I need to know how to enable/install these 'features' or 'modules' on my server.

The path to both are defined as /usr/bin/ftpcopy and /usr/bin/mysqldump in the script but I don't know how to check for these.

I have full access to the server.

share|improve this question
add comment

2 Answers

mysqldump came along with mysql server.

so, if you have mysql server installed, it's there.

to install ftpcopy, (if you're using centos/rhel/fedora) this should work:

yum install ftpcopy

to check where it's installed:

whereis mysqldump
whereis ftpcopy

or

which mysqldump
which ftpcopy
share|improve this answer
    
I tried yum on my CentOS / cPanel box and it didn't know about ftpcopy. –  Josh Oct 21 '09 at 16:29
    
i just search on rpm.pbone.net and see that ftpcopy only available on ancient distros (fedora3, rh9, etc). and not found on any latest distro. whatever the reason recent distros stop distributing ftpcopy, imho you should also seek for alternatives. try lftp. it have better feature and it's on any latest distro. you could make a simple bash script to translate ftpcopy command to lftp. –  DennyHalim.com Oct 22 '09 at 0:44
    
or you could also just download any of the old rpm there and try install it with rpm -i ftpcopy-0.6.7....rpm at your own risk! –  DennyHalim.com Oct 22 '09 at 0:47
add comment

mysqldump should already be installed. Instructions for installing ftpcopy are at: http://www.ohse.de/uwe/ftpcopy/install.html

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.