>>>>> On Mon, 28 Jun 2010 09:21:25 -0700, pedro moreno said: > > Hi my friends. > > I want to upgrade my 2 bacula servers running 3.x to 5.x, I have read > /usr/ports/UPDATING but don't see any news about. > > Well I start my portupgrade -air bacula-server and I got this error: > > ************************************************************************************************************************************************************ > Linking bacula-dir ... > /usr/ports/sysutils/bacula-server/work/bacula-5.0.0/libtool --silent > --tag=CXX --mode=link /usr/bin/c++ -L/usr/local/lib -L../lib > -L../cats - > L../findlib -o bacula-dir dird.o admin.o authenticate.o autoprune.o > backup.o bsr.o catreq.o dir_plugins.o dird_conf.o expand.o fd_cmds.o > getmsg.o inc_conf.o job.o jobq.o migrate.o mountreq.o msgchan.o > next_vol.o newvol.o pythondir.o recycle.o restore.o run_conf.o > scheduler.o > ua_acl.o ua_cmds.o ua_dotcmds.o ua_query.o ua_input.o ua_label.o > ua_output.o ua_prune.o ua_purge.o ua_restore.o ua_run.o ua_select.o > ua_server.o ua_status.o ua_tree.o ua_update.o vbackup.o verify.o > -lbacfind -lbacsql -lbacpy -lbaccfg -lbac -lm -L/usr/local/lib/mysql > - > lmysqlclient_r -lz -lpthread -lintl -lwrap -lssl -lcrypto > dird.o(.text+0x21c): In function `check_catalog(cat_op)': > : undefined reference to `db_check_max_connections(JCR*, B_DB*, unsigned int)'
It is a known problem with the Bacula shared libraries, which can be solved by uninstalling the 3.x package first. Make a copy of your configuration files before doing this, just in case! You will also need to run the /usr/local/share/bacula/update_bacula_tables script after installing 5.x to convert the catalog from the 3.x format. __Martin ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users