The Perfect Server - CentOS 6.3 x86_64 (nginx, Dovecot, ISPConfig 3) - Page 4

Discussion in 'Installation/Configuration' started by coozila, Oct 8, 2012.

  1. coozila

    coozila New Member

    http://www.howtoforge.com/perfect-server-centos-6.3-x86_64-nginx-courier-ispconfig-3-p4

    [root@CentOS-63-64-minimal home]# /etc/init.d/dovecot start
    Starting Dovecot Imap: Error: service(pop3-login): listen(*, 110) failed: Address already in use
    Error: service(pop3-login): listen:):, 110) failed: Address already in use
    Error: service(pop3-login): listen(*, 995) failed: Address already in use
    Error: service(pop3-login): listen:):, 995) failed: Address already in use
    Error: service(imap-login): listen(*, 143) failed: Address already in use
    Error: service(imap-login): listen:):, 143) failed: Address already in use
    Error: service(imap-login): listen(*, 993) failed: Address already in use
    Error: service(imap-login): listen:):, 993) failed: Address already in use
    Fatal: Failed to start listeners
     
  2. coozila

    coozila New Member

    :))) perfect server

    [root@CentOS-63-64-minimal ~]# yum install postfix
    Loaded plugins: fastestmirror, priorities
    Loading mirror speeds from cached hostfile
    * base: ftp.plusline.de
    * epel: mirror.kiewel-online.ch
    * extras: ftp.plusline.de
    * remi: remirpm.mirror.gymkl.ch
    * rpmforge: mirror1.hs-esslingen.de
    * updates: ftp.plusline.de
    1408 packages excluded due to repository priority protections
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package postfix.x86_64 2:2.6.6-2.2.el6_1 will be installed
    --> Finished Dependency Resolution

    Dependencies Resolved

    ================================================================================
    Package Arch Version Repository Size
    ================================================================================
    Installing:
    postfix x86_64 2:2.6.6-2.2.el6_1 base 2.0 M

    Transaction Summary
    ================================================================================
    Install 1 Package(s)

    Total download size: 2.0 M
    Installed size: 9.7 M
    Is this ok [y/N]: y
    Downloading Packages:
    postfix-2.6.6-2.2.el6_1.x86_64.rpm | 2.0 MB 00:00
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Installing : 2:postfix-2.6.6-2.2.el6_1.x86_64 1/1
    Verifying : 2:postfix-2.6.6-2.2.el6_1.x86_64 1/1

    Installed:
    postfix.x86_64 2:2.6.6-2.2.el6_1

    Complete!
    [root@CentOS-63-64-minimal ~]# chkconfig --levels 235 sendmail off
    error reading information on service sendmail: No such file or directory
    [root@CentOS-63-64-minimal ~]# chkconfig --levels 235 postfix on
    [root@CentOS-63-64-minimal ~]# /etc/init.d/sendmail stop
    -bash: /etc/init.d/sendmail: No such file or directory
    [root@CentOS-63-64-minimal ~]# /etc/init.d/postfix restart
    Shutting down postfix: [FAILED]
    Starting postfix: [ OK ]
    [root@CentOS-63-64-minimal ~]#
     
  3. coozila

    coozila New Member

    14 Install Amavisd-new, SpamAssassin, And ClamAV :))) perfect server

    [root@CentOS-63-64-minimal ~]# /etc/init.d/clamd.amavisd startsa-update
    Usage: /etc/init.d/clamd.amavisd {start|stop|status|restart|reload|condrestart}
    [root@CentOS-63-64-minimal ~]# chkconfig --levels 235 amavisd on
    [root@CentOS-63-64-minimal ~]# chkconfig --del clamd
    [root@CentOS-63-64-minimal ~]# chkconfig --levels 235 clamd.amavisd on
    [root@CentOS-63-64-minimal ~]# /usr/bin/freshclam
    ClamAV update process started at Mon Oct 8 12:31:45 2012
    main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven)
    daily.cld is up to date (version: 15441, sigs: 275894, f-level: 63, builder: guitar)
    bytecode.cvd is up to date (version: 190, sigs: 36, f-level: 63, builder: neo)
    [root@CentOS-63-64-minimal ~]# /etc/init.d/amavisd start
    Starting amavisd: fetch_modules: error loading required module Compress/Zlib.pm:
    Compress::Raw::Zlib version 2.052 required--this is only version 2.02 at /usr/lib64/perl5/Compress/Zlib.pm line 11.
    BEGIN failed--compilation aborted at /usr/lib64/perl5/Compress/Zlib.pm line 11.
    Compilation failed in require at /usr/sbin/amavisd line 197.
    ERROR: MISSING REQUIRED BASIC MODULES:
    Compress::Zlib
    BEGIN failed--compilation aborted at /usr/sbin/amavisd line 237.
    [FAILED]

    [root@CentOS-63-64-minimal ~]# /etc/init.d/clamd.amavisd start
    Starting clamd.amavisd: [ OK ]
     
  4. coozila

    coozila New Member

    isp config end instalation i cant login perfect server

    Reconfigure Crontab? (yes,no) [yes]: yes

    Updating Crontab
    Restarting services ...
    Stopping mysqld: [ OK ]
    Starting mysqld: [ OK ]
    Shutting down postfix: [ OK ]
    Starting postfix: [ OK ]
    Stopping saslauthd: [ OK ]
    Starting saslauthd: [ OK ]
    fetch_modules: error loading required module Compress/Zlib.pm:
    Compress::Raw::Zlib version 2.052 required--this is only version 2.02 at /usr/lib64/perl5/Compress/Zlib.pm line 11.
    BEGIN failed--compilation aborted at /usr/lib64/perl5/Compress/Zlib.pm line 11.
    Compilation failed in require at /usr/sbin/amavisd line 197.
    ERROR: MISSING REQUIRED BASIC MODULES:
    Compress::Zlib
    BEGIN failed--compilation aborted at /usr/sbin/amavisd line 237.
    Shutting down amavisd: [FAILED]

    fetch_modules: error loading required module Compress/Zlib.pm:
    Compress::Raw::Zlib version 2.052 required--this is only version 2.02 at /usr/lib64/perl5/Compress/Zlib.pm line 11.
    BEGIN failed--compilation aborted at /usr/lib64/perl5/Compress/Zlib.pm line 11.
    Compilation failed in require at /usr/sbin/amavisd line 197.
    ERROR: MISSING REQUIRED BASIC MODULES:
    Compress::Zlib
    BEGIN failed--compilation aborted at /usr/sbin/amavisd line 237.
    Starting amavisd: [FAILED]

    Stopping clamd.amavisd: [ OK ]
    Starting clamd.amavisd: [ OK ]
    Stopping Courier authentication services: authdaemond
    Starting Courier authentication services: authdaemond
    Stopping Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
    Starting Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
    Stopping Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
    Starting Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
    Stopping Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
    Starting Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
    Stopping Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
    Starting Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
    Stopping Dovecot Imap: [FAILED]
    Error: service(pop3-login): listen(*, 110) failed: Address already in use
    Error: service(pop3-login): listen:):, 110) failed: Address already in use
    Error: service(pop3-login): listen(*, 995) failed: Address already in use
    Error: service(pop3-login): listen:):, 995) failed: Address already in use
    Error: service(imap-login): listen(*, 143) failed: Address already in use
    Error: service(imap-login): listen:):, 143) failed: Address already in use
    Error: service(imap-login): listen(*, 993) failed: Address already in use
    Error: service(imap-login): listen:):, 993) failed: Address already in use
    Fatal: Failed to start listeners
    Starting Dovecot Imap: [FAILED]
    Reloading php-fpm: [ OK ]
    nginx: [emerg] "fastcgi_buffer_size" directive is duplicate in /etc/nginx/sites-enabled/000-apps.vhost:26
    nginx: configuration file /etc/nginx/nginx.conf test failed

    =================================
    fastcgi_buffer_size and fastcgi_buffers

    is part of fastcgi_params



    location ~ \.php$ {
    try_files $uri =404;
    include /etc/nginx/fastcgi_params;
    fastcgi_pass unix:/var/lib/php5-fpm/ispconfig.sock;
    fastcgi_index index.php;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    fastcgi_param PATH_INFO $fastcgi_script_name;
    fastcgi_buffer_size 128k;
    fastcgi_buffers 256 4k;

    fastcgi_busy_buffers_size 256k;
    fastcgi_temp_file_write_size 256k;
    }




    Stopping pure-ftpd: [ OK ]
    Starting pure-ftpd: [ OK ]
    Update finished.
    [root@CentOS-63-64-minimal install]# cd /etc/dovecot
    [root@CentOS-63-64-minimal dovecot]# mv dovecot.conf dovecot.conf_orig
    [root@CentOS-63-64-minimal dovecot]# ln -s ../dovecot.conf dovecot.conf
    [root@CentOS-63-64-minimal dovecot]# /etc/init.d/dovecot restart
    Stopping Dovecot Imap: [FAILED]
    Starting Dovecot Imap: Error: service(pop3-login): listen(*, 110) failed: Address already in use
    Error: service(pop3-login): listen:):, 110) failed: Address already in use
    Error: service(pop3-login): listen(*, 995) failed: Address already in use
    Error: service(pop3-login): listen:):, 995) failed: Address already in use
    Error: service(imap-login): listen(*, 143) failed: Address already in use
    Error: service(imap-login): listen:):, 143) failed: Address already in use
    Error: service(imap-login): listen(*, 993) failed: Address already in use
    Error: service(imap-login): listen:):, 993) failed: Address already in use
    Fatal: Failed to start listeners
     
    Last edited: Oct 8, 2012
  5. till

    till Super Moderator

    The setup you used to install your server uses courier pop3 / imap daemon. Seems as if you had a differents etup or controlpanel installed on your server before without reinstalling as dovecot seems to be present on your server which causes a conflict with courier. You should remove dovecot to get the setup working.
     
  6. coozila

    coozila New Member

    i have restart instalation from fresh server

    http://www.howtoforge.com/perfect-server-centos-6.3-x86_64-nginx-courier-ispconfig-3-p4


    12 Install Postfix

    Postfix can be installed as follows:

    yum install postfix

    Then turn off Sendmail and start Postfix:

    chkconfig --levels 235 sendmail off
    chkconfig --levels 235 postfix on
    /etc/init.d/sendmail stop
    /etc/init.d/postfix restart

    this step gett error
    [root@CentOS-63-64-minimal ~]# chkconfig --levels 235 sendmail off
    error reading information on service sendmail: No such file or directory
    [root@CentOS-63-64-minimal ~]# chkconfig --levels 235 postfix on
    [root@CentOS-63-64-minimal ~]# /etc/init.d/sendmail stop
    -bash: /etc/init.d/sendmail: No such file or directory
    [root@CentOS-63-64-minimal ~]# /etc/init.d/postfix restart
    Shutting down postfix: [ OK ]
    Starting postfix: [ OK ]
     
  7. falko

    falko Super Moderator

    This is ok - it just means that sendmail isn't installed which is fine.
     
  8. maumar

    maumar HowtoForge Supporter

    if u used
    minimal install CD
    like i do, then no mail server is installed
    it's very very minimal, more embedded than minimal :)
    so, no sendmail, no postfix, no exim....
     

Share This Page