I can't run manually s3backup.sh

May 4, 2014
5
0
0
#1
I checked and s3backup.sh is in the /usr/local/cpanel/whostmgr/docroot/cgi/s3backup/s3cfg directory.

When I try to run it it says: command not found.

How can I run it?
 

adam

Administrator
Staff member
Dec 5, 2009
1,711
29
48
mfscripts.com
WEBSITE
https://yetishare.com
LOCATION
UK
#2
Hi,

What happens if you run this via SSH:

Code:
/usr/local/cpanel/whostmgr/docroot/cgi/s3backup/s3cfg/s3backup.sh --showlog
 
May 4, 2014
5
0
0
#7
Directly as root. I already installed it in another server and had no problem. Shall I send you privately the password of the server and can you check it?
 

adam

Administrator
Staff member
Dec 5, 2009
1,711
29
48
mfscripts.com
WEBSITE
https://yetishare.com
LOCATION
UK
#8
Yes please, via the contact form here:

http://www.mfscripts.com/contact.html
 

adam

Administrator
Staff member
Dec 5, 2009
1,711
29
48
mfscripts.com
WEBSITE
https://yetishare.com
LOCATION
UK
#9
I've just tried now and I get:

Code:
/usr/local/cpanel/whostmgr/docroot/cgi/s3backup/s3cfg/s3backup.sh: line 37: mail: command not found
The mail issue is because you're missing the mail function on your server. I've added it by running this:

Code:
yum install mailx
Running s3backup.sh now produces this:

Code:
Send options without primary recipient specified.
Editing s3backup.sh and setting this resolves it: