Categories
Knowledge Support Support exacqVision Server

How to Disable/Enable exacqVision Watchdog Timer

Description 

Built by Exacq “BBE” NVRs utilize a watchdog timer, which during normal operation is reset every second. If the watchdog timer has not been reset within 60 seconds it will trigger a system reboot. The assumption being that machine is in a bad state. For various troubleshooting reasons you may need to disable/enable the watchdog timer.

Product 

  • exacqVision Servers Built by Exacq “BBE”

Instructions

  • Windows
    • Edit C:\Program Files\exacqVision\Server\sysmgmtpi.xml
  • Linux
    • Edit usr/local/exacq/server/sysmgmtpi.xml
  • Locate the section similar to the following: 
  • To Disable watchdogs change Enabled =”1” to Enabled =”0”
  • To Enable watchdogs change Enabled =”0” to Enabled =”1”
  • Save the file
  • Restart the exacqVision Server Service

Examples

sysmgmtpi.xml watchdog enabled

sysmgmtpi.xml watchdog disabled

Categories
Knowledge Support Support exacqVision Server exacqVision Hardware Products Uncategorized

Disabling Watchdog for units with lack of Clarity in logs for Unexpected Errors.

IF you have a unit that is not clearly stating the reason why the unit is rebooting or getting random unexpected errors turn watchdog off to see if the unexpected errors go away and the unit remains running with no random reboots. I would enable debugging in the core/psfpi/sysmgmt/ in the client to gain the ability to get more detailed logs in case the unit remains rebooting randomly. This is not to be done if there are logs pointing to an issues.

Watchdogs – Enabling/Disabling
Windows
Edit C:\Program Files\exacqVision\Server\sysmgmtpi.xml
Locate the section similar to the following:
<Watchdogs ID=”3604480″>
<Watchdog Source=”Nuvoton LPC I/O NCT6791D” Enabled=”1″ Timeout=”40″ />
</Watchdogs>
* Change Enabled =”1” to Enabled =”0”
* Save the file
* Restart the exacqVision Server Service

Linux
$ cd /usr/local/exacq/server/
$ sudo nano sysmgmtpi.xml
* locate the section similar to the following
Watchdogs ID=”3604480″
Sensors ID=”3604480″ Enabled=”1″ Status=”1″
* change Enabled =”1” to Enabled =”0”
* Save and close the file

Before
$ sudo cat sysmgmtpi.xml | grep -i watchdog
Watchdogs ID=”3604480″
Watchdog Source=”ITE Tech IT8728 EC-LPC I/O” Enabled=”1″ Timeout=”40″
Watchdogs

After
$ sudo cat sysmgmtpi.xml | grep -i watchdog
Watchdogs ID=”3604480″
Watchdog Source=”ITE Tech IT8728 EC-LPC I/O” Enabled=”0″ Timeout=”40″
Watchdogs

Categories
Knowledge Support Support exacqVision Server Categories Products

Manually Triggering a Watchdog

Because of issues archiving over a WAN (see this article), it might be necessary to manually trigger a watchdog so that the server is able to start up successfully. To do this, complete the following steps:

  1. On the System configuration page, open the Watchdog Timers tab and make sure the motherboard watchdog is enabled.
  2. Open a Terminal window to the server.
  3. Execute ps -ef | grep core to find out the process ID of the core process. If multiple IDs are reported, use the lowest.
  4. Execute sudo kill -9 [pid], where [pid] is the process ID from the previous step.

<br>

The server should then restart within the specified watchdog timer timeout.

Categories
Knowledge Support Support exacqVision Server Categories Products

exacqVision Server crashes and/or triggers watchdog reboot on system with no page file

Affected platforms

Windows

<br>

Symptom

If a page file does not exist on a Windows-based exacqVision system, one or more of the following symptoms may be encountered:

exacqVision Server watchdog log message found in the server log. For example, 7/5/2015 12:02:54 AM tDVRpi Warning tDVR 0 proc 1 err -21 watchdog expired at 2015-07-05 04:00:28

Crash dump is present in the \Server\logs directory. If not corrupt, the dump indicates exception code 0x40000015

Event Log message ID 2004 for Resource Exhaustion is found in the System Event Log

Page File is disabled (see steps below to determine page file setting)

<br>

Resolution

To resolve this problem, enable System page file by performing these steps:

  1. Click Start -> Right Click on Computer -> Properties
  2. Click on Advanced System Settings
  3. Click on Settings in Performance group
  4. Click on Advanced
  5. Under Virtual memory group, click Change
  6. Select System managed size and click Set
  7. Click OK
  8. Reboot the system
Categories
Knowledge Support Support exacqVision Server Categories Products

M-Series May Display False Watchdog Indications

Symptom:

Log displays entries similar to the example below:

03/17/2018 11:06:11 AM LogPI Warning Stopping Log Manager.

03/17/2018 11:07:06 AM LogPI Warning Starting Log Manager 9.2.1.128741.

03/17/2018 11:07:08 AM dynacolorpi Warning Watchdog expired

<br>

Problem:

This message is a false positive and can be ignored. 

<br>

Solution:

Update exacqVision Server version to 9.4 or higher.