Re: [Bacula-users] Installation/Startup Issues

2020-05-19 Thread Radosław Korzeniewski
Hello,

pt., 15 maj 2020 o 13:02 Jeff Thomas  napisał(a):

> No, same issue.
>

OK, strange.

R.


>
>
> 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
>>
>

-- 
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-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-15 Thread Radosław Korzeniewski
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 Radosław Korzeniewski
Hello,

czw., 14 maj 2020 o 13:57 Jeff Thomas  napisał(a):

> Thanks.  I can connect to the database manually without issue.
>
> sudo -u bacula psql bacula
> psql (9.2.24)
> Type "help" for help.
>
> bacula=>
>
>
Above you are using 'bacula' system user to connect to catalog
database with using unix socket local connection. Great! What user is the
Bacula Director executed - bacula/root/other? And what is your Bacula
Catalog resource configuration?

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


Re: [Bacula-users] Installation/Startup Issues

2020-05-14 Thread Radosław Korzeniewski
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 Radosław Korzeniewski
Hello,

śr., 13 maj 2020 o 19:19 Jeff Thomas  napisał(a):

> 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
>

Your Director is unable to connect to PostgreSQL database, so you have to
check why. There are a dozen reasons for this and some are listed in your
log: "Possible causes: SQL server not running; password incorrect;
max_connections exceeded."

I hope it helps.
-- 
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