nameserv abnormal error occurred

Hello, I'm contacting you because I have an inquiry
One day, when I started the visibroker, the status of NAMESERV appeared as ABNORMAL.

This is log.
------------------------------------------------------------
npdb@dbm1:/home/npdb:134 % disCORBA
----------------------------------------------------------
*** LGU_NPDB CORBA SYSTEM Status***
----------------------------------------------------------
NAME PID STATUS
----------------------------------------------------------
OSAGENT 21878 NORMAL
NAMESERV - ABNORMAL
----------------------------------------------------------
TOTAL : 02 NORMAL : 01 ABNORMAL : 01
----------------------------------------------------------
npdb@dbm1:/home/npdb:135 %
npdb@dbm1:/home/npdb:135 %
npdb@dbm1:/home/npdb:135 %
npdb@dbm1:/home/npdb:135 %
npdb@dbm1:/home/npdb:135 %
npdb@dbm1:/home/npdb:135 % su
Password:
[root@dbm1 npdb] # ps -ef|grep nameserv
root 21489 21472 0 11:34 pts/1 00:00:00 grep --color=auto nameserv
[root@dbm1 npdb]#
[root@dbm1 npdb]#
[root@dbm1 npdb]# ps -ef|grep npmaster
root 21507 21472 0 11:34 pts/1 00:00:00 grep --color=auto npmaster
[root@dbm1 npdb]#


npdb@dbm2:/home/npdb:79 % disCORBA
----------------------------------------------------------
*** LGU_NPDB CORBA SYSTEM Status***
----------------------------------------------------------
NAME PID STATUS
----------------------------------------------------------
OSAGENT 16295 NORMAL
NAMESERV - ABNORMAL
----------------------------------------------------------
TOTAL : 02 NORMAL : 01 ABNORMAL : 01
----------------------------------------------------------
npdb@dbm2:/home/npdb:80 % su
Password:
[root@dbm2 npdb]# ps -ef|grep nameserv
root 16435 16402 0 11:37 pts/2 00:00:00 grep --color=auto nameserv
[root@dbm2 npdb]# ps -ef|grep npmaster
root 16458 16402 0 11:37 pts/2 00:00:00 grep --color=auto npmaster
[root@dbm2 npdb] #

---------------------------------------------------------------

So, I conducted a test with visibroker using bank_agent.

