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

Topics - Macphisto

#1
Hi again

When trying to connect from windows console i get the error: "Unable to connect: Communication failure"

Using telnet, I get this answer:
/ # telnet 10.14.2.128 4701
Trying 10.14.2.128...
telnet: Unable to connect to remote host: Connection refused

When cheking on /log/netxms I saw these errors:

[08-Feb-2010 14:16:26] Listening for client connections on TCP socket 0.0.0.0:4701
[08-Feb-2010 14:16:26] Listening for SNMP traps on UDP socket 0.0.0.0:162

So I suppose netxms doesn't know server's IP address. Where can I configure it?
#2
General Support / nxdbmgr not working with mysql
February 08, 2010, 04:51:41 AM
Hello

Initializing mysql DB with nxdbmgr is showing this message:

/ # /opt/bin/nxdbmgr  init /opt/share/netxms/sql/dbinit_mysql.sql
NetXMS Database Manager Version 0.2.31

Configuration file OK
Unable to connect to database netxms@localhost as netxms

The following was the configuration in mysql:

/tmp/netxms-0.2.31/contrib # mysql -U mysql -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2323475
Server version: 5.1.25-rc-standard-log Source distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> CREATE DATABASE netxms;
Query OK, 1 row affected (0.00 sec)

mysql> GRANT ALL ON netxms.* TO netxms IDENTIFIED BY 'PaSsWd';
Query OK, 0 rows affected (0.01 sec)

mysql> \q
Bye

Configuration in netxmsd.conf:

DBDriver = /opt/lib/libnxddr_mysql.so
#
# DBServer
#
DBServer = localhost
#
# DBName
DBName = netxms
#
# DBLogin
#
DBLogin = netxms
#
# DBPassword
#
DBPassword = PaSsWd

May be the initialization script is complaining because password in command line is not allowed in mysql configuration?
#3
General Support / Error in solaris 10 installation
February 05, 2010, 03:37:14 PM
Hello

I'm installing NetXMS 0.2.31 in a solaris 10 server. Configure run ok with some warnings related to libiconv.so:
"ld: aviso: archivo /usr/local/lib/libiconv.so: intento de inclusión múltiple de archivo"

Now i'm running make but the process stopped with the following error:

Making all in mibs
Making all in backgrounds
Making all in include
Making all in src
Making all in libexpat
Making all in libexpat
/bin/sh ../../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -DHAVE_EXPAT_CONFIG_H -I.. -I/opt/coolstack/mysql_32bit/include/mysql -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include  -D_THREAD_SAFE -DPREFIX=\"/opt\" -DPREFIXW=L\"/opt\" -DDATADIR=\"/opt/share/netxms\" -DLIBDIR=\"/opt/lib\"  -g -O2 -MT libnxexpat_la-xmlparse.lo -MD -MP -MF .deps/libnxexpat_la-xmlparse.Tpo -c -o libnxexpat_la-xmlparse.lo `test -f 'xmlparse.c' || echo './'`xmlparse.c
../../../libtool: syntax error at line 653: `func_arith_result=$' unexpected
*** Error code 2
make: Fatal error: Command failed for target `libnxexpat_la-xmlparse.lo'
Current working directory /tmp/netxms-0.2.31/src/libexpat/libexpat
*** Error code 1
The following command caused the error:
failcom='exit 1'; \

Any ideas why is this happening? Thank you in advance.