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

#1
HI,macro
many thanks ,It works! when I set envionment according to your suggestion 1 and 2.
#2
HI,macro
    I try again based on your suggestion,but It still failed.
    The following configuration is from my netxmsd.conf:
       DBDriver = oracle.ddr
       DBServer = zhmg #this is my oracle SID
       DBName = zhmg
       DBLogin = netxms
       DBPassword = netxms

The following messages is done at this try:

SQL> CREATE USER netxms IDENTIFIED BY netxms;

the user is created.

SQL> grant connect,resource to netxms;

authorized successfully。

SQL> select instance_name from v$instance;

INSTANCE_NAME
----------------
zhmg

and at command line,
c:\sqlplus netxms/netxms
can connect oracle successfully.


Bset regards
#3
HI,macro,the attached file is my netxmsd.conf.
#4
HI,My friends,
   I install NETXMS server(0.2.27) in windows server 2003,and my database is oracle (9i),which is installed  in the same sever.When config my server,I failed to connect oracle,'unable to connect to database'.
and run "netxmsd -–debug=7",It said,"Unable to establish connection with database".
The following is listed by the config procedure:
Database engine: Oracle
Database driver: oracle.ddr
Create new database: no
Initalize database: yes

Database server: localhost
Database name: zhmg (this DB is existing,but during config,this item can't be modified )
Database user: system

Where is wrong?

thank you very much.
#5
Thank Victor very much.
The problem has been resolved.And I found,Most Mail Servers open the switch of SMTP Authorisation.
#6
HI,Dear friends:
 I defined two DCI in one node(an PC server),one is "Link status for interface eth1",and the other is "Percentage of free disk space on /",and I also configed  thresholds,event is SYS_IF_DOWN and SYS_THRESHOLD_REACHED.
  and I modify the two events' action to "send email" when it happend in "Event Processing Policy".
 but It seems does not work.

    In "Server configuration",SMTPFromAddr = netxms@localhost,and SMTPServer is localhost。It said in event log:SMTP conversation failure;
and if set SMTPFromAddr and SMTPServer with another parameter,It said:Communication failure.

  my NetXMS server's version is 0.2.26.

What's wrong is there ?

thank for your help.

#7
thank Alex.It worked.

why is LDFLAGS=-lm needed?
#8
Hi,
when I run "sh ./configure  --with-server --with-mysql --with-agent",It stoped at
"checking for mysql_init in -lmysqlclient... no
configure: error: libmysqlclient is requred for MySQL support
"
and from config.log,
#cat config.log |grep libmysqlclient
/usr/lib64/mysql/libmysqlclient.a(libtaocrypt_la-dh.o)(.text+0x5c): In function `TaoCrypt::(anonymous namespace)::DiscreteLogWorkFactor(unsigned int)':
/usr/lib64/mysql/libmysqlclient.a(libtaocrypt_la-dh.o)(.text+0x74):/export/home/my/tmp-200906161149-5.1.36-18189/rpm/BUILD/mysql-5.1.36/extra/yassl/taocrypt/src/dh.cpp:39: undefined reference to `log'
/usr/lib64/mysql/libmysqlclient.a(libtaocrypt_la-dh.o)(.text+0x81):/export/home/my/tmp-200906161149-5.1.36-18189/rpm/BUILD/mysql-5.1.36/extra/yassl/taocrypt/src/dh.cpp:39: undefined reference to `pow'
/usr/lib64/mysql/libmysqlclient.a(libmysql.o)(.text+0x3e61): In function `fetch_float_with_conversion':
/usr/lib64/mysql/libmysqlclient.a(libmysql.o)(.text+0x3f4b):/export/home/my/tmp-200906161149-5.1.36-18189/rpm/BUILD/mysql-5.1.36/libmysql/libmysql.c:3747: undefined reference to `floor'
/usr/lib64/mysql/libmysqlclient.a(password.o)(.text+0x26d): In function `scramble_323':
/usr/lib64/mysql/libmysqlclient.a(password.o)(.text+0x295):/export/home/my/tmp-200906161149-5.1.36-18189/rpm/BUILD/mysql-5.1.36/libmysql/password.c:199: undefined reference to `floor'
/usr/lib64/mysql/libmysqlclient.a(password.o)(.text+0x35a): In function `check_scramble_323':
/usr/lib64/mysql/libmysqlclient.a(password.o)(.text+0x3bf):/export/home/my/tmp-200906161149-5.1.36-18189/rpm/BUILD/mysql-5.1.36/libmysql/password.c:242: more undefined references to `floor' follow
configure:28877: error: libmysqlclient is requred for MySQL support

what' wrong is there?
my environment:redhat As4,mysql (64bit) .

thank you for your help.