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.

yum コマンドを実行すると、エラーメッセージ 'error initializing: no element found: line 1,column 0' が /var/log/messages ログに記録されます

Solution Unverified - Updated -

Environment

  • Red Hat Enterprise Linux 5.2
  • yum-updatesd-0.9-2.el5.noarch

Issue

  • yum コマンドを実行すると、エラーメッセージが /var/log/messages に記録されます。
May 30 22:36:59 server : error initializing: no element found: line 1,column 0
  • このメッセージのログが /var/log/messages に記録されるのはなぜですか?

Resolution

yum-updatesd が、xml ファイルに含まれる要素の構文解析に何らかの理由で失敗すると、このメッセージが出力されます。この不具合の原因はいくつか考えられますが、ネットワークトラフィックのために xml ファイルの取得に失敗したことが最初に考えられます。
また、yum-updatesd には、ログメッセージ内にプロセス名を表示しないというバグが含まれます。このバグが原因で、メッセージにプロセス名が表示されません。このバグは、yum-updatesd-0.9-5.el5 以降で修正されました。
詳細については、RHBA-2013:0067-1 を参照してください。

  • 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