opmn service listening to external connections - issue


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users opmn service listening to external connections - issue
# 1  
Old 12-09-2009
opmn service listening to external connections - issue

Hello Gentlemen,

Its been a looong time I have posted here. I need a clarification. We started up the OPMN service (for Oracle App server) on Linux box. The service was supposed to listen on port 6005.

The service started up and was listening to 6005 but looks like it was listening only to localhost calls. I mean this service was not lsitening to requests coming from other servers.

I listed the services using -
Code:
[oraias@shk-oratestintegration01 conf]$  netstat -lnptu|grep 6005
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 127.0.0.1:6005              0.0.0.0:*                   LISTEN      29587/opmn

What could be the problem? We are planning to restart the entire App Server for this purpose as we havent got any clue to why it happened. We have another server where we have same setup, but the issue doesnt occur there.

In the other server -
Code:
[oraias@SHK-ORADEVAPP02 conf]$ netstat -lnptu|grep 6005
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 127.0.0.1:6005              0.0.0.0:*                   LISTEN      8080/opmn
tcp        0      0 192.168.1.83:6005           0.0.0.0:*                   LISTEN      8080/opmn

Any suggestions please!
Code:
[oraias@SHK-ORADEVAPP02 conf]$ uname -a
Linux SHK-ORADEVAPP02 2.6.9-89.0.0.0.1.ELsmp #1 SMP Tue May 19 05:31:20 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

Regards,
Ranj
# 2  
Old 12-09-2009
hello
have you registered the service in /etc/services
# 3  
Old 12-09-2009
Not registered

No Gaurav.

The opmn service is not registered in both the servers.

-Ranj
# 4  
Old 12-09-2009
I believe you'll need to restart the opmn managed processes in any case.

I suppose that the public interface wasn't up during the installation process.

You can try something like this (UNTESTED, use at your own risk!):

Code:
opmnctl  stopall

Modify/add the network interface in opmn.xml

Code:
$ORACLE_HOME/opmn/conf/opmn.xml

like this:

Code:
< ipaddr  remote="172.16.11.x" request="172.16.11.x; 10.10.1.x"/ >

By the way, what's the current value of ipaddr remote?

Be aware of the following bug:

Note:462716.1 Using Two IP Addresses in Request Section of opmn.xml Gives Bad OPMN server host address' Error

Code:
opmnctl start

Update the configuration:

Code:
opmnctl  reload
opmnctl startall
$ORACLE_HOME/dcm/bin/dcmctl  updateConfig -ct opmn


Me personally, I would try to add the network interface via the application control web interface (sorry for not being specific, but I don't remember the exact properties page).
# 5  
Old 12-09-2009
hello
can you check to see if there are iptables rules preventing other hosts on that server.
Its kinda strange that the same server would listening on localhost would not accept connections from other hosts.
also check if eth[n] (whatever iface) is up .

Last edited by gaurav1086; 12-09-2009 at 10:56 AM..
# 6  
Old 12-10-2009
All set up fine

Hi Gaurav,

There are no rules in iptables and the interface is also up.
Code:
[root@shk-oratestintegration01 ~]# /sbin/iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
[root@shk-oratestintegration01 ~]# /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:3E:3A:22:1E
          inet addr:192.168.1.115  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::216:3eff:fe3a:221e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11788401 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10866286 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1585596831 (1.4 GiB)  TX bytes:6260261128 (5.8 GiB)
          Interrupt:185 Base address:0xe000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:118015 errors:0 dropped:0 overruns:0 frame:0
          TX packets:118015 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:40417040 (38.5 MiB)  TX bytes:40417040 (38.5 MiB)

I checked my /etc/hosts file and it has entry only for the local host. Could that be a problem?
# 7  
Old 12-10-2009
hello
well everything seems to be fine.
no /etc/hosts only contain the domain names aliases for ip addresses . Its like a cache for skipping the resolving of DNS servers. So there's nothing wrong with that.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Red Hat

External HDD Issue

Hello everyone ! I just installed Red Hat 6.4 and when i plug in my external HDD firstly i can see the files and after 5 seconds all dissapears. What causes to this and ways to fix it ? Thanks in advance ! (1 Reply)
Discussion started by: djqbert
1 Replies

2. Linux

cifs.upcall issue, requests new kerberos service ticket all the time

This is more of an annoyance than an actual production issue. I've set it up so that each user's home directory is mounted to an immediate subdirectory of $HOME when they login, (and umounts when they log out to keep /proc/mounts a manageable size). My issue comes in when my login scripts... (0 Replies)
Discussion started by: thmnetwork
0 Replies

3. Hardware

External GPU issue

Dear all, I set up a external Gforce GPU using the PE4H (Pcie passive adapter) from HWTOOLS.NET. I'm able to add and remove the device doing and The point is the kernel does not initialized the device correctly. Here is what dmesg gives after the scan: lspci -t gives and lspci... (2 Replies)
Discussion started by: aihake
2 Replies

4. AIX

Service IP issue in HACMP, Working with only one node

Hi, I have a running HACMP Cluster with two nodes. Its working in active/passive mode. (i.e Out of the two nodes in the cluster one will be active and the other one will be on standby. If first node fails the other takes over) 1. There is a Service IP associated with the cluster. Now the... (2 Replies)
Discussion started by: aixromeo
2 Replies

5. SuSE

named service issue on Suse

Hi Experts, I have a virtual server of SUSE Linux Enterprise Server 10 (x86_64). I am having strange issue of Naming services. Every 1 or 2 hours, named service stops working on this server and then I have to start it from "/etc/init./named start" I am not getting clue, where should I start... (0 Replies)
Discussion started by: solaris_1977
0 Replies

6. UNIX for Advanced & Expert Users

external DVD-ROM drive issue whether it is working or not?on HP rp74000

old clunker - rp74000 How to diag the external DVD-ROM drives issue whether it is working or not? on HP 9000 server rp7400 Please help me > I needed to install HP 11i v1 using external DVD-ROM drive on HP 9000 server rp7400. While boot in CO> “search” command is not showing DVD-ROM device... (1 Reply)
Discussion started by: tpuser
1 Replies

7. HP-UX

External DVD-ROM drive issue whether it is working or not? on HP rp7400

Please help me > How to diag the external DVD-ROM drive issue whether it is working or not? on HP 9000 server rp7400 I needed to install HP 11i v1 using external DVD-ROM drive on HP 9000 server rp7400. While boot in CO> “search” command is not showing DVD-ROM device only showing all disks >... (0 Replies)
Discussion started by: tpuser
0 Replies

8. What is on Your Mind?

What are you listening to right now?

This is has been posted many times before... It is not in this forum as of now, so I have decided to put it here :D I'm listening to The Outsiders (AKA Hell is for Heros Part I) by Modern Life is War.... what about ya'll? (4 Replies)
Discussion started by: Mars8082686
4 Replies
Login or Register to Ask a Question