Tuesday, October 3, 2017

Failed to open locale state file .locale in OID 11g

Problem

In the log file /u01/app/oracle/middleware/asinst_1/diagnostics/logs/OPMN/opmn/opmn.out, you see the following error:
[2017-04-20T09:35:22-04:00] [opmn] [ERROR:1] [752] [pm-internal] Failed to open locale state file /u01/app/oracle/middleware/asinst_1/config/OPMN/opmn/states/.locale (read: No such file or directory)
There are no permission or access issues on the .locale file.


Solution

1. Remove the "states" directory. It will be recreated upon OPMN startup.

 
Applicable Versions
  • Oracle Internet Directory (OID) 11g

 

4 comments:

Mahesh said...

i am also getting same issue but i deleted and started but getting same issue. ( Application Version R12.2.9 )

applmgr@ebs9 opmn]$ tail -100f opmn.log
[2019-11-22T00:31:10+05:30] [opmn] [TRACE:32] [] [internal] ORACLE_HOME: /u01/apps/fs1/FMW_Home/webtier
[2019-11-22T00:31:10+05:30] [opmn] [TRACE:32] [] [internal] ORACLE_INSTANCE: /u01/apps/fs1/FMW_Home/webtier/instances/EBS_web_ebs1229_OHS1
[2019-11-22T00:31:10+05:30] [opmn] [ERROR:1] [] [ons-secure] Connection server SSL set credentials failed (43084)
[2019-11-22T00:31:10+05:30] [opmn] [ERROR:1] [222] [ons-secure] SSL initialization failed
[2019-11-22T00:31:16+05:30] [opmn] [TRACE:32] [] [internal] ORACLE_HOME: /u01/apps/fs1/FMW_Home/webtier
[2019-11-22T00:31:16+05:30] [opmn] [TRACE:32] [] [internal] ORACLE_INSTANCE: /u01/apps/fs1/FMW_Home/webtier/instances/EBS_web_ebs1229_OHS1
[2019-11-22T00:31:16+05:30] [opmn] [ERROR:1] [] [ons-secure] Connection server SSL set credentials failed (43084)
[2019-11-22T00:31:16+05:30] [opmn] [ERROR:1] [222] [ons-secure] SSL initialization failed
^C
[applmgr@ebs9 opmn]$ tail -100f opmn.out
[2019-11-22T00:31:11+05:30] [opmn] [TRACE:32] [] [internal] Server shut down: status 4200
[2019-11-22T00:31:11+05:30] [opmn] [ERROR:1] [752] [pm-internal] Failed to open locale state file /u01/apps/fs1/FMW_Home/webtier/instances/EBS_web_ebs1229_OHS1/config/OPMN/opmn/states/.locale (read: No such file or directory)
[2019-11-22T00:31:17+05:30] [opmn] [TRACE:32] [] [internal] Server shut down: status 4200
[2019-11-22T00:31:17+05:30] [opmn] [ERROR:1] [752] [pm-internal] Failed to open locale state file /u01/apps/fs1/FMW_Home/webtier/instances/EBS_web_ebs1229_OHS1/config/OPMN/opmn/states/.locale (read: No such file or directory)



Thanks
Mahesh Madudhula

Unknown said...

[2020-05-01T05:00:07+05:00] [opmn] [TRACE:32] [] [internal] Server shut down: status 4200
[2020-05-01T05:00:07+05:00] [opmn] [ERROR:1] [752] [pm-internal] Failed to open locale state file /orapps/R122/fs1/FMW_Home/webtier/instances/EBS_web_PROD_OHS1/config/OPMN/opmn/states/.locale (read: No such file or directory)
[2020-05-01T05:00:08+05:00] [opmn] [TRACE:32] [] [internal] Server shut down: status 4200
[2020-05-01T05:00:08+05:00] [opmn] [ERROR:1] [752] [pm-internal] Failed to open locale state file /orapps/R122/fs1/FMW_Home/webtier/instances/EBS_web_PROD_OHS1/config/OPMN/opmn/states/.locale (read: No such file or directory)

Unknown said...

i am also getting same issue but i deleted and started but getting same issue. ( Application Version R12.2)

opmn.log
[2020-05-01T05:00:06+05:00] [opmn] [TRACE:32] [] [internal] ORACLE_HOME: /orapps/R122/fs1/FMW_Home/webtier
[2020-05-01T05:00:06+05:00] [opmn] [TRACE:32] [] [internal] ORACLE_INSTANCE: /orapps/R122/fs1/FMW_Home/webtier/instances/EBS_web_PROD_OHS1
[2020-05-01T05:00:06+05:00] [opmn] [ERROR:1] [] [ons-secure] Connection server SSL set credentials failed (43084)
[2020-05-01T05:00:06+05:00] [opmn] [ERROR:1] [222] [ons-secure] SSL initialization failed
[2020-05-01T05:00:08+05:00] [opmn] [TRACE:32] [] [internal] ORACLE_HOME: /orapps/R122/fs1/FMW_Home/webtier
[2020-05-01T05:00:08+05:00] [opmn] [TRACE:32] [] [internal] ORACLE_INSTANCE: /orapps/R122/fs1/FMW_Home/webtier/instances/EBS_web_PROD_OHS1
[2020-05-01T05:00:08+05:00] [opmn] [ERROR:1] [] [ons-secure] Connection server SSL set credentials failed (43084)
[2020-05-01T05:00:08+05:00] [opmn] [ERROR:1] [222] [ons-secure] SSL initialization failed

Suresh Chintam said...

[2020-05-30T09:15:47+05:30] [opmn] [NOTIFICATION:1] [667] [pm-requests] Request 6 Started. Command: /shutdown
[2020-05-30T09:15:47+05:30] [opmn] [NOTIFICATION:1] [668] [pm-requests] Request 6 Completed. Command: /shutdown
[2020-05-30T09:17:13+05:30] [opmn] [TRACE:32] [] [internal] ORACLE_HOME: /u01/applmgr/PROD/fs1/FMW_Home/webtier
[2020-05-30T09:17:13+05:30] [opmn] [TRACE:32] [] [internal] ORACLE_INSTANCE: /u01/applmgr/PROD/fs1/FMW_Home/webtier/instances/EBS_web_PROD_OHS1
[2020-05-30T09:17:13+05:30] [opmn] [ERROR:1] [] [ons-secure] Connection server SSL set credentials failed (43084)
[2020-05-30T09:17:13+05:30] [opmn] [ERROR:1] [222] [ons-secure] SSL initialization failed
[2020-05-30T10:09:39+05:30] [opmn] [TRACE:32] [] [internal] ORACLE_HOME: /u01/applmgr/PROD/fs1/FMW_Home/webtier
[2020-05-30T10:09:39+05:30] [opmn] [TRACE:32] [] [internal] ORACLE_INSTANCE: /u01/applmgr/PROD/fs1/FMW_Home/webtier/instances/EBS_web_PROD_OHS1
[2020-05-30T10:09:39+05:30] [opmn] [ERROR:1] [] [ons-secure] Connection server SSL set credentials failed (43084)
[2020-05-30T10:09:39+05:30] [opmn] [ERROR:1] [222] [ons-secure] SSL initialization failed
[2020-05-30T10:20:08+05:30] [opmn] [TRACE:32] [] [internal] ORACLE_HOME: /u01/applmgr/PROD/fs1/FMW_Home/webtier