Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: stats service stopped

  1. #11
    hoangnam8484 Guest

    Default

    I'm copy folder

    Code:
    cp -R /opt/zimbra /home/backup

  2. #12
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    You should use either cp -Rp or rsync ... Un-install again and run with install.sh and perform a actual install. Then shutdown ZCS and replace /opt/zimbra with your backup .. You should then, as root, run /opt/zimbra/libexec/zmfixperms --extended.

  3. #13
    hoangnam8484 Guest

    Default

    I'm run run /opt/zimbra/libexec/zmfixperms --extended as root user
    I still failed
    Code:
    root@server1:~# /opt/zimbra/libexec/zmfixperms --extended
    root@server1:~# su zimbra
    zimbra@server1:/root$ cd
    zimbra@server1:~$ zmcontrol status
    bash: zmcontrol: command not found
    zimbra@server1:~$ zmcontrol start
    bash: zmcontrol: command not found
    zimbra@server1:~$ su root
    Password: 
    root@server1:/opt/zimbra# ls -l
    total 184
    lrwxrwxrwx  1 zimbra zimbra   29 2009-11-02 15:43 amavisd -> /opt/zimbra/amavisd-new-2.6.4
    drwxr-x---  4 root   root   4096 2009-11-02 15:44 amavisd-new-2.6.4
    lrwxrwxrwx  1 zimbra zimbra   25 2009-11-02 15:45 aspell -> /opt/zimbra/aspell-0.60.6
    drwxr-x---  6 root   root   4096 2009-11-02 15:42 aspell-0.60.6
    drwxr-x---  2 zimbra zimbra 4096 2009-11-02 15:44 backup
    lrwxrwxrwx  1 root   root     24 2009-11-02 15:43 bdb -> /opt/zimbra/bdb-4.7.25.4
    drwxr-x---  6 root   root   4096 2009-11-02 15:44 bdb-4.7.25.4
    drwxr-x---  2 root   root   4096 2009-11-02 15:54 bin
    lrwxrwxrwx  1 zimbra zimbra   25 2009-11-02 15:43 clamav -> /opt/zimbra/clamav-0.95.2
    drwxr-x--- 10 root   root   4096 2009-11-02 15:44 clamav-0.95.2
    drwxr-x---  9 zimbra zimbra 4096 2009-11-02 15:44 conf
    -rw-------  1 zimbra zimbra 1982 2009-11-02 15:44 config.20697
    drwxr-x---  2 root   root   4096 2009-11-02 15:43 contrib
    lrwxrwxrwx  1 zimbra zimbra   23 2009-11-02 15:54 curl -> /opt/zimbra/curl-7.19.4
    drwxr-x---  6 root   root   4096 2009-11-02 15:42 curl-7.19.4
    lrwxrwxrwx  1 zimbra zimbra   32 2009-11-02 15:43 cyrus-sasl -> /opt/zimbra/cyrus-sasl-2.1.23.3z
    drwxr-x---  8 root   root   4096 2009-11-02 15:44 cyrus-sasl-2.1.23.3z
    drwxr-x---  8 zimbra zimbra 4096 2009-11-02 15:44 data
    drwxr-x---  3 zimbra zimbra 4096 2009-11-02 15:42 db
    drwxr-x---  2 zimbra zimbra 4096 2009-11-02 15:43 docs
    lrwxrwxrwx  1 zimbra zimbra   23 2009-11-02 15:44 dspam -> /opt/zimbra/dspam-3.8.0
    drwxr-x---  7 root   root   4096 2009-11-02 15:44 dspam-3.8.0
    drwxr-xr-x  2 zimbra zimbra 4096 2009-11-02 15:42 fbqueue
    lrwxrwxrwx  1 zimbra zimbra   25 2009-11-02 15:44 heimdal -> /opt/zimbra/heimdal-1.2.1
    drwxr-x---  6 root   root   4096 2009-11-02 15:44 heimdal-1.2.1
    lrwxrwxrwx  1 zimbra zimbra   24 2009-11-02 15:42 httpd -> /opt/zimbra/httpd-2.2.11
    drwxr-x--- 15 root   root   4096 2009-11-02 15:44 httpd-2.2.11
    drwxr-x---  3 zimbra zimbra 4096 2009-11-02 15:43 index
    lrwxrwxrwx  1 zimbra zimbra   23 2009-11-02 15:43 java -> /opt/zimbra/jdk1.6.0_16
    drwxr-xr-x  8 root   root   4096 2009-11-02 15:44 jdk1.6.0_16
    lrwxrwxrwx  1 zimbra zimbra   24 2009-11-02 15:44 jetty -> /opt/zimbra/jetty-6.1.15
    drwxr-x--- 11 root   root   4096 2009-11-02 15:53 jetty-6.1.15
    drwxr-x---  4 root   root   4096 2009-11-02 15:42 lib
    drwxr-x---  4 root   root   4096 2009-11-02 15:45 libexec
    lrwxrwxrwx  1 zimbra zimbra   26 2009-11-02 15:44 libtool -> /opt/zimbra/libtool-2.2.6a
    drwxr-x---  4 root   root   4096 2009-11-02 15:44 libtool-2.2.6a
    drwxr-x---  3 zimbra zimbra 4096 2009-11-02 15:42 log
    drwxr-x---  3 zimbra zimbra 4096 2009-11-02 15:43 logger
    lrwxrwxrwx  1 zimbra zimbra   24 2009-11-02 15:43 mailboxd -> /opt/zimbra/jetty-6.1.15
    lrwxrwxrwx  1 zimbra zimbra   59 2009-11-02 15:44 mysql -> /opt/zimbra/mysql-standard-5.0.83-pc-linux-gnu-i686-glibc23

  4. #14
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Code:
    su - zimbra
    if you do not specify the '-' it will not source in the users profile.

  5. #15
    hoangnam8484 Guest

    Default

    Code:
    root@server1:~# su - zimbra 
    zimbra@server1:~$ zmcontrol status
    -su: zmcontrol: command not found
    Code:
    root@server1:/opt/zimbra/bin# ls -l
    total 612
    -rwxr-xr-x 1 root root   5080 2009-11-02 15:54 ldap
    -rwxr-xr-x 1 root root 147075 2009-11-02 15:54 ldapsearch
    -rwxr-xr-x 1 root root    797 2009-11-02 15:54 mysql
    -rwxr-xr-x 1 root root    756 2009-11-02 15:54 mysqladmin
    -rwxr-xr-x 1 root root   3476 2009-11-02 15:54 mysql.server
    -rwxr-xr-x 1 root root    708 2009-11-02 15:54 postconf
    -rwxr-xr-x 1 root root   1711 2009-11-02 15:54 postfix
    -rwxr-xr-x 1 root root    748 2009-11-02 15:54 qshape
    -rwxr-xr-x 1 root root   4339 2009-11-02 15:54 zmaccts
    -rwxr-xr-x 1 root root   4283 2009-11-02 15:54 zmamavisdctl
    -rwxr-xr-x 1 root root   1198 2009-11-02 15:54 zmantispamctl
    -rwxr-xr-x 1 root root   1332 2009-11-02 15:54 zmantivirusctl
    -rwxr-xr-x 1 root root   1977 2009-11-02 15:54 zmapachectl
    -rwxr-xr-x 1 root root   1169 2009-11-02 15:54 zmarchivectl
    -rwxr-xr-x 1 root root   5124 2009-11-02 15:54 zmauditswatchctl
    -rwxr-xr-x 1 root root    617 2009-11-02 15:54 zmblobchk
    -rwxr-xr-x 1 root root  28303 2009-11-02 15:54 zmcalchk
    -rwxr-xr-x 1 root root  45644 2009-11-02 15:54 zmcertmgr
    -rwxr-xr-x 1 root root   4734 2009-11-02 15:54 zmclamdctl
    -rwxr-xr-x 1 root root  11094 2009-11-02 15:54 zmcleaniplanetics
    -rwxr-xr-x 1 root root  13230 2009-11-02 15:54 zmcontrol
    -rwxr-xr-x 1 root root   1847 2009-11-02 15:54 zmdumpenv
    -rwxr-xr-x 1 root root    618 2009-11-02 15:54 zmfixcalendtime
    -rwxr-xr-x 1 root root    602 2009-11-02 15:54 zmgsautil
    -rwxr-xr-x 1 root root    699 2009-11-02 15:54 zmhostname
    -rwxr-xr-x 1 root root    677 2009-11-02 15:54 zmitemdatafile
    -rwxr-xr-x 1 root root   2580 2009-11-02 15:54 zmjava
    -rwxr-xr-x 1 root root   1545 2009-11-02 15:54 zmjavaext
    -rwxr-xr-x 1 root root  11967 2009-11-02 15:54 zmldappasswd
    -rwxr-xr-x 1 root root    624 2009-11-02 15:54 zmlmtpinject
    -rwxr-xr-x 1 root root   1647 2009-11-02 15:54 zmlocalconfig
    -rwxr-xr-x 1 root root   1099 2009-11-02 15:54 zmloggerctl
    -rwxr-xr-x 1 root root   3032 2009-11-02 15:54 zmloggerhostmap
    -rwxr-xr-x 1 root root   3227 2009-11-02 15:54 zmlogswatchctl
    -rwxr-xr-x 1 root root    715 2009-11-02 15:54 zmmailbox
    -rwxr-xr-x 1 root root   4688 2009-11-02 15:54 zmmailboxdctl
    -rwxr-xr-x 1 root root   2588 2009-11-02 15:54 zmmemcachedctl
    -rwxr-xr-x 1 root root    604 2009-11-02 15:54 zmmetadump
    -rwxr-xr-x 1 root root   2361 2009-11-02 15:54 zmmtaconfigctl
    -rwxr-xr-x 1 root root   1709 2009-11-02 15:54 zmmtactl
    -rwxr-xr-x 1 root root   3462 2009-11-02 15:54 zmmypasswd
    -rwxr-xr-x 1 root root   8912 2009-11-02 15:54 zmmysqlstatus
    -rwxr-xr-x 1 root root   2959 2009-11-02 15:54 zmnginxconf
    -rwxr-xr-x 1 root root   2856 2009-11-02 15:54 zmnginxctl
    -rwxr-xr-x 1 root root   2632 2009-11-02 15:54 zmplayredo
    -rwxr-xr-x 1 root root    650 2009-11-02 15:54 zmprov
    -rwxr-xr-x 1 root root    596 2009-11-02 15:54 zmproxyconfgen
    -rwxr-xr-x 1 root root   1085 2009-11-02 15:54 zmproxyctl
    -rwxr-xr-x 1 root root    598 2009-11-02 15:54 zmproxypurge
    -rwxr-xr-x 1 root root    660 2009-11-02 15:54 zmpython
    -rwxr-xr-x 1 root root    605 2009-11-02 15:54 zmredodump
    -rwxr-xr-x 1 root root   2537 2009-11-02 15:54 zmsaslauthdctl
    -rwxr-xr-x 1 root root   1758 2009-11-02 15:54 zmshutil
    -rwxr-xr-x 1 root root   5091 2009-11-02 15:54 zmskindeploy
    -rwxr-xr-x 1 root root    676 2009-11-02 15:54 zmsoap
    -rwxr-xr-x 1 root root   1090 2009-11-02 15:54 zmspellctl
    -rwxr-xr-x 1 root root   1244 2009-11-02 15:54 zmsshkeygen
    -rwxr-xr-x 1 root root   1783 2009-11-02 15:54 zmstat-chart
    -rwxr-xr-x 1 root root  31712 2009-11-02 15:54 zmstat-chart-config
    -rwxr-xr-x 1 root root   5938 2009-11-02 15:54 zmstatctl
    -rwxr-xr-x 1 root root   2867 2009-11-02 15:54 zmstorectl
    -rwxr-xr-x 1 root root   2982 2009-11-02 15:54 zmswatchctl
    -rwxr-xr-x 1 root root   7751 2009-11-02 15:54 zmsyslogsetup
    -rwxr-xr-x 1 root root   3799 2009-11-02 15:54 zmthrdump
    -rwxr-xr-x 1 root root  17445 2009-11-02 15:54 zmtlsctl
    -rwxr-xr-x 1 root root   5389 2009-11-02 15:54 zmtrainsa
    -rwxr-xr-x 1 root root    613 2009-11-02 15:54 zmtzupdate
    -rwxr-xr-x 1 root root   2183 2009-11-02 15:54 zmupdateauthkeys
    -rwxr-xr-x 1 root root    606 2009-11-02 15:54 zmvolume
    -rwxr-xr-x 1 root root    602 2009-11-02 15:54 zmzimletctl
    help me!!! thanks

  6. #16
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Code:
    su - zimbra
    env
    ls /opt/zimbra/bin

  7. #17
    hoangnam8484 Guest

    Default

    Code:
    root@server1:/opt/zimbra/bin# su - zimbra
    zimbra@server1:~$ env
    JAVA_JVM_VERSION=1.5
    SHELL=/bin/bash
    TERM=vt100
    XDG_SESSION_COOKIE=4a6a7cb364c296d7f0c776784abe2a73-1257156384.911663-775228235
    PERL5LIB=/opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi:/opt/zimbra/zimbramon/lib
    LC_ALL=C
    USER=zimbra
    SNMPCONFPATH=/opt/zimbra/conf
    USERNAME=zimbra
    MAIL=/var/mail/zimbra
    PATH=/opt/zimbra/bin:/opt/zimbra/zimbramon:/opt/zimbra/postfix/sbin:/opt/zimbra/openldap/bin:/opt/zimbra/snmp/bin:/opt/zimbra/bdb/bin:/opt/zimbra/openssl/bin:/opt/zimbra/java/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
    PWD=/opt/zimbra
    JAVA_HOME=/opt/zimbra/java
    LANG=C
    PERLLIB=/opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi:/opt/zimbra/zimbramon/lib
    SHLVL=1
    HOME=/opt/zimbra
    LOGNAME=zimbra
    ZIMBRA_HOME=/opt/zimbra
    _=/usr/bin/env
    zimbra@server1:~$ ls /opt/zimbra/bin
    ls: cannot open directory /opt/zimbra/bin: Permission denied
    zimbra@server1:~$

  8. #18
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Code:
    ls -ld /opt
    ls -ld /opt/zimbra
    ls -ld /opt/zimbra/bin

  9. #19
    hoangnam8484 Guest

    Default

    Code:
    zimbra@server1:~$ ls /opt/zimbra/bin
    ls: cannot open directory /opt/zimbra/bin: Permission denied
    zimbra@server1:~$ ls -ld /opt
    drwxr-xr-x 3 root root 4096 Nov  2 15:37 /opt
    zimbra@server1:~$ ls -ld /opt/zimbra/
    drwxr-xr-x 49 root root 4096 Nov  2 15:54 /opt/zimbra/
    zimbra@server1:~$ ls -ld /opt/zimbra/bin
    drwxr-x--- 2 root root 4096 Nov  2 15:54 /opt/zimbra/bin
    zimbra@server1:~$

  10. #20
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    as root
    Code:
    chown -R zimbra:zimbra /opt/zimbra
    /opt/zimbra/libexec/zmfixperms --extended

Similar Threads

  1. Service stats stopped on xxx.xxx.net
    By rwcanary in forum Administrators
    Replies: 12
    Last Post: 01-10-2010, 10:48 AM
  2. Replies: 5
    Last Post: 05-28-2009, 01:53 AM
  3. stats service stopped
    By tiger2000 in forum Administrators
    Replies: 0
    Last Post: 07-31-2008, 08:06 PM
  4. Replies: 20
    Last Post: 03-18-2008, 06:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •