February 02, 2014, 01:31:52 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / Questions / Re: S3sync runs all night and uploads same files over and over on: May 08, 2009, 09:57:15 AM
I think you would have to share your code with us, for us to be able to help you....

I've got s3sync running on a bunch of different machine and never had a single issue
2  General Category / Questions / Re: s3sync works from shell but not cron job on: May 08, 2009, 09:52:38 AM
This unfortunately will not work, simply because when you export your key, you are setting them for a shell environment.
Cronjobs run without any shell environment per-say, which is also why you need to fully qualify the path of your ruby installation.

s3sync will read the the s3config.yml from a few different location:

So created it in one of those locations all readable only by root and the cronjob will work perfectly.

post back if that doesn't solve your problem!
3  General Category / Questions / s3cmd User/ACL support on: January 30, 2009, 02:32:35 PM
Is there a way to setup all users and ACL permissions on buckets via s3cmd?
I'm trying to separate buckets for each server I own, yet I have no clue how this is done.

Could anyone point me in the right direction?

4  General Category / Questions / Re: s3sync error with ruby 1.8.7 - Solution on: June 13, 2008, 02:50:16 PM
My original issue was using 1.8.7 and my ssl not working.
I chanced it and compiled 1.8.6 and installed it, which seems to have overwritten the 1.8.7 since i'm now showing 1.8.6 as the ruby version.
What's beyond my understanding is that every document says it's built with ssl support by default, yet mine never worked.
I finally found a blog from someone creating solaris packages, explaining that separate extensions could be compiled after wards, as follow:
- in the ruby source directory type:
[ruby-1.8.6]#cd ext/openssl
- there's a ruby file 'extconf.rb' that can be ran as such:
[ruby-1.8.6]#ruby extconf.rb
- ruby will build a Makefile that will be needed to build the libraries:
[ruby-1.8.6]#make install
That's it! Now where is this information in the README? I didn't think to look in the documentation, but some google of ruby openssl really didn't show anything at all.
5  General Category / Questions / Re: You didn't set up your environment variables; see README.txt ?? on: June 12, 2008, 03:59:38 PM
please do feel like sharing with others what you modified - I would've said windows \ or / but who knows!
6  General Category / Questions / s3sync error with ruby 1.8.7 - SOLVED! on: June 12, 2008, 03:57:31 PM
I have two machines with ruby and s3sync installed.

One has ruby 1.8.6 and can run s3sync without any problems
The other has ruby 1.8.7 and can't run s3sync commands - it outputs the following:
./s3cmd.rb listbuckets
./S3.rb:14:in `require': no such file to load -- openssl (LoadError)
        from ./S3.rb:14
        from ./s3try.rb:26:in `require'
        from ./s3try.rb:26
        from ./s3cmd.rb:16:in `require'
        from ./s3cmd.rb:16
I've read from a previous post that libopenssl-ruby was 'needed' yet I never had to install it on the other machine, which is a carbon copy of this one. The only difference between the two is the version of Ruby.

Anyone else experiencing this?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!