|
From: AWC M. L. <mai...@aw...> - 2004-05-13 20:27:12
|
Ok, after a bit of work I have installed BOBS and have run a backup using the "Backup now" button while logged into admin.php The "Check configuration" button also works fine when I do not select a backup set. And the "Check configuration" button also works fine when I select the backup set I created. So tests seems to work. It does backup via Rsync and restore via SMB. A browse of the directories from the command prompt shows all the files are being backup up successfully. However, when I log into the regular user account using a web browser the following happens. When I click on "Browse backup" In the left hand column I can see and expand the directory structure of the backup.. that works fine. But in the right hand column I get the error message: ---------- 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 ---------- I am running bobs 0.6.2 Redhat 9.0 Any suggestions on where to look now? Thanks. -- Charles |
|
From: Joe Z. <joe...@za...> - 2004-05-13 20:45:10
|
AWC Mailing Lists wrote: > ---------- > 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 > ---------- > I am running bobs 0.6.2 > Redhat 9.0 > > Any suggestions on where to look now? > > Thanks. > > -- Charles This is a known issue that will be fixed on the next release. It's described here: http://us4.php.net/manual/en/function.dba-open.php The problem is in /var/www/html/bobs/inc/class_db.php. Change the "c" in both @dba_open functions to "n" and it should work fine. 43 // check what dba type we should use 44 $tmpfile = tempnam("/tmp", "BOBS"); 45 $dbcheck = @dba_open($tmpfile, "c", "db3"); 46 if ( $dbcheck === FALSE ) { 47 $dbcheck = @dba_open($tmpfile, "c", "db4"); 48 if ( $dbcheck === FALSE ) { Cheers, Joe |
|
From: AWC M. L. <mai...@aw...> - 2004-05-13 21:00:19
|
Joe, Thank you! That fixed the problem. I'll now play around with things a bit. --- Charles Joe Zacky wrote: > > AWC Mailing Lists wrote: > >> ---------- >> 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 >> ---------- >> I am running bobs 0.6.2 >> Redhat 9.0 >> >> Any suggestions on where to look now? >> >> Thanks. >> >> -- Charles > > > > This is a known issue that will be fixed on the next release. It's > described here: http://us4.php.net/manual/en/function.dba-open.php > The problem is in /var/www/html/bobs/inc/class_db.php. Change the "c" > in both @dba_open functions to "n" and it should work fine. > > 43 // check what dba type we should use > 44 $tmpfile = tempnam("/tmp", "BOBS"); > 45 $dbcheck = @dba_open($tmpfile, "c", "db3"); > 46 if ( $dbcheck === FALSE ) { > 47 $dbcheck = @dba_open($tmpfile, "c", "db4"); > 48 if ( $dbcheck === FALSE ) { > > Cheers, > Joe > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > Bobs-devel mailing list > Bob...@li... > https://lists.sourceforge.net/lists/listinfo/bobs-devel > |
|
From: AWC M. L. <mai...@aw...> - 2004-05-13 20:52:20
|
Just to a add a bit more. If I run "Check configuration" on the backup set now, I get the following warning at the very bottom: ---------- Checking for completed backups in /var/bobsdata/current/server/Shared. WARN I didn't find any backup files. This is normal for a new installation. You won't be able to use the bobs 'restore' menu until a backup has successfully completed. ----------- Yet a quick browse of this directory shows all of the files are backed up there. And I tested opening a few of those files just fine. Hmmmm. --- Charles AWC Mailing Lists wrote: > Ok, after a bit of work I have installed BOBS and have run a backup > using the "Backup now" button while logged into admin.php > > The "Check configuration" button also works fine when I do not select a > backup set. And the "Check configuration" button also works fine when I > select the backup set I created. So tests seems to work. > > It does backup via Rsync and restore via SMB. > > A browse of the directories from the command prompt shows all the files > are being backup up successfully. However, when I log into the regular > user account using a web browser the following happens. When I click on > "Browse backup" > In the left hand column I can see and expand the directory structure of > the backup.. that works fine. > But in the right hand column I get the error message: > ---------- > 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 > ---------- > I am running bobs 0.6.2 > Redhat 9.0 > > Any suggestions on where to look now? > > Thanks. > > -- Charles > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > Bobs-devel mailing list > Bob...@li... > https://lists.sourceforge.net/lists/listinfo/bobs-devel > |
|
From: AWC M. L. <mai...@aw...> - 2004-05-13 20:55:38
|
Sorry I keep noticing more things. On the very top of the Check Config page I get: Warning: OpenDir: Permission denied (errno 13) in /var/www/html/bobs/systemcheck.php on line 574 Help. --- Charles AWC Mailing Lists wrote: > Ok, after a bit of work I have installed BOBS and have run a backup > using the "Backup now" button while logged into admin.php > > The "Check configuration" button also works fine when I do not select a > backup set. And the "Check configuration" button also works fine when I > select the backup set I created. So tests seems to work. > > It does backup via Rsync and restore via SMB. > > A browse of the directories from the command prompt shows all the files > are being backup up successfully. However, when I log into the regular > user account using a web browser the following happens. When I click on > "Browse backup" > In the left hand column I can see and expand the directory structure of > the backup.. that works fine. > But in the right hand column I get the error message: > ---------- > 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 > ---------- > I am running bobs 0.6.2 > Redhat 9.0 > > Any suggestions on where to look now? > > Thanks. > > -- Charles > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > Bobs-devel mailing list > Bob...@li... > https://lists.sourceforge.net/lists/listinfo/bobs-devel > |