View Single Post
  #1 (permalink)  
Old 03-20-2006, 08:38 AM
czaveri czaveri is offline
Zimbra-Yahoo Consultant
 
Posts: 294
Default Zimbra MTA and CentOS VPS on OpenVZ

Host: CentOS 4.2
Guest: Centos 4 Default
Virtualization: OpenVZ
Conditions: Fresh install on a brand new VPS
Summary of Problem: MTA is not running

This is what happened:
Code:
[root@zimbra ~]# ps aux
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0  1624  612 ?        Ss   14:36   0:00 init
root     27939  0.0  0.0  1524  596 ?        Ss   14:36   0:00 syslogd -m 0
root     27949  0.0  0.0  3992 1712 ?        Ss   14:36   0:00 /usr/sbin/sshd
root     27962  0.0  0.0  2072  860 ?        Ss   14:36   0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
root     27971  0.0  0.0  2452 1040 ?        Ss   14:36   0:00 crond
zimbra   28033  0.0  0.2 30716 4716 ?        Ssl  14:36   0:00 /opt/zimbra/openldap/libexec/slapd -l LOCAL0 -4 -u zimbra -h ldaps:// ldap://:389/ -f /opt/zi
zimbra   28166  0.0  0.1  4732 3188 ?        S    14:36   0:00 /usr/bin/perl /opt/zimbra/bin/zmmtaconfig
zimbra   28552  0.6  2.1 49200 44760 ?       Ss   14:36   0:00 amavisd (master)
zimbra   28584  0.0  2.1 49928 44856 ?       S    14:36   0:00 amavisd (virgin child)
zimbra   28585  0.0  2.1 49928 44868 ?       S    14:36   0:00 amavisd (virgin child)
zimbra   28586  0.0  2.1 49928 44856 ?       S    14:36   0:00 amavisd (virgin child)
zimbra   28587  0.0  2.1 49928 44860 ?       S    14:36   0:00 amavisd (virgin child)
zimbra   28588  0.0  2.1 49928 44856 ?       S    14:36   0:00 amavisd (virgin child)
zimbra   28589  0.0  2.1 49928 44864 ?       S    14:36   0:00 amavisd (virgin child)
zimbra   28590  0.0  2.1 49928 44860 ?       S    14:36   0:00 amavisd (virgin child)
zimbra   28591  0.0  2.1 49928 44860 ?       S    14:36   0:00 amavisd (virgin child)
zimbra   28592  0.0  2.1 49928 44864 ?       S    14:36   0:00 amavisd (virgin child)
zimbra   28593  0.0  2.1 49928 44860 ?       S    14:36   0:00 amavisd (virgin child)
zimbra   30039  0.0  0.0  2304  808 ?        Ss   14:37   0:00 /opt/zimbra/clamav/bin/freshclam --config-file=/opt/zimbra/conf/freshclam.conf -d --checks=12
zimbra   30054  0.0  0.0  2104 1072 ?        S    14:37   0:00 /bin/sh /opt/zimbra/logger/mysql/bin/mysqld_safe --defaults-file=/opt/zimbra/conf/my.logger.c
zimbra   30066  0.1  0.2  5764 4236 ?        S    14:37   0:00 /usr/bin/perl /opt/zimbra/bin/logswatch --config-file=/opt/zimbra/conf/logswatchrc --script-d
zimbra   30102  0.0  0.6 91400 14468 ?       Sl   14:37   0:00 /opt/zimbra/logger/mysql/bin/mysqld --defaults-file=/opt/zimbra/conf/my.logger.cnf --basedir=
zimbra   30107  0.2  0.3  8024 6376 ?        S    14:37   0:00 /usr/bin/perl /tmp/.swatch_script.30066
zimbra   30120  0.0  0.4 11416 10124 ?       Ss   14:37   0:00 /opt/zimbra/clamav/sbin/clamd --config-file /opt/zimbra/conf/clamd.conf
zimbra   30133  0.0  0.0  1788  564 ?        S    14:37   0:00 /usr/bin/tail -n 0 -f /var/log/zimbra.log
zimbra   30705  5.6  4.7 891600 99064 ?      Sl   14:37   0:03 /opt/zimbra/jdk1.5.0_05/bin/java -Xms607m -Xmx607m -client -XX:NewRatio=2 -Dcatalina.base=/op
zimbra   31745  0.0  0.0  2100 1068 ?        S    14:37   0:00 /bin/sh /opt/zimbra/mysql/bin/mysqld_safe --defaults-file=/opt/zimbra/conf/my.cnf --ledir=/op
zimbra   31769  0.1  0.1  6568 4088 ?        S    14:37   0:00 /usr/bin/perl /opt/zimbra/bin/zmlogger
zimbra   31816  0.4  2.4 741248 51700 ?      Sl   14:37   0:00 /opt/zimbra/mysql/bin/mysqld --defaults-file=/opt/zimbra/conf/my.cnf --basedir=/opt/zimbra/my
root     32319  0.0  0.0  4752 1532 ?        Ss   14:37   0:00 /opt/zimbra/postfix-2.2.5/libexec/master
postfix  32323  0.0  0.0  5712 1500 ?        S    14:37   0:00 pickup -l -t fifo -u
postfix  32324  0.0  0.0  5748 1548 ?        S    14:37   0:00 qmgr -l -t fifo -u
zimbra   32363  0.2  0.2  5760 4256 ?        S    14:37   0:00 /usr/bin/perl /opt/zimbra/bin/swatch --config-file=/opt/zimbra/conf/swatchrc --script-dir=/tm
zimbra   32371  0.0  0.2  9732 5300 ?        Ss   14:37   0:00 /opt/zimbra/httpd-2.0.54/bin/httpd -k start -f /opt/zimbra/conf/httpd.conf
zimbra   32372  0.4  0.3  8028 6408 ?        S    14:37   0:00 /usr/bin/perl /tmp/.swatch_script.32363
zimbra   32373  0.0  0.2  9732 5296 ?        S    14:37   0:00 /opt/zimbra/httpd-2.0.54/bin/httpd -k start -f /opt/zimbra/conf/httpd.conf
zimbra   32374  0.0  0.2  9732 5296 ?        S    14:37   0:00 /opt/zimbra/httpd-2.0.54/bin/httpd -k start -f /opt/zimbra/conf/httpd.conf
zimbra   32375  0.0  0.2  9732 5296 ?        S    14:37   0:00 /opt/zimbra/httpd-2.0.54/bin/httpd -k start -f /opt/zimbra/conf/httpd.conf
zimbra   32376  0.0  0.2  9732 5296 ?        S    14:37   0:00 /opt/zimbra/httpd-2.0.54/bin/httpd -k start -f /opt/zimbra/conf/httpd.conf
zimbra   32377  0.0  0.2  9732 5296 ?        S    14:37   0:00 /opt/zimbra/httpd-2.0.54/bin/httpd -k start -f /opt/zimbra/conf/httpd.conf
zimbra   32381  0.0  0.0  1788  556 ?        S    14:37   0:00 /usr/bin/tail -n 0 -f /var/log/zimbra.log
postfix  32735  0.0  0.0  5716 1512 ?        S    14:38   0:00 showq -t unix -u
root     32764  0.1  0.1  6876 2428 ?        Rs   14:38   0:00 sshd: root@pts/0
root     32766  0.0  0.0  2156 1256 pts/0    Ss   14:38   0:00 -bash
root      1346  0.0  0.0  2300  744 pts/0    R+   14:38   0:00 ps aux
[root@zimbra ~]# su - zimbra
[zimbra@zimbra ~]$ zmcontrol status
Host zimbra.test.net
        antispam                Running
        antivirus               Running
        ldap                    Running
        logger                  Running
        mailbox                 Running
        mta                     Stopped
        snmp                    Running
        spell                   Running
[zimbra@zimbra ~]$ zmcontrol stop
Host zimbra.test.net
        Stopping antispam...Done
        Stopping antivirus...Done
        Stopping ldap...Done
        Stopping logger...Done
        Stopping mailbox...Done
        Stopping mta...FAILED
/opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/sbin/saslauthd: no process killed


        Stopping snmp...Done
        Stopping spell...Done
[zimbra@zimbra ~]$ zmcontrol start
Host zimbra.test.net
        Starting ldap...Done.
        Starting antispam...Done.
        Starting antivirus...Done.
        Starting logger...Done.
        Starting mailbox...Done.
        Starting mta...FAILED
getService: sasl
getService: webxml
getService: perdition
DO: /opt/zimbra/postfix/sbin/postconf -e content_filter='smtp-amavis:[127.0.0.1]:10024'
DO: /opt/zimbra/postfix/sbin/postconf -e myhostname='zimbra.test.net'
DO: /opt/zimbra/postfix/sbin/postconf -e recipient_delimiter=''
DO: /opt/zimbra/postfix/sbin/postconf -e smtpd_sasl_auth_enable='yes'
DO: /opt/zimbra/postfix/sbin/postconf -e smtpd_tls_auth_only='yes'
DO: /opt/zimbra/postfix/sbin/postconf -e disable_dns_lookups='no'
DO: /opt/zimbra/postfix/sbin/postconf -e message_size_limit='10240000'
DO: /opt/zimbra/postfix/sbin/postconf -e relayhost=''
DO: /opt/zimbra/postfix/sbin/postconf -e smtpd_recipient_restrictions='reject_non_fqdn_reci  pient, permit_sasl_authenticated, permit_mynetworks, reject_invalid_hostname, reject_non_fqdn_sender, reject_unauth_destination, permit'
saslauthd[32663] :main            : could not open pid lock file: /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/state/saslauthd.pid.lock
saslauthd[32663] :main            : open: Permission denied
saslauthd[32663] :main            : Check to make sure the directory exists and is
saslauthd[32663] :main            : writeable by the user this process runs as.


        Starting snmp...Done.
        Starting spell...Done.
[zimbra@zimbra ~]$
Please let me know if I must provide more information.

Thank-you very much in advance,

Sincerely,

Chintan Zaveri.

Last edited by czaveri : 03-20-2006 at 08:45 AM.
Reply With Quote