No announcement yet.

problem with ods service

  • Filter
  • Time
  • Show
Clear All
new posts

  • problem with ods service

    i have a problem to start ods service
    service ods status gives me:
    No lock file found in /usr/local/oreon/ODS/var/

    i already installed the pacthes and make
    also i dont know my path to /usr/local/nagios/var

  • #2
    it is not a fatal error. just verify paths and rights !
    Intel(R) Xeon(TM) CPU 3.4GHz - MemTotal : 1034476 kB
    Centreon 2.4.1 - Nagios 3.2.1 - Nagios Plugins 1.4.15 - Manubulon Plugins tuné
    Fedora Core 5 - 2.6.20-1.2320


    • #3
      there is no file in my system


      • #4
        Launch /etc/init.d/ods start

        If it works, you can see it with this commande :
        # ps aux | grep ods

        If not, just check the error log in oreon/ODS/var/ods.log

        If it's not clean, just delete it, and start again ods, the log file will be created again with the error..
        Romain Le Merlus
        Centreon Forge


        • #5
          the log is

          Can't locate in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/local/oreon/ODS/ line 32.
          BEGIN failed--compilation aborted at /usr/local/oreon/ODS/ line 32.

          p.s--- the log file is ods_demon.log not ods.log


          • #6
            copy some files to perl dir and now get this:

            Can't locate loadable object for module RRDs in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/local/oreon/ODS/ line 32
            Compilation failed in require at /usr/local/oreon/ODS/ line 32.
            BEGIN failed--compilation aborted at /usr/local/oreon/ODS/ line 32.


            • #7
              ods service get start

              now i cp some .so files to perl dir and the ods service get started .
              i can see it now in ps -ef
              root 14977 1 0 15:39 pts/0 00:00:00 /usr/bin/perl -w /usr/local/oreon/ODS/
              root 15269 3884 0 15:41 pts/0 00:00:00 grep ods

              now i cant finger why i dont get [0-9]*.rrd files in /usr/local/oreon/oreondatastorage

              i think i didnt understand the path to process-service-prefdata ang path tp perffile

              what can i do?