Re: [Bacula-users] Script for installing Baculum using MySQL in Oracle Linux 8
Hello Pierre, On Thu, 29 Jul 2021 at 18:39, wrote: > > Hi, > > > > I am installing Baculum 11.0.5 and Bacula 11.0.5 in an Oracle Linux 8.4 > system. I modified the Red Hat version of the script “3. Centos/RedHat” to > reflect Oracle Linux 8.4. The link to the original script is: > https://www.bacula.lat/community/baculum-9-graphical-bacula-configuration-administration-and-api/?lang=en > > > > In this script, almost at the end, there is a line that seems to refer to > postgresql: > > … > > sed -i 's/ident/trust/g; s/peer/trust/g' /var/lib/pgsql/data/pg_hba.conf > > … > > > > However, I am using MySQL. Can anyone suggest the proper command to use with > MySQL? You don't need this line. You can just remove it. In Baculum the catalog database setting is available in the initial configuration wizard displayed after first login to the API. Best regards, Marcin Haba (gani) > Regards, > > > > Pierre V. > > > > > > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- "Greater love hath no man than this, that a man lay down his life for his friends." Jesus Christ "Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie za przyjaciół swoich." Jezus Chrystus ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Trying to update bacula from 7.4 to 9.6 on ancient CentOS6 system fails (segfault in director)
It seems to be crashing in the MySQL library, when bacula calls mysql_init. The output of ldd /server/bacula-9.6.7/lib/libbaccats-9.6.7.so might be useful. Which version of bacula was running on the server before you updated it? Do you still have the libbaccats-*.so from that? If so, then the output from running ldd on that might be useful too. __Martin > On Thu, 29 Jul 2021 11:22:27 +0200, Uwe Schuerkamp said: > > Hi folks, > > I know CentOS6 isn't exactly "hot of the press" anymore but I have a > legacy system that cannot be updated for various reasons. > > In order to backup the replacement system which runs bacula client > 9.6.x I tried to update the source-compiled version of the bacula > server to 9.6.7. Compilation works fine, so does updating the catalog > on the centos6 machine, but as soon as I try to run the director it > segfaults: > > [Thread debugging using libthread_db enabled] > 0x2af83ee5833e in waitpid () from /lib64/libpthread.so.0 > $1 = "29-Jul-2021 11:07:06\000\000\000\000\000\000\000\000\000" > $2 = '\000' > $3 = 0x70f058 "bacula-dir" > $4 = 0x70f098 "/server/bacula-9.6.7/sbin/bacula-dir" > $5 = 0x0 > $6 = '\000' > $7 = 0x2af83ec343b8 "9.6.7 (10 December 2020)" > $8 = 0x2af83ec343d9 "x86_64-pc-linux-gnu" > $9 = 0x2af83ec343ed "redhat" > $10 = 0x2af83ec3406a "" > $11 = "stage", '\000' > $12 = 0x2af83ec343d1 "redhat " > Environment variable "TestName" not defined. > #0 0x2af83ee5833e in waitpid () from /lib64/libpthread.so.0 > #1 0x2af83ec1b840 in signal_handler (sig=11) at signal.c:233 > #2 > #3 0x2af83e4f725e in mysql_server_init () from > /server/bacula-9.6.7/lib/libbaccats-9.6.7.so > #4 0x2af83e4f10e7 in mysql_init () from > /server/bacula-9.6.7/lib/libbaccats-9.6.7.so > #5 0x2af83e4edb14 in BDB_MYSQL::bdb_open_database (this=0x73c408, > jcr=0x0) at mysql.c:223 > #6 0x0040ebfa in check_catalog (mode=UPDATE_AND_FIX) at dird.c:1272 > #7 0x0041178f in main (argc=, argv= optimized out>) at dird.c:340 > > Thread 1 (Thread 0x2af8417a1880 (LWP 22245)): > #0 0x2af83ee5833e in waitpid () from /lib64/libpthread.so.0 > #1 0x2af83ec1b840 in signal_handler (sig=11) at signal.c:233 > #2 > #3 0x2af83e4f725e in mysql_server_init () from > /server/bacula-9.6.7/lib/libbaccats-9.6.7.so > #4 0x2af83e4f10e7 in mysql_init () from > /server/bacula-9.6.7/lib/libbaccats-9.6.7.so > #5 0x2af83e4edb14 in BDB_MYSQL::bdb_open_database (this=0x73c408, > jcr=0x0) at mysql.c:223 > #6 0x0040ebfa in check_catalog (mode=UPDATE_AND_FIX) at dird.c:1272 > #7 0x0041178f in main (argc=, argv= optimized out>) at dird.c:340 > #0 0x2af83ee5833e in waitpid () from /lib64/libpthread.so.0 > No symbol table info available. > #1 0x2af83ec1b840 in signal_handler (sig=11) at signal.c:233 > 233 waitpid(pid, &chld_status, 0); /* wait for child to > produce dump */ > sigdefault = {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, > sa_mask = {__val = {18446744067267100671, 18446744073709551615 times>}}, sa_flags = 0, sa_restorer = 0x7ffde5ffa830} > argv = {0x0, 0x0, 0x0, 0x0, 0x0} > pid_buf = "22245", '\000' > > The error seems to be related to opening the mysql catalog database, > but nothing has changed on the server in this regard (again, it's an > old centos6 server). > > I configured bacula with the following params: > > ./configure --prefix=/server/bacula-9.6.7/ --with-mysql -disable-conio > --with-readline=/usr > > Thanks in advance for any info on this, > > Uwe > > > > > ___ > 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
[Bacula-users] Script for installing Baculum using MySQL in Oracle Linux 8
Hi, I am installing Baculum 11.0.5 and Bacula 11.0.5 in an Oracle Linux 8.4 system. I modified the Red Hat version of the script "3. Centos/RedHat" to reflect Oracle Linux 8.4. The link to the original script is: https://www.bacula.lat/community/baculum-9-graphical-bacula-configuration-ad ministration-and-api/?lang=en In this script, almost at the end, there is a line that seems to refer to postgresql: . sed -i 's/ident/trust/g; s/peer/trust/g' /var/lib/pgsql/data/pg_hba.conf . However, I am using MySQL. Can anyone suggest the proper command to use with MySQL? Regards, Pierre V. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] docker-plugin - volume backup failed
Hello, śr., 28 lip 2021 o 19:12 Fábio Santos napisał(a): > Hi, > > I didn't find this image in the rpm package installation, > This should be available in a separate package or the packaging bug should be filled at https://bugs.bacula.org/. > so I compiled bacula from source on another client and copied > baculatar-19Aug19.docker.tar to the server with rpm installation, then I > loaded it, but the error persists. > > # docker load -i baculatar-19Aug19.docker.tar > > REPOSITORYTAG IMAGE ID CREATEDSIZE > baculatar latest5ffd4c4ba959 4 hours ago1.52MB > The image tag is invalid. It should be baculatar:19Aug19. $ docker images|grep baculatar baculatar 19Aug19 127d30005c6d18 months ago 1.51MB best regards -- Radosław Korzeniewski rados...@korzeniewski.net ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Trying to update bacula from 7.4 to 9.6 on ancient CentOS6 system fails (segfault in director)
Hi folks, I know CentOS6 isn't exactly "hot of the press" anymore but I have a legacy system that cannot be updated for various reasons. In order to backup the replacement system which runs bacula client 9.6.x I tried to update the source-compiled version of the bacula server to 9.6.7. Compilation works fine, so does updating the catalog on the centos6 machine, but as soon as I try to run the director it segfaults: [Thread debugging using libthread_db enabled] 0x2af83ee5833e in waitpid () from /lib64/libpthread.so.0 $1 = "29-Jul-2021 11:07:06\000\000\000\000\000\000\000\000\000" $2 = '\000' $3 = 0x70f058 "bacula-dir" $4 = 0x70f098 "/server/bacula-9.6.7/sbin/bacula-dir" $5 = 0x0 $6 = '\000' $7 = 0x2af83ec343b8 "9.6.7 (10 December 2020)" $8 = 0x2af83ec343d9 "x86_64-pc-linux-gnu" $9 = 0x2af83ec343ed "redhat" $10 = 0x2af83ec3406a "" $11 = "stage", '\000' $12 = 0x2af83ec343d1 "redhat " Environment variable "TestName" not defined. #0 0x2af83ee5833e in waitpid () from /lib64/libpthread.so.0 #1 0x2af83ec1b840 in signal_handler (sig=11) at signal.c:233 #2 #3 0x2af83e4f725e in mysql_server_init () from /server/bacula-9.6.7/lib/libbaccats-9.6.7.so #4 0x2af83e4f10e7 in mysql_init () from /server/bacula-9.6.7/lib/libbaccats-9.6.7.so #5 0x2af83e4edb14 in BDB_MYSQL::bdb_open_database (this=0x73c408, jcr=0x0) at mysql.c:223 #6 0x0040ebfa in check_catalog (mode=UPDATE_AND_FIX) at dird.c:1272 #7 0x0041178f in main (argc=, argv=) at dird.c:340 Thread 1 (Thread 0x2af8417a1880 (LWP 22245)): #0 0x2af83ee5833e in waitpid () from /lib64/libpthread.so.0 #1 0x2af83ec1b840 in signal_handler (sig=11) at signal.c:233 #2 #3 0x2af83e4f725e in mysql_server_init () from /server/bacula-9.6.7/lib/libbaccats-9.6.7.so #4 0x2af83e4f10e7 in mysql_init () from /server/bacula-9.6.7/lib/libbaccats-9.6.7.so #5 0x2af83e4edb14 in BDB_MYSQL::bdb_open_database (this=0x73c408, jcr=0x0) at mysql.c:223 #6 0x0040ebfa in check_catalog (mode=UPDATE_AND_FIX) at dird.c:1272 #7 0x0041178f in main (argc=, argv=) at dird.c:340 #0 0x2af83ee5833e in waitpid () from /lib64/libpthread.so.0 No symbol table info available. #1 0x2af83ec1b840 in signal_handler (sig=11) at signal.c:233 233 waitpid(pid, &chld_status, 0); /* wait for child to produce dump */ sigdefault = {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = {__val = {18446744067267100671, 18446744073709551615 }}, sa_flags = 0, sa_restorer = 0x7ffde5ffa830} argv = {0x0, 0x0, 0x0, 0x0, 0x0} pid_buf = "22245", '\000' The error seems to be related to opening the mysql catalog database, but nothing has changed on the server in this regard (again, it's an old centos6 server). I configured bacula with the following params: ./configure --prefix=/server/bacula-9.6.7/ --with-mysql -disable-conio --with-readline=/usr Thanks in advance for any info on this, Uwe ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users