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 - Alex Kirhenshtein

#1066
General Support / Windows Services Monitoring
May 28, 2007, 03:36:53 PM
Such names should be wrapped in quotes: System.ServiceState("Ati HotKey Poller")

Also, you should use "service name", not "display name" (you can check them using "sc" command):

System.ServiceState("Bluetooth Support Service") will fail
System.ServiceState("BthServ") - works fine.

wbr, alex.
#1067
Hello.

1) Check your network connectivity with telnet: telnet hostname 4701 (port 4701 used by server for console connections and 4700 - by agents)
2) Start netxmsd with debug enabled: netxmsd --debug-all standalone (debug-all will enable full logging and standalone will leave server in foreground)
#1068
General Support / Problems with libtool
January 23, 2007, 01:36:46 PM
Hello.

As far as i remember, c++ compiler is in separate package, "yum install gcc-c++" should do the trick (not sure about package name, though)
#1069
General Support / 0.2.15 - cannot run
January 19, 2007, 07:35:55 PM
Hello.

Can you show  me the output of "ldd /usr/local/lib/libnxddr_pgsql.so"?
#1070
I've send you an email with further tests
#1071
As workaround, try to apply this patch: http://alk.lv/configure.diff , it should allow you to build server and mysql driver.
#1072
Hello.

Yes, i've got the log file yesterday and currently trying to find the problem. Sorry for delay.
#1073
Hello.

Please send me complete config.log to alk at netxms dor org.

wbr, alex.
#1074
General Support / Installation on Linux
November 13, 2006, 03:16:48 PM
...
/home/mysqldev/rpm/BUILD/mysql-5.0.27/libmysql/my_compress.c:58: undefined reference to `compress'
...
/home/mysqldev/rpm/BUILD/mysql-5.0.27/libmysql/my_compress.c:85: undefined reference to `uncompress'
...

"undefined reference" means that linker was unable to resolve (=find) functions "compress" and "decompress" in all given libraries - mysql probably use them for client/server protocol compression.

Next steps can vary:
1) search google: "mysql undefined reference compress uncompress" will take you to the http://dev.mysql.com/doc/refman/5.0/en/link-errors.html, "Problems Linking to the MySQL Client Library" with solution: "If you get undefined reference errors for the uncompress or compress  function, add -lz to the end of your link command and try again."
2) grep *.so/*.a files in your /usr/lib (/lib, etc) for missing symbol. You can later check exact library using "nm" tool:

alk@ns$ nm libz.a | grep "T compress"
000000a4 T compress
00000000 T compress2

"T" means that this function exist in this exact library.
#1075
General Support / Installation on Linux
November 13, 2006, 01:08:38 PM
Looks like zlib is not detected. Try to configure it that way:

LDFLAGS=-lz ./configure --with-server --with-agent --with-mysql

If it fails, check, if zlib-devel is installed?
#1076
General Support / Installation on Linux
November 13, 2006, 11:03:43 AM
Sorry, i was inattentive.

Please show your config.log, lines between:

configure:4714: checking for mysql_init in -lmysqlclient

and

configure:4786: error: libmysqlclient is requred for MySQL support
#1077
General Support / Installation on Linux
November 13, 2006, 09:56:30 AM
Hello.

You also need to install development packages (MySQL-devel-standard-5.0.27-0.rhel4.rpm).