Re: [Bacula-users] Baculum Volume Error

2020-06-11 Thread Jeff Thomas
Thanks. That fixed it.   I must have missed that part in the installation
instructions.

On Thu, Jun 11, 2020 at 9:36 AM Marcin Haba  wrote:

> Hello Jeff,
>
> You have missing timezone settings in your PHP configuration. You need
> to add timezone setting to php.ini file in /etc, for example:
>
> date.timezone = "Europe/Warsaw"
>
> Full list timezones you can find here:
>
> https://www.php.net/manual/en/timezones.php
>
> At the end you need to restart or reload web server.
>
> Best regards,
> Marcin Haba (gani)
>
> On Thu, 11 Jun 2020 at 16:16, Jeff Thomas  wrote:
> >
> > Error 1000 - Internal error. [Warning] strtotime(): It is not safe to
> rely on the system's timezone settings. You are *required* to use the
> date.timezone setting or the date_default_timezone_set() function. In case
> you used any of those methods and you are still getting this warning, you
> most likely misspelled the timezone identifier. We selected the timezone
> 'UTC' for now, but please set date.timezone to select your timezone. (@line
> 135 in file
> /usr/share/baculum/htdocs/protected/API/Class/VolumeManager.php).
> >
> >
> >
> >
> > ___
> > 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


[Bacula-users] Baculum Volume Error

2020-06-11 Thread Jeff Thomas
Error 1000 - Internal error. [Warning] strtotime(): It is not safe to rely
on the system's timezone settings. You are *required* to use the
date.timezone setting or the date_default_timezone_set() function. In case
you used any of those methods and you are still getting this warning, you
most likely misspelled the timezone identifier. We selected the timezone
'UTC' for now, but please set date.timezone to select your timezone. (@line
135 in file
/usr/share/baculum/htdocs/protected/API/Class/VolumeManager.php).
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Baculum Install on Centos 7

2020-05-22 Thread Jeff Thomas
Apparently yum doesn't flush and re-read the repos.d files every time?
The solution was:

