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

#61
General Support / Install web interface on Debian
February 11, 2013, 02:00:18 PM
Hi,

i have upgraded my netxms from the first version i've installed (1.1.6) to the latest (1.2.5). After upgrade, i decide to install the web interface, so i use the command:
"sh ./configure --nxhttpd".
Then i see the login screen, but when i insert username and password i got the error "server uses incompatible communication protocol".
This kind of error message appear when you use the incorrect version of console, so it seems like if is installed an incorrect version of the webgui.
I have not installed the web gui when i use the version 1.1.6, maybe it's this that cause the problem.

i can recover a backup in wich i use 1.1.6 version, so i have the follow idea:

install the webui with the 1.1.6 version, then upgrade all (server,agent, webui) to 1.2.5.

There is another way to install the webui directly to 1.2.5?

Thank you


#62
General Support / Re: Can't upgrade from version 1.1.6
February 11, 2013, 01:06:03 PM
Thank you Victor,

upgrade to last version executed with success!

Netxms and netxms support are great, thank you again.

Bye

Giovanni
#63
General Support / Re: Can't upgrade from version 1.1.6
February 07, 2013, 01:44:13 PM
After the upgrade with the --prefix=/usr/bin , i can start the upgraded version (the 1.1.7).
I found the netxmsd instance in /usr/bin/bin/local. If i run this instance, version  1.1.7 start without error and i can connect with console.

two question:
    1)if i want after upgrade to have netxmsd in the same path of the previus version (/usr/bin/netxmsd), i have to give the --prefix option as "--prefix=/usr/"?
       In thi case i use --prefix=/usr/bin, and i got netxmsd in /usr/bin/bin; so it seems like the /bin directory it's added to the path given in the --prefix option

    2)If execute /usr/bin/netxmsd (the old path), 1.1.6 version start without error. It's normal?I think 1.1.7 database version it's incompatible with 1.1.6    database       version, it's right?

Thank you :)

#64
General Support / Re: Can't upgrade from version 1.1.6
February 07, 2013, 01:17:29 PM
HI, Thank you for the answer!
Alex probably you guess the problem!

Pre upgrade, with 1.1.6 version, i got:

which nxdbmgr
     /usr/bin/nxdbmgr

find / -name nxdbmgr
     /usr/bin/nxdbmgr
     /opt/netxms-1.1.6/src/server/tools/nxdbmgr
     /opt/netxms-1.1.6/src/server/tools/nxdbmgr/.libs/nxdbmgr
     /opt/netxms-1.1.6/src/server/tools/nxdbmgr/nxdbmgr

And
which netxmsd
    /usr/bin/netxmsd

find / -name netxmsd
    /usr/bin/netxmsd
    /etc/init.d/netxmsd
    /var/lib/update-rc.d/netxmsd
    /opt/netxms-1.1.6/src/server/netxmsd
    /opt/netxms-1.1.6/src/server/netxmsd/.libs/netxmsd
    /opt/netxms-1.1.6/src/server/netxmsd/netxmsd
    /opt/netxms-1.1.6/contrib/startup/ubuntu/netxmsd
    /opt/netxms-1.1.6/contrib/startup/suse/netxmsd
    /opt/netxms-1.1.6/contrib/startup/debian/netxmsd
    /opt/netxms-1.1.6/contrib/startup/redhat/netxmsd
    /opt/netxms-1.1.6/contrib/startup/gentoo/netxmsd


After upgrade, i got:
which nxdbmgr
       /usr/local/bin/nxdbmgr

find / -name nxdbmgr
      /usr/bin/nxdbmgr
      /usr/local/bin/nxdbmgr


      /root/netxms-1.1.7/src/server/tools/nxdbmgr
      /root/netxms-1.1.7/src/server/tools/nxdbmgr/.libs/nxdbmgr
      /root/netxms-1.1.7/src/server/tools/nxdbmgr/nxdbmgr
      /opt/netxms-1.1.6/src/server/tools/nxdbmgr
      /opt/netxms-1.1.6/src/server/tools/nxdbmgr/.libs/nxdbmgr
      /opt/netxms-1.1.6/src/server/tools/nxdbmgr/nxdbmgr

And:
which netxmsd
     /usr/local/bin/netxmsd
find / -name netxmsd
/usr/bin/netxmsd
    /usr/local/bin/netxmsd
/etc/init.d/netxmsd
/root/netxms-1.2.0/src/server/netxmsd
/root/netxms-1.2.0/src/server/netxmsd/.libs/netxmsd
/root/netxms-1.2.0/src/server/netxmsd/netxmsd
/root/netxms-1.2.0/contrib/startup/ubuntu/netxmsd
/root/netxms-1.2.0/contrib/startup/suse/netxmsd
/root/netxms-1.2.0/contrib/startup/hp-ux/netxmsd
/root/netxms-1.2.0/contrib/startup/debian/netxmsd
/root/netxms-1.2.0/contrib/startup/redhat/netxmsd
/root/netxms-1.2.0/contrib/startup/gentoo/netxmsd
/root/netxms-1.2.3.1/src/server/netxmsd
/root/netxms-1.2.3.1/src/server/netxmsd/.libs/netxmsd
/root/netxms-1.2.3.1/src/server/netxmsd/netxmsd
/root/netxms-1.2.3.1/contrib/startup/ubuntu/netxmsd
/root/netxms-1.2.3.1/contrib/startup/suse/netxmsd
/root/netxms-1.2.3.1/contrib/startup/hp-ux/netxmsd
/root/netxms-1.2.3.1/contrib/startup/debian/netxmsd
/root/netxms-1.2.3.1/contrib/startup/redhat/netxmsd
/root/netxms-1.2.3.1/contrib/startup/gentoo/netxmsd
/var/lib/update-rc.d/netxmsd
/opt/netxms-1.1.6/src/server/netxmsd
/opt/netxms-1.1.6/src/server/netxmsd/.libs/netxmsd
/opt/netxms-1.1.6/src/server/netxmsd/netxmsd
/opt/netxms-1.1.6/contrib/startup/ubuntu/netxmsd
/opt/netxms-1.1.6/contrib/startup/suse/netxmsd
/opt/netxms-1.1.6/contrib/startup/debian/netxmsd
/opt/netxms-1.1.6/contrib/startup/redhat/netxmsd
/opt/netxms-1.1.6/contrib/startup/gentoo/netxmsd

If I execute the /usr/bin/nxdbmgr the version is the 1.1.6
If i execute the /usr/local/bin/nxdbmgr the version is the version upgraded, in this test i use the 1.1.7
Both  /usr/bin/netxmsd and /usr/local/bin/netxmsd start the 1.1.6 server version.

I have tried to upgrade using the --prefix=/usr/bin/ option, but nothing change.

Giovanni 

#65
General Support / Re: Can't upgrade from version 1.1.6
February 06, 2013, 03:43:14 PM
It's a Debian 64 bit.

I upgrade exactly as suggested in the wiki:

2. Unpack the archive:

$ tar zxvf netxms-VERSION.tar.gz


3. Change directory to netxms-version and run configure script:

$ cd netxms-VERSION
$ sh ./configure --with-server --with-mysql


Be sure to include all options that were used at installation time.


4. Run make:

$ make


5. Stop NetXMS server. 6. Stop NetXMS agent. 7. Check database for possible inconsistencies:

$ nxdbmgr check


Proceed to the next step only if database checker does not report any errors!


8. Run make install:

$ make install


9. Upgrade database:

$ nxdbmgr upgrade


10. Start NetXMS agent.

11. Start NetXMS server.


At point 3, I add the --with-agent option becouse there is the agent installed

Thank you,

Giovanni
#66
General Support / Can't upgrade from version 1.1.6
February 06, 2013, 02:03:19 PM
Hi,

i'm trying to upgrade netxms from version 1.1.6 to 1.2.3, i've executed the procedure indicated in the wiki and all go fine, but when i try to connect with the new version of console i got the message "server use incompatible protocol" and then i discover nextms isn't upgraded to the version 1.2.3, but still run the version 1.1.6.
I've tried to upgrade from 1.1.6 to 1.2.0 but the same thing happened.
The only strange thing is that when i do the "nxdbmgr upgrade" i got:
NetXMS Database Manager Version 1.1.6

Upgrading database...
Your database format is up to date

It seems like no operation are executed.

Any suggest?

Thank you so much,
#67
General Support / Export Find switch port info
January 17, 2013, 01:04:52 PM
Hi at all,

i'd like to create a script exports some info from Netxms. I extract info about nodes (ip, name, mask, mac address etc) from mysql. Now i'd like to extract the information about what switch the end device is connected to.
I suppose the function "Find Switch Port" query the mib of the switch; is this information stored in the DB? Can i call the fuction "Find switch port" externally from netxms (from a command line script for example)?
If none of this is possible, can you share the query netxms uses to get the "find switch port" information?

Thank you so much,

Giovanni
#68
Hi,

i need some info :)
i have to monitor some process (Samba, FTP) on a FreeNAS 8 server. Is the general Unix Agent runnable on this kind of SO?
If the agent can't be used, is there other way to monitor Samba without agent?
Thank you in advance!
#69
General Support / NXSL script help
October 01, 2012, 02:18:30 PM
Hi,

when I add a filtering script to the event processing policy, where i can found the output of the print/println command?
If i add a print or a println command to the filter script, when the event occuor i can't find the output in the remote console server or in the server console or in other way.

Another questions...in the filtering script of event processing policy, can i put directly the code?Or, have I to add the declaration of the main (sub main(){etc )

I have to create a filter script that send the alarm's mail for an interface down for only specific interface...
I tried to insert in the event processing police as source the specific interface, but did'nt work; so i use as source the switch and i wanna to add a filter script that select for which interface the alarm's mail have to start. Any suggestion?

#70
i change permission to file create_ssa.sh, redo sh ./configure... command and the make command go fine :)
#71
General Support / Error upgrading from 1.2.2 to 1.2.3.1
September 26, 2012, 10:39:40 AM
Hi, i do step by step the upgrade's procedure reported in Netxms manual, but the "make" command ended with this output:
../../../tools/create_ssa_list.sh "" > static_subagents.cpp
/bin/bash: ../../../tools/create_ssa_list.sh: Permission denied
make[4]: *** [static_subagents.cpp] Error 126
make[4]: Leaving directory `/root/netxms-1.2.3.1/src/agent/core'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/netxms-1.2.3.1/src/agent'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/netxms-1.2.3.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/netxms-1.2.3.1'
make: *** [all] Error 2

How can i fix?

Thank you for the help :)
#72
I can access successful to NetXMS via Netxms Console if i use as username admin and as password mypass.
i'd like to modify the configuration about username and password for the console login. Which is the configuration file for modify the console's login parameter?
thank you :) I ask this for curiosity, the important thing is now the console is accesible  :P ;D
#73
Thank you, the problem is fixed!
But now i have a new problem (XD)... When i try to login trough console i get the error "Connection refuse: connect"...But username and password are correct..

Here is my /etc/netxmsd.conf file:
#
# Sample configuration file for NetXMS server
#

#
DBDriver = /usr/local/lib/libnxddr_mysql.so
#
# Database driver to use
#
# UNIX example:
# DBDriver = [path_to_netxms_install_dir]/lib/libnxddr_mysql.so
#
# Windows example:
# DBDriver = mysql.ddr

#
DBServer = localhost
#
# Database server (ODBC source name for ODBC driver)
#
# Example:
# DBServer = localhost

#
DBName = netxms
#
# Database name (not used by ODBC driver)
#
# Example:
# DBName = netxms_db

#
# DBLogin
#
# Database user name
#
# Example:
# DBLogin = netxms



#
# DBPassword
#
# Database user's password
#
# Example:
# DBPassword = password

#
# LogFailedSQLQueries
#
# Controls logging of failed SQL queries.
# Possible values: "yes" (default) or "no".
#
# Example:
# LogFailedSQLQueries = yes
DBlogin = root
DBPassword = mypass
LogFile = /var/log/netxmsd
LogFailedSQLQueries = yes

#
# LogFile
#
# Server's log file. To write log to syslog (or Event Log on Windows),
# use {syslog} as file name.
#
# Examples:
# LogFile = {syslog}
# LogFile = /var/log/netxms


Thank you for help :)

#74
Hi!
I have installed Netxms 1.2.1 on debian 6 32 bis. Initially i have some trouble with the make command executed after the "$ sh ./configure --with-server --with-mysql --with-agent" but i fix the bug installing a packeg as reported in another topic (sorry but i don't remind the name of the packet)  I follow the installation guide and and i didn't get other error. When i try launch /usr/local/bin/netxmsd  i get :
netxmsd: error while loading shared libraries: libnxcore.so.1: cannot open shared object file: No such file or directory

Why have I this problems?How can i fix it?

Thank you in advance :D

#75
Hi,
i'd like to migrate my netxms from version 1.013 with sqlite to 1.20 with mysql.
To make this, i think of follow this procedure:
1)export sqlite database
2)convert to mysql
3)bind netxms 1.013 with new mysql database
4)upgrade to 1.20

Can this work?Any suggest or esxperiences?Is there a quick way to convert database from sqlite to mysql?
Thank you in advance for help