# Natural RPC server with Natural Security

**URL:** <https://techcommunity.softwareag.com/t/natural-rpc-server-with-natural-security/75336>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Linux, Natural-Installation-and-Setup-on-Open-Systems\
**Created:** [September 7, 2007, 3:43am UTC](https://techcommunity.softwareag.com/t/natural-rpc-server-with-natural-security/75336 "2007-09-07T03:43:29Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Osman\_Sanchez](https://avatars.discourse-cdn.com/v4/letter/o/ac8455/32.png) [@Osman\_Sanchez](https://techcommunity.softwareag.com/u/Osman_Sanchez)\
**Post date:** [September 7, 2007, 3:43am UTC](https://techcommunity.softwareag.com/t/natural-rpc-server-with-natural-security/75336/1 "2007-09-07T03:43:29Z")

</div>

Hi everyone!!!  
I am trying to define a Natural RPC Server under Linux so when I try to start it I receive the NSC screen to log in. I already read the NSC documentation related to NATRPC Server and I just define the Natural RPC Server profile but when I start the Natural RPC server the NSC screen comes on.  
What can I do to start the Natural RPC Server?

Thanks in advanced and Best regards

---

<div class="post-metadata">

**Author:** ![Douglas\_Kelly](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/douglas_kelly/32/102_2.png) [@Douglas\_Kelly](https://techcommunity.softwareag.com/u/Douglas_Kelly)\
**Post date:** [September 7, 2007, 10:25am UTC](https://techcommunity.softwareag.com/t/natural-rpc-server-with-natural-security/75336/2 "2007-09-07T10:25:52Z")

</div>

Have you specified  
RPC=(SERVER=ON)  
in the parameters? Your Natural Security input must come from the STACK - it cannot read the library/uid/pwd from CMSYNIN or CMOBJIN:  
STACK=(LOGON SYSRPC,userid,password)

If neither of these help, you might export your NATPARM and upload it to the forum so others can see the whole picture and comment on it.

---

<div class="post-metadata">

**Author:** ![Osman\_Sanchez](https://avatars.discourse-cdn.com/v4/letter/o/ac8455/32.png) [@Osman\_Sanchez](https://techcommunity.softwareag.com/u/Osman_Sanchez)\
**Post date:** [September 7, 2007, 5:13pm UTC](https://techcommunity.softwareag.com/t/natural-rpc-server-with-natural-security/75336/3 "2007-09-07T17:13:18Z")

</div>

Good Morning Douglas,  
Yes, I did. So in regards of the STACK this is empty. Let me specify the value for the STACK. I will test and keep you informed

Thanks a lot

---

<div class="post-metadata">

**Author:** ![Osman\_Sanchez](https://avatars.discourse-cdn.com/v4/letter/o/ac8455/32.png) [@Osman\_Sanchez](https://techcommunity.softwareag.com/u/Osman_Sanchez)\
**Post date:** [September 7, 2007, 11:18pm UTC](https://techcommunity.softwareag.com/t/natural-rpc-server-with-natural-security/75336/4 "2007-09-07T23:18:28Z")

</div>

Hi Douglas and everyone!!!  
Attach you will find the NATPARM used by the Natural RPC Server. I already checked it and the SERVER parameter already has the ON value and the STACK parameter already has its specific value.  
I really appreciate your help.

Thanks in advanced

---

<div class="post-metadata">

**Author:** ![Osman\_Sanchez](https://avatars.discourse-cdn.com/v4/letter/o/ac8455/32.png) [@Osman\_Sanchez](https://techcommunity.softwareag.com/u/Osman_Sanchez)\
**Post date:** [September 8, 2007, 12:40am UTC](https://techcommunity.softwareag.com/t/natural-rpc-server-with-natural-security/75336/5 "2007-09-08T00:40:24Z")

</div>

Sorry!!! I forgot attach the file  
[RPC-SRV.txt](https://techcommunity.softwareag.com/uploads/short-url/na2dWIb5BQmTAzmg55ggKGwezxY.txt) (11.8 KB)

---

<div class="post-metadata">

**Author:** ![Douglas\_Kelly](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/douglas_kelly/32/102_2.png) [@Douglas\_Kelly](https://techcommunity.softwareag.com/u/Douglas_Kelly)\
**Post date:** [September 8, 2007, 10:28pm UTC](https://techcommunity.softwareag.com/t/natural-rpc-server-with-natural-security/75336/6 "2007-09-08T22:28:00Z")

</div>

You have STACK= in the STACK parameter. Instead of  
STACK=(LOGON SYSRPC:u:p)  
just enter  
LOGON SYSRPC:u:p  
(Sorry - I forgot this was the Open Systems thread and gave the mainframe syntax!)

---

<div class="post-metadata">

**Author:** ![Osman\_Sanchez](https://avatars.discourse-cdn.com/v4/letter/o/ac8455/32.png) [@Osman\_Sanchez](https://techcommunity.softwareag.com/u/Osman_Sanchez)\
**Post date:** [September 10, 2007, 6:54pm UTC](https://techcommunity.softwareag.com/t/natural-rpc-server-with-natural-security/75336/7 "2007-09-10T18:54:56Z")

</div>

Hi Douglas,  
Ok let me test. I will notify you…Cheers

---

<div class="post-metadata">

**Author:** ![Osman\_Sanchez](https://avatars.discourse-cdn.com/v4/letter/o/ac8455/32.png) [@Osman\_Sanchez](https://techcommunity.softwareag.com/u/Osman_Sanchez)\
**Post date:** [September 10, 2007, 7:42pm UTC](https://techcommunity.softwareag.com/t/natural-rpc-server-with-natural-security/75336/8 "2007-09-10T19:42:32Z")

</div>

Hi Douglas!!!  
i already tested it and i think is working, i mean the Natural RPC Server under linux apparently is running so when i try to see it by the SMH i don’t see it. I checked the Broker attribute file and it has specified the EntireX/Natural RPC services.  
What do you think i could be check?  
Thanks in advanced

PS. I am trying to kill the process started but it is remain running on

---

<div class="post-metadata">

**Author:** ![Douglas\_Kelly](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/douglas_kelly/32/102_2.png) [@Douglas\_Kelly](https://techcommunity.softwareag.com/u/Douglas_Kelly)\
**Post date:** [September 11, 2007, 5:15pm UTC](https://techcommunity.softwareag.com/t/natural-rpc-server-with-natural-security/75336/9 "2007-09-11T17:15:16Z")

</div>

Do you have the RPC TRACE set on? It writes its messages to print unit 10 (CMPRT10) - you can direct that output to a file and verify if the RPC server is indeed registered or not. Also check the standard output (CMPRINT) to see if there are any Natural messages there.

---

<div class="post-metadata">

**Author:** ![Osman\_Sanchez](https://avatars.discourse-cdn.com/v4/letter/o/ac8455/32.png) [@Osman\_Sanchez](https://techcommunity.softwareag.com/u/Osman_Sanchez)\
**Post date:** [September 20, 2007, 12:01am UTC](https://techcommunity.softwareag.com/t/natural-rpc-server-with-natural-security/75336/10 "2007-09-20T00:01:46Z")

</div>

Sorry for the delay. Let me check the last recommendation you gave me.  
Thks a lot

---

<div class="post-metadata">

**Author:** ![Osman\_Sanchez](https://avatars.discourse-cdn.com/v4/letter/o/ac8455/32.png) [@Osman\_Sanchez](https://techcommunity.softwareag.com/u/Osman_Sanchez)\
**Post date:** [October 2, 2007, 2:45am UTC](https://techcommunity.softwareag.com/t/natural-rpc-server-with-natural-security/75336/11 "2007-10-02T02:45:56Z")

</div>

Hi Douglas,  
Finally I could get the trace of the Natural RPC Server under Linux. I’m afraid I’ve got a problem with the ACIVERS parameter. The trace file generated after I tryed to start the Natural RPC Server showed me the following message: REQUESTED ACI VERSION 2 NOT SUPPORTED BY BROKER STUB. I already read the SETTING UP A NATURAL RPC ENVIRONMENT documentation and I changed the ACIVERS to 4 because of the Natural Security but the Natural RPC Server activation failed againg because of the ACIVERS=4.  
Attach you will find the trace file. Could you please help me to understand what is going on?.  
Best Regards  
[20071001 NATRPC Server Trace under Linux.doc](https://techcommunity.softwareag.com/uploads/short-url/q5uI6jSfZ816hyG9RdrT2DOhGUI.doc) (28.5 KB)

---

<div class="post-metadata">

**Author:** ![Douglas\_Kelly](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/douglas_kelly/32/102_2.png) [@Douglas\_Kelly](https://techcommunity.softwareag.com/u/Douglas_Kelly)\
**Post date:** [October 3, 2007, 8:10am UTC](https://techcommunity.softwareag.com/t/natural-rpc-server-with-natural-security/75336/12 "2007-10-03T08:10:25Z")

</div>

ACIVERS has nothing to do with Natural Security - it is a requirement for EntireX Security, which I gather you are not using. You supplied the log for ACIVERS=2, so I can’t comment on what might have been reported with ACIVERS=4.

Check your NATPARM parameters again and ensure that the EntireX Broker stub is correctly installed for your operating system. You might want to open a ServLine24 support request for assistance - they will need to see your latest NATPARM and the details of your operating system, Natural and EntireX versions.

---

<div class="post-metadata">

**Author:** ![Osman\_Sanchez](https://avatars.discourse-cdn.com/v4/letter/o/ac8455/32.png) [@Osman\_Sanchez](https://techcommunity.softwareag.com/u/Osman_Sanchez)\
**Post date:** [October 5, 2007, 6:42pm UTC](https://techcommunity.softwareag.com/t/natural-rpc-server-with-natural-security/75336/13 "2007-10-05T18:42:53Z")

</div>

Hi Douglas,  
I’ve got a god news for you. The things is I finally could start Natural RPC Server under Linux. You were right when you told me that EntireX stub was not installed correctly. I found out in ServLine24 a report related to a problem at starting Natural RPC Server and also I research in Natural RPC Environment documentation. Both of them mentions about the copy of the Natural broker stub natetb.so and broker.so from the directory $EXXDIR/$EXX/VERS/lib to the directory specified with NATEXTLIB variable.  
Once I already copy the Natural broker stub above mentioned I start the Natural RPC Server successfully.  
Thans a lot for your attention I appreciate it indeed.

Cheers

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:48pm UTC](https://techcommunity.softwareag.com/t/natural-rpc-server-with-natural-security/75336/14 "2021-04-02T14:48:42Z")

</div>


