Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/amazon-s3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux S3cmd配置工作不正常错误:S3错误:无_Linux_Amazon S3_S3cmd - Fatal编程技术网

Linux S3cmd配置工作不正常错误:S3错误:无

Linux S3cmd配置工作不正常错误:S3错误:无,linux,amazon-s3,s3cmd,Linux,Amazon S3,S3cmd,我正在尝试在centos中使用以下配置安装s3cmd。但是当我尝试列出所有的bucket时,它给出了错误s3cmd ls 错误:S3错误:无 我已经检查了python版本是2.6.6和s3cmd版本1.5.1.2 经过几次搜索,我找到了解决方案,这是由于RequestTimeToSkewed造成的 通过这个命令,我可以调试这个s3cmd--configuration--debug 您可以使用这些命令修复RequestTimeTooSkewed apt获取安装ntp 或 yum安装ntp 将N

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

错误:S3错误:无

我已经检查了python版本是2.6.6和s3cmd版本1.5.1.2


经过几次搜索,我找到了解决方案,这是由于RequestTimeToSkewed造成的

通过这个命令,我可以调试这个s3cmd--configuration--debug

您可以使用这些命令修复RequestTimeTooSkewed

apt获取安装ntp

yum安装ntp

将NTP配置为使用amazon服务器,如下所示: vim/etc/ntp.conf

服务ntpd重新启动

有关详细信息,请点击此链接

[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
Error><Code>RequestTimeTooSkewed</Code></Error>