News:

We really need your input in this questionnaire

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Woody

#46
Yes, it is present in the list of processes on the moment it hangs.


# ps -A | grep netx
21769 ?        08:01:05 netxmsd



# service netxmsd status
● netxmsd.service - NetXMS Server
   Loaded: loaded (/lib/systemd/system/netxmsd.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2019-12-31 11:59:29 CET; 1 day 1h ago
  Process: 21762 ExecStart=/usr/bin/netxmsd -d (code=exited, status=0/SUCCESS)
Main PID: 21769 (netxmsd)
    Tasks: 498 (limit: 4915)
   CGroup: /system.slice/netxmsd.service
           └─21769 /usr/bin/netxmsd -d

Dez 31 11:59:29 netxms systemd[1]: Starting NetXMS Server...
Dez 31 11:59:29 netxms systemd[1]: netxmsd.service: Can't open PID file /var/run/netxmsd.pid (yet?) after start: No such file or directory
Dez 31 11:59:29 netxms systemd[1]: Started NetXMS Server.
#47
Hi there,
I moved NetXMS from an old server to two new servers. I made the move with the nxdbmgr migrate command and with the help of these instructions. Everything worked successfully, only NetXMS always crashes after some time (approx. 30 - 60 minutes, but sometimes longer). Then I can't log in to NetXMS anymore and I was stuck at Objekte synchronisieren until the timeout.





But if you are already logged in at the time of the crash, you do not get kicked, but stay logged in.

The following error messages can then be seen in the NetXMS log file:


2019.12.31 12:48:36.346 *E* [                   ] Thread "Poll Manager" does not respond to watchdog thread
2019.12.31 12:48:56.347 *E* [                   ] Thread "Syncer Thread" does not respond to watchdog thread


Informations about my configuration:

There is a NetXMS server and a database server. In the /etc/netxmsd.conf the database server was entered at DBServer=. Previously (with the old server) the NetXMS server and the database were on the same machine.

Old server:

  • Debian GNU/Linux 8 (jessie)
  • NetXMS Server Version 2.2.13 Build 9518 (2.2.13)

New server:
NetXMS-Server:

  • Ubuntu 18.04.3 LTS
  • NetXMS Server Version 3.1.261 Build 3.1-261-ga5f9451ddf

NetXMS configuration file at /etc/netxmsd.conf:

## Logging
# Log file name
LogFile=/var/log/netxmsd

# Increase logging verbosity, 0 (only errors) to 9 (verbose debug)
DebugLevel=7

## Database configuration.
## Uncomment and setup ONE section.

## Option #1 - SQLite (for test installations only):
#DBDriver=sqlite.ddr
#DBName=/var/lib/netxms/netxms.db

## Option #2 - PostgreSQL (recommended):
#DBDriver=pgsql.ddr
#DBServer=127.0.0.1
#DBName=netxms
#DBLogin=netxms
#DBPassword=netxms

## Option #3 - MySQL:
DBDriver=mysql.ddr
DBServer=10.10.11.20
DBName=netxms
DBLogin=******
DBPassword=********************************

## Option #4 - Oracle:
#DBDriver=oracle.ddr
#DBServer=//127.0.0.1:1521/ORCL # Instant Client connection string or SID
#DBLogin=netxms
#DBPassword=netxms

## Option #5 - unixODBC/FreeTDS:
#DBDriver=odbc.ddr
#DBServer=NETXMS_DSN
#DBLogin=netxms
#DBPassword=netxms


MySQL-Server:

  • Ubuntu 18.04.3 LTS
  • mysql  Ver 14.14 Distrib 5.7.28, for Linux (x86_64) using  EditLine wrapper

I hope someone knows what the problem is.
Thanks in advance!