bacula server without gconsole
RYAN M. vAN GINNEKEN
luck at computerking.ca
Wed Apr 12 22:16:49 UTC 2006
----- Paul Howarth <paul at city-fan.org> wrote:
> On Wed, 2006-04-12 at 13:48 -0700, RYAN M. vAN GINNEKEN wrote:
> > ----- Paul Howarth <paul at city-fan.org> wrote:
> > > You only need to add the --define 'nobuild_gconsole 1' to the
> working
> > > recipe you had in the previous thread last month:
> > >
> > > $ rpmbuild --rebuild \
> > > --define 'build_fc3 1' \
> > > --define 'build_mysql 1' \
> > > --define 'nobuild_gconsole 1' \
> > > bacula-1.38.6-1.src.rpm
> > >
> > > > Now i have another problem can't create transaction lock what is
> all
> > > that about? permission problems? should i build as root?
> > > >
> > > > [king at shoemasters i386]$ ls
> > > > bacula-client-1.38.6-1.i386.rpm
> bacula-sqlite-1.38.6-1.i386.rpm
> > > > bacula-debuginfo-1.38.6-1.i386.rpm
> > > bacula-updatedb-1.38.6-1.i386.rpm
> > > > bacula-mtx-1.38.6-1.i386.rpm
> > > > [king at shoemasters i386]$ rpm -i bacula-client-1.38.6-1.i386.rpm
> > > > error: can't create transaction lock
> > > > [king at shoemasters i386]$ rpm -i bacula-client-1.38.6-1.i386.rpm
> > > > error: can't create transaction lock
> > > > [king at shoemasters i386]$ rpm -i bacula-sqlite-1.38.6-1.i386.rpm
> > > > error: can't create transaction lock
> > >
> > > You build the package as a regular user but you must install it
> as
> > > root.
> > >
> > Getting errors from bacula about the database not existing, and that
> i should create it. When i try to create i get errors from fedora
> about missing directories. I went into the deppgd directory and typed
> make like the docs explained and sqlite seemed to make just fine. I
> still get the error below regarding database creation.
> >
> > ./create_sqlite_database
> > ./create_sqlite_database: line 9:
> /home/king/rpmbuild/BUILD/bacula-1.38.6/../depkgs/sqlite/sqlite: No
> such file or directory
> >
> > Sure enough when i go to the dirctory mentioned there is a file
> named sqlite
> >
> > [root at shoemasters sqlite]# ls -l
> > total 608
> > -rw-r--r-- 1 king wheel 322988 Apr 12 13:35 libsqlite.a
> > -rwxr-xr-x 1 king wheel 248817 Apr 12 13:35 sqlite
> > -rw-r--r-- 1 king wheel 38376 Apr 12 13:35 sqlite.h
>
> What's all this sqlite stuff? I thought you wanted to build/use the
> mysql version?
>
I did but mysql was being a real pain and would not build the rpms. Bacula needs mysql-devel version 4 or better and fedora core 3 only has version 3 something of the mysql-devel package. Thought it might be easier to just use sqlite, aparantly i was wrong. Dam i am so close now to getting things to work hope i can get bacula going before my main server crashes.
More information about the fedora-list
mailing list