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 - jbriseno

#31
Hi, Filipp. I did that you mentioned in the your latest post reply.  I did not find 2022.06.06 11:41:35.641 *I* [comm.listener      ] SocketListener/Clients: listening on 0.0.0.0:4701

However I found in the same file the following lines:

2022.06.07 13:05:47.148 *I* [                   ] Platform subagent "/usr/lib/x86_64-linux-gnu/netxms/linux.nsm" successfully loaded
2022.06.07 13:05:47.149 *I* [db.drv             ] Database driver "mariadb.ddr" loaded and initialized successfully
2022.06.07 13:05:47.150 *I* [comm.listener      ] SocketListener/LocalAdmin: listening on 127.0.0.1:21784
2022.06.07 13:05:47.150 *I* [comm.listener      ] SocketListener/LocalAdmin: listening on [127.0.0.1]:21784
2022.06.07 13:06:12.175 *E* [db                 ] Unable to establish connection with database (Access denied for user 'netxms'@'localhost' (using password: NO))

I hope these lines help.
My best
Jose
#32
Hi, there. I added the latest lines of the netxmsd logfile.

The tail of the file /var/log/nextmsd

2022.06.04 18:23:14.398 *I* [logger             ] Log file opened (rotation policy 2, max size 16777216)
2022.06.04 18:23:14.398 *I* [startup            ] Starting NetXMS server version 4.1.333 build tag 4.1-333-gf37ab67d18
2022.06.04 18:23:14.398 *I* [logger             ] Debug level set to 0
2022.06.04 18:23:14.398 *I* [config             ] Main configuration file: /etc/netxmsd.conf
2022.06.04 18:23:14.398 *I* [config             ] Configuration tree:
2022.06.04 18:23:14.398 *I* [config             ] config
2022.06.04 18:23:14.398 *I* [config             ]  +- server
2022.06.04 18:23:14.399 *I* [config             ]      +- LogFile
2022.06.04 18:23:14.399 *I* [config             ]      |    value: /var/log/netxmsd
2022.06.04 18:23:14.399 *I* [config             ]      +- DBDriver
2022.06.04 18:23:14.399 *I* [config             ]           value: mariadb.ddr
2022.06.04 18:23:14.399 *I* [startup            ] Using system default codepage
2022.06.04 18:23:14.400 *I* [                   ] Platform subagent "/usr/lib/x86_64-linux-gnu/netxms/linux.nsm" successfully loaded
2022.06.04 18:23:14.401 *I* [db.drv             ] Database driver "mariadb.ddr" loaded and initialized successfully
2022.06.04 18:23:14.401 *I* [comm.listener      ] SocketListener/LocalAdmin: listening on 127.0.0.1:21784
2022.06.04 18:23:14.401 *I* [comm.listener      ] SocketListener/LocalAdmin: listening on [127.0.0.1]:21784

I hope this helps

My best
Jose
#33
The attach image mentioned by me above
#34
Hi, Filipp. I decided tu remove netxm server from the new computer server. Then I reinstalled. Bingo !

It works !

I attach the systemctl status netxmsd message.

somebody@netxms:~$ sudo systemctl status netxmsd
● netxmsd.service - NetXMS Server
     Loaded: loaded (/lib/systemd/system/netxmsd.service; disabled; vendor preset: enabled)
     Active: active (running) since Fri 2022-06-03 16:38:21 UTC; 10s ago
    Process: 152786 ExecStart=/usr/bin/netxmsd -d (code=exited, status=0/SUCCESS)
   Main PID: 152797 (netxmsd)
      Tasks: 2 (limit: 2237)
     Memory: 4.2M
     CGroup: /system.slice/netxmsd.service
             └─152797 /usr/bin/netxmsd -d

Jun 03 16:38:21 netxms systemd[1]: Starting NetXMS Server...
Jun 03 16:38:21 netxms systemd[1]: netxmsd.service: Can't open PID file /run/netxmsd.pid (yet?) after start: Operation no>
Jun 03 16:38:21 netxms systemd[1]: Started NetXMS Server.

But, when I want to logging to this new computer server. The NetXMC client sent back the following message.

connect timed out.

I attach a screenshot.



Any idea how can I fix this connection issue?

Thanks in advance

My best

Jose
#35
HI, Filiipp. First thanks for your sooner reply. Second I did that you described in the post reply.

$ sudo systemctl start netxmsd

When I execute the next command. The netxmsd still not running

