ENS Error Reported In Messaging Server Logs: "ENS connection to 127.0.0.1:7997 failed: Connection refused" (Doc ID 1358142.1)

Last updated on SEPTEMBER 14, 2016

Applies to:

Oracle Communications Messaging Server - Version 7.0.0 and later
Information in this document applies to any platform.
***Checked for relevance on 14-11-2013***

Symptoms


Upon start of the Messaging Server, the following (or similar) error is reported in the Messaging Server logs :

http log:

[13/Sep/2011:15:27:40 +0100] lbl-76 httpd[11204]: ENS Error: ENS connection to 127.0.0.1:7997 failed: Connection refused
[13/Sep/2011:15:27:40 +0100] lbl-76 httpd[11204]: General Error: iBiff plugin load failed: unable to connect to ENS server



imapd log:

[13/Sep/2011:15:27:40 +0100] lbl-76 imapd[11198]: ENS Error: ENS connection to 127.0.0.1:7997 failed: Connection refused
[13/Sep/2011:15:27:40 +0100] lbl-76 imapd[11198]: General Error: iBiff plugin load failed: unable to connect to ENS server
[13/Sep/2011:15:27:40 +0100] lbl-76 imapd[11198]: ENS Error: ENS connection to 127.0.0.1:7997 failed: Connection refused


popd log:

[13/Sep/2011:15:27:40 +0100] lbl-76 popd[11201]: ENS Error: ENS connection to 127.0.0.1:7997 failed: Connection refused
[13/Sep/2011:15:27:40 +0100] lbl-76 popd[11201]: General Error: iBiff plugin load failed: unable to connect to ENS server
[13/Sep/2011:15:27:40 +0100] lbl-76 popd[11201]: ENS Error: ENS connection to 127.0.0.1:7997 failed: Connection refused


imta log (ie, the log file of the ims_master and tcp_lmtp_server processes):

[21/Nov/2011:10:04:12 -0500] hostname ims_master[28267]: ENS Error: ENS connection to 127.0.0.1:7997 failed: Connection refused
[21/Nov/2011:10:04:12 -0500] hostname ims_master[28267]: General Error: iBiff plugin load failed: unable to connect to ENS server
[21/Nov/2011:10:04:12 -0500] hostname ims_master[28267]: General Error: Plugin /opt/sun/comms/messaging64/lib/libibiff returned NULL from nsplugin_init(ms-internal)


The same error can be seen when the mboxutil command is being executed (along with the corresponding log entry):

# /opt/sun/comms/messaging64/sbin/mboxutil -lxp user/bv116112
  msgs  Kbytes last msg         partition   quotaroot mailbox path and acl

    17      44 2011/08/25 00:30 primary      no quota user/bv116112 /opt/sun/comms/messaging64/data/store/partition/primary/=user/01/b7/=bv116112  bv116112 lrswipcdan


[13/Sep/2011:16:23:56 +0100] lbl-76 mboxutil[13445]: ENS Error: ENS connection to 127.0.0.1:7997 failed: Connection refused
[13/Sep/2011:16:23:56 +0100] lbl-76 mboxutil[13445]: General Error: iBiff plugin load failed: unable to connect to ENS server
[13/Sep/2011:16:23:56 +0100] lbl-76 mboxutil[13445]: General Error: Plugin /opt/sun/comms/messaging64/lib/libibiff returned NULL from nsplugin_init(ms-internal)



When checking network connections, the ENS service is not listening on  127.0.0.1:7997, but rather on one specific network interface:

# netstat -an | grep 7997 | grep LISTEN
tcp        0      0 10.163.240.76:7997          0.0.0.0:*                   LISTEN

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms