Oracle 8.8 Installation Error

11 views
Skip to first unread message

Meth

unread,
Nov 13, 2024, 6:21:59 AM11/13/24
to bacularis
I installed Bacula and Bacularis on Oracle 8.8 via my Bacula Main Web server, but at the last stage during the installation, an API LINK error appeared (Red Cross). Afterwards, when I tried to access by entering IP and Port information myself, I got the error in the image.

Screenshot_20241113_135439.png

When I try to connect to the IP and Port with Telnet, I get the attached error;

meth@tux ~ $ telnet 10.2.41.218 9097
Trying 10.2.41.218...
Connected to 10.2.41.218.
Escape character is '^]'.
help
HTTP/1.1 400 Bad Request
Server: nginx/1.14.1
Date: Wed, 13 Nov 2024 11:17:31 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 173
Connection: close

<html>
<head><title>400 Bad Request</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<hr><center>nginx/1.14.1</center>
</body>
</html>
Connection closed by foreign host.

Client Oracle 8.8. Server Ubuntu 20.04 LTS.

The version of Bacularis I installed is 4.0

Meth

unread,
Nov 13, 2024, 6:26:32 AM11/13/24
to bacularis
In addition, php-fpm error logs appeared;

root@wazuh php-fpm]# tail -n 100 www-error.log
[13-Nov-2024 10:54:06 UTC] PHP Parse error:  syntax error, unexpected '=' in /usr/share/bacularis/protected/vendor/pradosoft/prado/framework/TComponent.php on line 460
[13-Nov-2024 10:54:54 UTC] PHP Parse error:  syntax error, unexpected '=' in /usr/share/bacularis/protected/vendor/pradosoft/prado/framework/TComponent.php on line 460
[13-Nov-2024 10:56:16 UTC] PHP Parse error:  syntax error, unexpected '=' in /usr/share/bacularis/protected/vendor/pradosoft/prado/framework/TComponent.php on line 460
[13-Nov-2024 10:56:17 UTC] PHP Parse error:  syntax error, unexpected '=' in /usr/share/bacularis/protected/vendor/pradosoft/prado/framework/TComponent.php on line 460
[13-Nov-2024 10:56:18 UTC] PHP Parse error:  syntax error, unexpected '=' in /usr/share/bacularis/protected/vendor/pradosoft/prado/framework/TComponent.php on line 460
[13-Nov-2024 11:14:56 UTC] PHP Parse error:  syntax error, unexpected '=' in /usr/share/bacularis/protected/vendor/pradosoft/prado/framework/TComponent.php on line 460
error.log  www-error.log
[root@wazuh php-fpm]# tail -n 100 error.log
[13-Nov-2024 13:48:20] NOTICE: fpm is running, pid 661405
[13-Nov-2024 13:48:20] NOTICE: ready to handle connections
[13-Nov-2024 13:48:20] NOTICE: systemd monitor interval set to 10000ms

13 Kasım 2024 Çarşamba tarihinde saat 14:21:59 UTC+3 itibarıyla Meth şunları yazdı:

Marcin Haba

unread,
Nov 13, 2024, 6:27:09 AM11/13/24
to Meth, bacularis
On Wed, 13 Nov 2024 at 12:22, Meth <bys...@gmail.com> wrote:
>
> I installed Bacula and Bacularis on Oracle 8.8 via my Bacula Main Web server, but at the last stage during the installation, an API LINK error appeared (Red Cross). Afterwards, when I tried to access by entering IP and Port information myself, I got the error in the image.

Hi Meth,

Thanks for your report.

It looks like this error:

https://bacularis.app/doc/brief/troubleshooting.html#http-error-500-and-no-interface-page-is-loading

What is your PHP version on the Oracle Linux host? I guess it is lower
than 7.4 that is minimal for Bacularis. If it is this case, the above
link should help.

Please let us know if it helped.

Best regards,
Marcin Haba (gani)

Marcin Haba

unread,
Nov 13, 2024, 6:29:39 AM11/13/24
to Meth, bacularis
On Wed, 13 Nov 2024 at 12:26, Meth <bys...@gmail.com> wrote:
In addition, php-fpm error logs appeared;

