Sunday, February 3, 2019

OGG The requested URL is not serviced by Manager in UDP Mode



OGG Version: 18.1

After upgrading OGG to 18c from 12.2 then when Trying to access below url which was working before upgrade we are seeing below in the web page
http://<my_GGserver_name>:7809/groups

The requested URL is not serviced by Manager in UDP Mode

GGSCI (oradev.domain.com) 9> info all

Program     Status      Group       Lag at Chkpt  Time Since Chkpt

MANAGER     RUNNING
JAGENT      RUNNING
PMSRVR      STOPPED
EXTRACT     RUNNING     EXT1    00:00:04      00:00:09
EXTRACT     RUNNING     EXT2    00:00:02      00:00:05
EXTRACT     RUNNING     PXT1    00:00:03      00:00:04
EXTRACT     RUNNING     PXT2    00:00:22      00:00:04


Cause:
I see somehow GLOBALS param contains mgr default port 7809 which is already in use

$ cat GLOBALS

GGSCHEMA ggadmin
ENABLEMONITORING UDP HTTPPORT 7809

If you use 7809 in GLOBALS (HTTPPORT 7809) then when you start PMSRVR you will see below error since mgr already uses this port

GGSCI (oradev.domain.com) 7> Attempt 1 - Bind failed for address 'ANY:7809'[AF_INET] on 'ANY' interface with global scope.
'Address already in use' (98)
Attempt 2 - Bind failed for address 'ANY:7809'[AF_INET] on 'ANY' interface with global scope.
'Address already in use' (98)
Attempt 3 - Bind failed for address 'ANY:7809'[AF_INET] on 'ANY' interface with global scope.
'Address already in use' (98)
Attempt 4 - Bind failed for address 'ANY:7809'[AF_INET] on 'ANY' interface with global scope.
'Address already in use' (98)
Attempt 5 - Bind failed for address 'ANY:7809'[AF_INET] on 'ANY' interface with global scope.


SOLUTION :

So in order to fix it stop all OGG processes and we need to use other open PORT in GLOBALS file which is not already in use and then restart the PMSRVR and then all other remaining OGG processes including mgr, then issue will be resolved

$ cat GLOBALS

GGSCHEMA ggadmin
ENABLEMONITORING UDP

Here I removed 7809 and didn’t gave any port number which means I’m using default 7809
Now, STOP and STARTED all process

stop er*
stop mgr
stop jagent

GGSCI (oradev.domain.com) 2> start PMSRVR
PMSRVR started

start mgr
start jagent
stop er*


GGSCI (oradev.domain.com) 9> info all

Program     Status      Group       Lag at Chkpt  Time Since Chkpt

MANAGER     RUNNING
JAGENT      RUNNING
PMSRVR      RUNNING
EXTRACT     RUNNING     EXT1    00:00:04      00:00:09
EXTRACT     RUNNING     EXT2    00:00:02      00:00:05
EXTRACT     RUNNING     PXT1    00:00:03      00:00:04
EXTRACT     RUNNING     PXT2    00:00:22      00:00:04

The monitoring functionality previously provided by the Manager process is now provided using the new Performance Metrics server process (PMSRVR)

Check about PMSRVR here: 



0 comments:

Post a Comment

Auto Scroll Stop Scroll