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
Hi!
Do you have libnxcore.so.1 in /usr/local/lib? If yes, try to run ldconfig and then start netxmsd again.
Best regards,
Victor
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 :)
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
To change user information, you can go to COnfiguration -> User Manager in console. There you can change password and user details. You can also change password for the user you are currently logged in with via Tools -> Change password menu.
Best regards,
Victor
Quote from: Victor Kirhenshtein on July 25, 2012, 02:09:28 PM
To change user information, you can go to COnfiguration -> User Manager in console. There you can change password and user details. You can also change password for the user you are currently logged in with via Tools -> Change password menu.
Best regards,
Victor
it work, tnx. How about nxmbrmgr? And i think need some new options for nxdbmgr, -delete configuration from database or overwrite.
For the database part of your question just use the native database tools to handle this. I would probably suggest stopping the server and agent before any of these items.
For example using MySQL since that is what your configuration shows to change the password for the netnxms user on a MySQL system:
$ mysql -u root -p # Enter root password when promted
mysql> use mysql;
mysql> update user set password=PASSWORD("NEW-PASSWORD-HERE") where User='netxms';
mysql> exit
$ vi /etc/netxmsd.conf
# Updated DbPassword with NEW-PASSWORD-HERE in configuration
Similarly, if you wanted to start over with a clean database you would run the following:
BE WARNED THIS WILL WIPE YOUR DB SETUP COMPLETELY TO INITIAL VALUES!!!
$ mysql -u root -p # Enter root password when promted
mysql> drop database netxms;
mysql> exit
$ /usr/local/bin/nxdbmgr init /usr/share/netxms/sql/dbinit_mysql.sql # Path might be /usr/local/share... based on install
Quote from: lweidig on July 25, 2012, 06:26:17 PM
For the database part of your question just use the native database tools to handle this. I would probably suggest stopping the server and agent before any of these items.
For example using MySQL since that is what your configuration shows to change the password for the netnxms user on a MySQL system:
$ mysql -u root -p # Enter root password when promted
mysql> use mysql;
mysql> update user set password=PASSWORD("NEW-PASSWORD-HERE") where User='netxms';
mysql> exit
$ vi /etc/netxmsd.conf
# Updated DbPassword with NEW-PASSWORD-HERE in configuration
Similarly, if you wanted to start over with a clean database you would run the following:
BE WARNED THIS WILL WIPE YOUR DB SETUP COMPLETELY TO INITIAL VALUES!!!
$ mysql -u root -p # Enter root password when promted
mysql> drop database netxms;
mysql> exit
$ /usr/local/bin/nxdbmgr init /usr/share/netxms/sql/dbinit_mysql.sql # Path might be /usr/local/share... based on install
tnx, sorry but i'm write this reply for another theme, my mistake, sorry again > https://www.netxms.org/forum/general-support/nxdbmbr-bug/
i knew it, but i mean remove configuration only.
i think using another or bultin tools is a wrong way.