Re: [Bacula-users] [Bacula‑users] Link Error 11.0.5 on sles

2022-03-10 Thread Phil Stracchino

On 3/10/22 20:06, Phil Stracchino wrote:

On 3/10/22 18:37, Mark Casey wrote:

Yep, I use bat.
The options i used to compile are the same as what I used for the 9.6.4
version
qt4 libraries and dev are installed

I have downloaded the 11.0.6 version to see if that fixed the issue


I had no problems building bat in 11.0.5.  11.0.6 has not hit Gentoo
yet.  I'm sure it won't be long.



Er, I'm sorry, I completely garbled that and only half read what I was 
replying to.  Please ignore.



--
  Phil Stracchino
  Babylon Communications
  ph...@caerllewys.net
  p...@co.ordinate.org
  Landline: +1.603.293.8485
  Mobile:   +1.603.998.6958


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bconsole 'stop' command always cancels job instead

2022-03-10 Thread Graham Sparks

Hello,

I've upgraded to Bacula 11.0.6 and, for my configuration, stopping a job 
still cancels it in the same way as release 11.0.5.  I noticed the 
bug (https://bugs.bacula.org/view.php?id=2610) wasn't mentioned in 
the release notes, but thought I'd check as the tracker lists it as 
resolved.


Just wondering if it was slated to be fixed in this release but missed 
out, or if it's my configuration that's wrong.


It's very rare I want to "stop" jobs, but occasionally it's handy.

Thanks.

--
Graham Sparks

On Mon, 20 Dec 2021, Graham Sparks wrote:


Thanks very much Bill--that's good to know.

Also, thank you for reminding me there's a Mantis site (I'd completely
forgotten)!


From: Bill Arlofski via Bacula-users 
Sent: 19 December 2021 21:05
To: bacula-users@lists.sourceforge.net 
Subject: Re: [Bacula-users] bconsole 'stop' command always cancels job
instead  
On 12/19/21 13:28, Graham Sparks wrote:
> Hello,
>
> I just wondered if anyone else has seen this problem.  I wanted to
disconnect the removable disk of a running job so that I
> could reconnect it to a faster USB port.  I thought I'd try the "stop"
bconsole command to stop and restart the job in
> question.  However, my Bacula director always seems to cancel running jobs
instead, stating that the job hasn't started and
> so cannot be stopped.  Of course, the cancelled job cannot be resumed (and
is not marked as 'Incomplete').  Here is an
> example from bconsole:

Hello Graham,

Yes, I reported this as a bug a while ago. It has been fixed and should be
in the next release (11.0.6 or higher, depending
if they make the jump to 13 as I am expecting)

https://bugs.bacula.org/view.php?id=2610


Best regards,
Bill

--
Bill Arlofski
w...@protonmail.com



___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula‑users] Link Error 11.0.5 on sles

2022-03-10 Thread Phil Stracchino

On 3/10/22 18:37, Mark Casey wrote:

Yep, I use bat.
The options i used to compile are the same as what I used for the 9.6.4 
version

qt4 libraries and dev are installed

I have downloaded the 11.0.6 version to see if that fixed the issue


I had no problems building bat in 11.0.5.  11.0.6 has not hit Gentoo 
yet.  I'm sure it won't be long.




--
  Phil Stracchino
  Babylon Communications
  ph...@caerllewys.net
  p...@co.ordinate.org
  Landline: +1.603.293.8485
  Mobile:   +1.603.998.6958


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula‑users] Link Error 11.0.5 on sles

2022-03-10 Thread Mark Casey
Yep, I use bat.
The options i used to compile are the same as what I used for the 9.6.4
version
qt4 libraries and dev are installed

I have downloaded the 11.0.6 version to see if that fixed the issue

Mark


Pegasus Technology Pty. Ltd.Proudly providing IT services to our clients
for the last 45 Years. Reception: +61 (2) 9299
2611
  Facsimile: +61 (2) 9299 2228Web
Page: www.pegasustech.com.au Support Email:
supp...@pegasustech.com.au Address: Suite 7, Level 13, 99 York St
Sydney, NSW, 2000.This email is confidential and may
have content subject to professional privilege and/or copyright
material. Receipt of this email by anyone other than the intended
recipient is not intended to, and does not, waive professional
privilege. Its use or disclosureby any person other than the
intended recipient is unauthorised. If you have received this
email in error, please contact the sender by telephone on +61 (2) 9299
2611 or by return email, and promptly delete it.No warranty is made that
this email or any attachment is free from viruses or other defect or
error.

>>> Lionel PLASSE  10/03/2022 11:43 PM >>>
Hello,

I'm not sure but it seems to be  about the option --with-bat.

Do you really need the BAT tool? This tool need a graphical environment
and qt4 libraries , doesn't  it?


PLASSE Lionel | Administrateur systèmes et réseaux 
221 Allée de Fétan
01600 TREVOUX | 
Tel : 04.37.49.91.39
pla...@cofiem.fr
https://www.cofiem.fr/ | https://www.cofiem-robotics.fr/





De : Mark Casey  
Envoyé : jeudi 10 mars 2022 03:25
À : Bacula List 
Objet : [Bacula-users] Link Error 11.0.5 on sles

Hi All

I am trying to upgrade to 11.0.5 from 9.6.4 on a SLES 12.4 system.
Getting the following link error
What am I missing ?

My configure settings are 
PREFIX=/opt/bacula
PREFIXRUN=/var/run/bacula
CFLAGS="-g " \
  ./configure \
--sbindir=${PREFIX}/bin \
--sysconfdir=${PREFIX}/etc \
--with-scriptdir=${PREFIX}/bin \
--docdir=${PREFIX}/html \
--htmldir=${PREFIX}/html \
--with-pid-dir=${PREFIXRUN} \
--with-working-dir=${PREFIXRUN} \
--with-plugindir=${PREFIX}/plugins \
--libdir=${PREFIX}/lib \
--with-subsys-dir=${PREFIXRUN}/subsys \
--enable-smartalloc \
--disable-ipv6 \
--enable-bat \
--with-mysql \
mailto:--with-dump-email=mca...@pegasustech.com.au
\
mailto:--with-job-email=mca...@pegasustech.com.au \
mailto:--with-job-email=mca...@pegasustech.com.au \
--with-smtp-host=10.242.1.32 \
--with-baseport=9101


make[1]: Leaving directory '/root/bacula/src/filed'
==>Entering directory /root/bacula/src/qt-console
make[1]: Entering directory '/root/bacula/src/qt-console'
/root/bacula/libtool --silent --tag=CXX --mode=link g++  -o bat
obj/main.o obj/bat_conf.o obj/mainwin.o obj/qstd.o obj/pages.o
obj/authenticatebase.o obj/dircomm.o obj/dircomm_auth.o obj/console.o
obj/prerestore.o obj/restore.o obj/brestore.o obj/label.o obj/relabel.o
obj/mount.o obj/run.o obj/runcmd.o obj/estimate.o obj/prune.o
obj/select.o obj/textinput.o obj/medialist.o obj/mediaview.o
obj/mediaedit.o obj/joblist.o obj/clients.o obj/storage.o obj/content.o
obj/fileset.o obj/joblog.o obj/job.o obj/jobs.o obj/restoretree.o
obj/help.o obj/mediainfo.o obj/dirstat.o obj/clientstat.o obj/storstat.o
obj/fmtwidgetitem.o obj/comboutil.o obj/moc_mainwin.o obj/moc_dircomm.o
obj/moc_console.o obj/moc_restore.o obj/moc_label.o obj/moc_relabel.o
obj/moc_mount.o obj/moc_run.o obj/moc_select.o obj/moc_textinput.o
obj/moc_medialist.o obj/moc_mediaview.o obj/moc_mediaedit.o
obj/moc_joblist.o obj/moc_clients.o obj/moc_storage.o obj/moc_content.o
obj/moc_fileset.o obj/moc_joblog.o obj/moc_job.o obj/moc_jobs.o
obj/moc_restoretree.o obj/moc_help.o obj/moc_mediainfo.o
obj/moc_dirstat.o obj/moc_clientstat.o obj/moc_storstat.o obj/qrc_main.o
   -L/usr/lib64 -L../lib -lbaccfg -lbac -L../findlib -lbacfind -lssl
