Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

Y

yuyang0571

@yuyang0571
Unfollow Follow
About
Posts
8
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Unable to establish connection with database
    Y yuyang0571
    Support

    HI,macro
     many thanks ,It works! when I set envionment according to your suggestion 1 and 2.


  • Unable to establish connection with database
    Y yuyang0571
    Support

    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


  • Unable to establish connection with database
    Y yuyang0571
    Support

    HI,macro,the attached file is my netxmsd.conf.


    netxmsd.conf


  • Unable to establish connection with database
    Y yuyang0571
    Support

    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.


  • E-mail notification does not work,what's wrong?
    Y yuyang0571
    Support

    Thank Victor very much.
    The problem has been resolved.And I found,Most Mail Servers open the switch of SMTP Authorisation.


  • E-mail notification does not work,what's wrong?
    Y yuyang0571
    Support

    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.


  • configure error when install on red hat
    Y yuyang0571
    Support

    thank Alex.It worked.

    why is LDFLAGS=-lm needed?


  • configure error when install on red hat
    Y yuyang0571
    Support

    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.

  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups