Hi,
I've got a problem configuring items via baculum. When I try to change
the configuration i. e. of a client the entries below show up in the api
debug file. Configure something which resides in the bacula-sd.conf
works fine and the bacula-director daemon has no problem with the config
file itself and since everything is working on the bacula side, it seems
to be something wrong one the baculum side.
I'm running the package installation of bacula from ubuntu and I tried
the following combinations so far, but the error remains:
1st inst: ubuntu 20.04 LTS, bacula 9.4.2, baculum 9.6.6.1
2nd inst: ubuntu 20.10, bacula 9.6.5, baculum 9.6.6.1
and now: ubuntu 20.10, bacula 9.6.5, baculum 9.6.6.2
Here comes the debug:
Nov 12 01:09:55 [Debug] [Application] Command=formatDirectiveValue,
Output=Attemp to format a directive value with not supported value type
'NULL'.,
File=/usr/share/baculum/htdocs/protected/API/Class/BaculaSetting.php,
Line=516 (line 74,
/usr/share/baculum/htdocs/protected/Common/Class/Logging.php)
Nov 12 01:09:55 [Debug] [Application] Command=formatDirectiveValue,
Output=Attemp to format a directive value with not supported value type
'NULL'.,
File=/usr/share/baculum/htdocs/protected/API/Class/BaculaSetting.php,
Line=516 (line 74,
/usr/share/baculum/htdocs/protected/Common/Class/Logging.php)
Nov 12 01:09:55 [Debug] [Execute] Command=sudo /usr/sbin/bdirjson -c
/tmp/config_HUn5ma "-t" 2>&1, Output=Array
(
[0] => bacula-dir: ERROR TERMINATION at lex.c:875
[1] => Config error: expected a name, got T_EOL: =
[2] => : line 99, col 13 of file /tmp/config_HUn5ma
[3] => Storage =
[4] =>
[5] => 12-Nov 01:09 bacula-dir: ERROR TERMINATION at lex.c:875
[6] => Config error: expected a name, got T_EOL: =
[7] => : line 99, col 13 of file /tmp/config_HUn5ma
[8] => Storage =
[9] =>
)
, File=/usr/share/baculum/htdocs/protected/API/Class/JSONTools.php,
Line=114 (line 74,
/usr/share/baculum/htdocs/protected/Common/Class/Logging.php)
Nov 12 01:09:55 [Debug] [Application] Command=validateConfig,
Output=ERROR [dir] JSON tool returned wrong exitcode.
Output:bacula-dir: ERROR TERMINATION at lex.c:875
Config error: expected a name, got T_EOL: =
: line 99, col 13 of file /tmp/config_HUn5ma
Storage =
12-Nov 01:09 bacula-dir: ERROR TERMINATION at lex.c:875
Config error: expected a name, got T_EOL: =
: line 99, col 13 of file /tmp/config_HUn5ma
Storage =
, File=/usr/share/baculum/htdocs/protected/API/Class/BaculaConfig.php,
Line=110 (line 74,
/usr/share/baculum/htdocs/protected/Common/Class/Logging.php)
Thanks in advance.
--
LLAP \\//
Xavier
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users