Re: [Bacula-users] 9.4.4 dir and 9.4.2 client interoperability
Thanks Phil. Even I thought in the same lines as you. Regards, -Yateen -Original Message- From: Phil Stracchino Sent: Friday, March 25, 2022 9:28 PM To: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] 9.4.4 dir and 9.4.2 client interoperability On 3/25/22 09:24, Shaligram Bhagat, Yateen (Nokia - IN/Bangalore) wrote: > Hi All > > We have bacula-dir v 9.4.4 hosted on Centos 6.x and bacula-fd v 9.4.2 > hosted on ubuntu 20.04 > > Can they interoperate ? This should be no problem. The Director and all Storage daemons should be the same version, but if some clients are a few minor versions behind (even major versions, so long as it's not too many), that will not cause any issues. -- 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 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-announce] Beta Release 11.3.2
Dan Langille wrote on 3/25/22 9:16 PM: Eric Bollengier via Bacula-announce wrote on 3/24/22 1:50 PM: Hello, We are pleased to announce the first BETA release of the next major Bacula version 11.3.2 to both the Bacula website (www.bacula.org) and to SourceForge. Now might be the time to add 11.3 to https://regress.bacula.org/viewProjects.php I've just updated my test hosts to run 11.3 regression testing. Oh, wait, they are showing up: https://regress.bacula.org/index.php?project=Bacula-11.0&date=2022-03-25 Perhaps adding 11.3 is not needed. I hope those failure tests are helpful. -- Dan Langille - d...@langille.org https://langille.org/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-announce] Beta Release 11.3.2
Eric Bollengier via Bacula-announce wrote on 3/24/22 1:50 PM: Hello, We are pleased to announce the first BETA release of the next major Bacula version 11.3.2 to both the Bacula website (www.bacula.org) and to SourceForge. Now might be the time to add 11.3 to https://regress.bacula.org/viewProjects.php I've just updated my test hosts to run 11.3 regression testing. -- Dan Langille - d...@langille.org https://langille.org/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula/Baculum on Raspberry Pi 64 Bit
Hello Chris, Good to hear that your Baculum instance works correctly. The php-fpm is one of the ways using PHP. If you don't use php-fpm it means that your web server uses PHP in other way. It is why in my previous mail I wrote that it depends on how your web server uses PHP. So, if you don't use php-fpm, you don't need to restart it. Best regards, Marcin Haba (gani) On Fri, 25 Mar 2022 at 12:53, Chris Wilkinson wrote: > Is php7.4-fpm optional or required? It is not installed presently and it > appears to be working correctly. > > Chris > > On Fri, 25 Mar 2022, 5:35 am Marcin Haba, wrote: > >> Hello Chris, >> >> This permission denied error comes from the system and it means that the >> www-data user is not able to write to bacula-dir.conf. >> >> Your file permissions look correct. The only change that I would propose >> to check is restarting the web server because adding to the www-data user a >> new group doesn't take effect until the next time the www-data user logs in. >> >> So, depending on how your web server uses PHP, you can restart the web >> server or php-fpm. >> >> For example: >> >> systemctl restart apache2 >> >> or (for PHP 7.4): >> >> systemctl restart php7.4-fpm >> >> Good luck :-) >> >> Best regards, >> Marcin Haba (gani) >> >> On Wed, 23 Mar 2022 at 21:30, Chris Wilkinson >> wrote: >> >>> My earlier attempt to install v9.6.7 Baculum on 32 bit Raspbian failed >>> due to the 4G limit on integer values so that larger values for max volume >>> size threw an error. Bacula did not seem to have the same limitation and >>> worked fine. >>> >>> I have now attempted this again on 64 bit Raspbian. Bacula and Baculum >>> were compiled from v9.6.7 source. I have run into the below error when >>> Baculum writes to DIR config. This is an extract from the API debug log. >>> >>> I checked the permissions on the file referenced and all seems correct. >>> >>> File: bacula:bacula 664 >>> /etc/bacula root:root 755 >>> www-data is a member of group bacula >>> sudo -u www-data test -w file returns 0 indicating it is writable by >>> www-data. >>> >>> Is there something else I could check? >>> >>> API error log when saving a config change. >>> >>> Mar 23 15:17:06 [Debug] [Application] >>> >>> Command=onInit, Output=Method: >>> >>> PUT Prado\Exceptions\TPhpErrorException: >>> >>> [Warning] file_put_contents(/etc/bacula/bacula-dir.conf): >>> >>> failed to open stream: >>> >>> Permission denied (@line 58 in file >>> >>> /var/www/baculum/protected/Common/Class/ConfigBacula.php). in >>> >>> /var/www/baculum/framework/pradosoft/prado/framework/PradoBase.php:177 >>> >>> >>> >>> Regards >>> Chris Wilkinson >>> ___ >>> 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 >> > -- "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] 9.4.4 dir and 9.4.2 client interoperability
On 3/25/22 09:24, Shaligram Bhagat, Yateen (Nokia - IN/Bangalore) wrote: Hi All We have bacula-dir v 9.4.4 hosted on Centos 6.x and bacula-fd v 9.4.2 hosted on ubuntu 20.04 Can they interoperate ? This should be no problem. The Director and all Storage daemons should be the same version, but if some clients are a few minor versions behind (even major versions, so long as it's not too many), that will not cause any issues. -- 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
[Bacula-users] 9.4.4 dir and 9.4.2 client interoperability
Hi All We have bacula-dir v 9.4.4 hosted on Centos 6.x and bacula-fd v 9.4.2 hosted on ubuntu 20.04 Can they interoperate ? Thanks, Yateen ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula/Baculum on Raspberry Pi 64 Bit
Is php7.4-fpm optional or required? It is not installed presently and it appears to be working correctly. Chris On Fri, 25 Mar 2022, 5:35 am Marcin Haba, wrote: > Hello Chris, > > This permission denied error comes from the system and it means that the > www-data user is not able to write to bacula-dir.conf. > > Your file permissions look correct. The only change that I would propose > to check is restarting the web server because adding to the www-data user a > new group doesn't take effect until the next time the www-data user logs in. > > So, depending on how your web server uses PHP, you can restart the web > server or php-fpm. > > For example: > > systemctl restart apache2 > > or (for PHP 7.4): > > systemctl restart php7.4-fpm > > Good luck :-) > > Best regards, > Marcin Haba (gani) > > On Wed, 23 Mar 2022 at 21:30, Chris Wilkinson > wrote: > >> My earlier attempt to install v9.6.7 Baculum on 32 bit Raspbian failed >> due to the 4G limit on integer values so that larger values for max volume >> size threw an error. Bacula did not seem to have the same limitation and >> worked fine. >> >> I have now attempted this again on 64 bit Raspbian. Bacula and Baculum >> were compiled from v9.6.7 source. I have run into the below error when >> Baculum writes to DIR config. This is an extract from the API debug log. >> >> I checked the permissions on the file referenced and all seems correct. >> >> File: bacula:bacula 664 >> /etc/bacula root:root 755 >> www-data is a member of group bacula >> sudo -u www-data test -w file returns 0 indicating it is writable by >> www-data. >> >> Is there something else I could check? >> >> API error log when saving a config change. >> >> Mar 23 15:17:06 [Debug] [Application] >> >> Command=onInit, Output=Method: >> >> PUT Prado\Exceptions\TPhpErrorException: >> >> [Warning] file_put_contents(/etc/bacula/bacula-dir.conf): >> >> failed to open stream: >> >> Permission denied (@line 58 in file >> >> /var/www/baculum/protected/Common/Class/ConfigBacula.php). in >> >> /var/www/baculum/framework/pradosoft/prado/framework/PradoBase.php:177 >> >> >> >> Regards >> Chris Wilkinson >> ___ >> 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] Bacula/Baculum on Raspberry Pi 64 Bit
Thanks Marcin. I did a bit more testing and found that the error is intermittent. It will often take 2 or 3 attempts to save a config and then it does. That must be something outside Bacula/Baculum so I'll look into it elsewhere. Other than that, it's all good. I have restarted Apache a few times but that hasn't fixed it. I think I have php7.4-fpm so will restart that. Best Chris On Fri, 25 Mar 2022, 5:35 am Marcin Haba, wrote: > Hello Chris, > > This permission denied error comes from the system and it means that the > www-data user is not able to write to bacula-dir.conf. > > Your file permissions look correct. The only change that I would propose > to check is restarting the web server because adding to the www-data user a > new group doesn't take effect until the next time the www-data user logs in. > > So, depending on how your web server uses PHP, you can restart the web > server or php-fpm. > > For example: > > systemctl restart apache2 > > or (for PHP 7.4): > > systemctl restart php7.4-fpm > > Good luck :-) > > Best regards, > Marcin Haba (gani) > > On Wed, 23 Mar 2022 at 21:30, Chris Wilkinson > wrote: > >> My earlier attempt to install v9.6.7 Baculum on 32 bit Raspbian failed >> due to the 4G limit on integer values so that larger values for max volume >> size threw an error. Bacula did not seem to have the same limitation and >> worked fine. >> >> I have now attempted this again on 64 bit Raspbian. Bacula and Baculum >> were compiled from v9.6.7 source. I have run into the below error when >> Baculum writes to DIR config. This is an extract from the API debug log. >> >> I checked the permissions on the file referenced and all seems correct. >> >> File: bacula:bacula 664 >> /etc/bacula root:root 755 >> www-data is a member of group bacula >> sudo -u www-data test -w file returns 0 indicating it is writable by >> www-data. >> >> Is there something else I could check? >> >> API error log when saving a config change. >> >> Mar 23 15:17:06 [Debug] [Application] >> >> Command=onInit, Output=Method: >> >> PUT Prado\Exceptions\TPhpErrorException: >> >> [Warning] file_put_contents(/etc/bacula/bacula-dir.conf): >> >> failed to open stream: >> >> Permission denied (@line 58 in file >> >> /var/www/baculum/protected/Common/Class/ConfigBacula.php). in >> >> /var/www/baculum/framework/pradosoft/prado/framework/PradoBase.php:177 >> >> >> >> Regards >> Chris Wilkinson >> ___ >> 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