-lcrypto -lQtGui -L/usr/lib64 -L/usr/X11R6/lib -lQtCore -lpthread
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:
obj/main.o: in function `main':
/root/bacula/src/qt-console/main.cpp:94: undefined reference to
`lmgr_init_thread()'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:
obj/bat_conf.o: in function `free_resource(RES*, int)':
/root/bacula/src/qt-console/bat_conf.cpp:196: undefined reference to
`free_psk_context(TLS_Context*)'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:
/root/bacula/src/qt-console/bat_conf.cpp:219: undefined reference to
`free_psk_context(TLS_Context*)'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:
obj/authenticatebase.o: in function

[Bacula-users] Release 11.0.6

2022-03-10 Thread Eric Bollengier via Bacula-users

Hello,

We are pleased to announce the release of Bacula version 11.0.6. This is
animportant bug and security fix release  of the stable version. We advise
all users of 11.0.x to upgrade to this version.

The 11.0.x series of Bacula uses a new catalog format.  We provide a set of
scripts that permit to convert a 9.x and earlier versions to the new
11.0 format (1023).  Normally, it is automatic, though this is a big
change that takes longer than usual. The upgrade process will require
more or less twice the size of the actual database on disk.

Please see the ReleaseNotes for how to build Bacula 11.0.6 with the
correct libs3 for use with the Amazon Cloud.

The binaries (rpm, deb) should be ready in a week or two.

The next beta cycle for 13.0 will start soon, I will keep you
updated.

Thank you for using Bacula,
Eric



Release 11.0.6 10 March 2022

11.0.6 is an important bug fix and security fix release.
We advise all 11.0.x users to upgrade to this version.

 - Adjust sample-query.sql file for new catalog schema
 - Fix #2654 About compilation issue on Alpine Linux
 - Fix #2656 About segfault in XATTR code for FreeBSD
 - Fix #7776 About FD error not correctly reported in the job log
 - Fix #7998 About dir crashing for client intiated backup
 - Fix #8126 About strange ouput for the .status client command
 - Fix MySQL default connection in the grant_mysql_privileges script
 - Fix db_get_accurate_jobids() with concurrent queries on the same jobs
 - Fix issue with MySQL 8 in src/cats/grant_mysql_privileges
 - Fix detection of PSK
 - Fix org#2622 About incorrect behavior of the MaxDiffInterval directive
 - Fix org#2623 About .ls/estimate command not printing files correctly
 - Fix org#2627 About DIR crashing for copy jobs and resource rename

 - win32: Upgrade OpenSSL to 1.1.1m

 - Got regression testing working correctly on FreeBSD

 - Update depkgs version to use latest libs3

 - baculum: Add API endpoints for basic user management
 - baculum: Add JSON output parameter to show client(s), show job(s), show 
pool(s) API endpoints
 - baculum: Add capability to assign dedicated bconsole config file to API 
basic users
 - baculum: Add capability to close modal windows on clicking gray shadow
 - baculum: Add capability to provide translated directive documentation file
 - baculum: Add capability to use pre-defined paths in API config wizard - idea 
proposed by Heitor Faria
 - baculum: Add console page to configure consoles
 - baculum: Add copy resource function to enable duplicating resources
 - baculum: Add director show API endpoint
 - baculum: Add documentation for directives
 - baculum: Add interface to manage basic users API from Web component side
 - baculum: Add jump to previous/next error navigation in messages window
 - baculum: Add new columns to job list page - idea proposed by Sergey Zhidkov
 - baculum: Add option to enable/disable messages log window - idea proposed by 
Bill Arlofski
 - baculum: Add password generator added to password fields
 - baculum: Add time range filters to job history page - idea proposed by 
Heitor Faria
 - baculum: Add to API deleting volume from the catalog endpoint
 - baculum: Add to config API endpoint parameter to apply jobdefs in results
 - baculum: Add to directive controls option to hide reset button and remove 
button
 - baculum: Add warning to running job status if job needs media
 - baculum: Apply PRADO framework patches to support PHP 8
 - baculum: Backup job wizard improvements
 - baculum: Change buttons on dasboard page - reported by Sergey Zhidkov
 - baculum: Do not require using some job resource values to ease using jobdefs 
- idea proposed by Heitor Faria
 - baculum: Enlarge boxes with resource count in status director - reported by 
Sergey Zhidkov
 - baculum: Fix #2642 add tool to re-assigning volumes from one pool to another
 - baculum: Fix #2646 apply new user permissions immediately instead of after 
logging out and logging in
 - baculum: Fix #2647 PHP warning about headers already sent on storage view 
page
 - baculum: Fix #2653 create new resource by copying configuration from other 
resource
 - baculum: Fix auto-scrolling in windows with configuration
 - baculum: Fix component autochanger schemas in OpenAPI documentation
 - baculum: Fix displaying directive sections in resouce configuration
 - baculum: Fix displaying documentation for jobdefs directives
 - baculum: Fix displaying issue in restore browser - reported by Sergey Zhidkov
 - baculum: Fix error about expected port number when writing component main 
resource
 - baculum: Fix legend in job status pie chart on job view page
 - baculum: Fix loading dashboard page if job status is created but not yet 
running
 - baculum: Fix missing texts in translation files - reported by Sergey Zhidkov
 - baculum: Fix opening job details in job table on main dashboard page - 
reported by Sergey Zhidkov
 - baculum: Fix problem with listing 

Re: [Bacula-users] Link Error 11.0.5 on sles

2022-03-10 Thread Lionel PLASSE
Hello,

I'm not sure but it seems to be  about the option --with-bat.

Do you really need the BAT tool? This tool need a graphical environment and qt4 
libraries , doesn't  it?


PLASSE Lionel | Administrateur systèmes et réseaux 
221 Allée de Fétan
01600 TREVOUX | 
Tel : 04.37.49.91.39
pla...@cofiem.fr
https://www.cofiem.fr/ | https://www.cofiem-robotics.fr/

 



De : Mark Casey  
Envoyé : jeudi 10 mars 2022 03:25
À : Bacula List 
Objet : [Bacula-users] Link Error 11.0.5 on sles

Hi All

I am trying to upgrade to 11.0.5 from 9.6.4 on a SLES 12.4 system.
Getting the following link error
What am I missing ?

My configure settings are 
PREFIX=/opt/bacula
PREFIXRUN=/var/run/bacula
CFLAGS="-g " \
  ./configure \
--sbindir=${PREFIX}/bin \
--sysconfdir=${PREFIX}/etc \
--with-scriptdir=${PREFIX}/bin \
--docdir=${PREFIX}/html \
--htmldir=${PREFIX}/html \
--with-pid-dir=${PREFIXRUN} \
--with-working-dir=${PREFIXRUN} \
--with-plugindir=${PREFIX}/plugins \
--libdir=${PREFIX}/lib \
--with-subsys-dir=${PREFIXRUN}/subsys \
--enable-smartalloc \
--disable-ipv6 \
--enable-bat \
--with-mysql \
mailto:--with-dump-email=mca...@pegasustech.com.au \
mailto:--with-job-email=mca...@pegasustech.com.au \
mailto:--with-job-email=mca...@pegasustech.com.au \
--with-smtp-host=10.242.1.32 \
--with-baseport=9101


make[1]: Leaving directory '/root/bacula/src/filed'
==>Entering directory /root/bacula/src/qt-console
make[1]: Entering directory '/root/bacula/src/qt-console'
/root/bacula/libtool --silent --tag=CXX --mode=link g++  -o bat obj/main.o 
obj/bat_conf.o obj/mainwin.o obj/qstd.o obj/pages.o obj/authenticatebase.o 
obj/dircomm.o obj/dircomm_auth.o obj/console.o obj/prerestore.o obj/restore.o 
obj/brestore.o obj/label.o obj/relabel.o obj/mount.o obj/run.o obj/runcmd.o 
obj/estimate.o obj/prune.o obj/select.o obj/textinput.o obj/medialist.o 
obj/mediaview.o obj/mediaedit.o obj/joblist.o obj/clients.o obj/storage.o 
obj/content.o obj/fileset.o obj/joblog.o obj/job.o obj/jobs.o obj/restoretree.o 
obj/help.o obj/mediainfo.o obj/dirstat.o obj/clientstat.o obj/storstat.o 
obj/fmtwidgetitem.o obj/comboutil.o obj/moc_mainwin.o obj/moc_dircomm.o 
obj/moc_console.o obj/moc_restore.o obj/moc_label.o obj/moc_relabel.o 
obj/moc_mount.o obj/moc_run.o obj/moc_select.o obj/moc_textinput.o 
obj/moc_medialist.o obj/moc_mediaview.o obj/moc_mediaedit.o obj/moc_joblist.o 
obj/moc_clients.o obj/moc_storage.o obj/moc_content.o obj/moc_fileset.o 
obj/moc_joblog.o obj/moc_job.o obj/moc_jobs.o obj/moc_restoretree.o 
obj/moc_help.o obj/moc_mediainfo.o obj/moc_dirstat.o obj/moc_clientstat.o 
obj/moc_storstat.o obj/qrc_main.o-L/usr/lib64 -L../lib -lbaccfg -lbac 
-L../findlib -lbacfind -lssl -lcrypto -lQtGui -L/usr/lib64 -L/usr/X11R6/lib 
-lQtCore -lpthread
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: 
obj/main.o: in function `main':
/root/bacula/src/qt-console/main.cpp:94: undefined reference to 
`lmgr_init_thread()'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: 
obj/bat_conf.o: in function `free_resource(RES*, int)':
/root/bacula/src/qt-console/bat_conf.cpp:196: undefined reference to 
`free_psk_context(TLS_Context*)'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: 
/root/bacula/src/qt-console/bat_conf.cpp:219: undefined reference to 
`free_psk_context(TLS_Context*)'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: 
obj/authenticatebase.o: in function `AuthenticateBase::ClientEarlyTLS()':
/root/bacula/src/qt-console/../lib/authenticatebase.cc:377: undefined reference 
to `scan_string(char const*, char const*, ...)'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: 
obj/authenticatebase.o: in function 
`AuthenticateBase::ClientCramMD5Authenticate(char const*)':
/root/bacula/src/qt-console/../lib/authenticatebase.cc:404: undefined reference 
to `cram_md5_respond(BSOCK*, char const*, int*, int*, bool)'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: 
obj/authenticatebase.o: in function 
`AuthenticateBase::ServerCramMD5Authenticate(char const*)':
/root/bacula/src/qt-console/../lib/authenticatebase.cc:496: undefined reference 
to `cram_md5_respond(BSOCK*, char const*, int*, int*, bool)'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: 
obj/authenticatebase.o: in function `AuthenticateBase::HandleTLS()':
/root/bacula/src/qt-console/../lib/authenticatebase.cc:564: undefined reference 
to `bnet_tls_client(TLS_Context*, BSOCK*, alist*, char const*)'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: 
/root/bacula/src/qt-console/../lib/authenticatebase.cc:565: undefined reference 
to