Ubuntu Pastebin

Paste from Nish at Thu, 23 Jun 2016 15:22:15 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
+ dbc_scriptfile=/usr/share/dbconfig-common/scripts/bacula-director-mysql/install/mysql^M
+ [ -f /usr/share/dbconfig-common/scripts/bacula-director-mysql/install/mysql ]^M
+ [ -f /usr/share/dbconfig-common/data/bacula-director-mysql/install-dbadmin/mysql ]^M
+ [ -f /usr/share/dbconfig-common/data/bacula-director-mysql/install/mysql ]^M
+ dbc_logpart populating database via sql... ^M
+ printf populating database via sql...  ^M
populating database via sql...  + [ -f /var/log/dbconfig-common/dbc.log ]^M
+ printf populating database via sql...  ^M
+ _dbc_asuser=yes^M
+ [ !  ]^M
+ dbc_mysql_exec_file /usr/share/dbconfig-common/data/bacula-director-mysql/install/mysql^M
+ local l_sqlfile l_retval l_error l_dbname l_errfile^M
+ l_sqlfile=/usr/share/dbconfig-common/data/bacula-director-mysql/install/mysql^M
+ dbc_mktemp dbconfig-common_sql_exec_error.XXXXXX^M
+ local tfile ttemplate^M
+ [ dbconfig-common_sql_exec_error.XXXXXX ]^M
+ ttemplate=dbconfig-common_sql_exec_error.XXXXXX^M
+ mktemp -t dbconfig-common_sql_exec_error.XXXXXX^M
+ tfile=/tmp/dbconfig-common_sql_exec_error.HCGNr7^M
+ [ ! -f /tmp/dbconfig-common_sql_exec_error.HCGNr7 ]^M
+ echo /tmp/dbconfig-common_sql_exec_error.HCGNr7^M
+ l_errfile=/tmp/dbconfig-common_sql_exec_error.HCGNr7^M
+ l_retval=0^M
+ [ ! /usr/share/dbconfig-common/data/bacula-director-mysql/install/mysql ]^M
+ [ ! -f /usr/share/dbconfig-common/data/bacula-director-mysql/install/mysql ]^M
+ l_dbname=^M
+ [ !  ]^M
+ l_dbname=bacula^M
+ _dbc_generate_mycnf^M
+ local mycnf l_date^M
+ dbc_mktemp dbconfig-common_my.cnf.XXXXXX^M
+ local tfile ttemplate^M
+ [ dbconfig-common_my.cnf.XXXXXX ]^M
+ ttemplate=dbconfig-common_my.cnf.XXXXXX^M
+ mktemp -t dbconfig-common_my.cnf.XXXXXX^M
+ tfile=/tmp/dbconfig-common_my.cnf.fJaGOG^M
+ [ ! -f /tmp/dbconfig-common_my.cnf.fJaGOG ]^M
+ echo /tmp/dbconfig-common_my.cnf.fJaGOG^M
+ mycnf=/tmp/dbconfig-common_my.cnf.fJaGOG^M
+ date^M
+ l_date=Thu Jun 23 15:18:08 UTC 2016^M
+ [ yes ]^M
+ cat^M
+ echo /tmp/dbconfig-common_my.cnf.fJaGOG^M
+ mycnf=/tmp/dbconfig-common_my.cnf.fJaGOG^M
+ mysql --defaults-file=/tmp/dbconfig-common_my.cnf.fJaGOG bacula^M
+ l_retval=1^M
+ cat /tmp/dbconfig-common_sql_exec_error.HCGNr7^M
+ dbc_error=mysql said: mysql: [Warning] mysql: Empty value for 'port' specified. Will throw an error in future versions^M
ERROR 1044 (42000) at line 2: Access denied for user 'bacula'@'localhost' to database '${db_name}'^M
+ return 1^M
+ dbc_install_error populating database^M
Download as text