> I want to ask this: > 1. What this "no version found" error means?
can't comment on this for you --- I have no idea > 2. and why it is not taking the mysql path as what we have > set > (LDFLAGS="-L/usr/local/mysql/lib/mysql" ) in my ./configure script the LDFLAGS aren't used - it's path info is set with --with-mysql=<path to mysql> not sure what to tell you there. Maybe drop the LDFLAGS and add the line in your conf file before re-running ./configure. My configure script: ./configure \ --enable-smartalloc \ --sbindir=/usr/sbin \ --with-pid-dir=/var/run \ --with-subsys-dir=/var/run/subsys \ --with-mysql=/usr/local/mysql \ --with-python \ --with-working-dir=/etc/bacula/working \ --with-dir-password=apasswordgoeshere-dir \ --with-sd-password=apasswordgoeshere-sd \ --with-fd-password=apasswordgoeshere-fd \ [EMAIL PROTECTED] \ --with-job-email= [EMAIL PROTECTED] \ --with-smtp-host=localhost \ --with-baseport=9101 This is on Mac OS X 10.4.x - so path info will absolutely differ on your RHEL box. Also: In the stock bacula-dir.conf file you need to set the password for access to the MyCatalog: # Generic catalog service Catalog { Name = MyCatalog dbname = bacula; user = bacula; password = "PASSWORD GOES HERE" } Otherwise it won't connect. Erich On Aug 16, 2006, at 10:48 PM, priyanka wrote: > Erich Prinz <eprinz <at> speakeasy.net> writes: > >> >> Create the bacula database in MySQL first, ensure it's running, then >> re-run ./configure script. >> >> E >> >> On Aug 14, 2006, at 12:45 AM, priyanka wrote: >> >>> hi! >>> I am installing bacula-1.38.11, working on RHEL4.0 and >>> mysql-4.1.7-4.RHEL4.1 >>> while building bacula, we got the error as : >>> >>> [root <at> zimbra bin]# ./bacula-dir -c bacula-dir.conf & >>> 2 [1] 17372 >>> 3 [root <at> zimbra bin]# ./bacula-dir: /usr/lib/mysql/ >>> libmysqlclient.so.14: no >>> 4 version information available (required by ./bacula-dir) >>> 5 >>> 6 [root <at> zimbra bin]# 14-Aug 09:56 bacula-dir: Fatal >>> error: >>> Could not open >>> 7 Catalog "MyCatalog", database "bacula". >>> 8 14-Aug 09:56 bacula-dir: Fatal error: mysql.c:164 Unable >>> to connect to >>> MySQL >>> 9 server. >>> 10 Database=bacula User=bacula >>> 11 It is probably not running or your password is incorrect. >>> 12 14-Aug 09:56 bacula-dir ERROR TERMINATION >>> 13 Please correct configuration file: bacula-dir.conf >>> >>> Please find a solution to this problem.. >>> >>> Regards >>> >>> >>> >>> >>> >>> -------------------------------------------------------------------- >>> -- >>> --- >>> Using Tomcat but need to do more? Need to support web services, >>> security? >>> Get stuff done quickly with pre-integrated technology to make your >>> job easier >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache >>> Geronimo >>> http://sel.as-us.falkag.net/sel? >>> cmd=lnk&kid=120709&bid=263057&dat=121642 >>> _______________________________________________ >>> Bacula-users mailing list >>> Bacula-users <at> lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/bacula-users >>> >> >> --------------------------------------------------------------------- >> ---- >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your >> job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel? >> cmd=lnk&kid=120709&bid=263057&dat=121642 >> > > > Thankx for ur concern, > I have created the database as you told but then also we are > getting error, > My mysql is running: > > [EMAIL PROTECTED] ~]# ps -ax | grep -i mysql > Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/ > procps-3.2.3/FAQ > 3486 pts/1 S 0:00 /bin/sh /usr/local/mysql/bin/mysqld_safe > 3510 pts/1 S 0:00 /usr/local/mysql/libexec/mysqld > --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql > --pid-file=/usr/local/mysql/var/zimbra.india.pid --skip-locking -- > port=3306 > --socket=/tmp/mysql.sock > 3511 pts/1 S 0:00 /usr/local/mysql/libexec/mysqld > --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql > --pid-file=/usr/local/mysql/var/zimbra.india.pid --skip-locking -- > port=3306 > --socket=/tmp/mysql.sock > 3512 pts/1 S 0:00 /usr/local/mysql/libexec/mysqld > --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql > --pid-file=/usr/local/mysql/var/zimbra.india.pid --skip-locking -- > port=3306 > --socket=/tmp/mysql.sock > 3513 pts/1 S 0:00 /usr/local/mysql/libexec/mysqld > --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql > --pid-file=/usr/local/mysql/var/zimbra.india.pid --skip-locking -- > port=3306 > --socket=/tmp/mysql.sock > > database is also created : > > mysql> show tables; > +------------------+ > | Tables_in_bacula | > +------------------+ > | BaseFiles | > | CDImages | > | Client | > | Counters | > | Device | > | File | > | FileSet | > | Filename | > | Job | > | JobMedia | > | Media | > | MediaType | > | Path | > | Pool | > | Status | > | Storage | > | UnsavedFiles | > | Version | > +------------------+ > 18 rows in set (0.00 sec) > > > and We have set LDFLAGS also: > > LDFLAGS="-L/usr/local/mysql/lib/mysql" ./configure > --sbindir=/usr/local/bacula/bin --sysc onfdir=/usr/local/ > bacula/bin > --enable-smartalloc --with-mysql --with-working-dir=/usr/loc > al/bacula/working --with-pid-dir=/usr/local/bacula/working > --with-subsys-dir=/usr/local/b acula/working --enable-conio > --enable-gnome --enable-tray-monitor > > and we got this error: > > [EMAIL PROTECTED] bin]# ./bacula-dir -c bacula-dir.conf & > 2 [1] 17372 > 3 [EMAIL PROTECTED] bin]# ./bacula-dir: /usr/lib/mysql/ > libmysqlclient.so.14: no > 4 version information available (required by ./bacula-dir) > 5 > 6 [EMAIL PROTECTED] bin]# 14-Aug 09:56 bacula-dir: Fatal error: > Could not open > 7 Catalog "MyCatalog", database "bacula". > 8 14-Aug 09:56 bacula-dir: Fatal error: mysql.c:164 Unable > to connect to > MySQL > 9 server. > 10 Database=bacula User=bacula > 11 It is probably not running or your password is incorrect. > 12 14-Aug 09:56 bacula-dir ERROR TERMINATION > 13 Please correct configuration file: bacula-dir.conf > > I want to ask this: > 1. What this "no version found" error means? > 2. and why it is not taking the mysql path as what we have > set > (LDFLAGS="-L/usr/local/mysql/lib/mysql" ) > > Please write to this > Regards > > > > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users