Announcement

Collapse
No announcement yet.

Problems with DBconnect

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

  • Problems with DBconnect

    Hello,

    i installed oreon on an novell-oes (like SLES 9)

    after all preparations hab been sucessful an the setup completed sucessfully,
    the indexpage shows this:

    Warning: main(DB.php) [function.main]: failed to open stream: No such file or directory in /usr/local/oreon/www/DBconnect.php on line 23

    Fatal error: main() [function.require]: Failed opening required 'DB.php' (include_path='.:') in /usr/local/oreon/www/DBconnect.php on line 23


    any Idea?

    php-pear is installed. DB too.

    may be it has todo with an ohter problem, that i cant fix:

    myserve:/usr/share/php # pear upgrade-all
    PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php/extensions/msql.so' - /usr/lib/php/extensions/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0
    Will upgrade channel://pear.php.net/console_getopt
    downloading Console_Getopt-1.2.3.tgz ...
    Starting to download Console_Getopt-1.2.3.tgz (4,011 bytes)
    ....done: 4,011 bytes
    upgrade-all ok: channel://pear.php.net/Console_Getopt-1.2.3

    php-mysql is installed...

    best regards,

    chris

  • #2
    Do you restart apache ?

    Sometimes, but it's really rare on SLES, *.so are not well added in php.ini
    Try to see if your mysql.so exist, and make the same configuration as pear.so, snmp.so ...
    Romain Le Merlus
    Centreon Forge
    MERETHIS

    Comment


    • #3
      php.ini

      i had to add comment sign to the extension: msql.so.

      unfurtunately theres an new problem now:


      DB Error: unknown option portability


      is the only line, desplayed in the browser.
      No errors in the access_log file. :-(

      problem known?

      best regards

      christian

      Comment


      • #4
        No further sugestion?

        Hello,
        unfortunatly i cant solve this problem.

        no further idea?

        Best regards,
        Chris

        Comment


        • #5
          Originally posted by crub View Post
          Hello,

          i installed oreon on an novell-oes (like SLES 9)

          after all preparations hab been sucessful an the setup completed sucessfully,
          the indexpage shows this:

          Warning: main(DB.php) [function.main]: failed to open stream: No such file or directory in /usr/local/oreon/www/DBconnect.php on line 23

          Fatal error: main() [function.require]: Failed opening required 'DB.php' (include_path='.:') in /usr/local/oreon/www/DBconnect.php on line 23


          any Idea?

          php-pear is installed. DB too.

          may be it has todo with an ohter problem, that i cant fix:

          myserve:/usr/share/php # pear upgrade-all
          PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php/extensions/msql.so' - /usr/lib/php/extensions/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0
          Will upgrade channel://pear.php.net/console_getopt
          downloading Console_Getopt-1.2.3.tgz ...
          Starting to download Console_Getopt-1.2.3.tgz (4,011 bytes)
          ....done: 4,011 bytes
          upgrade-all ok: channel://pear.php.net/Console_Getopt-1.2.3

          php-mysql is installed...

          best regards,

          chris
          I have same problem about install statusmap module. There is no DBconenct.php file.
          How can I fix it?

          Comment


          • #6
            Originally posted by crub View Post
            Hello,

            i installed oreon on an novell-oes (like SLES 9)

            after all preparations hab been sucessful an the setup completed sucessfully,
            the indexpage shows this:

            Warning: main(DB.php) [function.main]: failed to open stream: No such file or directory in /usr/local/oreon/www/DBconnect.php on line 23

            Fatal error: main() [function.require]: Failed opening required 'DB.php' (include_path='.:') in /usr/local/oreon/www/DBconnect.php on line 23


            any Idea?

            php-pear is installed. DB too.

            may be it has todo with an ohter problem, that i cant fix:

            myserve:/usr/share/php # pear upgrade-all
            PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php/extensions/msql.so' - /usr/lib/php/extensions/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0
            Will upgrade channel://pear.php.net/console_getopt
            downloading Console_Getopt-1.2.3.tgz ...
            Starting to download Console_Getopt-1.2.3.tgz (4,011 bytes)
            ....done: 4,011 bytes
            upgrade-all ok: channel://pear.php.net/Console_Getopt-1.2.3

            php-mysql is installed...

            best regards,

            chris
            I have same problem about install statusmap module. There is no DBconenct.php file.
            How can I fix it?

            Comment

            Working...
            X