Author Topic: (Solved) Installation errors out at dpkg: error processing package mysql-server  (Read 3922 times)

mehargags

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Hi,
I'm trying to install this on a FRESH VPS : 6GB RAM/6GB Swap/4Cores, a clean install of Ubuntu 14.04 x64, but even after 7-8 tries the installation would inevitably error out at
Quote
dpkg: error processing package mysql-server
Quoting some last lines before the install fails
Code: [Select]
Unpacking at (3.1.14-1ubuntu1) ...
Processing triggers for install-info (5.2.0.dfsg.1-2) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Setting up libdbi-perl (1.630-1) ...
Setting up libmysqlclient18:amd64 (5.5.40-0ubuntu0.14.04.1) ...
Setting up libdbd-mysql-perl (4.025-1) ...
Setting up libterm-readkey-perl (2.31-1) ...
Setting up mysql-client-core-5.5 (5.5.40-0ubuntu0.14.04.1) ...
Setting up mysql-client-5.5 (5.5.40-0ubuntu0.14.04.1) ...
Setting up libaio1:amd64 (0.3.109-4) ...
Setting up mysql-server-core-5.5 (5.5.40-0ubuntu0.14.04.1) ...
Setting up mysql-server-5.5 (5.5.40-0ubuntu0.14.04.1) ...
/var/lib/dpkg/info/mysql-server-5.5.postinst: line 146: logger: command not found
ATTENTION: An error has occured. More info is in the syslog!
/var/lib/dpkg/info/mysql-server-5.5.postinst: line 236: logger: command not found
dpkg: error processing package mysql-server-5.5 (--configure):
 subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-5.5; however:
  Package mysql-server-5.5 is not configured yet.

dpkg: error processing package mysql-server (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.19-0ubuntu6.3) ...
Errors were encountered while processing:
 mysql-server-5.5
 mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

tail /var/log/syslog
Code: [Select]
Nov 27 17:00:16 hst rsyslogd: imklog: error reading kernel log - shutting down: Bad file descriptor
Nov 27 17:00:16 hst rsyslogd: message repeated 498 times: [imklog: error reading kernel log - shutting down: Bad file descriptor]
Nov 27 17:00:22 hst rsyslogd-2177: rsyslogd[internal_messages]: 5218007 messages lost due to rate-limiting
Nov 27 17:00:22 hst rsyslogd: imklog: error reading kernel log - shutting down: Bad file descriptor
Nov 27 17:00:22 hst rsyslogd: message repeated 498 times: [imklog: error reading kernel log - shutting down: Bad file descriptor]
Nov 27 17:00:28 hst rsyslogd-2177: rsyslogd[internal_messages]: 5334465 messages lost due to rate-limiting
Nov 27 17:00:28 hst rsyslogd: imklog: error reading kernel log - shutting down: Bad file descriptor
Nov 27 17:00:28 hst rsyslogd: message repeated 498 times: [imklog: error reading kernel log - shutting down: Bad file descriptor]
Nov 27 17:00:34 hst rsyslogd-2177: rsyslogd[internal_messages]: 5379631 messages lost due to rate-limiting
Nov 27 17:00:34 hst rsyslogd: imklog: error reading kernel log - shutting down: Bad file descriptor

please point me in right direction...
thanks alot.
« Last Edit: November 28, 2014, 11:40:29 am by mehargags »

mehargags

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Resolved it -- loos like a known bug on deb/ubu systems.

had to use :

Code: [Select]
# apt-get --reinstall install bsdutils
and then proceed with # apt-get install zentyal

Pravin

  • Zen Apprentice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
is it safe to allow above commands?
any data loss?