Wednesday, July 8, 2026

OEM 24ai emctl.log shows many "*sys-package-mgr*: can't write index file"

OEM 24ai during "emctl start oms", emctl.log shows hundreds of lines "<ERR>*sys-package-mgr*: can't write index file", for example

2026-07-08 10:04:03,154 [Thread-1] INFO  commands.StartCommand - Starting ZDT Managed Server...
2026-07-08 10:04:03,522 [Thread-3] INFO  commands.BaseCommand - <OUT>
2026-07-08 10:04:03,522 [Thread-3] INFO  commands.BaseCommand - <OUT>Initializing WebLogic Scripting Tool (WLST) ...
2026-07-08 10:04:03,522 [Thread-3] INFO  commands.BaseCommand - <OUT>
2026-07-08 10:04:03,631 [Thread-5] INFO  commands.BaseCommand - <OUT>
2026-07-08 10:04:03,632 [Thread-5] INFO  commands.BaseCommand - <OUT>Initializing WebLogic Scripting Tool (WLST) ...
2026-07-08 10:04:03,632 [Thread-5] INFO  commands.BaseCommand - <OUT>
2026-07-08 10:04:03,979 [Thread-6] INFO  commands.BaseCommand - <ERR>*sys-package-mgr*: can't write index file
2026-07-08 10:04:04,707 [Thread-6] INFO  commands.BaseCommand - <ERR>*sys-package-mgr*: can't write index file
2026-07-08 10:04:07,952 [Thread-6] INFO  commands.BaseCommand - <ERR>*sys-package-mgr*: can't write index file
2026-07-08 10:04:08,143 [Thread-6] INFO  commands.BaseCommand - <ERR>*sys-package-mgr*: can't write index file
2026-07-08 10:04:08,144 [Thread-6] INFO  commands.BaseCommand - <ERR>*sys-package-mgr*: can't write index file
2026-07-08 10:04:08,274 [Thread-4] INFO  commands.BaseCommand - <ERR>*sys-package-mgr*: can't write index file
2026-07-08 10:04:08,527 [Thread-6] INFO  commands.BaseCommand - <ERR>*sys-package-mgr*: can't write index file
2026-07-08 10:04:08,534 [Thread-6] INFO  commands.BaseCommand - <ERR>*sys-package-mgr*: can't write index file
2026-07-08 10:04:08,535 [Thread-6] INFO  commands.BaseCommand - <ERR>*sys-package-mgr*: can't write index file
2026-07-08 10:04:08,536 [Thread-6] INFO  commands.BaseCommand - <ERR>*sys-package-mgr*: can't write index file
2026-07-08 10:04:08,539 [Thread-6] INFO  commands.BaseCommand - <ERR>*sys-package-mgr*: can't write index file
Cause
The issue is associated with WLST creating temporary packages under

/tmp/wlstTemporacle/packages

and those packages may be corrupted.

Solution
Stop oms with command,
    emctl stop oms -all
Then, remove following temporary directories,
  /tmp/wlstOfflineLogs_oracle
  /tmp/wlstTemporacle
Start oms with command,
    emctl start oms

No comments: