Hello Shawn,

It looks that you use an old Baculum version (7.x). I would suggest to
remove the 7.x and install 9.x (there is no direct update way between
versions 7 and 9). Here you can find how to install version Baculum
9.x:

http://www.bacula.org/9.0.x-manuals/en/console/Baculum_API_Web_GUI_Tools.html

If you want to stay in version 7 then you can try the following:

1) To check connection try to connect to database by below mysql
command on host with Baculum:

mysql -u bacula -h xbacdirector01-lv -P 3306 bacula -p

2) check if you have installed "php-mysql" package

3) To fix your timezone setting (not related to the mysql) you can
find in /etc/php.ini file line:

;date.timezone =

and change it to

data.timezone = Your/Timezone

Supported by PHP timezone list is here:

http://php.net/manual/en/timezones.php

At the end you need to restart the web server.

Good luck.

Best regards.
Marcin Haba (gani)

On 7 February 2018 at 23:47, Shawn Rappaport <srappap...@shutterfly.com> wrote:
> I’m new to Bacula. I’ve been playing with the latest version for the past
> couple of days on a CentOS 7.3 server with a MySQL DB. I’m now trying to set
> up Baculum. I’m able to connect to the web interface. However, when I fill
> in all of the DB information on the Database tab and click Test, I get
> “Connection error”. I checked /var/log/httpd/baculum-error.log and see the
> following:
>
>
>
> [Wed Feb 07 12:18:37.550545 2018] [:error] [pid 10647] [client
> 172.31.48.196:53501] PHP Notice:  date_default_timezone_set(): Timezone ID
> 'PST' is invalid in /usr/share/baculum/htdocs/protected/Init.php on line 31,
> referer: http://xbacdirector01-lv:9095/wizard/
>
>
>
> The /etc/baculum/Data-apache/baculum.dbg file shows:
>
>
>
> Feb 07 20:18:37 [Info] [Execute] DBParams=Array
>
> (
>
>     [type] => mysql
>
>     [name] => bacula
>
>     [login] => bacula
>
>     [password] => ******
>
>     [host] => xbacdirector01-lv
>
>     [port] => 3306
>
> )
>
> , Connection=false, TablesFormat=NULL
>
>
>
> I’m able to connect to the database from a remote host so that shouldn’t be
> a problem.
>
>
>
> Does anyone have any ideas on what could be causing this connection to fail?
>
>
>
> Thanks!
>
>
>
> --Shawn
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> 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

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to