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

#1
General Support / Table DCI
September 04, 2023, 04:59:34 PM
Hi

I would like to add table dci in linux agent. Please share some sample code of the agent in which we can create a table dci and fill its data from a table using predefined functions

Thanks and Regards 
#2
Am getting the below error while starting the netxmsd in windows. Please need ur immediate support and suggestion.

[ERROR] Your database has format version 700, but server is compiled for version 344
NetXMS Core initialization failed
#3
Tried running the reconf script too. Getting the below messages

******************************************/netxms-3.3.323>sh ./reconf
Usage: autoreconf [-f] [-h] [--help] [-m dir] [--macrodir=dir]
       [-l dir] [--localdir=dir] [--force] [--verbose] [--version]
       [--cygnus] [--foreign] [--gnits] [--gnu] [-i] [--include-deps]

#4
General Support / Problem with building netxms on Linux
January 11, 2022, 09:08:19 AM
I am getting the below error while building netxms-3.3.323 on Linux.

*****************/config/missing: line 81: aclocal-1.16: command not found
WARNING: 'aclocal-1.16' is missing on your system.
         You should only need it if you modified 'acinclude.m4' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'aclocal' program is part of the GNU Automake package:
         <https://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <https://www.gnu.org/software/autoconf>
         <https://www.gnu.org/software/m4/>
         <https://www.perl.org/>
make: *** [aclocal.m4] Error 127

Please need your immediate support .

Best Regards,
Mo
#5
Thanks for your Reply.
Yes its custom. I checked my agent side. Its up and running and collecting the data at agent log. There are no errors from the agent log. Only in console its not showing the proper value. And the dci is stopped polling on 5th. Kindly provide your suggestions.
#6
Hi,

In my netxms node one dci is suddenly stopped and not polling the data. Please guide me to resolve this. Need Your urgent support please

#7
General Support / Re: Unable to compile
December 17, 2020, 09:53:30 AM
Because its checking for the compiler works..... Its No. If i upgrade the gcc compiler i can compile this netxms-3.3.323?
#8
General Support / Re: Unable to compile
December 16, 2020, 04:14:24 PM
Is it failing because of the compiler version?????
gcc version 4.4.7 20120313 (Red Hat 4.4.7-23) (GCC
#9
General Support / Re: Unable to compile
December 16, 2020, 03:40:16 PM
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by NetXMS configure 3.3.323, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --prefix=/data/3dsecure/netxms-bin/netxms --with-agent --with-openssl=/data/3dsecure/netxms-bin/openssl --with-curl=/data/3dsecure/netxms-bin/curl --disable-ssh --with-pcre=/data/3dsecure/netxms-bin/mac-dev-env/pcre --with-mosquitto=/data/3dsecure/netxms-bin/mosquitto-1.6.9 --with-oracle

## --------- ##
## Platform. ##
## --------- ##

hostname = seqdev.novalocal
uname -m = x86_64
uname -r = 2.6.32-642.el6.x86_64
uname -s = Linux
uname -v = #1 SMP Wed Apr 13 00:51:26 EDT 2016

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/local/sbin
PATH: /data/3dsecure/.local/bin
PATH: /data/3dsecure/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:3158: checking for a BSD-compatible install
configure:3226: result: /usr/bin/install -c
configure:3237: checking whether build environment is sane
configure:3292: result: yes
configure:3443: checking for a thread-safe mkdir -p
configure:3482: result: /bin/mkdir -p
configure:3489: checking for gawk
configure:3505: found /bin/gawk
configure:3516: result: gawk
configure:3527: checking whether make sets $(MAKE)
configure:3549: result: yes
configure:3578: checking whether make supports nested variables
configure:3595: result: yes
configure:3732: checking whether make supports nested variables
configure:3749: result: yes
configure:5684: checking for gcc
configure:5700: found /usr/bin/gcc
configure:5711: result: gcc
configure:5940: checking for C compiler version
configure:5949: gcc --version >&5
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-23)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:5960: $? = 0
configure:5949: gcc -v >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-23) (GCC)
configure:5960: $? = 0
configure:5949: gcc -V >&5
gcc: '-V' option must have argument
configure:5960: $? = 1
configure:5949: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:5960: $? = 1
configure:5980: checking whether the C compiler works
configure:6002: gcc   -D_THREAD_SAFE -I/data/3dsecure/netxms-bin/curl/include -I/data/3dsecure/netxms-bin/openssl/include -I/data/3dsecure/netxms-bin/mac-dev-env/pcre/include  -L/data/3dsecure/netxms-bin/curl/lib -L/data/3dsecure/netxms-bin/openssl/lib -L/data/3dsecure/netxms-bin/mac-dev-env/pcre/lib conftest.c  >&5
/usr/bin/ld: error while loading shared libraries: libbfd-2.20.51.0.2-5.48.el6_10.1.so: cannot open shared object file: No such file or directory
collect2: ld returned 127 exit status
configure:6006: $? = 1
configure:6044: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "NetXMS"
| #define PACKAGE_TARNAME "netxms"
| #define PACKAGE_VERSION "3.3.323"
| #define PACKAGE_STRING "NetXMS 3.3.323"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define PACKAGE "netxms"
| #define VERSION "3.3.323"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:6049: error: in `/data/3dsecure/netxms-bin/netxms-3.3.323':
configure:6051: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_PERL_set=
ac_cv_env_PERL_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /data/3dsecure/netxms-bin/netxms-3.3.323/config/missing aclocal-1.16'
AGENT_DIRS=''
AGENT_LIBS=''
ALL_STATIC_FALSE=''
ALL_STATIC_TRUE=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR=''
ASTERISK_LIBS=''
AUTOCONF='${SHELL} /data/3dsecure/netxms-bin/netxms-3.3.323/config/missing autoconf'
AUTOHEADER='${SHELL} /data/3dsecure/netxms-bin/netxms-3.3.323/config/missing autoheader'
AUTOMAKE='${SHELL} /data/3dsecure/netxms-bin/netxms-3.3.323/config/missing automake-1.16'
AWK='gawk'
BUILD_SDK='no'
BUILD_SERVER='no'
CC='gcc'
CCAS=''
CCASDEPMODE=''
CCASFLAGS=''
CCC=''
CCDEPMODE=''
CFLAGS=''
CLIENT_COMPONENTS=''
CONTRIB_MODULES=''
CPP=''
CPPFLAGS=' -D_THREAD_SAFE -I/data/3dsecure/netxms-bin/curl/include -I/data/3dsecure/netxms-bin/openssl/include -I/data/3dsecure/netxms-bin/mac-dev-env/pcre/include'
CUSTOM_INCLUDE=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DB2_CPPFLAGS=''
DB2_LDFLAGS=''
DB2_LIBS=''
DB_DRIVERS=' sqlite oracle'
DEFS=''
DEPDIR=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEC_LDFLAGS=''
EXEC_LIBS=''
EXEEXT=''
FGREP=''
GPLUSPLUS=''
GREP=''
HDLINK_DIRS=''
HPUX_HPPA_FALSE=''
HPUX_HPPA_TRUE=''
INFORMIX_CPPFLAGS=''
INFORMIX_LDFLAGS=''
INFORMIX_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_LIBPATH=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS=' -L/data/3dsecure/netxms-bin/curl/lib -L/data/3dsecure/netxms-bin/openssl/lib -L/data/3dsecure/netxms-bin/mac-dev-env/pcre/lib'
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBNXAGENT_LIBS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAKEINFO='${SHELL} /data/3dsecure/netxms-bin/netxms-3.3.323/config/missing makeinfo'
MANIFEST_TOOL=''
MARIADB_CPPFLAGS=''
MARIADB_LDFLAGS=''
MARIADB_LIBS=''
MKDIR_P='/bin/mkdir -p'
MODULES='libnetxms install snmp ethernetip appagent libnxlp libnxmb db agent tools'
MONGODB_CPPFLAGS=''
MONGODB_LDFLAGS=''
MONGODB_LIBS=''
MQTT_CPPFLAGS=''
MQTT_LDFLAGS=''
MQTT_LIBS=''
MQTT_SUPPORT_FALSE=''
MQTT_SUPPORT_TRUE=''
MYSQL_CPPFLAGS=''
MYSQL_LDFLAGS=''
MYSQL_LIBS=''
NCDRV_DIRS=''
NETXMS_BINDIR=''
NETXMS_DATADIR=''
NETXMS_LIBDIR=''
NETXMS_LIBRARY_VERSION=''
NETXMS_PKGLIBDIR=''
NETXMS_PREFIX=''
NETXMS_STATEDIR=''
NETXMS_SYSCONFDIR=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJECT_MODE=''
OBJEXT=''
ODBC_CPPFLAGS=''
ODBC_LDFLAGS=''
ODBC_LIBS=''
ORACLE_CPPFLAGS=''
ORACLE_LDFLAGS=''
ORACLE_LIBS=''
OTOOL64=''
OTOOL=''
PACKAGE='netxms'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_NAME='NetXMS'
PACKAGE_STRING='NetXMS 3.3.323'
PACKAGE_TARNAME='netxms'
PACKAGE_URL=''
PACKAGE_VERSION='3.3.323'
PATH_SEPARATOR=':'
.....

....

....
...
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/data/3dsecure/netxms-bin/netxms'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "NetXMS"
#define PACKAGE_TARNAME "netxms"
#define PACKAGE_VERSION "3.3.323"
#define PACKAGE_STRING "NetXMS 3.3.323"
#define PACKAGE_BUGREPORT "[email protected]"
#define PACKAGE_URL ""
#define PACKAGE "netxms"
#define VERSION "3.3.323"

configure: exit 77
#10
General Support / Unable to compile
December 16, 2020, 02:11:14 PM
When i try to run configure from $HOME/netxms-3.3.323 am facing the below issues

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/data/3dsecure/netxms-bin/netxms-3.3.323':
configure: error: C compiler cannot create executables
See `config.log' for more details

and if i try to execute make $HOME/netxms-3.3.323/src getting below errros

Making all in jansson
make[1]: Entering directory `/data/3dsecure/netxms-bin/netxms-3.3.323/src/jansson'
  CC       libnxjansson_la-hashtable_seed.lo
hashtable_seed.c: In function 'json_object_seed':
hashtable_seed.c:204: error: '__ATOMIC_RELAXED' undeclared (first use in this function)
hashtable_seed.c:204: error: (Each undeclared identifier is reported only once
hashtable_seed.c:204: error: for each function it appears in.)
hashtable_seed.c:209: error: '__ATOMIC_RELEASE' undeclared (first use in this function)
hashtable_seed.c:216: error: '__ATOMIC_ACQUIRE' undeclared (first use in this function)
At top level:
cc1: warning: unrecognized command line option "-Wno-format-truncation"
cc1: warning: unrecognized command line option "-Wno-unused-result"
make[1]: *** [libnxjansson_la-hashtable_seed.lo] Error 1
make[1]: Leaving directory `/data/3dsecure/netxms-bin/netxms-3.3.323/src/jansson'
make: *** [all-recursive] Error 1

I am trying to deploy on Oracle Linux Server 7.6

please clarify.