This is test log.
---------------------------------------------------------------
npdb@dbm1:/opt:152 % bash
[npdb@dbm1 opt]$ ls -al
total 278500
drwxrwxrwx. 5 root root 147 Oct 11 13:35 .
dr-xr-xr-x. 20 root root 262 Sep 6 13:44 ..
drwxrwxrwx. 13 npdb npdb 240 May 17 10:31 BES64
-rw-r--r--. 1 root root 67847311 Oct 11 13:35 DBM1_CORBA.gz
-rwxrwxrwx. 1 root root 146815279 Oct 11 12:07 jdk-8u321-linux-x64.tar.gz
drwxrwxrwx. 8 10143 10143 273 Dec 16 2021 jdk1.8.0_321
drwxrwxrwx. 4 root root 31 Sep 6 13:44 nfv
-rwxrwxrwx. 1 root root 70516075 Oct 11 12:07 vb85-08.05.00.p7-linux-rh5-x64.bin
[npdb@dbm1 opt]$ cd BES64/
[npdb@dbm1 BES64]$ ls -al
total 376
drwxrwxrwx. 13 npdb npdb 240 May 17 10:31 .
drwxrwxrwx. 5 root root 147 Oct 11 13:35 ..
-rw-rw-r--. 1 npdb npdb 179 May 17 10:19 MANIFEST. MF
drwxrwxr-x. 3 npdb npdb 174 May 17 10:19 UninstallerData
drwxrwxr-x. 2 npdb npdb 4096 May 17 10:37 bin
drwxrwxr-x. 3 npdb npdb 38 May 17 10:18 doc
drwxrwxr-x. 4 npdb npdb 34 May 17 10:18 etc
drwxrwxr-x. 3 npdb npdb 21 May 17 10:18 examples
drwxrwxr-x. 2 npdb npdb 4096 May 17 10:18 idl
drwxrwxr-x. 9 npdb npdb 8192 May 17 10:18 include
drwxrwxr-x. 4 npdb npdb 4096 May 17 10:18 lib
drwxrwxr-x. 2 npdb npdb 113 May 17 10:31 license
-rwxrwxr-x. 1 npdb npdb 61871 May 17 10:18 license.txt
-rwxrwxr-x. 1 npdb npdb 4268 May 17 10:18 readme.html
-rwxrwxr-x. 1 npdb npdb 278271 May 17 10:18 third_party_license.txt
drwxrwxr-x. 3 npdb npdb 23 May 17 10:18 tmp
drwxrwxr-x. 4 npdb npdb 160 Nov 15 13:32 var
[npdb@dbm1 BES64]$ cd bin
[npdb@dbm1 bin]$ l
bash: l: command not found
[npdb@dbm1 bin]$ . ./vbroker.sh
[npdb@dbm1 bin]$ cd ..
[npdb@dbm1 BES64]$ ls -al
total 376
drwxrwxrwx. 13 npdb npdb 240 May 17 10:31 .
drwxrwxrwx. 5 root root 147 Oct 11 13:35 ..
-rw-rw-r--. 1 npdb npdb 179 May 17 10:19 MANIFEST. MF
drwxrwxr-x. 3 npdb npdb 174 May 17 10:19 UninstallerData
drwxrwxr-x. 2 npdb npdb 4096 May 17 10:37 bin
drwxrwxr-x. 3 npdb npdb 38 May 17 10:18 doc
drwxrwxr-x. 4 npdb npdb 34 May 17 10:18 etc
drwxrwxr-x. 3 npdb npdb 21 May 17 10:18 examples
drwxrwxr-x. 2 npdb npdb 4096 May 17 10:18 idl
drwxrwxr-x. 9 npdb npdb 8192 May 17 10:18 include
drwxrwxr-x. 4 npdb npdb 4096 May 17 10:18 lib
drwxrwxr-x. 2 npdb npdb 113 May 17 10:31 license
-rwxrwxr-x. 1 npdb npdb 61871 May 17 10:18 license.txt
-rwxrwxr-x. 1 npdb npdb 4268 May 17 10:18 readme.html
-rwxrwxr-x. 1 npdb npdb 278271 May 17 10:18 third_party_license.txt
drwxrwxr-x. 3 npdb npdb 23 May 17 10:18 tmp
drwxrwxr-x. 4 npdb npdb 160 Nov 15 13:32 var
[npdb@dbm1 BES64]$ cd examples/
[npdb@dbm1 examples]$ ls -al
total 4
drwxrwxr-x. 3 npdb npdb 21 May 17 10:18 .
drwxrwxrwx. 13 npdb npdb 240 May 17 10:31 ..
drwxrwxr-x. 31 npdb npdb 4096 May 17 10:18 vbroker
[npdb@dbm1 examples]$ cd vbroker/
[npdb@dbm1 vbroker]$ ls -al
total 32
drwxrwxr-x. 31 npdb npdb 4096 May 17 10:18 .
drwxrwxr-x. 3 npdb npdb 21 May 17 10:18 ..
-rwxrwxr-x. 1 npdb npdb 3556 May 17 10:18 Makefile
drwxrwxr-x. 6 npdb npdb 108 May 17 10:18 NativeMessaging
drwxrwxr-x. 4 npdb npdb 48 May 17 10:18 QoS_policies
drwxrwxr-x. 4 npdb npdb 59 May 17 10:18 ServerManager
drwxrwxr-x. 4 npdb npdb 46 May 17 10:18 Transaction
drwxrwxr-x. 8 npdb npdb 132 May 17 10:18 basic
drwxrwxr-x. 3 npdb npdb 35 May 17 10:18 bidir-iiop
drwxrwxr-x. 5 npdb npdb 60 May 17 10:18 boa
drwxrwxr-x. 4 npdb npdb 58 May 17 10:18 debug
drwxrwxr-x. 2 npdb npdb 249 May 17 10:18 dynany
drwxrwxr-x. 2 npdb npdb 4096 May 17 10:18 events
drwxrwxr-x. 9 npdb npdb 158 May 17 10:18 gatekeeper
drwxrwxr-x. 12 npdb npdb 236 May 17 10:18 ins
drwxrwxr-x. 8 npdb npdb 153 May 17 10:18 interceptors
drwxrwxr-x. 2 npdb npdb 218 May 17 10:18 interop
drwxrwxr-x. 2 npdb npdb 4096 May 17 10:18 ir
drwxrwxr-x. 3 npdb npdb 35 May 17 10:18 its
drwxrwxr-x. 2 npdb npdb 4096 May 17 10:18 locate
drwxrwxr-x. 13 npdb npdb 234 May 17 10:18 notify
drwxrwxr-x. 5 npdb npdb 65 May 17 10:18 oad
drwxrwxr-x. 3 npdb npdb 35 May 17 10:18 obv
drwxrwxr-x. 4 npdb npdb 59 May 17 10:18 pi
drwxrwxr-x. 10 npdb npdb 207 May 17 10:18 poa
drwxrwxr-x. 3 npdb npdb 195 May 17 10:18 rmi-iiop
drwxrwxr-x. 2 npdb npdb 186 May 17 10:18 rmi-iiop-server
drwxrwxr-x. 6 npdb npdb 94 May 17 10:18 rtcorba
drwxrwxr-x. 14 npdb npdb 4096 May 17 10:18 security
-rwxrwxr-x. 1 npdb npdb 2364 May 17 10:18 stdmk
-rwxrwxr-x. 1 npdb npdb 2322 May 17 10:18 stdmk_32
drwxrwxr-x. 8 npdb npdb 153 May 17 10:18 telcolog
drwxrwxr-x. 4 npdb npdb 58 May 17 10:18 time
drwxrwxr-x. 4 npdb npdb 48 May 17 10:18 ws
[npdb@dbm1 vbroker]$ cd basic/
[npdb@dbm1 basic]$ ls -al
total 20
drwxrwxr-x. 8 npdb npdb 132 May 17 10:18 .
drwxrwxr-x. 31 npdb npdb 4096 May 17 10:18 ..
-rwxrwxr-x. 1 npdb npdb 910 May 17 10:18 Makefile
drwxrwxr-x. 2 npdb npdb 226 May 17 10:18 bank_URL
drwxrwxr-x. 3 npdb npdb 4096 May 17 10:35 bank_agent
drwxrwxr-x. 2 npdb npdb 288 May 17 10:18 bank_dynamic
drwxrwxr-x. 2 npdb npdb 4096 May 17 10:18 bank_naming
drwxrwxr-x. 2 npdb npdb 4096 May 17 10:18 bank_portable
drwxrwxr-x. 2 npdb npdb 276 May 17 10:18 bank_tie
[npdb@dbm1 basic]$ cd bank_agent/
[npdb@dbm1 bank_agent]$ ls -al
total 80
drwxrwxr-x. 3 npdb npdb 4096 May 17 10:35 .
drwxrwxr-x. 8 npdb npdb 132 May 17 10:18 ..
-rw-r--r--. 1 npdb npdb 307 May 17 10:35 AccountImpl.class
-rwxrwxr-x. 1 npdb npdb 219 May 17 10:18 AccountImpl.java
-rw-r--r--. 1 npdb npdb 1711 May 17 10:35 AccountManagerImpl.class
-rwxrwxr-x. 1 npdb npdb 1267 May 17 10:18 AccountManagerImpl.java
drwxr-xr-x. 2 npdb npdb 4096 May 17 10:35 Bank
-rwxrwxr-x. 1 npdb npdb 151 May 17 10:18 Bank.idl
-rw-r--r--. 1 npdb npdb 0 May 17 10:35 Bank.module
-rwxrwxr-x. 1 npdb npdb 3102 May 17 10:18 BankImpl.h
-rwxrwxr-x. 1 npdb npdb 1127 May 17 10:18 Client.C
-rw-r--r--. 1 npdb npdb 1247 May 17 10:35 Client.class
-rwxrwxr-x. 1 npdb npdb 853 May 17 10:18 Client.java
-rwxrwxr-x. 1 npdb npdb 198 May 17 10:18 Makefile
-rwxrwxr-x. 1 npdb npdb 456 May 17 10:18 Makefile_cpp
-rwxrwxr-x. 1 npdb npdb 367 May 17 10:18 Makefile_java
-rwxrwxr-x. 1 npdb npdb 1666 May 17 10:18 Server.C
-rw-r--r--. 1 npdb npdb 2063 May 17 10:35 Server.class
-rwxrwxr-x. 1 npdb npdb 1315 May 17 10:18 Server.java
-rwxrwxr-x. 1 npdb npdb 1088 May 17 10:18 bank_agent.html
-rwxrwxr-x. 1 npdb npdb 2699 May 17 10:18 bank_agent_cpp.html
-rwxrwxr-x. 1 npdb npdb 2789 May 17 10:18 bank_agent_java.html
[npdb@dbm1 bank_agent]$ make -f Makefile_java
make: Nothing to be done for `default'.
[npdb@dbm1 bank_agent]$ make -f Makefile_java
make: Nothing to be done for `default’.
----------------------------------------------------------
As you can see, even the makefile_java did not work.
I would like to know the cause of this. Do you have any guesses?
I think It is suspected that the issue is due to a port number conflict on the equipment where Visibroker is installed.
Or, if there is something more we need to investigate to solve this problem,
please let me know and I will try it. Thank you.

