Re: [Bacula-users] Bacula scripts not found during Bacula 11.0.2 install.

2021-07-23 Thread pierre.vanderlaat
Hi,

 

I ran the command $ sudo dnf install bacula-mysql but it returns a error.  
Please see error message below:

 

[]$ sudo dnf install bacula-mysql

Last metadata expiration check: 4:03:44 ago on Fri Jul 23 12:07:58 2021.

Error: 

 Problem: conflicting requests

  - nothing provides /bin/dash needed by bacula-mysql-11.0.2-1.el8.x86_64

(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use 
not only best candidate packages)

[]$

 

Regards,

 

Ing. Pierre V.

 

 

 

De: pierre.vanderl...@gmail.com  
Enviado el: jueves, 22 de julio de 2021 16:54
Para: 'Heitor Faria' 
CC: 'bacula-users' 
Asunto: RE: [Bacula-users] Bacula scripts not found during Bacula 11.0.2 
install.

 

Hello Heitor,

 

I ran the command as suggested:

 

[]$ sudo rpm -qa |grep bacula

[sudo] password for X: 

bacula-docker-plugin-11.0.2-1.el8.x86_64

bacula-libs-11.0.2-1.el8.x86_64

bacula-updatedb-11.0.2-1.el8.x86_64

bacula-libs-sql-9.0.6-6.el8.x86_64

bacula-client-11.0.2-1.el8.x86_64

 

Any suggestion?

 

Regards,

 

Pierre Van der Laat

 

 

 

De: Heitor Faria mailto:hei...@bacula.com.br> > 
Enviado el: miércoles, 21 de julio de 2021 17:14
Para: pierre vanderlaat mailto:pierre.vanderl...@gmail.com> >
CC: bacula-users mailto:bacula-users@lists.sourceforge.net> >
Asunto: Re: [Bacula-users] Bacula scripts not found during Bacula 11.0.2 
install.

 

Hi,

Hello Pierre,

I am installing Bacula 11.0.2 on Oracle Linux 8.4.  I downloaded the CentOS 
manual install script from this link: 
https://www.bacula.lat/community/bacula-community-9-x-official-packages-installation-script/?lang=en

I changed the script on the MySQL section to:

…

# Install MySQL

rpm --import /tmp/RPM-GPG-KEY-mysql

wget -c https://dev.mysql.com/get/mysql80-community-release-el8-1.noarch.rpm -O 
/tmp/mysql80-community-release-el8-1.noarch.rpm

rpm -ivh /tmp/mysql80-community-release-el8-1.noarch.rpm

dnf install -y @mysql:8.0

mysqld --initialize-insecure --user=mysql

systemctl enable mysqld

systemctl start mysqld

dnf install -y bacula-mysql --skip-broken

# Create the database of Bacula data with MySQL

/opt/bacula/scripts/create_mysql_database

/opt/bacula/scripts/make_mysql_tables

/opt/bacula/scripts/grant_mysql_privileges

…

However, I get the following error message:

./bacula_manual_install.sh: line 81: /opt/bacula/scripts/create_mysql_database: 
The file or directory does not exist

./bacula_manual_install.sh: line 83: /opt/bacula/scripts/make_mysql_tables: The 
file or directory does not exist

./bacula_manual_install.sh: line 85: 
/opt/bacula/scripts/grant_mysql_privileges: The file or directory does not exist

Any ideas what might be wrong?

Did you check the script output?

Most likely the packages installation from bacula.org repo failed. You can 
verify that with a "rpm -qa |grep bacula" Shell command.

Regards,

Regards.

 

Pierre V.

 

 

-- 

 



MSc Heitor Faria (Miami/USA)
Bacula LATAM CEO


mobile1: + 1 909 655-8971
mobile2: + 55 61 98268-4220


  


  


América Latina


  bacula.lat |   bacula.com.br

 

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


[Bacula-users] Cloud Backup + upload command segfault. traps: bacula-sd[39055] general protection ip:7f5589651499 sp:7f555f5ed260 error:0 in libbacsd-11.0.5.so[7f5589618000+69000]

2021-07-23 Thread Heitor Faria
Hello Users, 

