IBM Support

QRadar: SFTP プロトコルを使用する WebSphere ログ・ソースが「The file could not be opened because it is locked by another process」というエラーで失敗する

Troubleshooting


Problem

SFTP プロトコルを使用する新規 WebSphere ログ・ソースの場合、Log Source Management アプリケーションでのテストはすべての検査を通過しますが、イベントは取得されません。
ログ・ソースがエラー状態になり、イベントの取得が失敗します。
/var/log/qradar.log に以下のエラーが表示されます。
[ERROR] download failure for (E:/Qradar/server1/SystemOut.log), reason: Failed to retrieve file
Caused by: 4: The file could not be opened because it is locked by another process.

Diagnosing The Problem

ログ・ファイルおよびログ・フォルダーに対する許可が正しいことが確認されても、ログ・ファイルがロックされていると判別されます。

Resolving The Problem

WebSphere 管理者および OS 管理者と協力して、ログ・ファイルをアンロックする最良の方法を確認してください。
注: 「owner」ファイル ( SystemOut.log.Owner および SystemErr.log.Owner ) をフォルダーから削除して、問題を解決することができます。

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB24","label":"Security Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSV4BL","label":"IBM QRadar"},"ARM Category":[{"code":"a8m0z000000cwt0AAA","label":"Log Source"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
29 January 2024

UID

ibm17107000