Author Topic: Обновилcя на свою голову...  (Read 5131 times)

ssaxak

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Обновилcя на свою голову...
« Reply #15 on: April 12, 2013, 01:34:52 pm »
Попробовал так
sudo apt-get purge squid3
sudo apt-get install squid3

Все заработало

mad_est

  • Zen Warrior
  • ***
  • Posts: 127
  • Karma: +4/-1
    • View Profile
Re: Обновилcя на свою голову...
« Reply #16 on: April 12, 2013, 04:11:14 pm »
с другой стороны, за 15 часов исправили баг)
с учетом бесплатности, жить можно  :P

ну я в принципе доволен, исправно работает 2,2,7 уже около года... :) есть свои проблемы и с passive ftp, но ты правильно что сказал, за бесплатно....

corwin-mg

  • Zen Warrior
  • ***
  • Posts: 246
  • Karma: +1/-1
    • View Profile
Re: Обновилcя на свою голову...
« Reply #17 on: April 13, 2013, 11:33:59 am »
Уже 2.2.9 - дальше 3.0 что-ли? : )))))))))))

mad_est

  • Zen Warrior
  • ***
  • Posts: 127
  • Karma: +4/-1
    • View Profile
Re: Обновилcя на свою голову...
« Reply #18 on: April 15, 2013, 08:31:07 am »
Уже 2.2.9 - дальше 3.0 что-ли? : )))))))))))

дальше 2.2.9.1 ;)

926

  • Guest
Re: Обновилcя на свою голову...
« Reply #19 on: April 23, 2013, 10:57:33 am »
Как починить это?

Code: [Select]
sudo apt-get install zentyal-users
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  zentyal-dns zentyal-firewall zentyal-ntp
The following NEW packages will be installed:
  zentyal-dns zentyal-firewall zentyal-ntp zentyal-users
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/227 kB of archives.
After this operation, 1,185 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Selecting previously unselected package zentyal-firewall.
(Reading database ... 137726 files and directories currently installed.)
Unpacking zentyal-firewall (from .../zentyal-firewall_3.0.2_all.deb) ...
Selecting previously unselected package zentyal-dns.
Unpacking zentyal-dns (from .../zentyal-dns_3.0.9_all.deb) ...
Selecting previously unselected package zentyal-ntp.
Unpacking zentyal-ntp (from .../zentyal-ntp_3.0_all.deb) ...
Selecting previously unselected package zentyal-users.
Unpacking zentyal-users (from .../zentyal-users_3.0.15_all.deb) ...
Processing triggers for ureadahead ...
Setting up zentyal-firewall (3.0.2) ...
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-firewall (--configure):
 subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of zentyal-dns:
 zentyal-dns depends on zentyal-firewall; however:
  Package zentyal-firewall is not configured yet.
dpkg: error processing zentyal-dns (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of zentyal-ntp:
 zentyal-ntp depends on zentyal-firewall; however:
  Package zentyal-firewall is not configured yet.
dpkg: error processing zentyal-ntp (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of zentyal-users:
 zentyal-users depends on zentyal-firewall; however:
  Package zentyal-firewall is not configured yet.
 zentyal-users depends on zentyal-dns (>= 3.0.7); however:
  Package zentyal-dns is not configured yet.
 zentyal-users depends on zentyal-ntp; however:
  Package zentyal-ntp is not configured yet.
dpkg: error processing zentyal-users (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          No apport report written because MaxReports is reached already
        No apport report written because MaxReports is reached already
                                                                      Errors were encountered while processing:
 zentyal-firewall
 zentyal-dns
 zentyal-ntp
 zentyal-users
E: Sub-process /usr/bin/dpkg returned an error code (1)

926

  • Guest
Re: Обновилcя на свою голову...
« Reply #20 on: April 24, 2013, 08:20:46 am »
Решение проблемы с подключением к базе:

1. Меняем пароль в файле:
Code: [Select]
/var/lib/zentyal/conf/zentyal-mysql.passwd
2. Останавливаем MySQL:
Code: [Select]
sudo /etc/init.d/mysql stop
3.
Code: [Select]
sudo mysqld --skip-grant-tables &
4.
Code: [Select]
mysql -u root -p
5.
Code: [Select]
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:
Code: [Select]
sudo /etc/init.d/mysql start
« Last Edit: April 24, 2013, 08:22:27 am by 926 »