Re: [Bacula-users] Bacula scripts not found during Bacula 11.0.2 install.
On 7/23/21 4:24 PM, pierre.vanderl...@gmail.com wrote: > 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 Hello Pierre, I would recommend to use version 11.0.5. Several bugs have been fixed and new features added since 11.0.2 Additionally, I am not sure if this is the case, but there is an old version of my baculabackupreport.sh script being distributed in the community version of Bacula, and I accidentally left "#!/bin/dash" as the shell at the top of the script and forgot to change it to "#!/bin/bash" before posting it. 'dash' is not really required. This script works with bash just fine. I only developed it with dash to make sure it was POSIX compliant, and there were no "bashisms" in it. Again, I do not know if this is the cause of that error, but it looks mighty suspicious to me. :) Additionally, please don't use that baculabackupreport.sh script included in the community version. It is very broken and limited in its abilities. I have ported that script to Python and the latest version is always available on github here: https://github.com/waa/bacula 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
Re: [Bacula-users] Bacula scripts not found during Bacula 11.0.2 install.
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 <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] 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 Enviado el: miércoles, 21 de julio de 2021 17:14 Para: pierre vanderlaat CC: bacula-users 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 <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] 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 > | > 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 | > 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 [ 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
[Bacula-users] Bacula scripts not found during Bacula 11.0.2 install.
Hi, 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-inst allation-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? Regards, Pierre V. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users