# Natural getting NAT3148 error from time to time

**URL:** <https://techcommunity.softwareag.com/t/natural-getting-nat3148-error-from-time-to-time/295093>\
**Category:** Forum\
**Tags:** Adabas-Natural, Adabas, Natural, Adabas-on-Linux\
**Created:** [April 24, 2024, 5:10pm UTC](https://techcommunity.softwareag.com/t/natural-getting-nat3148-error-from-time-to-time/295093 "2024-04-24T17:10:27Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francis\_Shin](https://avatars.discourse-cdn.com/v4/letter/f/c0e974/32.png) [@Francis\_Shin](https://techcommunity.softwareag.com/u/Francis_Shin)\
**Post date:** [April 24, 2024, 5:10pm UTC](https://techcommunity.softwareag.com/t/natural-getting-nat3148-error-from-time-to-time/295093/1 "2024-04-24T17:10:27Z")

</div>

Does anyone know is there any setting or configuration of adabas session or database restart? We are getting NAT3148 error from Natural in random time and I can see %ADANUC-I-TERMINATED and %ADANUC-I-DBSTART message in adanuc.log. The logs generated when Application getting NAT3148 error. Seems like this happening in random time but frequently. We do not have any scheduled task/cron job to restart ADABAS.

Any help or insight would be appreciated.

---

<div class="post-metadata">

**Author:** ![Brian\_Johnson1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/brian_johnson1/32/163_2.png) [@Brian\_Johnson1](https://techcommunity.softwareag.com/u/Brian_Johnson1)\
**Post date:** [April 24, 2024, 5:28pm UTC](https://techcommunity.softwareag.com/t/natural-getting-nat3148-error-from-time-to-time/295093/2 "2024-04-24T17:28:44Z")

</div>

I am not sure how better to respond than to say check with your DBA as to whether your database is being brought down and up at “random times”, which I think precludes the idea it is scripted. Either the DBA is deliberately bouncing the database for some reason or the database is in need of some care if it crashes (which doesn’t happen for a properly managed ADABAS on any platform). I hope this is at least a non-production environment.

---

<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:** [April 24, 2024, 5:39pm UTC](https://techcommunity.softwareag.com/t/natural-getting-nat3148-error-from-time-to-time/295093/3 "2024-04-24T17:39:00Z")

</div>

I agree with Brian - there are two considerations here: 1) something is bringing your database down. If it is a crash, there should be information in the adanuc.log as to what the crash is. If the termination is “normal”, then there is something/someone initiating a shutdown using Adabas utilities. 2) you most likely have some Linux function that is monitoring the status of the Adabas process and initiating a restart if it is down. Work with your Linux systems administration team to find out how this is done (systemctl? nagios? ??)

---

<div class="post-metadata">

**Author:** ![Francis\_Shin](https://avatars.discourse-cdn.com/v4/letter/f/c0e974/32.png) [@Francis\_Shin](https://techcommunity.softwareag.com/u/Francis_Shin)\
**Post date:** [April 24, 2024, 5:56pm UTC](https://techcommunity.softwareag.com/t/natural-getting-nat3148-error-from-time-to-time/295093/4 "2024-04-24T17:56:14Z")

</div>

Thank you for the responses. Actually I’m the DBAs and investigating why the ADABAS is going down in random time. @Douglas_Kelly, is there any chance that ADABAS can be crushed when there is no enough resource available on the host then it terminated and auto start again? I do not see any error in adanuc.log but termination then start again.

---

<div class="post-metadata">

**Author:** ![wolfgang.winter](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/wolfgang.winter/32/17954_2.png) [@wolfgang.winter](https://techcommunity.softwareag.com/u/wolfgang.winter)\
**Post date:** [April 24, 2024, 6:13pm UTC](https://techcommunity.softwareag.com/t/natural-getting-nat3148-error-from-time-to-time/295093/5 "2024-04-24T18:13:15Z")

</div>

Check if there are any files named

```auto
ADABAS.<dbid>.<timestamp>
SAGSMP.<dbid>.<timestamp>

```

in your database directory.

These are generated when the database crashes,

If there are any

- check if the timestamps relate to the times when you receive the Rsp148.
- open a support incident and attach one or more of these files to the incident for investigation

---

<div class="post-metadata">

**Author:** ![Francis\_Shin](https://avatars.discourse-cdn.com/v4/letter/f/c0e974/32.png) [@Francis\_Shin](https://techcommunity.softwareag.com/u/Francis_Shin)\
**Post date:** [April 24, 2024, 6:19pm UTC](https://techcommunity.softwareag.com/t/natural-getting-nat3148-error-from-time-to-time/295093/6 "2024-04-24T18:19:06Z")

</div>

Thank you Wolfgang. Unfortunately, I do not see the crash files you mentioned in above. adanuc.log. and NUCPLG.xxxx files.

---

<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:** [April 24, 2024, 6:36pm UTC](https://techcommunity.softwareag.com/t/natural-getting-nat3148-error-from-time-to-time/295093/7 "2024-04-24T18:36:02Z")

</div>

Look in your DBnnn.INI file NODE\_PARAMETER section ANALYSER - if ACTION=YES, then AEO is activated and the actions in ADANUC\_TERMINATED will be used to restart the database automatically.

Are there messages indicating that the database is terminated normally, cancelled or aborted?

If the database is not crashing, then there is likely some action that is stopping the adanuc process. Check with your Linux systems team to find what is terminating it - adastop? adakill? adaend? kill? There may be information in files like /var/log/messages or /var/log/secure around the time the database comes down.

---

<div class="post-metadata">

**Author:** ![Francis\_Shin](https://avatars.discourse-cdn.com/v4/letter/f/c0e974/32.png) [@Francis\_Shin](https://techcommunity.softwareag.com/u/Francis_Shin)\
**Post date:** [April 24, 2024, 6:50pm UTC](https://techcommunity.softwareag.com/t/natural-getting-nat3148-error-from-time-to-time/295093/8 "2024-04-24T18:50:57Z")

</div>

Thanks Kelly. I agree that there should be a process/task running to restart the database. I will keep digging around. Thank you for your responses!

---

<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:** [October 21, 2024, 6:50pm UTC](https://techcommunity.softwareag.com/t/natural-getting-nat3148-error-from-time-to-time/295093/9 "2024-10-21T18:50:59Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