Visibroker's version is 8.5 CORE PROD, Developement.

Labels:

VisiBroker
Parents
  • Suggested Answer

    Hi Nam Ki,

          Thank you for reaching out to the OpenText CORBA community for help with your VisiBroker 8.5 issue. If you suspect the naming service is not starting properly due to a port confict you can manually start the service using the specified port using the command shown on page 208:

    To force the VisiNaming Service to start on a particular port, the VisiNaming Service must be started with the following command line option:

    prompt> nameserv -JDvbroker.se.iiop_tp.scm.iiop_tp.listener.port=12345

    https://www.microfocus.com/documentation/visibroker/visibroker858/pdfdoc/vb_javadg_858.pdf

    As for the makefile problem building the bank_agent java example, please see the terminal screen image below:

    Probably a result of not sourcing the vbroker.sh command to set all the needed environment variables for VB 8.5 development and runtime. 

    Best Regards,

    -Scott

Reply
  • Suggested Answer

    Hi Nam Ki,

          Thank you for reaching out to the OpenText CORBA community for help with your VisiBroker 8.5 issue. If you suspect the naming service is not starting properly due to a port confict you can manually start the service using the specified port using the command shown on page 208:

    To force the VisiNaming Service to start on a particular port, the VisiNaming Service must be started with the following command line option:

    prompt> nameserv -JDvbroker.se.iiop_tp.scm.iiop_tp.listener.port=12345

    https://www.microfocus.com/documentation/visibroker/visibroker858/pdfdoc/vb_javadg_858.pdf

    As for the makefile problem building the bank_agent java example, please see the terminal screen image below:

    Probably a result of not sourcing the vbroker.sh command to set all the needed environment variables for VB 8.5 development and runtime. 

    Best Regards,

    -Scott

