Announcement

Collapse
No announcement yet.

Problems starting ODS - how to?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problems starting ODS - how to?

    I'm having problems getting ODS even started.

    I have no /etc/init.d/ directory and I see that I have a /usr/local/oreon/ODS directory, which a ods.pl file in that diretory. How do I go about installing/starting ods?

  • #2
    What is your distribution of linux?
    Oreon 1.4
    Nagios 2.9
    RRDTool 1.2.18

    Comment


    • #3
      Originally posted by clementthersiquel View Post
      What is your distribution of linux?
      FreeBSD 6.2

      Comment


      • #4
        Ok, I'm assuming I start ODS by running:

        Code:
        /usr/local/oreon/ODS/ods.pl
        and I get

        Code:
        Can't load '/usr/local/lib/perl5/site_perl/5.8.8/mach/auto/RRDs/RRDs.so' for module RRDs: /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/RRDs/RRDs.so: Undefined symbol "PL_sv_undef" at /usr/local/lib/perl5/5.8.8/mach/DynaLoader.pm line 230.
         at ./ods.pl line 32
        Compilation failed in require at ./ods.pl line 32.
        BEGIN failed--compilation aborted at ./ods.pl line 32.
        Any suggestions or help?

        Comment


        • #5
          what process to start a service on FreeBSD ???
          Centreon 2.x

          Comment


          • #6
            I've copied the ods.pl to /usr/local/etc/rc.d/ods as per instructions but now when I run
            Code:
            /usr/local/etc/rc.d/ods start
            I'm getting this still:

            Code:
            Can't load '/usr/local/lib/perl5/site_perl/5.8.8/mach/auto/RRDs/RRDs.so' for module RRDs: /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/RRDs/RRDs.so: Undefined symbol "PL_sv_undef" at /usr/lcal/lib/perl5/5.8.8/mach/DynaLoader.pm line 230.
             at /usr/local/etc/rc.d/ods line 32
            Compilation failed in require at /usr/local/etc/rc.d/ods line 32.
            BEGIN failed--compilation aborted at /usr/local/etc/rc.d/ods line 32.

            Comment


            • #7
              Ok, I've uninstalled and reinstalled oreon.

              Can anyone tell me how to start the ODS daemon on a freebsd system?

              Code:
              /usr/bin/perl /usr/local/oreon/ODS/ods.pl
              runs, but never completes. Does it take a long time for the daemon to start up? What am I missing here?

              Comment


              • #8
                You need the rrdtool perl module. Also, when you run the daemon the way you are trying to, it will never finish since it's constantly in listening mode. Put a & sign after it to send it into the background.

                /usr/bin/perl /usr/local/oreon/ODS/ods.pl&

                Comment


                • #9
                  Originally posted by breakintheweb View Post
                  You need the rrdtool perl module. Also, when you run the daemon the way you are trying to, it will never finish since it's constantly in listening mode. Put a & sign after it to send it into the background.

                  /usr/bin/perl /usr/local/oreon/ODS/ods.pl&
                  That fixed it! It's running now.

                  Thanks!

                  Comment


                  • #10
                    ods missing

                    After a reboot of my machine it tells me that /usr/local/oreodn/ODS/ods is missing.
                    I have searched and cannot find the ods.pl file to use to fix this.
                    Has this happened to anyone else. Thanks

                    Comment

                    Working...
                    X