root@wazuh php-fpm]# tail -n 100 www-error.log
[13-Nov-2024 10:54:06 UTC] PHP Parse error:  syntax error, unexpected '=' in /usr/share/bacularis/protected/vendor/pradosoft/prado/framework/TComponent.php on line 460
[13-Nov-2024 10:54:54 UTC] PHP Parse error:  syntax error, unexpected '=' in /usr/share/bacularis/protected/vendor/pradosoft/prado/framework/TComponent.php on line 460
[13-Nov-2024 10:56:16 UTC] PHP Parse error:  syntax error, unexpected '=' in /usr/share/bacularis/protected/vendor/pradosoft/prado/framework/TComponent.php on line 460
[13-Nov-2024 10:56:17 UTC] PHP Parse error:  syntax error, unexpected '=' in /usr/share/bacularis/protected/vendor/pradosoft/prado/framework/TComponent.php on line 460
[13-Nov-2024 10:56:18 UTC] PHP Parse error:  syntax error, unexpected '=' in /usr/share/bacularis/protected/vendor/pradosoft/prado/framework/TComponent.php on line 460
[13-Nov-2024 11:14:56 UTC] PHP Parse error:  syntax error, unexpected '=' in /usr/share/bacularis/protected/vendor/pradosoft/prado/framework/TComponent.php on line 460


Hi Meth,

Yes, definitely it is the PHP version outside these supported by Bacularis.

This link from my previous message will help on that.

Meth

unread,
Nov 13, 2024, 6:31:35 AM11/13/24
to bacularis
Ok, I solved the problem as you said. There was php 7.2 in the system (I saw it as 7.4, I didn't see it because of my absent-mindedness).

That's why I had this error, I actually had this error in the past and solved it.

Thanks again for your support Haba
13 Kasım 2024 Çarşamba tarihinde saat 14:29:39 UTC+3 itibarıyla Marcin Haba şunları yazdı:

Meth

unread,
Nov 13, 2024, 6:45:56 AM11/13/24
to bacularis
In addition to that I noticed something, when I install a client on this computer from the host side, the Password section stays like this "@@FD_PASSWORD@@" , I have experienced this before with another client, but then I went and assigned a password manually. in bacula-fd.conf 


# List Directors who are permitted to contact this File daemon
#
Director {
  Name = bacula-dir
  Password = "@@FD_PASSWORD@@"
}

#
# Restricted Director, used by tray-monitor to get the
#   status of the file daemon
#
Director {
  Name = bacula-mon
  Password = "@@MON_FD_PASSWORD@@"
  Monitor = yes
}

#
# "Global" File daemon configuration specifications
#
FileDaemon {                          # this is me
  Name = bacula-fd
  FDport = 9102                  # where we listen for the director
  WorkingDirectory = /var/spool/bacula
  Pid Directory = /var/run
  Maximum Concurrent Jobs = 20
  Plugin Directory = /usr/lib64/bacula
}

# Send all messages except skipped files back to Director
Messages {
  Name = Standard
  director = bacula-dir = all, !skipped, !restored
}
13 Kasım 2024 Çarşamba tarihinde saat 14:31:35 UTC+3 itibarıyla Meth şunları yazdı:

Marcin Haba

unread,
Nov 13, 2024, 6:53:03 AM11/13/24
to Meth, bacularis
On Wed, 13 Nov 2024 at 12:45, Meth <bys...@gmail.com> wrote:
>
> In addition to that I noticed something, when I install a client on this computer from the host side, the Password section stays like this "@@FD_PASSWORD@@" , I have experienced this before with another client, but then I went and assigned a password manually. in bacula-fd.conf

Hi Meth,

This is the default configuration that comes from the Bacula packages
after installation.

It is more or less normal behavior and - as you correctly noticed -
this client needs to be configured manually.

I guess that the passwords (with @@ character) should be replaced to
more "real" passwords by the Bacula packages scriptlets and they are
not replaced. I don't know why. It is something for the Bacula package
maintainers, I think.

Meth

unread,
Nov 13, 2024, 8:12:04 AM11/13/24
to bacularis
Thank you for your suggestion.

13 Kasım 2024 Çarşamba tarihinde saat 14:53:03 UTC+3 itibarıyla Marcin Haba şunları yazdı:
Reply all
Reply to author
Forward
0 new messages