Agent upgrade from 1.2.10 to 1.2.12
-
Hi!
As it looks like you have core file from the crash, can you please send me backtrace obtained with gdb. Instruction is following:
- Run gdb as
gdb /usr/bin/nxagentd core
(replace core with actual core file location)
- At (gdb) prompt, enter command bt
Best regards,
Victor -
[root@netxms ~]# cat /proc/sys/kernel/core_pattern
|/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e
[root@netxms ~]# cd /var/cache/abrt-di/
[root@netxms abrt-di]# ls -la
total 8
drwxrwxr-x. 2 abrt abrt 4096 Nov 22 16:45 .
drwxr-xr-x. 11 root root 4096 Feb 23 13:07 ..
[root@netxms abrt-di]#What's the best way to get the core file? can i just echo "<file location>" > /proc/sys/kernel/core_pattern ?
-
-
Can you please also run agent as
nxagentd -D9
and end me the output?
Best regards,
Victor -
same result, output attached
EDIT: i guess it would help if i saved the file before attaching it
-
Looks like it's crashed even before agent completes initialization. Can you try to set log file to a file instead of syslog? Also, on what system you are running it?
Best regards,
Victor -
I set logging to go to /var/log/nxagentd.log and tried running it with the -D9 option again, but i'm running it as root and the log file still doesn't exist
[root@netxms ~]# cat /etc/redhat-release
CentOS release 6.5 (Final)
[root@netxms ~]# uname -a
Linux netxms.x.x 2.6.32-431.5.1.el6.centos.plus.x86_64 #1 SMP Tue Feb 11 21:21:23 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
[root@netxms ~]# -
Don't have CentOS 6.5 for testing at the moment, will try it tomorrow. How did you build agent (with what configure options)?
Best regards,
Victor -
configure
--with-server
--with-snmp
--with-mysql
--with-pgsql
--with-sqlite
--with-odbc
--with-client
--with-agent -
Hi!
Try to add --disable-xmpp just in case.
Best regards,
Victor -
Ok, i'm building now. I was under the impression it was just the server that used the XMPP library?
EDIT: Same result
-
-
-
Hi!
I've fixed the problem. Version 1.2.13 will work correctly.
Best regards,
Victor -
I don't know if this might warrant a new thread, but i'm having the same (or appears the same) issue when trying to install 1.2.13 agents. I ran it with strace, thought it might help, the output is attached.
-
Sorry, due to mistake fix for this bug didn't get to release. I'll repack source code package with fix included. I can also repack deb packages if someone uses them on Ubuntu.
Best regards,
Victor -
Update: I've repacked source archive - now it should work on Ubuntu.
Best regards,
Victor -
-
Seems to be different issue. Could you please run it under gdb and send me stack trace?
Best regards,
Victor -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login