gpt4 book ai didi

linux - S3cmd配置无法正常工作错误: S3 error: None

转载 作者:太空宇宙 更新时间:2023-11-04 03:40:16 25 4
gpt4 key购买 nike

我正在尝试使用以下配置在 centos 中安装 s3cmd。但是当我尝试列出所有存储桶时,它给出错误 s3cmd ls

错误:S3 错误:无

我检查过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

百胜安装ntp

配置 NTP 以使用亚马逊服务器,如下所示:vim/etc/ntp.conf

服务ntpd重启

有关详细信息,您可以点击此链接 http://www.emind.co/how-to/how-to-fix-amazon-s3-requesttimetooskewed

关于linux - S3cmd配置无法正常工作错误: S3 error: None,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29964463/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com