I wonder if someone can confirm this segfault that I found in CentOS Linux 
release 7.9.2009 (Core), bacula.org 11.0.5 packages. 
The steps to reproduce it, are: 

1. Run a significant Full, or in my case Base level backup, using the Bacula S3 
Plugin. 
2. Run a bconsole cloud upload command during the backup execution. 

My example: 

Joblog  
Admin upload command: "cloud upload allpools allfrompool storage=Wasabi-Marpa" 
Cloud bacula-sd.conf resource: 

### 
Cloud { 
Name = "Wasabi-Marpa" 
Driver = "S3" 
HostName = "s3.wasabisys.com" 
BucketName = "" 
Region = "us-east-1" 
AccessKey = "" 
SecretKey = "" 
TruncateCache = "AfterUpload" 
Upload = "EachPart" 
} 
### 

Segfault message: 
[Sex Jul 23 06:11:41 2021] traps: bacula-sd[39055] general protection 
ip:7f5589651499 sp:7f555f5ed260 error:0 in 
libbacsd-11.0.5.so[7f5589618000+69000] 

The bacula-sd obviously crashes after the segfault. 
I know I can use Priority=12 in the Admin Job as a workaround. Let me also know 
if it is worthy of a Mantis bug report. 

Regards, 
-- 

MSc Heitor Faria (Miami/USA) 
Bacula LATAM CEO 

mobile1: + 1 909 655-8971 
mobile2: + 55 61 98268-4220 
[ https://www.linkedin.com/in/msc-heitor-faria-5ba51b3 ] 
[ http://www.bacula.com.br/ ] 

América Latina 
[ http://bacula.lat/ | bacula.lat ] | [ http://www.bacula.com.br/ | 
bacula.com.br ] 

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


Re: [Bacula-users] Hanging w. Dir inserting Attributes

2021-07-23 Thread Erik P. Olsen
On 2021-07-23 at 10:53:30 Wolfgang Denk wrote:

> In message <20210723103511.31a55...@erik-pc.epolan.dk> you wrote:
> > On status dir I get:
> >   1868  Back Incr 17,4442.317 G BackupUlla-pc Dir inserting 
> > Attributes  
> ...
> > What is wrong? What can I do about it?  
> 
> Attribute insertion is basically database activity. Check if your DB
> is running and make sure it is tuned for your system configuration.
> If you are not already using PostgreSQL, you may consider migrating
> to it
 
Thanks Wolfgang,

The problem faded away after a couple of hours. Apparently it was some 
left-over from a
total restore job performed the day before. Everything is OK now. It looks like 
I'll have
to wait 2-3 hours if it happens again. I was not prepared for that.

I'll take your advice and look into migrating to postgresql.

-- 
Erik P. Olsen - Copenhagen, Denmark
Fedora 34/64 bit xfce Claws-Mail POP3 Gramps 5.1.3 Bacula 11.0.5


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


Re: [Bacula-users] Hanging w. Dir inserting Attributes

2021-07-23 Thread Wolfgang Denk
Dear Erik,

In message <20210723103511.31a55...@erik-pc.epolan.dk> you wrote:
> On status dir I get:
>   1868  Back Incr 17,4442.317 G BackupUlla-pc Dir inserting 
> Attributes
...
> What is wrong? What can I do about it?

Attribute insertion is basically database activity. Check if your DB
is running and make sure it is tuned for your system configuration.
If you are not already using PostgreSQL, you may consider migrating
to it.

Hope this helps.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,  Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
"Plan to throw one away. You will anyway."
  - Fred Brooks, "The Mythical Man Month"


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


[Bacula-users] Hanging w. Dir inserting Attributes

2021-07-23 Thread Erik P. Olsen
On status dir I get:
  1868  Back Incr 17,4442.317 G BackupUlla-pc Dir inserting 
Attributes

On status client I get:
  1868  Incr 17,4442.317 G  OK   23-Jul-21 09:16 BackupUlla-pc

What is wrong? What can I do about it?

-- 
Erik P. Olsen - Copenhagen, Denmark
Fedora 34/64 bit xfce Claws-Mail POP3 Gramps 5.1.3 Bacula 11.0.5


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