Translated message

A translation of this page exists in English.

Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

Amazon EC2 RHEL 6.0 AMI で yum update を発行する際のError 56

Solution Verified - Updated -

Environment

  • Amazon EC2 リージョン上の全ての認定された RHEL AMI

Issue

  • Amazon EC2 RHEL (6.0) AMI で 'yum update' コマンドを発行すると、"[Errno 14] PYCURL ERROR 56 - " エラーを受け取ります。

Resolution

yum は x509 クライアント証明書を使用して Red Hat リポジトリに認証を行います。多くの場合、別々のクライアント証明書が別々のリポジトリに対して使用されます。RHEL 6.0 においては、yum が複数のクライアント証明書を使用する場合に発生する既知の問題があります。この問題が発生すると、yum は失敗し、以下のメッセージが表示されます。

"[Errno 14] PYCURL ERROR 56 - ""."

この問題を解決するために、実行しているシステムで nss パッケージを更新してください。この更新は、1 つのリポジトリを有効にするだけで実行できるため、クライアント証明書は 1 つだけ使用されます。

yum --disablerepo=* --enablerepo=RHEL-REPOSITORY-NAME  update nss

以下のように、RHEL-REPOSITORY-NAME を EC2 リージョンの RHEL レポジトリの名前に置き換えます。

us-east: rhui-us-east-rhel-server-releases
us-west: rhui-us-west-rhel-server-releases
eu-west: rhui-eu-west-rhel-server-releases
ap-northeast: rhui-ap-ne-rhel-server-releases
ap-southeast: rhui-ap-se-rhel-server-releases

nss をアップデートすると、問題は解決します。

  • Component
  • yum

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments