The free forums are no longer in use. It remains available as read-only archive.
The forums are currently locked and only available for read only access
Amazon S3/cron-job issues
December 9, 2012
2:00 pm
2:00 pm
lesm
Member
Members
Forum Posts: 12
Member Since:
November 17, 2012
November 17, 2012
Offline
Hi,
I can't store my backup into my Amazon S3's bucket. My cron-job script reads:
/usr/local/bin/php5 /home/mysite/public_html/xcloner/cloner.cron.php?config=dbase_mysite_nblog.php
On cron-job's execution I get this error:
Could not open input file: /home/mysite/public_html/xcloner/cloner.cron.php?config=dbase_mysite_nblog.php
Of course "/configs/dbase_mysite_nblog.php" already exists.
The cron.log shows entries like this only (nothing in between, no even an stamped time):
Log output startedLog output finished
If I click the link 'Execute Cron' the response is:
Access Denied for ip xxx.xxx.xxx.xxx!
In "Backup store mode" I have tried both 'Local server' and 'Remote ftp account' with same result, however I'm not sure which is the correct one for Amazon S3.
Is there anything else I'm missing?
Thanks.
December 11, 2012
7:05 pm
7:05 pm
lesm
Member
Members
Forum Posts: 12
Member Since:
November 17, 2012
November 17, 2012
Offline
Thanks Ovidiu,
I make it work using the wget command, however your suggestion worked just fine as well, so I reverted to the php command.
Regarding the 'Access denied' problem, in the 'Execute Cron' link, it was resolved adding mi IP. I overlooked this 🙂
The only problem so far are the warnings due to the open_basedir setting, but overall it works okay anyway.
Forum Timezone: America/Chicago
Most Users Ever Online: 867
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
mlguru: 30
Django29: 29
Andy: 21
D: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 738
Members: 10030
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Omar VeraModerators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0
© Simple:Press —