Menu

database problem

Help
2004-04-27
2013-04-01
  • Nobody/Anonymous

    hi there.....i am trying to use the new version of bobs, primarilly with nfs, and i have this messages in the browse current link:

    Could not create a database of type db3 or db4 (tried both)
    Warning: no such handler: in /var/www/html/bobs/inc/class_db.php on line 79

    Warning: Unable to find DBA identifier 0 in /var/www/html/bobs/inc/class_db.php on line 308
    No files were found in

    the backup process appears to be ok, i tried it with a few files, but in the checking i have some messages about problems in write files, and i changed permission and nothing happens...
    can you help? thanks!

    Rodrigo
    rodvb@pop.com.br

     
    • Joe Zacky

      Joe Zacky - 2004-04-28

      Please go into BOBS Administration, select the backup, click on Check Configuration, and post the output of that to this list. It may help determine what the problem is.

      I'm guessing it's permissions. What user is your httpd process running as? What are the owner/group and permissions on the db files in /var/bobsdata/current/<backupname>/*.db?

      Did you look in /var/log/bobs.log for any clues?

      I'm posting this to the bobs-devel mailing list because that's what gets monitored most. Please join the list at http://lists.sourceforge.net/lists/listinfo/bobs-devel and reply there. You're likely to get more help that way.

      Joe

       
      • Joe Zacky

        Joe Zacky - 2004-04-28

        You don't have to do anything. I see I am getting the same error. I'll look into it.

         
        • Joe Zacky

          Joe Zacky - 2004-04-28

          I found the problem. All instances of dba_open where the 2nd parameter is "c" must be changed to "n" where your php version is 4.3.5 or less. See the last note on the page at http://us4.php.net/manual/en/function.dba-open.php.

           
          • Nobody/Anonymous

            Hey, thank you very much! Your suggestions fixed my problem, but just on red hat 9 distribution. On fedora installations it didn't work. Which distribution do you use? On fedora, apears the message "No files were found in", but the bakcup process was already done.
            I'll access the mailing list 'cause I have some another things to ask...

            Rodrigo

             
    • Nobody/Anonymous

      Hey, thank you very much! Your suggestions fixed my problem, but just on red hat 9 distribution. On fedora installations it didn't work. Which distribution do you use? On fedora, apears the message "No files were found in", but the bakcup process was already done.
      I'll access the mailing list 'cause I have some another things to ask...

       
    • Nobody/Anonymous

      Could you post what files this variable is\are in. I also have this error and am trying to debug.

      thanks...DBA_Frog

       

Log in to post a comment.