$ sudo systemctl status netxmsd
● netxmsd.service - NetXMS Server
     Loaded: loaded (/lib/systemd/system/netxmsd.service; disabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Fri 2022-06-03 14:56:01 UTC; 3s ago
    Process: 148891 ExecStart=/usr/bin/netxmsd -d (code=exited, status=0/SUCCESS)
   Main PID: 148892 (code=exited, status=3)

Jun 03 14:56:01 netxms systemd[1]: netxmsd.service: Scheduled restart job, restart counter >
Jun 03 14:56:01 netxms systemd[1]: Stopped NetXMS Server.
Jun 03 14:56:01 netxms systemd[1]: netxmsd.service: Start request repeated too quickly.
Jun 03 14:56:01 netxms systemd[1]: netxmsd.service: Failed with result 'exit-code'.
Jun 03 14:56:01 netxms systemd[1]: Failed to start NetXMS Server.
#36
Hi, there. We decided to move our production NetXMS server to a new computer server. With this idea in mind. I did the following:


1. backed up the database file of the production NetXMS server.
2. In the new computer server, I installed:

2.1 Ubuntu 20.204
2.3. mysql Ver 15.1 Distrb 10.3.34-MariaDB

3. I moved the backed database to the new computer server

4. I restored the backed database into the new computer server

5. I installed the latest NetXMS server version in to the new computer server
at the final of this procedure appeared the following steps:

###
Additional steps required:

1. Edit default configuration file (/etc/netxmsd.conf)

2. Load database schema

   nxdbmgr init

3. Start daemon with command:

   systemctl start netxms-server

###

I omited the step 2. Because, I want to use our current database.

In the step 3, when I executed this command sent back on my end the following message:

Failed to start netxms-server.service: Unit netxms-server.service not found.

I run the following command:

sudo systemctl status netxmsd
● netxmsd.service - NetXMS Server
     Loaded: loaded (/lib/systemd/system/netxmsd.service; disabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2022-06-02 19:25:39 UTC; 18h ago
    Process: 119243 ExecStart=/usr/bin/netxmsd -d (code=exited, status=0/SUCCESS)
   Main PID: 119244 (code=exited, status=3)

Jun 02 19:25:39 netxms systemd[1]: netxmsd.service: Scheduled restart job, restart counter >
Jun 02 19:25:39 netxms systemd[1]: Stopped NetXMS Server.
Jun 02 19:25:39 netxms systemd[1]: netxmsd.service: Start request repeated too quickly.
Jun 02 19:25:39 netxms systemd[1]: netxmsd.service: Failed with result 'exit-code'.
Jun 02 19:25:39 netxms systemd[1]: Failed to start NetXMS Server.

What I did wrong?

Any comments are welcome.

My best
Jose
#37
General Support / Re: Telegram channel Issue
May 11, 2022, 04:59:08 PM
Hi, Filipp. First I appreciate a lot your time to help me to fix my Telegram channel issue. Second, today, I found the technical reason for that Telegram channel configuration change its status in unxpected way. Because, I added an event with the Telegram bot in the Actions Configuration menu. I updated it. Then my problem is solved. Finally, according with my participation in other Open Source Projects, NetXMS project offers to its members an excellent support. Kudos.

Problem solved

Thanks
my best
Jose
#38
General Support / Re: Telegram channel Issue
May 10, 2022, 05:05:16 PM
Hi, Filipp. I attach the latest NetXMC log file with Telegram info.
My best, Jose.
#39
General Support / Re: Telegram channel Issue
May 10, 2022, 04:42:50 PM
Hi, Filipp. First I appreciate your time to reply the post. Second, I attach a PDF file with the sequential steps to send a message to the Telegram bot. The Telegram status change in unexpected way. However, when the Telegram status is in "Driver error" I can send message to the Telegram bot. In the next post I am going to attach the NetXMC server log file. I hope this information helps. Thanks in advance.
My best, jose.
#40
General Support / Re: Telegram channel Issue
May 09, 2022, 10:20:06 PM
Hi, Victor. I got it. I attach the log file with the netxmc debug configuration you mentioned in the latest post.  I hope this helps.
My best
Jose
#41
General Support / Re: Telegram channel Issue
May 06, 2022, 05:57:34 PM
Hi, Filipp. I attach the netXMC log file with the tag ncd.telegram. I hope this helps.
My best, Jose.
#42
General Support / Re: Telegram channel Issue
May 05, 2022, 10:26:42 PM
Hi, Filipp. I attach an image with the instructions that you mention in latest reply of this post. I hope this helps.

My best

Jose
#43
General Support / Re: Telegram channel Issue
May 04, 2022, 09:00:45 PM
Hi, Filipp. I followed your Telegram channel conf. However, The Telegram Channel error still there. I attach a PDF file with the sequentai steps that I followed, in the bottom of this file, I added the Event monior message when I sent the message to Telegram channel. I hope this help, too.
Any comments are welcome.
Thanks in advance

My best, José
#44
General Support / Re: Telegram channel Issue
May 04, 2022, 07:44:27 PM
Hi, Filipp. I appreciate your time to reply the post. I got it.

Thanks 1
#45
General Support / Re: Telegram channel Issue
May 04, 2022, 04:06:18 PM
Hi, Filipp. I decded to add the Telgram conf status screenshot from the Notification Channel window. In case you need it.