LINUX.ORG.RU
ФорумAdmin

не устанавливается iRedMail


0

0

Привет! помогите понять в чем причина ошибки установки iRedMail. ставлю по вот этой инструкции - http://code.google.com/p/iredmail/wiki/Installation_on_Debian.

uname -a Linux xxxxxx.com 2.6.18.8-linode19 #1 SMP Mon Aug 17 22:19:18 UTC 2009 i686 GNU/Linux

вот что видно в консоли:

< INFO > Continue? [Y|n]y
< INFO > Installing package(s): apache2 apache2-mpm-prefork apache2.2-common libapache2-mod-php5 libapache2-mod-auth-mysql php5-cli php5-imap php5-gd php5-mcrypt php5-mysql php5-ldap postfix postfix-pcre awstats mysql-server-5.0 mysql-client-5.0 postfix-mysql libapache2-mod-auth-mysql postfix-policyd dovecot-imapd dovecot-pop3d amavisd-new libcrypt-openssl-rsa-perl libmail-dkim-perl clamav-freshclam clamav-daemon spamassassin altermime bzip2 acl mailx patch cron tofrodos
Reading package lists... Done
Building dependency tree
Reading state information... Done
apache2 is already the newest version.
apache2-mpm-prefork is already the newest version.
apache2.2-common is already the newest version.
libapache2-mod-php5 is already the newest version.
libapache2-mod-auth-mysql is already the newest version.
php5-cli is already the newest version.
php5-imap is already the newest version.
php5-gd is already the newest version.
php5-mcrypt is already the newest version.
php5-mysql is already the newest version.
php5-ldap is already the newest version.
mysql-server-5.0 is already the newest version.
mysql-client-5.0 is already the newest version.
libapache2-mod-auth-mysql is already the newest version.
libcrypt-openssl-rsa-perl is already the newest version.
libmail-dkim-perl is already the newest version.
clamav-freshclam is already the newest version.
clamav-daemon is already the newest version.
spamassassin is already the newest version.
bzip2 is already the newest version.
acl is already the newest version.
patch is already the newest version.
cron is already the newest version.
tofrodos is already the newest version.
The following extra packages will be installed:
  bsd-mailx dbconfig-common dovecot-common libarchive-zip-perl libberkeleydb-perl libconvert-tnef-perl
  libconvert-uulib-perl libio-multiplex-perl libnet-cidr-perl libnet-server-perl libunix-syslog-perl
Suggested packages:
  clamav lha unrar libnet-ldap-perl dspam libgeo-ipfree-perl procmail postfix-pgsql postfix-ldap
  sasl2-bin postfix-cdb ufw
The following NEW packages will be installed:
  altermime amavisd-new awstats bsd-mailx dbconfig-common dovecot-common dovecot-imapd dovecot-pop3d
  libarchive-zip-perl libberkeleydb-perl libconvert-tnef-perl libconvert-uulib-perl
  libio-multiplex-perl libnet-cidr-perl libnet-server-perl libunix-syslog-perl mailx postfix
  postfix-mysql postfix-pcre postfix-policyd
0 upgraded, 21 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/9500kB of archives.
After this operation, 24.6MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  dovecot-common dovecot-imapd dovecot-pop3d postfix-policyd


продолжение:

Preconfiguring packages ...
Selecting previously deselected package postfix.
(Reading database ... 36257 files and directories currently installed.)
Unpacking postfix (from .../postfix_2.5.5-1.1_i386.deb) ...
Selecting previously deselected package bsd-mailx.
Unpacking bsd-mailx (from .../bsd-mailx_8.1.2-0.20071201cvs-3_i386.deb) ...
Selecting previously deselected package altermime.
Unpacking altermime (from .../altermime_0.3.8-2_i386.deb) ...
Selecting previously deselected package awstats.
Unpacking awstats (from .../awstats_6.7.dfsg-5.1_all.deb) ...
Selecting previously deselected package dbconfig-common.
Unpacking dbconfig-common (from .../dbconfig-common_1.8.39_all.deb) ...
Selecting previously deselected package dovecot-common.
Unpacking dovecot-common (from .../dovecot-common_1.1.13-2~bpo50+1_i386.deb) ...
Selecting previously deselected package dovecot-imapd.
Unpacking dovecot-imapd (from .../dovecot-imapd_1.1.13-2~bpo50+1_i386.deb) ...
Selecting previously deselected package dovecot-pop3d.
Unpacking dovecot-pop3d (from .../dovecot-pop3d_1.1.13-2~bpo50+1_i386.deb) ...
Selecting previously deselected package libarchive-zip-perl.
Unpacking libarchive-zip-perl (from .../libarchive-zip-perl_1.18-1_all.deb) ...
Selecting previously deselected package libberkeleydb-perl.
Unpacking libberkeleydb-perl (from .../libberkeleydb-perl_0.34-1+b1_i386.deb) ...
Selecting previously deselected package libconvert-tnef-perl.
Unpacking libconvert-tnef-perl (from .../libconvert-tnef-perl_0.17-8_all.deb) ...
Selecting previously deselected package libconvert-uulib-perl.
Unpacking libconvert-uulib-perl (from .../libconvert-uulib-perl_1.11-1_i386.deb) ...
Selecting previously deselected package libio-multiplex-perl.
Unpacking libio-multiplex-perl (from .../libio-multiplex-perl_1.09-2_all.deb) ...
Selecting previously deselected package libnet-cidr-perl.
Unpacking libnet-cidr-perl (from .../libnet-cidr-perl_0.11-3_all.deb) ...
Selecting previously deselected package libnet-server-perl.
Unpacking libnet-server-perl (from .../libnet-server-perl_0.97-1_all.deb) ...
Selecting previously deselected package libunix-syslog-perl.
Unpacking libunix-syslog-perl (from .../libunix-syslog-perl_1.1-2_i386.deb) ...
Selecting previously deselected package postfix-policyd.
Unpacking postfix-policyd (from .../postfix-policyd_1.82-2_i386.deb) ...
Selecting previously deselected package amavisd-new.
Unpacking amavisd-new (from .../amavisd-new_1%3a2.6.1.dfsg-1_all.deb) ...
Selecting previously deselected package mailx.
Unpacking mailx (from .../mailx_1%3a20071201-3_all.deb) ...
Selecting previously deselected package postfix-mysql.
Unpacking postfix-mysql (from .../postfix-mysql_2.5.5-1.1_i386.deb) ...
Selecting previously deselected package postfix-pcre.
Unpacking postfix-pcre (from .../postfix-pcre_2.5.5-1.1_i386.deb) ...
Processing triggers for man-db ...
Setting up postfix (2.5.5-1.1) ...
Adding group `postfix' (GID 110) ...
Done.
Adding system user `postfix' (UID 106) ...
Adding new user `postfix' (UID 106) with group `postfix' ...
Not creating home directory `/var/spool/postfix'.
Creating /etc/postfix/dynamicmaps.cf
Adding tcp map entry to /etc/postfix/dynamicmaps.cf
Adding group `postdrop' (GID 111) ...
Done.
setting myhostname: xxxxxx.com
setting alias maps
setting alias database
setting myorigin
setting destinations: xxxxxx.com, localhost.com, , localhost
setting relayhost:
setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
setting mailbox_size_limit: 0
setting recipient_delimiter: +
setting inet_interfaces: all
WARNING: /etc/aliases exists, but does not have a root alias.

Postfix is now set up with a default configuration.  If you need to make
changes, edit
/etc/postfix/main.cf (and others) as needed.  To view Postfix configuration
values, see postconf(1).

After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.

Running newaliases
Stopping Postfix Mail Transport Agent: postfix.
Starting Postfix Mail Transport Agent: postfix.
Setting up bsd-mailx (8.1.2-0.20071201cvs-3) ...
Setting up altermime (0.3.8-2) ...
Setting up awstats (6.7.dfsg-5.1) ...
Setting up dbconfig-common (1.8.39) ...
Setting up dovecot-common (1:1.1.13-2~bpo50+1) ...

Creating config file /etc/dovecot/dovecot.conf with new version

Creating config file /etc/dovecot/dovecot-ldap.conf with new version

Creating config file /etc/dovecot/dovecot-sql.conf with new version
adduser: Warning: The home directory `/usr/lib/dovecot' does not belong to the user you are currently creating.
Creating generic self-signed certificate: /etc/ssl/certs/dovecot.pem
(replace with hand-crafted or authorized one if needed).
Setting up dovecot-imapd (1:1.1.13-2~bpo50+1) ...
Restarting IMAP/POP3 mail server: dovecotInfo: If you have trouble with authentication failures,
enable auth_debug setting. See http://wiki.dovecot.org/WhyDoesItNotWork
.
Setting up dovecot-pop3d (1:1.1.13-2~bpo50+1) ...
Restarting IMAP/POP3 mail server: dovecotInfo: If you have trouble with authentication failures,
enable auth_debug setting. See http://wiki.dovecot.org/WhyDoesItNotWork
.
Setting up libarchive-zip-perl (1.18-1) ...
Setting up libberkeleydb-perl (0.34-1+b1) ...
Setting up libconvert-tnef-perl (0.17-8) ...
Setting up libconvert-uulib-perl (1.11-1) ...
Setting up libio-multiplex-perl (1.09-2) ...
Setting up libnet-cidr-perl (0.11-3) ...
Setting up libnet-server-perl (0.97-1) ...
Setting up libunix-syslog-perl (1.1-2) ...
Setting up postfix-policyd (1.82-2) ...
dbconfig-common: writing config to /etc/dbconfig-common/postfix-policyd.conf
*** WARNING: ucf was run from a maintainer script that uses debconf, but
             the script did not pass --debconf-ok to ucf. The maintainer
             script should be fixed to not stop debconf before calling ucf,
             and pass it this parameter. For now, ucf will revert to using
             old-style, non-debconf prompting. Ugh!

             Please inform the package maintainer about this problem.

Creating config file /etc/dbconfig-common/postfix-policyd.conf with new version

Creating config file /etc/postfix-policyd.conf with new version
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO).
unable to connect to mysql server.
error encountered creating user:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
dbconfig-common: postfix-policyd configure: aborted.
dbconfig-common: flushing administrative password
dpkg: error processing postfix-policyd (--configure):
 subprocess post-installation script returned error exit status 1
Setting up amavisd-new (1:2.6.1.dfsg-1) ...
Creating/updating amavis user account...
Starting amavisd: amavisd-new.
Setting up mailx (1:20071201-3) ...
Setting up postfix-mysql (2.5.5-1.1) ...
Adding mysql map entry to /etc/postfix/dynamicmaps.cf
Setting up postfix-pcre (2.5.5-1.1) ...
Adding pcre map entry to /etc/postfix/dynamicmaps.cf
Errors were encountered while processing:
 postfix-policyd
E: Sub-process /usr/bin/dpkg returned an error code (1)
< ERROR > Installation failed, please check the terminal output.

спасибо.

kvitaliy
() автор топика
Ответ на: комментарий от kvitaliy

> ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO). unable to connect to mysql server. error encountered creating user: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

хочет завести юзверя в мускуле, но не может

drull ★☆☆☆
()
Ответ на: комментарий от drull

после
dpkg --configure postfix-policyd
почта заработала, но теперь не работает clamav.
буду теперь его "чинить"

kvitaliy
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.