S3Sync.net

General Category => Questions => Topic started by: DougWare on March 05, 2007, 12:55:11 PM



Title: Error when I use s3sync
Post by: DougWare on March 05, 2007, 12:55:11 PM
Can someone please tell me what I am doing wrong?

Thanks,
Doug

/root/S3/s3sync.rb -v -d -n -r  /etc  bucket:SystemFilles
s3Prefix SystemFilles/etc
localPrefix /etc
local node object init. Name: Path:/etc/ Size:38 Tag:d66759af42f282e1ba19144df2d405d0
s3TreeRecurse bucket SystemFilles/etc
Trying command list_bucket bucket max-keys 200 prefix SystemFilles/etc delimiter / with 100 retries left
Response code: 403
S3 command failed:
list_bucket bucket max-keys 200 prefix SystemFilles/etc delimiter /
With result 403 Forbidden
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>974813B43331280D</RequestId><HostId>RlSF2VOfesyO4aF8s2xqmqyvnJwhMsBJwEXTBsgVZsHuRmcostE4fu8c5AT4WHRR</HostId></Error>
S3 ERROR: #<Net::HTTPForbidden:0xb7d6123c>
/root/S3/s3sync.rb:284:in `+': can't convert nil into Array (TypeError)
        from /root/S3/s3sync.rb:284:in `s3TreeRecurse'
        from /root/S3/s3sync.rb:340:in `main'
        from ./thread_generator.rb:79:in `call'
        from ./thread_generator.rb:79:in `initialize'
        from ./thread_generator.rb:76:in `new'
        from ./thread_generator.rb:76:in `initialize'
        from /root/S3/s3sync.rb:261:in `new'
        from /root/S3/s3sync.rb:261:in `main'
        from /root/S3/s3sync.rb:690


Title: Re: Error when I use s3sync
Post by: ferrix on March 06, 2007, 04:43:46 AM
Your bucket is probably not named "bucket".