From: Kern S. <ke...@si...> - 2003-07-10 21:49:26
|
Hello, Please look in src/config.h, which should have=20 #define HAVE_MYSQL 1 if it does not, something very strange has gone wrong with your configuration and I would be interested to see the full output of your ./configure If it does, then it seems to me that gcc 3.2.2 has gone=20 crazy or have you hand edited src/config.h? or is there any chance that you re-ran the ./configure multiple times changing the values?=20 The Internal database is only turned on if neither HAVE_SQLITE nor HAVE_MYSQL are set in src/config.h I suggest you try the following: cd <bacula-src> make distclean ./configure (your options) make If you change any options on the ./configure, be sure to redo the "make distclean". Best regards, Kern On Thu, 2003-07-10 at 23:11, P Lambert wrote: > I receive the following errors on startup with reference to the Database. >=20 > WARNING!!!! The Internal Database is for TESTING ONLY! > You should use either SQLite or MySQL >=20 > I ran ./configure with the mysql option as you can see from the output=20 > below. I dumped the config.out file: >=20 > Configuration on Thu Jul 10 11:38:13 PDT 2003: >=20 > Host: i686-pc-linux-gnu -- redhat 8.0 > Bacula version: 1.30a (10 May 2003) > Source code location: . > Install binaries: /sbin > Install config files: /etc/bacula > Scripts directory: /etc/bacula > Working directory: /etc/bacula/working > PID directory: /var/run > Subsys directory: /var/run/subsys > C Compiler: gcc gcc (GCC) 3.2 2 > Copyright (C) 2 > This is free so > warranty; not e > C++ Compiler: c++ c++ (GCC) 3.2 2 > Copyright (C) 2 > This is free so > warranty; not e > Compiler flags: -g -O2 > Linker flags: > Libraries: -lpthread > Statically Linked Tools: no > Statically Linked FD: no > Statically Linked SD: no > Statically Linked DIR: no > Statically Linked CONS: no > Database type: MySQL > Database lib: -L/usr/lib/mysql -lmysqlclient -lz >=20 > Job Output Email: root@localhost > Traceback Email: root@localhost > SMTP Host Address: localhost > Director Port 9101 > File daemon Port 9102 > Storage daemon Port 9103 > SQL binaries Directory /usr/bin >=20 > Large file support: yes > readline support: yes > TCP Wrappers support: no > ZLIB support: yes > enable-smartalloc: yes > enable-gnome: no > client-only: no >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > I have created the tables and the database is running: >=20 > root 25111 1 0 12:02 pts/0 00:00:00 /bin/sh /usr/bin/safe_mys= qld > --d > mysql 25138 25111 0 12:02 pts/0 00:00:00 /usr/libexec/mysqld > --defaults-f >=20 > MySQL seems to be configured properly: >=20 > mysql> show databases; > +----------+ > | Database | > +----------+ > | bacula | > | mysql | > | test | > +----------+ > 3 rows in set (0.00 sec) >=20 > mysql> use bacula >=20 > Database changed > mysql> show tables; > +------------------+ > | Tables_in_bacula | > +------------------+ > | Client | > | Counters | > | File | > | FileSet | > | Filename | > | Job | > | JobMedia | > | Media | > | Path | > | Pool | > | Version | > +------------------+ > 11 rows in set (0.00 sec) >=20 > mysql> >=20 > ************* >=20 > Sorry for the long post - any idea on where to fix this? I've gone throu= gh > the manual twice and possibly missed a simple configuration step but can'= t > find it. >=20 > Thanks. >=20 > _________________________________________________________________ > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. =20 > http://join.msn.com/?page=3Dfeatures/virus >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > Bacula-users mailing list > Bac...@li... > https://lists.sourceforge.net/lists/listinfo/bacula-users |