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

T

trungmv

@trungmv
Unfollow Follow
About
Posts
5
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Install problem on CentOs
    T trungmv
    Support

    Many Thanks,

    Now i will try install on x64 and seems to fine.

    I stated to study this tools.

    Best regards,


  • Install problem on CentOs
    T trungmv
    Support

    Hi,

    1. I only upgrade system by using repository. But here is my kernel: 2.6.18-400.1.1.el5PAE #1 SMP Thu Dec 18 01:38:34 EST 2014 i686 i686 i386 GNU/Linux
      I am looking around but may not lmsensor v3 for i686.
    2. If i disabled lmsensors, any affective to system?

    Regards,


  • Install problem on CentOs
    T trungmv
    Support

    Hi,

    Here is my lmsensor verion:

    #rpm -qa | grep sensors
    lm_sensors-2.10.7-9.el5
    lm_sensors-devel-2.10.7-9.el5
    

    Any suggestion, please let me know

    Regards,


  • Install problem on CentOs
    T trungmv
    Support

    Hello Victor,

    Seems to success with used CPPFLAGS instead of CFLAGS

    But still error with "make install" step

    make  install-exec-hook
    make[6]: Entering directory `/tmp/netxms-2.0-M1/src/agent/subagents/linux'
    mv -f /usr/local/lib/netxms/linux.so /usr/local/lib/netxms/linux.nsm
    rm -f /usr/local/lib/netxms/linux.la
    rm -f /usr/local/lib/libnsm_linux.so
    ln -s netxms/linux.nsm /usr/local/lib/libnsm_linux.so
    make[6]: Leaving directory `/tmp/netxms-2.0-M1/src/agent/subagents/linux'
    make[5]: Nothing to be done for `install-data-am'.
    make[5]: Leaving directory `/tmp/netxms-2.0-M1/src/agent/subagents/linux'
    make[4]: Leaving directory `/tmp/netxms-2.0-M1/src/agent/subagents/linux'
    Making install in lmsensors
    make[4]: Entering directory `/tmp/netxms-2.0-M1/src/agent/subagents/lmsensors'
      CXX    lmsensors_la-main.lo
    main.cpp: In function 'bool getSensorValue(char*, char*, double*)':
    main.cpp:57: error: cannot convert 'sensors_chip_name*' to 'int*' for argument '1' to 'const sensors_chip_name* sensors_get_detected_chips(int*)'
    main.cpp:58: error: expected initializer before '*' token
    main.cpp:61: error: 'feature' was not declared in this scope
    main.cpp:61: error: 'sensors_get_features' was not declared in this scope
    main.cpp:73: error: 'sensors_subfeature_type' was not declared in this scope
    main.cpp:73: error: expected `;' before 'types'
    main.cpp:74: error: 'types' was not declared in this scope
    main.cpp:74: error: 'SENSORS_SUBFEATURE_UNKNOWN' was not declared in this scope
    main.cpp:76: error: 'SENSORS_FEATURE_TEMP' was not declared in this scope
    main.cpp:77: error: 'SENSORS_SUBFEATURE_TEMP_INPUT' was not declared in this scope
    main.cpp:79: error: 'SENSORS_FEATURE_IN' was not declared in this scope
    main.cpp:80: error: 'SENSORS_SUBFEATURE_IN_INPUT' was not declared in this scope
    main.cpp:82: error: 'SENSORS_FEATURE_FAN' was not declared in this scope
    main.cpp:83: error: 'SENSORS_SUBFEATURE_FAN_INPUT' was not declared in this scope
    main.cpp:85: error: 'SENSORS_FEATURE_VID' was not declared in this scope
    main.cpp:86: error: 'SENSORS_SUBFEATURE_VID' was not declared in this scope
    main.cpp:88: error: 'SENSORS_FEATURE_POWER' was not declared in this scope
    main.cpp:94: error: 'SENSORS_SUBFEATURE_POWER_INPUT' was not declared in this scope
    main.cpp:95: error: 'SENSORS_SUBFEATURE_POWER_AVERAGE' was not declared in this scope
    main.cpp:97: error: 'SENSORS_FEATURE_ENERGY' was not declared in this scope
    main.cpp:98: error: 'SENSORS_SUBFEATURE_ENERGY_INPUT' was not declared in this scope
    main.cpp:100: error: 'SENSORS_FEATURE_CURR' was not declared in this scope
    main.cpp:101: error: 'SENSORS_SUBFEATURE_CURR_INPUT' was not declared in this scope
    main.cpp:105: error: expected initializer before '*' token
    main.cpp:106: error: 'subFeature' was not declared in this scope
    main.cpp:107: error: 'sensors_get_subfeature' was not declared in this scope
    main.cpp:109: error: 'subFeature' was not declared in this scope
    main.cpp:111: error: 'sensors_get_value' was not declared in this scope
    main.cpp:113: error: 'SENSORS_FEATURE_TEMP' was not declared in this scope
    main.cpp:124: error: 'sensors_free_chip_name' was not declared in this scope
    main.cpp: In function 'BOOL SubagentInit(Config*)':
    main.cpp:189: warning: use of 'h' length modifier with 's' type character
    make[4]: *** [lmsensors_la-main.lo] Error 1
    make[4]: Leaving directory `/tmp/netxms-2.0-M1/src/agent/subagents/lmsensors'
    make[3]: *** [install-recursive] Error 1
    make[3]: Leaving directory `/tmp/netxms-2.0-M1/src/agent/subagents'
    make[2]: *** [install-recursive] Error 1
    make[2]: Leaving directory `/tmp/netxms-2.0-M1/src/agent'
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/tmp/netxms-2.0-M1/src'
    make: *** [install-recursive] Error 1
    

    Do i miss any configuration?

    Any help is appreciated,

    Regards,


  • Install problem on CentOs
    T trungmv
    Support

    Hi experts,

    I installed Netxms but error when running make install step:

    make[4]: Nothing to be done for `install-data-am'.
    make[4]: Leaving directory `/tmp/netxms-2.0-M1/src/server/core'
    make[3]: Leaving directory `/tmp/netxms-2.0-M1/src/server/core'
    Making install in netxmsd
    make[3]: Entering directory `/tmp/netxms-2.0-M1/src/server/netxmsd'
      CXX    netxmsd-netxmsd.o
    netxmsd.cpp: In function âBOOL ParseCommandLine(int, char**)â:
    netxmsd.cpp:232: warning: use of âhâ length modifier with âsâ type character
    netxmsd.cpp: In function âint main(int, char**)â:
    netxmsd.cpp:412: warning: use of âhâ length modifier with âsâ type character
      CXXLD  netxmsd
    ../core/.libs/libnxcore.so: undefined reference to `__sync_add_and_fetch_4'
    ../core/.libs/libnxcore.so: undefined reference to `__sync_sub_and_fetch_4'
    collect2: ld returned 1 exit status
    make[3]: *** [netxmsd] Error 1
    make[3]: Leaving directory `/tmp/netxms-2.0-M1/src/server/netxmsd'
    make[2]: *** [install-recursive] Error 1
    make[2]: Leaving directory `/tmp/netxms-2.0-M1/src/server'
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/tmp/netxms-2.0-M1/src'
    make: *** [install-recursive] Error 1
    

    Although i tried:

    CFLAGS="-march=i686" ./configure --with-server --with-mysql --with-agent
    make -j2 clean all
    

    But still problem
    System: CentOS release 5.11 (Final)
    Java version: java version "1.6.0_33"
                      OpenJDK Runtime Environment (IcedTea6 1.13.5) (rhel-1.13.5.0.el5_11-i386)
                      OpenJDK Server VM (build 23.25-b01, mixed mode)
    Tomcat: 7.0.57

    Any suggestion please let me know.

    Regards,

  • 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