Children
  • Suggested Answer

    Thank you for providing the response. We tried the test as per your instructions but it failed. Here's what we thought:

    The computer has a Registration key of 1234567. Using this key along with the Serial Number, a reg1923.txt License file was generated and placed in the License folder. After backing up the reg file and deleting Visibroker, it was reinstalled without changing the Registration key. If the backed-up reg1923.txt file is placed back into the License folder, will Visibroker function properly?

    npdb@dbm1:/home/npdb:134 % disCORBA
      ----------------------------------------------------------
              *** LGU_NPDB CORBA SYSTEM Status***
      ----------------------------------------------------------
         NAME          PID          STATUS
      ----------------------------------------------------------
         OSAGENT      21878         NORMAL
         NAMESERV         -         ABNORMAL
      ----------------------------------------------------------
       TOTAL : 02   NORMAL : 01   ABNORMAL : 01
      ----------------------------------------------------------
    npdb@dbm1:/home/npdb:135 %
    npdb@dbm1:/home/npdb:135 %
    npdb@dbm1:/home/npdb:135 %
    npdb@dbm1:/home/npdb:135 %
    npdb@dbm1:/home/npdb:135 %
    npdb@dbm1:/home/npdb:135 % su
    Password:
    [root@dbm1 npdb]# ps -ef|grep nameserv
    root     21489 21472  0 11:34 pts/1    00:00:00 grep --color=auto nameserv
    [root@dbm1 npdb]#
    [root@dbm1 npdb]#
    [root@dbm1 npdb]# ps -ef|grep npmaster
    root     21507 21472  0 11:34 pts/1    00:00:00 grep --color=auto npmaster
    [root@dbm1 npdb]#
     
     
    npdb@dbm2:/home/npdb:79 % disCORBA
      ----------------------------------------------------------
              *** LGU_NPDB CORBA SYSTEM Status***
      ----------------------------------------------------------
         NAME          PID          STATUS
      ----------------------------------------------------------
         OSAGENT      16295         NORMAL
         NAMESERV         -         ABNORMAL
      ----------------------------------------------------------
       TOTAL : 02   NORMAL : 01   ABNORMAL : 01
      ----------------------------------------------------------
    npdb@dbm2:/home/npdb:80 % su
    Password:
    [root@dbm2 npdb]# ps -ef|grep nameserv
    root     16435 16402  0 11:37 pts/2    00:00:00 grep --color=auto nameserv
    [root@dbm2 npdb]# ps -ef|grep npmaster
    root     16458 16402  0 11:37 pts/2    00:00:00 grep --color=auto npmaster
    [root@dbm2 npdb]#
     

    thanks