|
From: Thiruvarasu a/l M. <s98...@mm...> - 2002-10-08 16:16:06
|
Rene,
I think there's something very basic that i think i'm doin wrong here. Le=
t
me just run through how i installed, n tell me if there's anything wrong.=
I
just did the ./configure using root with all the default settings n did t=
he
"make install". Since i'll be doin back up for samba files only i didn't
install nfs or rsync. Then i logged on to the admin.php and added a new
share with the "create backup of this server checked". After creating all
that i tried loggin in as the specified user and tried to browse through =
but
i'm getting the DBA errors. I checked for the incremental folder, but it'=
s
not created anywhere in the system. Do i have to manually create this
folders or the installation script does all this ? For every new share fr=
om
a different client computer a new folder with the name of the computer wi=
ll
be created under the backup director rite ?
This is the output from the instalaltion
[root@samba bobs]# ./configure
loading cache ./config.cache
Welcome to bobs, Version 0.5.1
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for httpd... (cached) /usr/sbin/httpd
checking for php... (cached) /usr/bin/php
checking for portmap... (cached) /sbin/portmap
checking for rsync... (cached) /usr/bin/rsync
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for /home/httpd/html... (cached) no
checking for /var/www/html... (cached) yes
checking for web server user id... apache
Now you need to set a password for bobs adminstrator.
bobs admin password:
creating ./config.status
creating Makefile
creating inc/config.php
creating cron/backup.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Your configuration:
web pages directory =3D /var/www/html/bobs
bobs data directory =3D /usr/local/share/bobsdata
*** 0 warning(s)
[root@samba bobs]# make install
make[1]: Entering directory `/home/arasu/bobs/bobs'
make[1]: Nothing to be done for `install-exec-am'.
#
# This section contains things to do during 'make install'
#
# Create html documents directory
./mkinstalldirs /var/www/html/bobs
mkdir /var/www/html/bobs
# Create the html directories in the location
# specified by '--with-webdir=3DDIR'
for dir in cron htmlinc images images/bar images/menu inc inc/excludes
inc/servers js winc; do \
./mkinstalldirs /var/www/html/bobs/$dir; \
done
mkdir /var/www/html/bobs/cron
mkdir /var/www/html/bobs/htmlinc
mkdir /var/www/html/bobs/images
mkdir /var/www/html/bobs/images/bar
mkdir /var/www/html/bobs/images/menu
mkdir /var/www/html/bobs/inc
mkdir /var/www/html/bobs/inc/excludes
mkdir /var/www/html/bobs/inc/servers
mkdir /var/www/html/bobs/js
mkdir /var/www/html/bobs/winc
# Copy the html documents to their final destination
for file in *.php *.css cron/backup.php images/*.gif images/bar/*.gif
images/menu/*.gif images/menu/*.png inc/*.php inc/*.pinc inc/*.ini
inc/excludes/default.excludelist inc/servers/*.ini js/*.js winc/*.php
winc/*.html; do \
cp $file /var/www/html/bobs/$file; \
done
# backup.php must be executable
chmod 755 /var/www/html/bobs/cron/backup.php
# Create bobs data directories
./mkinstalldirs /usr/local/share/bobsdata
mkdir /usr/local/share/bobsdata
./mkinstalldirs /usr/local/share/bobsdata/current
mkdir /usr/local/share/bobsdata/current
./mkinstalldirs /usr/local/share/bobsdata/current/process
mkdir /usr/local/share/bobsdata/current/process
./mkinstalldirs /usr/local/share/bobsdata/current/process/cmd
mkdir /usr/local/share/bobsdata/current/process/cmd
./mkinstalldirs /usr/local/share/bobsdata/current/process/mounts
mkdir /usr/local/share/bobsdata/current/process/mounts
./mkinstalldirs /usr/local/share/bobsdata/current/process/session
mkdir /usr/local/share/bobsdata/current/process/session
# httpd process must be able to write to bobs data dirs
# and some html directories,
# so make the httpd process own the directory
if test -n "apache"; then \
chown apache /usr/local/share/bobsdata; \
chown apache /usr/local/share/bobsdata/current/process; \
chown apache /usr/local/share/bobsdata/current/process/cmd; \
chown apache /usr/local/share/bobsdata/current/process/mounts; \
chown apache /usr/local/share/bobsdata/current/process/session; \
chown apache /var/www/html/bobs/inc/servers; \
fi
# Install command processing program
cp bash/cmdloop /usr/local/share/bobsdata/current/process/cmdloop
make[1]: Leaving directory `/home/arasu/bobs/bobs'
Really hoping to get this software running.
Thanks.
> On Tue, 2002-10-08 at 14:21, Thiruvarasu a/l Muthusamy wrote:
>> OK, I've downloaded the new CVS source n running it.The problem i'm
>> having now is that i keep on getting some DBA errors when i try to
>> browse the current and Incremental . I tried to read about it online,
>> if i'm not mistaken it's something to do with some bugs in PHP. Any
>> idea guys ?=20
>>=20
>> Thanks=20
>=20
> Do you have any files in the "incremental" directory on the server
> containing the backup?
> Do these two files exist in the "incremental/sambaserver/" dir=20
> =20
> "test.dirindex.db" and "test.fileindex.db"
>=20
> My guess is that they don't exist.
> What happens is that bobs will automatically create a db when a
> requested db is not found. In this case bobs do not have write
> permissions to create a db and it fails with these errors.
> This should go away when you have files in the incremental dirs.
> Try deleting/renaming or moving some files on sambaserver/test and run
> the backup again.
>=20
> I have some check in place which should prevent these errors, but I
> guess I'll have to take a look at them again.
>=20
> This is not a serious bug but it is confusing to the users.
>=20
> Hope this helps
> Best regards
> -Ren=E9
>=20
> I just reread your mail and I can see I missed something. Did you run a
> backup prior to browsing the current and incremental files?
>=20
>=20
>>=20
>> Warning: driver initialization failed in
>> /var/www/html/bobs1/bobs/inc/class_db.php on line 66=20
>>=20
>> Warning: Unable to find DBA identifier 0 in
>> /var/www/html/bobs1/bobs/inc/class_db.php on line 130=20
>>=20
>> Warning: Unable to find DBA identifier 0 in
>> /var/www/html/bobs1/bobs/inc/class_db.php on line 233=20
>>=20
>> Warning: Unable to find DBA identifier 0 in
>> /var/www/html/bobs1/bobs/inc/class_db.php on line 233=20
>>=20
>> Warning: Unable to find DBA identifier 0 in
>> /var/www/html/bobs1/bobs/inc/class_db.php on line 233=20
>>=20
>> Warning: Unable to find DBA identifier 0 in
>> /var/www/html/bobs1/bobs/inc/class_db.php on line 233=20
>>=20
>> Warning: Unable to find DBA identifier 0 in
>> /var/www/html/bobs1/bobs/inc/class_db.php on line 233=20
>>=20
>> Warning: Unable to find DBA identifier 0 in
>> /var/www/html/bobs1/bobs/inc/class_db.php on line 233=20
>>=20
>> Warning: Unable to find DBA identifier 0 in
>> /var/www/html/bobs1/bobs/inc/class_db.php on line 233=20
>>=20
>> Warning: Unable to find DBA identifier 0 in
>> /var/www/html/bobs1/bobs/inc/class_db.php on line 233=20
>>=20
>> Warning: Unable to find DBA identifier 0 in
>> /var/www/html/bobs1/bobs/inc/class_db.php on line 233=20
>>=20
>> Warning: Unable to find DBA identifier 0 in
>> /var/www/html/bobs1/bobs/inc/class_db.php on line 233=20
>>=20
>> Warning: Unable to find DBA identifier 0 in
>> /var/www/html/bobs1/bobs/inc/class_db.php on line 233=20
>>=20
>> Warning: Unable to find DBA identifier 0 in
>> /var/www/html/bobs1/bobs/inc/class_db.php on line 233=20
>>=20
>> Warning: Unable to find DBA identifier 0 in
>> /var/www/html/bobs1/bobs/inc/class_db.php on line 233=20
>>=20
>> Warning: Unable to find DBA identifier 0 in
>> /var/www/html/bobs1/bobs/inc/class_db.php on line 233=20
>>=20
>> Warning: Unable to find DBA identifier 0 in
>> /var/www/html/bobs1/bobs/inc/class_db.php on line 233=20
>>=20
>> Warning: Unable to find DBA identifier 0 in
>> /var/www/html/bobs1/bobs/inc/class_db.php on line 233=20
>>=20
>> Warning: Unable to find DBA identifier 0 in
>> /var/www/html/bobs1/bobs/inc/class_db.php on line 233=20
>>=20
>> Warning: Unable to find DBA identifier 0 in
>> /var/www/html/bobs1/bobs/inc/class_db.php on line 233=20
>>=20
>> Warning: Unable to find DBA identifier 0 in
>> /var/www/html/bobs1/bobs/inc/class_db.php on line 233=20
>>=20
>> Warning: Unable to find DBA identifier 0 in
>> /var/www/html/bobs1/bobs/inc/class_db.php on line 233=20
>>=20
>> You are browsing the current directories of sambaserver/test samba=20
>> root folder=20
>>=20
>>=20
>>=20
>> On Sat, 2002-10-05 at 12:47, Joe zacky wrote:=20
>> >=20
>> >=20
>> > arasu wrote:
>> >=20
>> > > Thanks for the reply. Kinda getting the hang of it i think. I'm
>> > > not really sure what windows nfs utilities u r talking about, n i
>> > > dun think i'm using it now.
>> >=20
>> > There's an NFS utility that you can buy from Microsoft that lets
>> > Windows use NFS. NFS doesn't come standard with Windows.
>> >=20
>> > > So this utility is installed on the computer running BOBS ?
>> >=20
>> > It's installed on the Windows computer that you want to backup via
>> > NFS. But samba is much easier to use if you're backing up a Windows
>> > machine.
>> >=20
>> > > N can you guide me the way to download the current CVS source.
>> >=20
>> > Here's how to get a copy of the current CVS source tree:
>> >=20
>> > cvs -d:pserver:ano...@cv...:/cvsroot/bobs
>> > login
>> >=20
>> > When prompted for a password, just press Enter.
>> >=20
>> > cvs -z3 -d:pserver:ano...@cv...:/cvsroot/bobs
>> > co bobs
>> >=20
>> > cvs -d:pserver:ano...@cv...:/cvsroot/bobs
>> > logout
>> >=20
>> > The instructions are also at
>> > http://sourceforge.net/cvs/?group_id=3D54656, under "Anonymous CVS
>> > Access".
>> >=20
>> > > =20
>> > > Btw, i think BOBS is really a cool software. If i can get it to
>> > > work it'll solve alot of backup headaches.=20
>> >=20
>> > I think so too, that's why I joined Rene's project.
>> >=20
>>=20
>>=20
>>=20
>> -------------------------------------------------------
>> This sf.net email is sponsored by:ThinkGeek
>> Welcome to geek heaven.
>> http://thinkgeek.com/sf
>> _______________________________________________
>> Bobs-devel mailing list
>> Bob...@li...
>> https://lists.sourceforge.net/lists/listinfo/bobs-devel
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Bobs-devel mailing list
> Bob...@li...
> https://lists.sourceforge.net/lists/listinfo/bobs-devel
|