S3cmd configuration not working properly ERROR: S3 error: None
S3cmd configuration not working properly ERROR: S3 error: None
我正在尝试使用以下配置在 centos 中安装 s3cmd。但是当我尝试列出所有存储桶时,它给出错误 s3cmd ls
错误:S3 错误:None
我检查过 python 版本是 2.6.6 和 s3cmd 版本是 1.5.1.2
http://s3tools.org/kb/item14.htm
http://s3tools.org/kb/item1.htm
[default]
access_key = ACCESS_KEY
access_token =
add_encoding_exts =
add_headers =
bucket_location = US
ca_certs_file =
cache_file =
check_ssl_certificate = True
cloudfront_host = cloudfront.amazonaws.com
default_mime_type = binary/octet-stream
delay_updates = False
delete_after = False
delete_after_fetch = False
delete_removed = False
dry_run = False
enable_multipart = True
encoding = UTF-8
encrypt = False
expiry_date =
expiry_days =
expiry_prefix =
follow_symlinks = False
force = False
get_continue = False
gpg_command = /usr/bin/gpg
gpg_decrypt = %(gpg_command)s -d --verbose --no-use-agent --batch --yes --passphrase-fd %(passphrase_fd)s -o %(output_file)s %(input_file)s
gpg_encrypt = %(gpg_command)s -c --verbose --no-use-agent --batch --yes --passphrase-fd %(passphrase_fd)s -o %(output_file)s %(input_file)s
gpg_passphrase = secret
guess_mime_type = True
host_base = vault.ecloud.co.uk
host_bucket = %(bucket)s.vault.ecloud.co.uk
human_readable_sizes = False
ignore_failed_copy = False
invalidate_default_index_on_cf = False
invalidate_default_index_root_on_cf = True
invalidate_on_cf = False
list_md5 = False
log_target_prefix =
max_delete = -1
mime_type =
multipart_chunk_size_mb = 15
preserve_attrs = True
progress_meter = True
proxy_host =
proxy_port = 0
put_continue = False
recursive = False
recv_chunk = 4096
reduced_redundancy = False
restore_days = 1
secret_key = SECRET_KEY
send_chunk = 4096
server_side_encryption = False
signature_v2 = False
simpledb_host = sdb.amazonaws.com
skip_existing = False
socket_timeout = 300
urlencoding_mode = normal
use_https = True
use_mime_magic = True
verbosity = WARNING
website_endpoint = http://%(bucket)s.s3-website-%(location)s.vault.ecloud.co.uk/
website_error =
website_index = index.html
经过几次搜索我找到了解决方案,这是由于 RequestTimeTooSkewed。
通过这个命令,我能够调试这个 s3cmd --configuration --debug
Error><Code>RequestTimeTooSkewed</Code></Error>
您可以使用这些命令修复 RequestTimeTooSkewed
apt-get 安装 ntp
或
yum 安装 ntp
配置 NTP 以使用亚马逊服务器,如下所示:
vim /etc/ntp.conf
服务 ntpd 重启
详情可以看这个link http://www.emind.co/how-to/how-to-fix-amazon-s3-requesttimetooskewed
我正在尝试使用以下配置在 centos 中安装 s3cmd。但是当我尝试列出所有存储桶时,它给出错误 s3cmd ls
错误:S3 错误:None
我检查过 python 版本是 2.6.6 和 s3cmd 版本是 1.5.1.2
http://s3tools.org/kb/item14.htm http://s3tools.org/kb/item1.htm
[default]
access_key = ACCESS_KEY
access_token =
add_encoding_exts =
add_headers =
bucket_location = US
ca_certs_file =
cache_file =
check_ssl_certificate = True
cloudfront_host = cloudfront.amazonaws.com
default_mime_type = binary/octet-stream
delay_updates = False
delete_after = False
delete_after_fetch = False
delete_removed = False
dry_run = False
enable_multipart = True
encoding = UTF-8
encrypt = False
expiry_date =
expiry_days =
expiry_prefix =
follow_symlinks = False
force = False
get_continue = False
gpg_command = /usr/bin/gpg
gpg_decrypt = %(gpg_command)s -d --verbose --no-use-agent --batch --yes --passphrase-fd %(passphrase_fd)s -o %(output_file)s %(input_file)s
gpg_encrypt = %(gpg_command)s -c --verbose --no-use-agent --batch --yes --passphrase-fd %(passphrase_fd)s -o %(output_file)s %(input_file)s
gpg_passphrase = secret
guess_mime_type = True
host_base = vault.ecloud.co.uk
host_bucket = %(bucket)s.vault.ecloud.co.uk
human_readable_sizes = False
ignore_failed_copy = False
invalidate_default_index_on_cf = False
invalidate_default_index_root_on_cf = True
invalidate_on_cf = False
list_md5 = False
log_target_prefix =
max_delete = -1
mime_type =
multipart_chunk_size_mb = 15
preserve_attrs = True
progress_meter = True
proxy_host =
proxy_port = 0
put_continue = False
recursive = False
recv_chunk = 4096
reduced_redundancy = False
restore_days = 1
secret_key = SECRET_KEY
send_chunk = 4096
server_side_encryption = False
signature_v2 = False
simpledb_host = sdb.amazonaws.com
skip_existing = False
socket_timeout = 300
urlencoding_mode = normal
use_https = True
use_mime_magic = True
verbosity = WARNING
website_endpoint = http://%(bucket)s.s3-website-%(location)s.vault.ecloud.co.uk/
website_error =
website_index = index.html
经过几次搜索我找到了解决方案,这是由于 RequestTimeTooSkewed。
通过这个命令,我能够调试这个 s3cmd --configuration --debug
Error><Code>RequestTimeTooSkewed</Code></Error>
您可以使用这些命令修复 RequestTimeTooSkewed
apt-get 安装 ntp
或
yum 安装 ntp
配置 NTP 以使用亚马逊服务器,如下所示: vim /etc/ntp.conf
服务 ntpd 重启
详情可以看这个link http://www.emind.co/how-to/how-to-fix-amazon-s3-requesttimetooskewed