[comp.sys.hp] NMServer

harding@gandalf.UUCP (Gordon Harding) (11/16/90)

I have installed the NMServer software and I am attempting to run the
sample programs found in /usr/lib/OV/prg_samples.  

First I attempted to compile the code in /usr/lib/OV/prg_samples/gateway
I received the following message.

ld: cannot find library for -lOVwApp

To tell the truth I could not find it either.

I then proceded to compile the code in /usr/lib/OV/prg_samples/lanic_app
and /usr/lib/OV/prg_samples/lanic_mgr

These compiled without complaint.  I followed the instruction in the manual
and ran ovaddobj for the proper files, ran ovmetacomp for the proper files
and proceeded to test the code.

I started OpenView, made sure the proper processes were running, ran the
ovconftest which said all was fine.  I then started the lanicm process and
checked the log file in /tmp which was fine.  I then attempted to start the
lanica code.  This proceeded to dump core with a memory fault.

According to page A-9 of the programmers guide under the title
Memory Usage of HP OpenView NM Server on the HP9000 Series 300

If your program aborts due to a memory allocation failure or a memory
related problem, you need to reset an external variable.

Set the variable NTL_shmaddr to 0x00200000 before any call to OV API

For further information on the memory usage of the HP OpenView NM Server
on HP9000 Series 300s please refer to the README file in /usr/lib/OV on
the product tape.


I then edited the code in lanica.c , the code read

#ifdef hp9000s300
NTL_shmaddr = (char *)0x00800000;
#endif

As you can see this number differs from the number in the documentation.
I tried both numbers without the #ifdef and had the same result.  I found 
no mention of memory in the README file.

The problem  may lie in the fact that I am running the product on a series
400 machine.  Can any of you help me in this problem.

Please post as mail does not seem to work very well.  

Regards 
Gord


Gordon Harding
Gandalf Data Ltd, 130 Colonnade Rd, Nepean, Ontario, CANADA K2E 7J5
Phone: (613) 723-6500                          harding@e.gandalf.ca