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

#1
Ok. I re-install from scratch changing some options in configure. After finally correct somo make and install errors I get at the same place:

This GDB was configured as "sparc-sun-solaris2.10"...
(gdb) run -D 7
Starting program: /opt/netxms/bin/netxmsd -D 7
warning: Lowest section in /lib/libpthread.so.1 is .dynamic at 00000074
warning: Lowest section in /lib/libdl.so.1 is .dynamic at 00000094
Using configuration file "/etc/netxmsd.conf"
Configuration file OK
[22-Feb-2010 18:05:05] DEBUG: Code page set to ISO-8859-1
[22-Feb-2010 18:05:05] Platform subagent "/opt/netxms/lib/libnsm_sunos.so" successfully loaded
[22-Feb-2010 18:05:05] Database driver "/opt/lib/libnxddr_mysql.so" loaded and initialized successfully
[22-Feb-2010 18:05:05] DEBUG: New DB connection opened: handle=28608
[22-Feb-2010 18:05:05] DEBUG: Successfully connected to database netxms@localhost
[22-Feb-2010 18:05:05] DEBUG: New DB connection opened: handle=28630
[22-Feb-2010 18:05:05] DEBUG: New DB connection opened: handle=28658
[22-Feb-2010 18:05:05] DEBUG: New DB connection opened: handle=28680
[22-Feb-2010 18:05:05] DEBUG: New DB connection opened: handle=286a8
[22-Feb-2010 18:05:05] DEBUG: New DB connection opened: handle=286d0
[22-Feb-2010 18:05:05] DEBUG: Database Connection Pool initialized
[22-Feb-2010 18:05:05] Stalled database lock removed
[22-Feb-2010 18:05:05] DEBUG: Data directory set to /opt/netxms/share/netxms
[22-Feb-2010 18:05:05] DEBUG: Global configuration loaded
[22-Feb-2010 18:05:05] DEBUG: ID table created
[New LWP 1]
[New LWP 2]
[22-Feb-2010 18:05:05] DEBUG: User accounts loaded
[22-Feb-2010 18:05:05] DEBUG: Built-in objects created
[New LWP 3]
[22-Feb-2010 18:05:05] DEBUG: Loading container categories...
[22-Feb-2010 18:05:05] DEBUG: Loading built-in object properties...
[22-Feb-2010 18:05:05] DEBUG: Loading conditions...
[22-Feb-2010 18:05:05] DEBUG: Loading subnets...
[22-Feb-2010 18:05:05] DEBUG: Loading nodes...
[New LWP 4]
[22-Feb-2010 18:05:05] DEBUG: Loading interfaces...
[22-Feb-2010 18:05:05] DEBUG: Started caching of DCI values
[22-Feb-2010 18:05:05] DEBUG: Loading network services...
[22-Feb-2010 18:05:05] DEBUG: Loading VPN connectors...
[22-Feb-2010 18:05:05] DEBUG: Loading clusters...
[22-Feb-2010 18:05:05] DEBUG: Loading templates...
[22-Feb-2010 18:05:05] DEBUG: Loading containers...
[22-Feb-2010 18:05:05] DEBUG: Loading template groups...
[22-Feb-2010 18:05:05] DEBUG: Linking objects...
[22-Feb-2010 18:05:05] DEBUG: Validating system templates...
[22-Feb-2010 18:05:05] DEBUG: Objects loaded and initialized
[22-Feb-2010 18:05:05] DEBUG: Situations loaded and initialized
[New LWP 5]
[New LWP 6]
[New LWP 7]
[New LWP 8]
[New LWP 9]
[New LWP 10]
[New LWP 11]
[New LWP 12]
[New LWP 13]
[New LWP 14]
[New LWP 15]
[New LWP 16]
[New LWP 17]
[New LWP 18]
[New LWP 19]
[New LWP 20]
[New LWP 21]
[New LWP 22]

[1]+  Stopped                 /opt/sfw/bin/gdb /opt/netxms/bin/netxmsd

This happened when trying to connect from windows console

So I don´t know what else to do.  ???

#2
I will try from the beginning so i´m unstalling and then reinstall to see if it works.
#3
Hi

Very strange, specially for the behaviour observed in this test, take a look:

/ # /opt/sfw/bin/gdb /opt/bin/netxmsd
GNU gdb 6.2.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.10"...
(gdb) run -D 5
Starting program: /opt/bin/netxmsd -D 5
warning: Lowest section in /lib/libpthread.so.1 is .dynamic at 00000074
warning: Lowest section in /lib/libdl.so.1 is .dynamic at 00000094
Using configuration file "/etc/netxmsd.conf"
Configuration file OK
[10-Feb-2010 08:52:27] DEBUG: Code page set to ISO-8859-1
[10-Feb-2010 08:52:27] Platform subagent "/opt/lib/libnsm_sunos.so" successfully loaded
[10-Feb-2010 08:52:27] Database driver "/opt/lib/libnxddr_mysql.so" loaded and initialized successfully
[10-Feb-2010 08:52:27] DEBUG: New DB connection opened: handle=28600
[10-Feb-2010 08:52:27] DEBUG: Successfully connected to database netxms@localhost
[10-Feb-2010 08:52:27] DEBUG: New DB connection opened: handle=28628
[10-Feb-2010 08:52:27] DEBUG: New DB connection opened: handle=28650
[10-Feb-2010 08:52:27] DEBUG: New DB connection opened: handle=28678
[10-Feb-2010 08:52:27] DEBUG: New DB connection opened: handle=286a0
[10-Feb-2010 08:52:27] DEBUG: New DB connection opened: handle=286c8
[10-Feb-2010 08:52:27] DEBUG: Database Connection Pool initialized
[10-Feb-2010 08:52:27] Stalled database lock removed
[10-Feb-2010 08:52:27] DEBUG: Data directory set to /opt/share/netxms
[10-Feb-2010 08:52:27] DEBUG: Global configuration loaded
[10-Feb-2010 08:52:27] DEBUG: ID table created
[New LWP 1]
[New LWP 2]
[10-Feb-2010 08:52:27] DEBUG: User accounts loaded
[10-Feb-2010 08:52:27] DEBUG: Built-in objects created
[New LWP 3]
[10-Feb-2010 08:52:27] DEBUG: Loading container categories...
[10-Feb-2010 08:52:27] DEBUG: Loading built-in object properties...
[10-Feb-2010 08:52:27] DEBUG: Loading conditions...
[10-Feb-2010 08:52:27] DEBUG: Loading subnets...
[10-Feb-2010 08:52:27] DEBUG: Loading nodes...
[New LWP 4]
[10-Feb-2010 08:52:27] DEBUG: Loading interfaces...
[10-Feb-2010 08:52:27] DEBUG: Started caching of DCI values
[10-Feb-2010 08:52:27] DEBUG: Finished caching of DCI values
[10-Feb-2010 08:52:27] DEBUG: Loading network services...
[LWP 4 exited]
[New LWP 4]
[10-Feb-2010 08:52:27] DEBUG: Loading VPN connectors...
[10-Feb-2010 08:52:27] DEBUG: Loading clusters...
[10-Feb-2010 08:52:27] DEBUG: Loading templates...
[10-Feb-2010 08:52:27] DEBUG: Loading containers...
[10-Feb-2010 08:52:27] DEBUG: Loading template groups...
[10-Feb-2010 08:52:27] DEBUG: Linking objects...
[10-Feb-2010 08:52:27] DEBUG: Validating system templates...
[10-Feb-2010 08:52:27] DEBUG: Objects loaded and initialized
[10-Feb-2010 08:52:27] DEBUG: Situations loaded and initialized
[New LWP 5]
[New LWP 6]
[New LWP 7]
[New LWP 8]
[New LWP 9]
[New LWP 10]
[New LWP 11]
[New LWP 12]
[New LWP 13]
[New LWP 14]
[New LWP 15]
[New LWP 16]
[New LWP 17]
[New LWP 18]
[New LWP 19]
[New LWP 20]
[New LWP 21]
[New LWP 22]
[New LWP 23]
[New LWP 24]
[New LWP 25]
[New LWP 26]
[New LWP 27]
[New LWP 28]
[New LWP 29]
[New LWP 30]
[New LWP 31]
[New LWP 32]
[10-Feb-2010 08:52:27] SQL query failed (Query = "CREATE TABLE idata_12 (item_id integer not null,idata_timestamp integer not null,idata_value varchar(255) not null)"): Table 'idata_12' already exists
[10-Feb-2010 08:52:27] SQL query failed (Query = "CREATE INDEX idx_idata_12_item_id ON idata_12(item_id)"): Duplicate key name 'idx_idata_12_item_id'
[10-Feb-2010 08:52:27] SQL query failed (Query = "CREATE INDEX idx_idata_12_id_timestamp ON idata_12(item_id,idata_timestamp)"): Duplicate key name 'idx_idata_12_id_timestamp'
[10-Feb-2010 08:52:27] DEBUG: Starting configuration poll for node 10.14.2.128 (ID: 12)
[10-Feb-2010 08:52:27] DEBUG: ConfPoll(10.14.2.128): checking for NetXMS agent Flags={00000010} DynamicFlags={00000000}
[New LWP 33]
[10-Feb-2010 08:52:27] DEBUG: ConfPoll(10.14.2.128): checking for NetXMS agent - connecting
[New LWP 34]
[10-Feb-2010 08:52:27] DEBUG: ConfPoll(10.14.2.128): checking for NetXMS agent - connected

[1]+  Stopped                 /opt/sfw/bin/gdb /opt/bin/netxmsd


But when looking at ps, gdb appears still active:

/ # ps -fea | grep net
    root  8292     1   0  feb  01 ?           1:19 /usr/lib/inet/xntpd
    root  6848  5842   0 08:55:02 pts/5       0:00 grep net
    root  6722  5726   0 08:52:17 pts/4       0:02 /opt/sfw/bin/gdb /opt/bin/netxmsd
    root  6743  6722   0 08:52:25 pts/4       0:00 /opt/bin/netxmsd -D 5

#4
Hi Victor

After drop and recreate db this is the last part of the debug output:
.
.
.
[09-Feb-2010 18:55:45] DEBUG: Node(nocserver)->GetItemFromAgent(System.Memory.Physical.Used): dwError=0 dwResult=0
[09-Feb-2010 18:55:45] DEBUG: Successful sync query: "UPDATE raw_dci_values SET raw_value='0.000000',last_poll_time=1265759745 WHERE item_id=17" [0 ms]
[09-Feb-2010 18:55:45] DEBUG: Successful sync query: "INSERT INTO idata_12 (item_id,idata_timestamp,idata_value) VALUES (17,1265759745,'0.000000')" [0 ms]
[09-Feb-2010 18:55:45] DEBUG: Node(nocserver)->GetItemFromAgent(System.Memory.Physical.Total): dwError=0 dwResult=0
[09-Feb-2010 18:55:45] DEBUG: Successful sync query: "UPDATE raw_dci_values SET raw_value='0.000000',last_poll_time=1265759745 WHERE item_id=11" [0 ms]
[09-Feb-2010 18:55:45] DEBUG: Successful sync query: "INSERT INTO idata_12 (item_id,idata_timestamp,idata_value) VALUES (11,1265759745,'0.000000')" [0 ms]
[09-Feb-2010 18:55:45] DEBUG: Successful sync query: "UPDATE raw_dci_values SET raw_value='2931802112',last_poll_time=1265759745 WHERE item_id=13" [0 ms]
[09-Feb-2010 18:55:45] DEBUG: Successful sync query: "INSERT INTO idata_12 (item_id,idata_timestamp,idata_value) VALUES (13,1265759745,'2931802112')" [0 ms]
[09-Feb-2010 18:55:45] DEBUG: Successful sync query: "UPDATE raw_dci_values SET raw_value='17179869184',last_poll_time=1265759745 WHERE item_id=14" [0 ms]
[09-Feb-2010 18:55:45] DEBUG: Successful sync query: "INSERT INTO idata_12 (item_id,idata_timestamp,idata_value) VALUES (14,1265759745,'17179869184')" [0 ms]
[09-Feb-2010 18:55:45] DEBUG: Node(nocserver)->GetItemFromAgent(System.CPU.LoadAvg): dwError=0 dwResult=0
[09-Feb-2010 18:55:45] DEBUG: Successful sync query: "UPDATE raw_dci_values SET raw_value='0.140000',last_poll_time=1265759745 WHERE item_id=12" [0 ms]
[09-Feb-2010 18:55:45] DEBUG: Successful sync query: "INSERT INTO idata_12 (item_id,idata_timestamp,idata_value) VALUES (12,1265759745,'0.140000')" [0 ms]
[09-Feb-2010 18:55:47] DEBUG: ItemPoller: wakeup
[09-Feb-2010 18:55:47] DEBUG: ItemPoller: object index lock acquired (index size 8)
[09-Feb-2010 18:55:47] DEBUG: ItemPoller: (5) calling QueueItemsForPolling for node nocserver [12]
[09-Feb-2010 18:55:47] DEBUG: ItemPoller: object index lock released
[09-Feb-2010 18:55:48] DEBUG: Starting status poll for node nocserver (ID: 12)
[09-Feb-2010 18:55:48] DEBUG: Successful sync query: "SELECT var_value FROM config WHERE var_name='CapabilityExpirationTime'" [0 ms]
[09-Feb-2010 18:55:48] DEBUG: StatusPoll(nocserver): checking agent
[09-Feb-2010 18:55:48] DEBUG: StatusPoll(nocserver): connected to agent
[09-Feb-2010 18:55:48] DEBUG: AgentConnection::ReceiverThread(): RecvNXCPMessage() failed: error=0, socket_error=0
[09-Feb-2010 18:55:48] DEBUG: StatusPoll(nocserver): disconnected from agent
[09-Feb-2010 18:55:48] DEBUG: StatusPoll(nocserver): deleting agent connection
[09-Feb-2010 18:55:48] DEBUG: StatusPoll(nocserver): agent connection deleted
[09-Feb-2010 18:55:48] DEBUG: StatusPoll(nocserver): starting child object poll
[09-Feb-2010 18:55:48] DEBUG: StatusPoll(nocserver): polling interface 14 [eri0]
[09-Feb-2010 18:55:48] DEBUG: Node(nocserver)->GetItemFromAgent(Net.Interface.AdminStatus(2)): dwError=0 dwResult=0
[09-Feb-2010 18:55:48] DEBUG: Node(nocserver)->GetItemFromAgent(Net.Interface.Link(2)): dwError=0 dwResult=0
[09-Feb-2010 18:55:48] DEBUG: Interface::StatusPoll(14,eri0): new status from NetXMS agent 0
[09-Feb-2010 18:55:48] DEBUG: Interface::StatusPoll(14,eri0): newStatus=0 oldStatus=5 pollCount=1 requiredPolls=1
[09-Feb-2010 18:55:48] DEBUG: Interface::StatusPoll(14,eri0): status changed from 5 to 0
[09-Feb-2010 18:55:48] DEBUG: StatusPoll(nocserver): finished child object poll
[09-Feb-2010 18:55:48] DEBUG: Finished status poll for node nocserver (ID: 12)
[09-Feb-2010 18:55:48] DEBUG: EVENT 4 (F:0x0001 S:0) FROM nocserver: Interface "eri0" changed state to UP (IP Addr: 10.14.2.128/255.255.255.0, IfIndex: 2)
[09-Feb-2010 18:55:48] DEBUG: EVENT 6 (F:0x0001 S:0) FROM nocserver: Node status changed to NORMAL
[09-Feb-2010 18:55:48] DEBUG: Successful sync query: "INSERT INTO event_log (event_id,event_code,event_timestamp,event_source,event_severity,event_message,root_event_id,user_tag) VALUES (11,4,1265759748,12,0,'Interface "eri0" changed state to UP (IP Addr: 10.14.2.128/255.255.255.0, IfIndex: 2)',0,'')" [0 ms]
[09-Feb-2010 18:55:48] DEBUG: Successful sync query: "INSERT INTO event_log (event_id,event_code,event_timestamp,event_source,event_severity,event_message,root_event_id,user_tag) VALUES (12,6,1265759748,12,0,'Node status changed to NORMAL',0,'')" [0 ms]
[09-Feb-2010 18:55:49] DEBUG: ItemPoller: wakeup
[09-Feb-2010 18:55:49] DEBUG: ItemPoller: object index lock acquired (index size 8)
[09-Feb-2010 18:55:49] DEBUG: ItemPoller: (5) calling QueueItemsForPolling for node nocserver [12]
[09-Feb-2010 18:55:49] DEBUG: ItemPoller: object index lock released
[09-Feb-2010 18:55:50] DEBUG: [CLSN-0] Received message CMD_GET_SERVER_INFO
[09-Feb-2010 18:55:50] DEBUG: [CLSN-0] Server time zone: COT+05COST
[09-Feb-2010 18:55:50] DEBUG: Successful sync query: "SELECT var_value FROM config WHERE var_name='WindowsConsoleUpgradeURL'" [0 ms]
[09-Feb-2010 18:55:50] DEBUG: [CLSN-0] Sending message CMD_REQUEST_COMPLETED
[09-Feb-2010 18:55:50] DEBUG: [CLSN-0] Received message CMD_LOGIN
[09-Feb-2010 18:55:50] DEBUG: [CLSN-0] User [email protected] authenticated
Fallo de segmentación (core dumped)


Service is dropped once I try to login from console or call Alarm Viewer.

Best regards.
#5
Hello

Looking at: https://www.netxms.org/forum/index.php/topic,40.0.html

I followed the procedure suggested and this is the result:

netxmsd: [09-Feb-2010 11:53:56] Listening for client connections on TCP socket 0.0.0.0:4701
[09-Feb-2010 11:53:58] SQL query failed (Query = "INSERT INTO idata_12 (item_id,idata_timestamp,idata_value) VALUES (11,1265734438,'0')"): Table 'netxms.idata_12' doesn't exist
[09-Feb-2010 11:53:58] SQL query failed (Query = "INSERT INTO idata_12 (item_id,idata_timestamp,idata_value) VALUES (13,1265734438,'0.000000')"): Table 'netxms.idata_12' doesn't exist
[09-Feb-2010 11:53:58] SQL query failed (Query = "INSERT INTO idata_12 (item_id,idata_timestamp,idata_value) VALUES (14,1265734438,'0')"): Table 'netxms.idata_12' doesn't exist
[09-Feb-2010 11:53:58] SQL query failed (Query = "INSERT INTO idata_12 (item_id,idata_timestamp,idata_value) VALUES (15,1265734438,'0.000000')"): Table 'netxms.idata_12' doesn't exist
[09-Feb-2010 11:53:58] SQL query failed (Query = "INSERT INTO idata_12 (item_id,idata_timestamp,idata_value) VALUES (16,1265734438,'0.000000')"): Table 'netxms.idata_12' doesn't exist
[09-Feb-2010 11:53:58] SQL query failed (Query = "INSERT INTO idata_12 (item_id,idata_timestamp,idata_value) VALUES (12,1265734438,'0.000000')"): Table 'netxms.idata_12' doesn't exist
[09-Feb-2010 11:53:58] SQL query failed (Query = "INSERT INTO idata_12 (item_id,idata_timestamp,idata_value) VALUES (19,1265734438,'2915983360')"): Table 'netxms.idata_12' doesn't exist
[09-Feb-2010 11:53:58] SQL query failed (Query = "INSERT INTO idata_12 (item_id,idata_timestamp,idata_value) VALUES (18,1265734438,'0.070000')"): Table 'netxms.idata_12' doesn't exist
[09-Feb-2010 11:53:58] SQL query failed (Query = "INSERT INTO idata_12 (item_id,idata_timestamp,idata_value) VALUES (20,1265734438,'17179869184')"): Table 'netxms.idata_12' doesn't exist
[09-Feb-2010 11:53:58] SQL query failed (Query = "INSERT INTO idata_12 (item_id,idata_timestamp,idata_value) VALUES (17,1265734438,'0.000000')"): Table 'netxms.idata_12' doesn't exist
Fallo de segmentación (core dumped)


I get to a dead end... What can be the options to follow?
#6
Hello again.

An update about the dropping of netxms service. When running: /opt/bin/netxmsd -d -D 9, /var/log/netxms showed this before stop:

[08-Feb-2010 21:05:35] DEBUG: [CLSN-0] Received message CMD_GET_SERVER_INFO
[08-Feb-2010 21:05:35] DEBUG: [CLSN-0] Server time zone: COT+05COST
[08-Feb-2010 21:05:35] DEBUG: Successful sync query: "SELECT var_value FROM config WHERE var_name='WindowsConsoleUpgradeURL'" [0 ms]
[08-Feb-2010 21:05:35] DEBUG: [CLSN-0] Sending message CMD_REQUEST_COMPLETED
[08-Feb-2010 21:05:35] DEBUG: [CLSN-0] Received message CMD_LOGIN
[08-Feb-2010 21:05:35] DEBUG: [CLSN-0] User [email protected] authenticated



#7
Hi

Checking more closely I found two things:

1. 0.0.0.0:port means listening all interfaces that port (sorry)

2. When I try to connect from windows console to server, netxms service is dropped:
/ # /opt/bin/netxmsd -d
/ # ps -fea | grep xm
    root  1977     1   1 20:38:37 ?           0:00 /opt/bin/netxmsd -d
    root  1995 17183   0 20:38:46 pts/1       0:00 grep xm

Attempt to connect from windows console: Timed out

/ # ps -fea | grep xm
    root  2099 17183   0 20:39:43 pts/1       0:00 grep xm

/var/log/netxms doesn´t show any message indicating errors or warnings except for
[08-Feb-2010 20:38:53] SQL query failed (Query = "INSERT INTO idata_12 (item_id,idata_timestamp,idata_value) VALUES (18,1265679533,'0.140000')"): Table 'netxms.idata_12' doesn't exist



Any ideas?
#8
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?
#9
General Support / Re: nxdbmgr not working with mysql
February 08, 2010, 08:42:44 PM
Thank you Victor

You are right, now is working fine:

/ # /opt/bin/nxdbmgr check
NetXMS Database Manager Version 0.2.31

Configuration file OK
Checking database:
* Checking node objects...                                              [PASSED]
* Checking interface objects...                                         [PASSED]
* Checking network service objects...                                   [PASSED]
* Checking cluster objects...                                           [PASSED]
* Checking template to node mapping...                                  [PASSED]
* Checking object properties...                                         [PASSED]
* Checking event processing policy...                                   [PASSED]
* Checking collected data...                                            [PASSED]
Database doesn't contain any errors
Database check completed
#10
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?
#11
General Support / Re: Error in solaris 10 installation
February 08, 2010, 04:36:30 AM
Hello

Without --enable-unstable in config, make and make install worked fine.
#12
General Support / Re: Error in solaris 10 installation
February 08, 2010, 02:34:06 AM
Hi Victor

What advantages do i get installing netxms with --enable-unstable?  indeed i ran configure with that option set, I will try without it.

My configure was ./configure --prefix=/opt --enable-unstable --with-server --with-server --with-mysql --with-gd --with-nxhttpd
#13
General Support / Re: Error in solaris 10 installation
February 06, 2010, 05:39:21 AM
One step ahead, after looking for elegant solutions i decided to use a quick fix:

cp /bin/sh /bin/sh.tmp
cp /bin/bash /bin/sh

It worked until new errors appeared in make:

odbcsapi.cpp:28:17: sql.h: No such file or directory
odbcsapi.cpp:29:20: sqlext.h: No such file or directory
odbcsapi.cpp:30:22: sqltypes.h: No such file or directory

Until a solution can be found for these new ones, /bin/sh was returned to normal state

Any ideas?
#14
General Support / Re: Error in solaris 10 installation
February 06, 2010, 05:10:46 AM
Ok
making some research i found that : "Arithmetic expansion is not portable as some shells (most notably
Solaris 10 `/bin/sh') don't support it."

Now the issue is to force configure and make to use some smarter shell like bash instead of sh.

Any ideas?
#15
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.