yum clean all
rm -rf /var/cache/yum/*




On Thu, May 21, 2020 at 10:36 PM Marcin Haba  wrote:

> Hello Jeff,
>
> How is it possible that in repository are packages with suffix el7 and
> your packages have fc31? Please look at the repository address:
>
> http://bacula.org/downloads/baculum/stable/centos
>
> There isn't any packages marked 'fc31' and your packages have it:
>
> rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by
> baculum-api-9.6.3-1.fc31.noarch
> rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by
> baculum-api-httpd-9.6.3-1.fc31.noarch
> rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by
> baculum-common-9.6.3-1.fc31.noarch
>
> I don't know how it could be possible.
>
> Best regards,
> Marcin Haba (gani)
>
> On Fri, 22 May 2020 at 00:06, Jeff Thomas  wrote:
> >
> > I'm using the following repos.d file:
> >
> > [root@costello jrthomas]# cat /etc/yum.repos.d/baculum.repo
> > [baculumrepo]
> > name=Baculum CentOS repository
> > baseurl=http://bacula.org/downloads/baculum/stable/centos
> > gpgcheck=1
> > enabled=1
> >
> >
> >
> >
> > On Thu, May 21, 2020 at 4:40 PM Marcin Haba  wrote:
> >>
> >> Hello Jeff,
> >>
> >> It looks you are trying to install Fedora 31 packages on CentOS.
> >>
> >> I would propose to use Baculum packages dedicated for CentOS 7. You
> >> can take them from here:
> >>
> >>
> https://www.bacula.org/9.6.x-manuals/en/console/Baculum_API_Web_GUI_Tools.html#SECTION0034
> >>
> >> Best regards,
> >> Marcin Haba (gani)
> >>
> >> On Thu, 21 May 2020 at 23:04, Jeff Thomas  wrote:
> >> >
> >> > I'm following the instructions to the letter and then 'WHAM!'
> >> >
> >> > Running transaction check
> >> > ERROR You need to update rpm to handle:
> >> > rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by
> baculum-api-9.6.3-1.fc31.noarch
> >> > rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by
> baculum-api-httpd-9.6.3-1.fc31.noarch
> >> > rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by
> baculum-common-9.6.3-1.fc31.noarch
> >> >
> >> > I don't get it.   From what I can tell zstd enabled RPM is a fiction
> for some future release of Centos 8?
> >> >
> >> > I'd appreciate some help.
> >> >
> >> > Thanks!
> >> >
> >> >
> >> > ___
> >> > 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] Baculum Install on Centos 7

2020-05-21 Thread Jeff Thomas
I'm using the following repos.d file:

[root@costello jrthomas]# cat /etc/yum.repos.d/baculum.repo
[baculumrepo]
name=Baculum CentOS repository
baseurl=http://bacula.org/downloads/baculum/stable/centos
gpgcheck=1
enabled=1




On Thu, May 21, 2020 at 4:40 PM Marcin Haba  wrote:

> Hello Jeff,
>
> It looks you are trying to install Fedora 31 packages on CentOS.
>
> I would propose to use Baculum packages dedicated for CentOS 7. You
> can take them from here:
>
>
> https://www.bacula.org/9.6.x-manuals/en/console/Baculum_API_Web_GUI_Tools.html#SECTION0034
>
> Best regards,
> Marcin Haba (gani)
>
> On Thu, 21 May 2020 at 23:04, Jeff Thomas  wrote:
> >
> > I'm following the instructions to the letter and then 'WHAM!'
> >
> > Running transaction check
> > ERROR You need to update rpm to handle:
> > rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by
> baculum-api-9.6.3-1.fc31.noarch
> > rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by
> baculum-api-httpd-9.6.3-1.fc31.noarch
> > rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by
> baculum-common-9.6.3-1.fc31.noarch
> >
> > I don't get it.   From what I can tell zstd enabled RPM is a fiction for
> some future release of Centos 8?
> >
> > I'd appreciate some help.
> >
> > Thanks!
> >
> >
> > ___
> > 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


[Bacula-users] Baculum Install on Centos 7

2020-05-21 Thread Jeff Thomas
I'm following the instructions to the letter and then 'WHAM!'

Running transaction check
ERROR You need to update rpm to handle:
rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by
baculum-api-9.6.3-1.fc31.noarch
rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by
baculum-api-httpd-9.6.3-1.fc31.noarch
rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by
baculum-common-9.6.3-1.fc31.noarch

I don't get it.   From what I can tell zstd enabled RPM is a fiction for
some future release of Centos 8?

I'd appreciate some help.

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


Re: [Bacula-users] Installation/Startup Issues

2020-05-15 Thread Jeff Thomas
No, same issue.


On Fri, May 15, 2020 at 5:43 AM Radosław Korzeniewski <
rados...@korzeniewski.net> wrote:

> Hello,
>
> czw., 14 maj 2020 o 18:03 Jeff Thomas  napisał(a):
>
>> Problem solved.   FQDN needed in bconsole.conf
>>
>>
> I'm very glad that you've solved your issue! Great!
>
> So, it seems you have a different issue then previously reported, right?
>
> 13-May 11:23 bacula-dir JobId 0: Fatal error: Could not open Catalog
> "MyCatalog", database "bacula".
> 13-May 11:23 bacula-dir JobId 0: Fatal error: postgresql.c:332 Unable to
> connect to PostgreSQL server. Database=bacula User=bacula
> Possible causes: SQL server not running; password incorrect;
> max_connections exceeded.
> 13-May 11:23 bacula-dir ERROR TERMINATION
> Please correct configuration file: bacula-dir.conf
>
> 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


Re: [Bacula-users] Installation/Startup Issues

2020-05-14 Thread Jeff Thomas
Problem solved.   FQDN needed in bconsole.conf

On Thu, May 14, 2020 at 8:55 AM Radosław Korzeniewski <
rados...@korzeniewski.net> wrote:

> Hello,
>
> First of all, you should respond to the list and not to me directly,
> please.
>
> czw., 14 maj 2020 o 15:30 Jeff Thomas  napisał(a):
>
>> The director is running as 'bacula'
>>
>> bacula   27410 1  0 May13 ?00:00:00 /opt/bacula/bin/bacula-sd
>> -fP -c /opt/bacula/etc/bacula-sd.conf
>> root 27420 1  0 May13 ?00:00:00 /opt/bacula/bin/bacula-fd
>> -fP -c /opt/bacula/etc/bacula-fd.conf
>> bacula   31156 1  0 May13 ?00:00:00
>> /opt/bacula/bin/bacula-dir -fP -c /opt/bacula/etc/bacula-dir.conf
>>
>> I'm not sure what you mean by 'Catalog Resource Configuration'?
>>
>
> Your bacula-dir.conf -> Catalog{} resource configuration. This is a place
> where you configure information about your catalog database. The database
> name, user, password, server, etc.
>
> 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


Re: [Bacula-users] Installation/Startup Issues

2020-05-14 Thread Jeff Thomas
# Generic catalog service
Catalog {
  Name = MyCatalog
  dbname = "bacula"; dbuser = "bacula"; dbpassword = ""
}



On Thu, May 14, 2020 at 8:55 AM Radosław Korzeniewski <
rados...@korzeniewski.net> wrote:

> Hello,
>
> First of all, you should respond to the list and not to me directly,
> please.
>
> czw., 14 maj 2020 o 15:30 Jeff Thomas  napisał(a):
>
>> The director is running as 'bacula'
>>
>> bacula   27410 1  0 May13 ?00:00:00 /opt/bacula/bin/bacula-sd
>> -fP -c /opt/bacula/etc/bacula-sd.conf
>> root 27420 1  0 May13 ?00:00:00 /opt/bacula/bin/bacula-fd
>> -fP -c /opt/bacula/etc/bacula-fd.conf
>> bacula   31156 1  0 May13 ?00:00:00
>> /opt/bacula/bin/bacula-dir -fP -c /opt/bacula/etc/bacula-dir.conf
>>
>> I'm not sure what you mean by 'Catalog Resource Configuration'?
>>
>
> Your bacula-dir.conf -> Catalog{} resource configuration. This is a place
> where you configure information about your catalog database. The database
> name, user, password, server, etc.
>
> 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] Installation/Startup Issues

2020-05-13 Thread Jeff Thomas
Greetings all,

I would greatly appreciate some pointers to resolve this issue.   I
installed using the Community Installation Guide with:

Centos 7, Bacula 9.6.3 and Postgresql 9.2

The bconsole command  returns to the shell immediately.

[root@costello working]# sudo -u bacula ../bin/bconsole
Connecting to Director costello:9101
[root@costello working]#

And the director, running in the foreground shows:

13-May 11:23 bacula-dir JobId 0: Fatal error: Could not open Catalog
"MyCatalog", database "bacula".
13-May 11:23 bacula-dir JobId 0: Fatal error: postgresql.c:332 Unable to
connect to PostgreSQL server. Database=bacula User=bacula
Possible causes: SQL server not running; password incorrect;
max_connections exceeded.
13-May 11:23 bacula-dir ERROR TERMINATION
Please correct configuration file: bacula-dir.conf

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