Zentyal Forum, Linux Small Business Server
International => Russian => Topic started by: 926 on February 27, 2013, 10:02:29 am
-
вот такое сообщение:
(http://storage9.static.itmages.ru/i/13/0227/s_1361955527_3599953_40713e27b6.jpeg) (http://itmages.ru/image/view/916208/40713e27)
Как починить?
-
там написано как
вы пробовали7
-
там написано как
вы пробовали7
Пробовал, не помогает.
-
вот такое сообщение:
(http://storage9.static.itmages.ru/i/13/0227/s_1361955527_3599953_40713e27b6.jpeg) (http://itmages.ru/image/view/916208/40713e27)
Как починить?
в терминале sudo dpkg --configure -a
потом снова попробуй обновить!
-
в терминале sudo dpkg --configure -a
потом снова попробуй обновить!
Не помогает...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
zentyal-squid
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 0 B/85.5 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up zentyal-squid (3.0.4) ...
DBI connect('eboxlogs','ebox',...) failed: Access denied for user 'ebox'@'localhost' (using password: YES) at /usr/share/perl5/EBox/MyDBEngine.pm line 122
(in cleanup) There wasn't a database connection, check if database exists\n at /usr/share/perl/5.14/Carp.pm line 79.
dpkg: error processing zentyal-squid (--configure):
subprocess installed post-installation script returned error exit status 255
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of zentyal-gateway:
zentyal-gateway depends on zentyal-squid; however:
Package zentyal-squid is not configured yet.
dpkg: error processing zentyal-gateway (--configure):
dependency problems - leaving unconfigured
Setting up zentyal-openvpn (3.0.3) ...
No apport report written because MaxReports is reached already
DBI connect('eboxlogs','ebox',...) failed: Access denied for user 'ebox'@'localhost' (using password: YES) at /usr/share/perl5/EBox/MyDBEngine.pm line 122
(in cleanup) There wasn't a database connection, check if database exists\n at /usr/share/perl/5.14/Carp.pm line 79.
dpkg: error processing zentyal-openvpn (--configure):
subprocess installed post-installation script returned error exit status 255
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of zentyal-remoteservices:
zentyal-remoteservices depends on zentyal-openvpn; however:
Package zentyal-openvpn is not configured yet.
dpkg: error processing zentyal-remoteservices (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
zentyal-squid
zentyal-gateway
zentyal-openvpn
zentyal-remoteservices
E: Sub-process /usr/bin/dpkg returned an error code (1)
-
dpkg: error processing zentyal-squid (--configure):
-
эти непонятки с пользователем ebox регулярно вылезают.
Можно попробовать удалить неустановившиеся пакеты вообще, а потом заново установить через консоль.
Один раз у меня както получилось добавить пользователя ebox в mysql с паролем рута, в другой раз не получилось.
-
Если dpkg --configure -a не помогает, поможет снос модуля, после чего новая его установка, ошибок возникнуть не должно.
-
Если dpkg --configure -a не помогает, поможет снос модуля, после чего новая его установка, ошибок возникнуть не должно.
Снос модуля тоже не помогает.
-
Решение проблемы с подключением к базе:
1. Меняем пароль в файле:
/var/lib/zentyal/conf/zentyal-mysql.passwd
2. Останавливаем MySQL:
sudo /etc/init.d/mysql stop
3.
sudo mysqld --skip-grant-tables &
4.
mysql -u root -p
5.
mysql> flush privileges;
mysql> create database eboxlogs;
mysql> create user 'ebox'@'localhost' identified by 'пароль из п.1';
mysql> grant all privileges on eboxlogs.* to 'ebox'@'localhost' with grant option;
mysql> flush privileges;
mysql> exit;
6. Запускаем MySQL:
sudo /etc/init.d/mysql start