S3Sync.net
February 02, 2014, 01:35:17 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Same script and credentials fails on one machine, works on another  (Read 4275 times)
wallyfoo
Newbie
*
Posts: 2


View Profile
« on: August 29, 2007, 07:09:06 PM »

Ok, two machines.  One running OS X 10.3.9, the other running Red Hat Linux 7 (yes, it's that old).

I compiled Ruby 1.8.6 from source on both machines with no errors.

I opted to use the shell script method for execution.  Here is the script I'm using on both machines:
Code:
#!/bin/bash

export AWS_ACCESS_KEY_ID=xxxxxxxxxxx
export AWS_SECRET_ACCESS_KEY=xxxxxxxxxxx

cd /usr/local/s3sync

ruby s3cmd.rb -v listbuckets

On the OS X Machine, this executes flawlessly.  On the Linux box, the exact same script returns:
Code:
list all buckets {}
S3 command failed:
list_all_my_buckets
With result 403 Forbidden

3sync.rb works on OS X and fails similarly on the Linux box.

Any ideas would be most appreciated. 
« Last Edit: August 29, 2007, 07:11:47 PM by wallyfoo » Logged
lowflyinghawk
Jr. Member
**
Posts: 52


View Profile
« Reply #1 on: September 03, 2007, 06:44:46 PM »

is your clock right?  there have been a lot of issues over at s3 caused by inaccurate clocks.
Logged
wallyfoo
Newbie
*
Posts: 2


View Profile
« Reply #2 on: September 06, 2007, 03:08:05 PM »

I appears to be.  Only a few minutes off of my local time, anyway.  Would this kind of tiny variance cause an issue?
Logged
lowflyinghawk
Jr. Member
**
Posts: 52


View Profile
« Reply #3 on: September 14, 2007, 07:37:59 PM »

I don't recall the exact limit, but it is small, maybe 2 minutes or less.  try using ntp to keep your clocks accurate.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!