Announcement

Collapse
No announcement yet.

Probleme Perl Postgres

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

  • Probleme Perl Postgres

    Voila mon probleme

    ./check_pgconn.pl 36.0.0.5
    install_driver(Pg) failed: Can't locate DBD/Pg.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at (eval 1) line 3.
    Perhaps the DBD::Pg perl module hasn't been fully installed,
    or perhaps the capitalisation of 'Pg' isn't right.
    Available drivers: DBM, ExampleP, File, Proxy, Sponge, mysql.
    at ./check_pgconn.pl line 23


    di vous savez comment regler ca
    DEBIAN SARGE 3.1 + OREON 1.3.1 + NAGIOS 2.5

  • #2
    install le module postgres perl

    DBD-Pg
    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

    Comment


    • #3
      il y a une commande pour faire ca ou il faut telecharger puis faire un MakeFile....
      ?.
      DEBIAN SARGE 3.1 + OREON 1.3.1 + NAGIOS 2.5

      Comment


      • #4
        je que ca ca devrait marcher

        Code:
        cpan install DBD::pg
        Julien Mathis
        Centreon Project Leader
        www.merethis.com |

        Comment


        • #5
          cpan install DBD::Pg
          CPAN: Storable loaded ok
          Going to read /root/.cpan/Metadata
          Database was generated on Fri, 10 Aug 2007 04:48:24 GMT
          Warning: Cannot install install, don't know what it is.
          Try the command

          i /install/

          to find objects with matching identifiers.
          Running install for module DBD::Pg

          The module DBD::Pg isn't available on CPAN.

          Either the module has not yet been uploaded to CPAN, or it is
          temporary unavailable. Please contact the author to find out
          more about the status. Try 'i DBD::Pg'.
          srv-xmonitor:/usr/local/nagios/libexec# cpan install DBD:g
          CPAN: Storable loaded ok
          Going to read /root/.cpan/Metadata
          Database was generated on Fri, 10 Aug 2007 04:48:24 GMT
          Warning: Cannot install install, don't know what it is.
          Try the command

          i /install/

          to find objects with matching identifiers.
          Warning: Cannot install DBD:g, don't know what it is.
          Try the command

          i /DBD:g/

          to find objects with matching identifiers.

          DEBIAN SARGE 3.1 + OREON 1.3.1 + NAGIOS 2.5

          Comment


          • #6
            http://search.cpan.org/search?query=...%3Apg&mode=all

            # cpan install 'DBD::Pg'
            sur ftp://cpan.cict.fr ne pose aucun probleme
            Romain Le Merlus
            Centreon Forge
            MERETHIS

            Comment


            • #7
              perl -e -MCPAN

              install DBD::Pg

              peut-être
              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

              Comment


              • #8
                nno ca fait rien...hum c'est louche sinon je le fais manuellement mais il me demande le :

                perl Makefile.PL
                Configuring DBD::Pg 1.49
                Remember to actually read the README file!
                Path to pg_config?
                DEBIAN SARGE 3.1 + OREON 1.3.1 + NAGIOS 2.5

                Comment


                • #9
                  Il te manque peut-être des librairies de développement postgres.
                  Je sèche !
                  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

                  Comment

                  Working...
                  X