> -----Original Message----- > From: Joseph Spenner [mailto:joseph85...@yahoo.com] > Sent: Tuesday, May 04, 2010 10:30 AM > To: bacula-users@lists.sourceforge.net > Subject: Re: [Bacula-users] Installing with RPMs > > --- On Tue, 5/4/10, Phil Stracchino <ala...@metrocast.net> wrote: > > > > I have mysql running on my Suse 11.2 64bit > > system. How does mysql get populated with the bacula > > database/tables? When I compiled from source earlier, > > I found I needed to manually run some scripts: > > > > > > # create_bacula_database > > > > > > # make_bacula_tables > > > > > > # grant_bacula_privileges > > > > > > But I see no such scripts, nor did I notice any such > > processes run during the RPM installation. I logged > > into mysql and did 'show tables', but saw no bacula data. > > > > Having never installed from RPM, I can't help you there, > > sorry. But the > > RPMs SHOULD contain the scripts you reference above. > > > > Ok, not sure where the mysql update scripts are. I might have to copy > them from the source installation and run them manually.
You can simply run "rpm -ql <package name>" to get a list of all the included files. For the OpenSuSE 11.2 package bacula-mysql (I assume that's what you are using), you'll find the scripts in /usr/lib64/bacula . > Also, when I try to run 'bat' or 'bconsole', it appears to be trying to > connect to the "Director" on port 9101, but this process isn't running > and there is no tcp/9101 available. Without a working database, that's not surprising. Also, try running "/usr/sbin/bacula-dir -t" before actually starting the daemon. That will tell you if there is anything wrong with your configuration (no output is a good thing here - it simply silently returns if your config file is correct). ------------------------------------------------------------------------------ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users