Re: baculum + bacula 13.0.4 slow web interface

Marcin Haba <[email protected]>
Newsgroups gmane.comp.bacula.user
Message-ID <CAOqQBvPbrGubSLa24tokkRwb5SGXOG=LtiF2K-9dBB82p3vmKg@mail.gmail.com>
On Fri, 20 Dec 2024 at 09:53, Unkdef unkdef <[email protected]> wrote:
>
> this is output
>
> 20-Dec-2024 11:50:36 bconsole: lex.c:254-0 Open config file: /opt/bacula/etc/bconsole.conf
> 20-Dec-2024 11:50:36 bconsole: lex.c:254-0 Open config file: /opt/bacula/etc/bconsole.conf
> Connecting to Director ub22-2backup:9101
> 20-Dec-2024 11:50:39 bconsole: bsockcore.c:357-0 Current 127.0.1.1:9101 All 127.0.1.1:9101
> 20-Dec-2024 11:50:39 bconsole: bsockcore.c:290-0 who=Director daemon host=ub22-2backup port=9101
> 20-Dec-2024 11:50:39 bconsole: bsockcore.c:476-0 OK connected to server  Director daemon ub22-2backup:9101. socket=127.0.0.1.58246:127.0.1.1.9101 s=0x55f86314ba98
> 20-Dec-2024 11:50:39 bconsole: authenticatebase.cc:339-0 TLSPSK Local need 100
> 20-Dec-2024 11:50:39 bconsole: authenticatebase.cc:371-0 TLSPSK Remote need 100
> 20-Dec-2024 11:50:39 bconsole: authenticatebase.cc:585-0 TLSPSK Start PSK
> 20-Dec-2024 11:50:39 bconsole: bnet.c:153-0 TLS client negotiation established.
> 20-Dec-2024 11:50:39 bconsole: cram-md5.c:132-0 cram-get received: auth cram-md5 <460287254.1734684639@ub22-2backup-dir> ssl=0
> 20-Dec-2024 11:50:39 bconsole: cram-md5.c:156-0 sending resp to challenge: ny1dt9/+7++PE++3Yi/CRB
> 20-Dec-2024 11:50:39 bconsole: cram-md5.c:75-0 send: auth cram-md5 challenge <422312634.1734684639@bconsole> ssl=0
> 20-Dec-2024 11:50:39 bconsole: cram-md5.c:94-0 Authenticate OK A/5kvClXT8cj6/NiVn/r8C
> 20-Dec-2024 11:50:39 bconsole: authenticate.c:293-0 >dird: 1000 OK auth
> 20-Dec-2024 11:50:39 bconsole: authenticate.c:300-0 <dird: 1000 OK: 10002 ub22-2backup-dir Version: 15.0.2 (21 March 2024)
> 1000 OK: 10002 ub22-2backup-dir Version: 15.0.2 (21 March 2024)
> 20-Dec-2024 11:50:39 bconsole: console.c:1385-0 Opened connection with Director daemon
>
>
> so, i try to setup bacula 15.0.2 with default conf on Debian12 with Bacularis 4.0.0 and i see the same problem. when i open bacularis i wait 10-20 sec before i see tables...

Hello Unkdef,

OK, thanks.

Could you change in your bconsole.conf this line below.

From:

  Address = "ub22-2backup"

To:

  Address = "127.0.1.1"

or to:

  Address = "127.0.0.1"

BTW: on Debian based systems by default the Director listens on
127.0.0.1. It is defined in the bacula-dir.conf in this directive:

DirAddress = 127.0.0.1

Best regards,
Marcin Haba (gani)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.