Page 1 of 1
Unable to access admin web interface
Posted: 21 Dec 2008, 08:38
by MagnusJonsson
Hi,
Despite my low Linux knowledge I updated my B2 today using
and
It all seemed to work nicely except for two errors
Code: Select all
....
Setting up lighttpd (1.4.19-1~bpo40+1ex7) ...
Starting web server: lighttpd failed!
invoke-rc.d: initscript lighttpd, action "start" failed.
....
and
Code: Select all
....
Setting up apache2-mpm-prefork (2.2.3-4+etch6) ...
Starting web server (apache2)...(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
failed!
invoke-rc.d: initscript apache2, action "start" failed.
....
dpkg: dependency problems prevent configuration of bubba-backend:
bubba-backend depends on bubba-horde; however:
Package bubba-horde is not configured yet.
dpkg: error processing bubba-backend (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of bubba-frontend:
bubba-frontend depends on bubba-backend; however:
Package bubba-backend is not configured yet.
dpkg: error processing bubba-frontend (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
lighttpd
lighttpd-mod-webdav
bubba-horde
bubba-backend
bubba-frontend
E: Sub-process /usr/bin/dpkg returned an error code (1)
....
After this I can type
and see the "Bubba welcome page" nicely. But as soon as I click on Administration or type
I get
Does anyone have suggestions on how to deal with this problem? I'd really appreciate help on a "Linux for dummies level"
Magnus
P.S.1
I tried to install webdav a long time ago (but I'm not even sure it was successful
). Could this be a root to the problem ?
P.S.2
Horde seems to work alright
Posted: 21 Dec 2008, 09:52
by carl
That could be related to the root of the problem, due to the infomration that it failed to bind on port 80 highly suspects that there is another webserver lurking on that port; and probably that is lighttpd; try to "apt-get remove lighttpd" and see if that solves your problem.
/Carl
edit: just cleaning up the evidently embarrassing typos.
Support
Posted: 22 Dec 2008, 09:21
by MagnusJonsson
That's what I call support !!
Issuing
sure did it !
Thank you Carl and Merry Christmas !
Magnus
By the way, these messages were issued during the "apt-get remove lighttpd", is this a problem or could I just sit back and relax ?
Code: Select all
Setting up bubba-horde (0.0.56) ...
dbconfig-common: writing config to /etc/dbconfig-common/bubba-horde.conf
Replacing config file /etc/horde/debian-db.php with new version
creating database backup in /var/cache/dbconfig-common/backups/bubba-horde_0.0.44.mysql.
dpkg: error processing bubba-horde (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bubba-backend:
bubba-backend depends on bubba-horde; however:
Package bubba-horde is not configured yet.
dpkg: error processing bubba-backend (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of bubba-frontend:
bubba-frontend depends on bubba-backend; however:
Package bubba-backend is not configured yet.
dpkg: error processing bubba-frontend (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
bubba-horde
bubba-backend
bubba-frontend
E: Sub-process /usr/bin/dpkg returned an error code (1)
Posted: 22 Dec 2008, 09:59
by carl
Seems that bubba-horde seem to have failed to configure fully (and thus prevents full configuration of bubba-*); Try to do as I described in an other thread here, to add "set -x" to /var/lib/dpkg/info/bubba-horde.postinst and try another dist-upgrade, and if it fails, please post the output here.
/Carl
Posted: 22 Dec 2008, 15:18
by MagnusJonsson
Carl,
According to your previous post in the thread (
bubba-horde post update problems . . .)
It can be difficult to find what might have done wring in that output, could you try making a modification to the postinst script and post it here; Open the file less /var/lib/dpkg/info/bubba-horde.postinst and add abouve the "set -e" the line "set -x", and run dpkg --configure bubba-horde.
I inserted a
before the line
in the file /var/lib/dpkg/info/bubba-horde.postinst
and then re-executed
and below is the output I get (I'm sorry for the length, but I'm not sure what is important here)
I also tried to look at the problem Ton had (again in the post
bubba-horde post update problems . . .) but I did not really understand the password thing he seemed to pull off. Obviously I'm not skilled enough here...
bubba:/home/magnus# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up bubba-horde (0.0.56) ...
+ set -e
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ '[' '' ']'
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/bubba-horde.postinst configure 0.0.44
+ set -e
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ '[' '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
+ . /usr/share/dbconfig-common/dpkg/postinst.mysql
++ dbc_hardcoded_dbtype=mysql
++ . /usr/share/dbconfig-common/dpkg/postinst configure 0.0.44
+ dbc_generate_include_owner=www-data:www-data
+ dbc_generate_include_perms=0660
+ dbc_generate_include=php:/etc/horde/debian-db.php
+ dbc_go bubba-horde configure 0.0.44
+ local importing_from_non_dbc upgrading reconfiguring f tsubstfile upgrades_pending dumpfile _dbc_asuser reinstall
+ . /usr/share/dbconfig-common/dpkg/common
++ . /usr/share/dbconfig-common/internal/common
+ dbc_debug '(postinst) dbc_go() bubba-horde' configure 0.0.44
+ '[' '' ']'
+ dbc_config bubba-horde configure 0.0.44
+ dbc_debug 'dbc_config() bubba-horde' configure 0.0.44
+ '[' '' ']'
+ dbc_share=/usr/share/dbconfig-common
+ dbc_package=bubba-horde
+ dbc_command=configure
+ dbc_oldversion=0.0.44
+ _dbc_sanity_check package command
+ '[' package ']'
+ case "$1" in
+ '[' -z bubba-horde ']'
+ shift
+ '[' command ']'
+ case "$1" in
+ '[' -z configure ']'
+ shift
+ '[' '' ']'
+ dbc_confdir=/etc/dbconfig-common
+ dbc_globalconfig=/etc/dbconfig-common/config
+ dbc_packageconfig=/etc/dbconfig-common/bubba-horde.conf
+ dbc_standard_templates='database-type dbconfig-install dbconfig-upgrade dbconfig-remove dbconfig-reinstall password-confirm app-password-confirm purge upgrade-backup passwords-do-not-match install-error upgrade-error remove-error internal/reconfiguring internal/skip-preseed'
+ dbc_mysql_templates='mysql/method remote/host remote/newhost mysql/app-pass mysql/admin-user mysql/admin-pass remote/port db/dbname db/app-user'
+ dbc_pgsql_templates='pgsql/method remote/host remote/newhost pgsql/app-pass pgsql/admin-user pgsql/admin-pass remote/port pgsql/authmethod-admin pgsql/authmethod-user pgsql/changeconf pgsql/manualconf db/dbname db/app-user pgsql/no-empty-passwords'
+ dbc_sqlite_templates='db/dbname db/basepath'
+ dbc_all_supported_dbtypes='mysql pgsql sqlite'
+ dbc_authenticated_dbtypes='mysql pgsql'
+ dbc_remote_dbtypes='mysql pgsql'
+ dbc_fs_dbtypes=sqlite
+ '[' -f /etc/dbconfig-common/config ']'
+ . /etc/dbconfig-common/config
++ dbc_remember_admin_pass=false
++ dbc_remote_questions_default=false
+ '[' false = true ']'
+ dbc_remote_questions_priority=low
+ dbc_set_dbtype_defaults
+ dbc_debug 'dbc_set_dbtype_defaults() '
+ '[' '' ']'
+ '[' mysql ']'
+ dbc_dbtype=mysql
+ dbc_default_basepath=
+ case $dbc_dbtype in
+ . /usr/share/dbconfig-common/internal/mysql
++ . /usr/share/dbconfig-common/internal/common
+ dbc_createuser_cmd=dbc_mysql_createuser
+ dbc_checkuser_cmd=dbc_mysql_check_user
+ dbc_createdb_cmd=dbc_mysql_createdb
+ dbc_dropdb_cmd=dbc_mysql_dropdb
+ dbc_dropuser_cmd=dbc_mysql_dropuser
+ dbc_sqlexec_cmd=dbc_mysql_exec_command
+ dbc_sqlfile_cmd=dbc_mysql_exec_file
+ dbc_dump_cmd=dbc_mysql_dump
+ dbc_register_templates='database-type dbconfig-install dbconfig-upgrade dbconfig-remove dbconfig-reinstall password-confirm app-password-confirm purge upgrade-backup passwords-do-not-match install-error upgrade-error remove-error internal/reconfiguring internal/skip-preseed mysql/method remote/host remote/newhost mysql/app-pass mysql/admin-user mysql/admin-pass remote/port db/dbname db/app-user'
+ dbc_default_admin=root
++ echo bubba-horde
++ tr -d +.
++ cut -c -16
+ dbc_default_dbuser=bubba-horde
+ dbc_dbvendor=MySQL
+ '[' '' ']'
+ '[' configure = configure ']'
+ dbc_read_package_debconf
+ dbc_debug 'dbc_read_package_debconf() '
+ '[' '' ']'
+ _dbc_sanity_check package
+ '[' package ']'
+ case "$1" in
+ '[' -z bubba-horde ']'
+ shift
+ '[' '' ']'
+ '[' '!' mysql ']'
+ dbc_set_dbtype_defaults mysql
+ dbc_debug 'dbc_set_dbtype_defaults() mysql'
+ '[' '' ']'
+ '[' mysql ']'
+ dbc_dbtype=mysql
+ dbc_default_basepath=
+ case $dbc_dbtype in
+ . /usr/share/dbconfig-common/internal/mysql
++ . /usr/share/dbconfig-common/internal/common
+ dbc_createuser_cmd=dbc_mysql_createuser
+ dbc_checkuser_cmd=dbc_mysql_check_user
+ dbc_createdb_cmd=dbc_mysql_createdb
+ dbc_dropdb_cmd=dbc_mysql_dropdb
+ dbc_dropuser_cmd=dbc_mysql_dropuser
+ dbc_sqlexec_cmd=dbc_mysql_exec_command
+ dbc_sqlfile_cmd=dbc_mysql_exec_file
+ dbc_dump_cmd=dbc_mysql_dump
+ dbc_register_templates='database-type dbconfig-install dbconfig-upgrade dbconfig-remove dbconfig-reinstall password-confirm app-password-confirm purge upgrade-backup passwords-do-not-match install-error upgrade-error remove-error internal/reconfiguring internal/skip-preseed mysql/method remote/host remote/newhost mysql/app-pass mysql/admin-user mysql/admin-pass remote/port db/dbname db/app-user'
+ dbc_default_admin=root
++ echo bubba-horde
++ tr -d +.
++ cut -c -16
+ dbc_default_dbuser=bubba-horde
+ dbc_dbvendor=MySQL
+ '[' '' ']'
+ db_get bubba-horde/dbconfig-install
+ _db_cmd 'GET bubba-horde/dbconfig-install'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/dbconfig-install'
+ IFS='
'
+ read -r _db_internal_line
+ RET=true
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ dbc_install=true
+ db_get bubba-horde/dbconfig-upgrade
+ _db_cmd 'GET bubba-horde/dbconfig-upgrade'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/dbconfig-upgrade'
+ IFS='
'
+ read -r _db_internal_line
+ RET=true
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ dbc_upgrade=true
+ db_get bubba-horde/dbconfig-remove
+ _db_cmd 'GET bubba-horde/dbconfig-remove'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/dbconfig-remove'
+ IFS='
'
+ read -r _db_internal_line
+ RET=
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ dbc_remove=
+ '[' true '!=' true ']'
+ _dbc_sanity_check dbtype
+ '[' dbtype ']'
+ case "$1" in
+ '[' -z mysql ']'
+ shift
+ '[' '' ']'
+ echo 'mysql pgsql'
+ grep -q mysql
+ db_get bubba-horde/db/app-user
+ _db_cmd 'GET bubba-horde/db/app-user'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/db/app-user'
+ IFS='
'
+ read -r _db_internal_line
+ RET=horde
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ dbc_dbuser=horde
+ db_get bubba-horde/mysql/app-pass
+ _db_cmd 'GET bubba-horde/mysql/app-pass'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/mysql/app-pass'
+ IFS='
'
+ read -r _db_internal_line
+ RET=aBFds74vxy
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ dbc_dbpass=aBFds74vxy
+ db_get bubba-horde/mysql/admin-user
+ _db_cmd 'GET bubba-horde/mysql/admin-user'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/mysql/admin-user'
+ IFS='
'
+ read -r _db_internal_line
+ RET=root
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ dbc_dbadmin=root
+ db_get bubba-horde/mysql/admin-pass
+ _db_cmd 'GET bubba-horde/mysql/admin-pass'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/mysql/admin-pass'
+ IFS='
'
+ read -r _db_internal_line
+ RET=farena1024
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ dbc_dbadmpass=farena1024
+ echo 'mysql pgsql'
+ grep -q mysql
+ db_get bubba-horde/remote/host
+ _db_cmd 'GET bubba-horde/remote/host'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/remote/host'
+ IFS='
'
+ read -r _db_internal_line
+ RET=
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ dbc_dbserver=
+ db_get bubba-horde/remote/port
+ _db_cmd 'GET bubba-horde/remote/port'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/remote/port'
+ IFS='
'
+ read -r _db_internal_line
+ RET=
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ dbc_dbport=
+ echo sqlite
+ grep -qa mysql
+ db_get bubba-horde/db/dbname
+ _db_cmd 'GET bubba-horde/db/dbname'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/db/dbname'
+ IFS='
'
+ read -r _db_internal_line
+ RET=horde
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ dbc_dbname=horde
+ case $dbc_dbtype in
+ '[' '' ']'
+ dbc_write_package_config
+ local iformat ofile tfile
+ dbc_debug 'dbc_write_package_config() '
+ '[' '' ']'
+ _dbc_sanity_check packageconfig
+ '[' packageconfig ']'
+ case "$1" in
+ '[' -z /etc/dbconfig-common/bubba-horde.conf ']'
+ shift
+ '[' '' ']'
+ echo 'dbconfig-common: writing config to /etc/dbconfig-common/bubba-horde.conf'
dbconfig-common: writing config to /etc/dbconfig-common/bubba-horde.conf
++ mktemp -t dbconfig-package-config.XXXXXX
+ tfile=/tmp/dbconfig-package-config.Px5629
+ '[' mysql ']'
+ dbc_dbtype=mysql
+ '[' '' = 'tcp/ip + ssl' ']'
+ cat
+ ucf /tmp/dbconfig-package-config.Px5629 /etc/dbconfig-common/bubba-horde.conf
+ rm -f /tmp/dbconfig-package-config.Px5629
+ '[' php:/etc/horde/debian-db.php ']'
+ '[' www-data:www-data ']'
+ dbc_generate_include_args=' -O www-data:www-data'
+ '[' 0660 ']'
+ dbc_generate_include_args=' -O www-data:www-data -m 0660'
+ echo php:/etc/horde/debian-db.php
+ grep -q -E '^[^:]*:'
++ echo php:/etc/horde/debian-db.php
++ cut -d: -f1
+ iformat=php
++ echo php:/etc/horde/debian-db.php
++ cut -d: -f2
+ ofile=/etc/horde/debian-db.php
+ dbconfig-generate-include -a -f php -O www-data:www-data -m 0660 -U /etc/dbconfig-common/bubba-horde.conf /etc/horde/debian-db.php
Replacing config file /etc/horde/debian-db.php with new version
+ dbc_read_package_config
+ dbc_debug 'dbc_read_package_config() '
+ '[' '' ']'
+ _dbc_sanity_check package packageconfig
+ '[' package ']'
+ case "$1" in
+ '[' -z bubba-horde ']'
+ shift
+ '[' packageconfig ']'
+ case "$1" in
+ '[' -z /etc/dbconfig-common/bubba-horde.conf ']'
+ shift
+ '[' '' ']'
+ dbc_install=true
+ dbc_upgrade=true
+ '[' -f /etc/dbconfig-common/bubba-horde.conf ']'
+ . /etc/dbconfig-common/bubba-horde.conf
++ dbc_install=true
++ dbc_upgrade=true
++ dbc_remove=
++ dbc_dbtype=mysql
++ dbc_dbuser=horde
++ dbc_dbpass=aBFds74vxy
++ dbc_dbserver=
++ dbc_dbport=
++ dbc_dbname=horde
++ dbc_dbadmin=root
++ dbc_basepath=
++ dbc_ssl=
++ dbc_authmethod_admin=
++ dbc_authmethod_user=
+ '[' -z '' ']'
+ dbc_dballow=localhost
+ '[' true '!=' true ']'
+ '[' php:/etc/horde/debian-db.php ']'
++ echo php:/etc/horde/debian-db.php
++ sed -e 's/^[^:]*://'
+ dbc_config_include=/etc/horde/debian-db.php
+ export dbc_generate_include
+ export dbc_config_include
+ '[' 0.0.44 ']'
+ db_get bubba-horde/internal/reconfiguring
+ _db_cmd 'GET bubba-horde/internal/reconfiguring'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/internal/reconfiguring'
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ reconfiguring=false
+ db_reset bubba-horde/internal/reconfiguring
+ _db_cmd 'RESET bubba-horde/internal/reconfiguring'
+ IFS=' '
+ printf '%s\n' 'RESET bubba-horde/internal/reconfiguring'
+ IFS='
'
+ read -r _db_internal_line
+ RET=0
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ '[' false = false ']'
+ upgrading=yes
+ '[' yes ']'
+ '[' '' ']'
+ '[' '!' yes ']'
+ '[' '' ']'
+ '[' yes ']'
++ _dbc_find_upgrades
++ local f s sqldir admsqldir scriptdir upgradedirs pending sorted placed tlist
++ sqldir=/usr/share/dbconfig-common/data/bubba-horde/upgrade/mysql
++ admsqldir=/usr/share/dbconfig-common/data/bubba-horde/upgrade-dbadmin/mysql
++ scriptdir=/usr/share/dbconfig-common/scripts/bubba-horde/upgrade/mysql
++ for f in '$sqldir' '$admsqldir' '$scriptdir'
++ '[' -d /usr/share/dbconfig-common/data/bubba-horde/upgrade/mysql ']'
++ upgradedirs=' /usr/share/dbconfig-common/data/bubba-horde/upgrade/mysql'
++ for f in '$sqldir' '$admsqldir' '$scriptdir'
++ '[' -d /usr/share/dbconfig-common/data/bubba-horde/upgrade-dbadmin/mysql ']'
++ for f in '$sqldir' '$admsqldir' '$scriptdir'
++ '[' -d /usr/share/dbconfig-common/scripts/bubba-horde/upgrade/mysql ']'
++ upgradedirs=' /usr/share/dbconfig-common/data/bubba-horde/upgrade/mysql /usr/share/dbconfig-common/scripts/bubba-horde/upgrade/mysql'
++ '[' '!' ' /usr/share/dbconfig-common/data/bubba-horde/upgrade/mysql /usr/share/dbconfig-common/scripts/bubba-horde/upgrade/mysql' ']'
+++ find /usr/share/dbconfig-common/data/bubba-horde/upgrade/mysql /usr/share/dbconfig-common/scripts/bubba-horde/upgrade/mysql -type f -print0
+++ xargs --no-run-if-empty -0 -n1 basename
+++ sort -n
+++ uniq
++ for f in '`find $upgradedirs -type f -print0 | xargs --no-run-if-empty -0 -n1 basename | sort -n | uniq`'
++ dpkg --compare-versions 0.0.44 lt 0.0.53
++ pending=' 0.0.53'
++ for f in '$pending'
++ '[' '!' '' ']'
++ sorted=0.0.53
++ echo 0.0.53
+ upgrades_pending=0.0.53
+ '[' 0.0.53 ']'
+ db_set bubba-horde/dbconfig-upgrade true
+ _db_cmd 'SET bubba-horde/dbconfig-upgrade' true
+ IFS=' '
+ printf '%s\n' 'SET bubba-horde/dbconfig-upgrade true'
+ IFS='
'
+ read -r _db_internal_line
+ RET='value set'
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ db_fset bubba-horde/dbconfig-upgrade seen false
+ _db_cmd 'FSET bubba-horde/dbconfig-upgrade' seen false
+ IFS=' '
+ printf '%s\n' 'FSET bubba-horde/dbconfig-upgrade seen false'
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ db_input high bubba-horde/dbconfig-upgrade
+ _db_cmd 'INPUT high' bubba-horde/dbconfig-upgrade
+ IFS=' '
+ printf '%s\n' 'INPUT high bubba-horde/dbconfig-upgrade'
+ IFS='
'
+ read -r _db_internal_line
+ RET='question will be asked'
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ db_go
+ _db_cmd 'GO '
+ IFS=' '
+ printf '%s\n' 'GO '
+ IFS='
'
+ read -r _db_internal_line
+ RET=ok
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ db_get bubba-horde/dbconfig-upgrade
+ _db_cmd 'GET bubba-horde/dbconfig-upgrade'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/dbconfig-upgrade'
+ IFS='
'
+ read -r _db_internal_line
+ RET=true
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ dbc_upgrade=true
+ '[' true '!=' true ']'
+ '[' '!' '' ']'
+ '[' '!' mysql = pgsql ']'
+ dbc_get_admin_pass
+ local have_admin_pass pass1
+ dbc_debug 'dbc_get_admin_pass() '
+ '[' '' ']'
+ db_fget bubba-horde/mysql/admin-pass seen
+ _db_cmd 'FGET bubba-horde/mysql/admin-pass' seen
+ IFS=' '
+ printf '%s\n' 'FGET bubba-horde/mysql/admin-pass seen'
+ IFS='
'
+ read -r _db_internal_line
+ RET=true
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ '[' true = true ']'
+ have_admin_pass=yes
+ '[' '!' yes ']'
+ db_get bubba-horde/mysql/admin-pass
+ _db_cmd 'GET bubba-horde/mysql/admin-pass'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/mysql/admin-pass'
+ IFS='
'
+ read -r _db_internal_line
+ RET=farena1024
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ dbc_dbadmpass=farena1024
+ dumpfile=/var/cache/dbconfig-common/backups/bubba-horde_0.0.44.mysql
+ dbc_logline 'creating database backup in /var/cache/dbconfig-common/backups/bubba-horde_0.0.44.mysql'
+ echo -e 'creating database backup in /var/cache/dbconfig-common/backups/bubba-horde_0.0.44.mysql.'
creating database backup in /var/cache/dbconfig-common/backups/bubba-horde_0.0.44.mysql.
+ '[' '' ']'
+ dbc_log='creating database backup in /var/cache/dbconfig-common/backups/bubba-horde_0.0.44.mysql.'
+ _dbc_asuser=
+ dbc_mysql_dump /var/cache/dbconfig-common/backups/bubba-horde_0.0.44.mysql
+ local mycnf dumperr db dumpfile
+ _dbc_sanity_check dbname dbadmin mysql
+ '[' dbname ']'
+ case "$1" in
+ '[' -z horde ']'
+ shift
+ '[' dbadmin ']'
+ case "$1" in
+ '[' -z root ']'
+ shift
+ '[' mysql ']'
+ case "$1" in
+ which mysql
+ shift
+ '[' '' ']'
+ _dbc_mysql_check_connect
+ local constat mycnf
+ constat=bad
++ _dbc_generate_mycnf
++ local mycnf l_date
+++ mktemp -t dbconfig-common_my.cnf.XXXXXX
++ mycnf=/tmp/dbconfig-common_my.cnf.mc5735
++ '[' '!' /tmp/dbconfig-common_my.cnf.mc5735 ']'
+++ date
++ l_date='Mon Dec 22 22:26:20 CET 2008'
++ cat
++ echo /tmp/dbconfig-common_my.cnf.mc5735
+ mycnf=/tmp/dbconfig-common_my.cnf.mc5735
++ mysql --defaults-extra-file=/tmp/dbconfig-common_my.cnf.mc5735
+ dbc_error='ERROR 1045 (28000): Access denied for user '\''root'\''@'\''localhost'\'' (using password: YES)'
+ rm -f /tmp/dbconfig-common_my.cnf.mc5735
+ '[' bad = bad ']'
+ dbc_logline='unable to connect to mysql server'
+ return 1
+ return 1
dpkg: error processing bubba-horde (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bubba-backend:
bubba-backend depends on bubba-horde; however:
Package bubba-horde is not configured yet.
dpkg: error processing bubba-backend (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of bubba-frontend:
bubba-frontend depends on bubba-backend; however:
Package bubba-backend is not configured yet.
dpkg: error processing bubba-frontend (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
bubba-horde
bubba-backend
bubba-frontend
E: Sub-process /usr/bin/dpkg returned an error code (1)