Results 1 to 2 of 2

Thread: Cleanup after many upgrades

  1. #1
    Join Date
    Nov 2007
    Location
    Zürich, Switzerland
    Posts
    40
    Rep Power
    8

    Default Cleanup after many upgrades

    Hi

    I upgraded zimbra many times and now there are many old files in the /opt/zimbra folder.
    Is there a cleanup script available?
    Or which files / folders should I delete?

    My /opt/zimbra folder looks like this:
    Code:
    root@server:/opt/zimbra# ls -Alh
    total 320K
    -rw-r--r--   1 zimbra zimbra 7.8K Dec 23 16:46 .bash_history
    -r--r--r--   1 zimbra zimbra  243 Dec 19 04:53 .bash_profile
    -r--r--r--   1 zimbra zimbra 2.3K Dec 19 04:53 .bashrc
    -r--r--r--   1 zimbra zimbra   62 Dec 19 04:53 .exrc
    -rwx------   1 zimbra zimbra    0 Feb 21  2007 .fetchmailrc
    -rw-r--r--   1 root   root    15K Dec 23 16:49 .install_history
    -r--r--r--   1 zimbra zimbra   34 Dec 19 04:53 .ldaprc
    drwxr-x---   4 zimbra zimbra 4.0K Dec 23 16:33 .saveconfig
    drwx------   2 zimbra zimbra 4.0K Dec 23 16:49 .ssh
    -rw-r--r--   1 zimbra zimbra    0 Dec 19 04:53 .viminfo
    lrwxrwxrwx   1 zimbra zimbra   29 Dec 23 16:35 amavisd -> /opt/zimbra/amavisd-new-2.5.2
    drwxr-xr-x   5 zimbra zimbra 4.0K Oct  5 12:25 amavisd-new-2.4.3
    drwxr-xr-x   8 zimbra zimbra 4.0K Dec 23 16:47 amavisd-new-2.5.2
    drwxr-xr-x   6 root   root   4.0K Aug 30 18:12 apache-tomcat-5.5.15
    drwxr-xr-x   6 zimbra zimbra 4.0K Dec 23 16:35 aspell-0.60.5
    drwxr-xr-x   2 zimbra zimbra 4.0K Dec 22 01:00 backup
    drwxr-xr-x   2 root   root   4.0K Dec 23 16:35 bin
    lrwxrwxrwx   1 zimbra zimbra   25 Dec 23 16:35 clamav -> /opt/zimbra/clamav-0.91.2
    drwxr-xr-x   3 root   root   4.0K Feb 24  2007 clamav-0.88.5
    drwxr-xr-x   3 root   root   4.0K Jun  4  2007 clamav-0.88.7
    drwxr-xr-x   3 root   root   4.0K Aug 30 18:12 clamav-0.90.2
    drwxr-xr-x   3 root   root   4.0K Oct  5 12:12 clamav-0.90.3
    drwxr-xr-x   3 root   root   4.0K Dec 23 16:34 clamav-0.91.1
    drwxr-xr-x   9 root   root   4.0K Dec 23 16:35 clamav-0.91.2
    drwxr-xr-x   7 zimbra zimbra 4.0K Dec 23 16:48 conf
    -rw-r--r--   1 zimbra zimbra 1.1K Jul  2 11:15 config.11438
    -rw-r--r--   1 zimbra zimbra  953 Feb 24  2007 config.11547
    -rw-r--r--   1 zimbra zimbra 1.1K Jun  4  2007 config.16988
    -rw-------   1 root   root   1.7K Dec 23 16:44 config.28202
    -rw-------   1 zimbra zimbra 2.6K Oct  5 12:27 config.3057
    -rw-r--r--   1 zimbra zimbra  953 Feb 24  2007 config.32682
    -rw-r--r--   1 zimbra zimbra 1015 Apr  2  2007 config.559
    -rw-r--r--   1 zimbra zimbra  905 Feb 18  2007 config.7009
    -rw-r--r--   1 zimbra zimbra 1.3K Aug 30 18:27 config.8480
    drwxr-xr-x   2 zimbra zimbra 4.0K Dec 23 16:35 contrib
    drwxr-xr-x   2 zimbra zimbra 4.0K Feb 18  2007 convertd
    lrwxrwxrwx   1 zimbra zimbra   23 Dec 23 16:35 curl -> /opt/zimbra/curl-7.17.0
    drwxr-xr-x   6 zimbra zimbra 4.0K Dec 23 16:35 curl-7.17.0
    lrwxrwxrwx   1 zimbra zimbra   32 Dec 23 16:35 cyrus-sasl -> /opt/zimbra/cyrus-sasl-2.1.22.3z
    drwxr-xr-x   4 root   zimbra 4.0K Aug 30 18:12 cyrus-sasl-2.1.21.ZIMBRA
    drwxr-xr-x   4 root   zimbra 4.0K Dec 23 16:34 cyrus-sasl-2.1.22.3
    drwxr-xr-x   8 root   zimbra 4.0K Dec 23 16:35 cyrus-sasl-2.1.22.3z
    drwxr-xr-x   3 zimbra zimbra 4.0K Dec 23 16:46 db
    drwxr-xr-x   2 zimbra zimbra 4.0K Dec 23 16:35 doc
    lrwxrwxrwx   1 zimbra zimbra   23 Dec 23 16:35 dspam -> /opt/zimbra/dspam-3.8.0
    drwxr-xr-x   7 root   root   4.0K Dec 23 16:35 dspam-3.8.0
    lrwxrwxrwx   1 zimbra zimbra   25 Dec 23 16:35 heimdal -> /opt/zimbra/heimdal-1.0.1
    drwxr-xr-x   6 zimbra zimbra 4.0K Dec 23 16:35 heimdal-1.0.1
    lrwxrwxrwx   1 zimbra zimbra   23 Dec 23 16:35 httpd -> /opt/zimbra/httpd-2.2.4
    drwxr-xr-x  15 root   root   4.0K Dec 23 16:35 httpd-2.2.4
    drwxr-xr-x   3 zimbra zimbra 4.0K Feb 18  2007 index
    lrwxrwxrwx   1 zimbra zimbra   23 Dec 23 16:35 java -> /opt/zimbra/jdk1.6.0_02
    drwxr-xr-x   3 zimbra zimbra 4.0K Aug 30 18:12 jdk1.5.0_08
    drwxr-xr-x   7 root   root   4.0K Dec 23 16:35 jdk1.6.0_02
    lrwxrwxrwx   1 zimbra zimbra   23 Dec 23 16:35 jetty -> /opt/zimbra/jetty-6.1.5
    drwxr-xr-x  11 root   root   4.0K Dec 23 16:35 jetty-6.1.5
    drwxr-xr-x   5 root   root   4.0K Dec 23 16:35 lib
    drwxr-xr-x   4 root   root   4.0K Dec 23 16:35 libexec
    drwxr-xr-x   2 zimbra zimbra  12K Dec 23 16:50 log
    drwxr-xr-x   4 zimbra zimbra 4.0K Dec 23 16:35 logger
    lrwxrwxrwx   1 zimbra zimbra   23 Dec 23 16:35 mailboxd -> /opt/zimbra/jetty-6.1.5
    lrwxrwxrwx   1 zimbra zimbra   27 Dec 23 16:36 memcached -> /opt/zimbra/memcached-1.2.2
    drwxr-xr-x   7 zimbra zimbra 4.0K Dec 23 16:36 memcached-1.2.2
    lrwxrwxrwx   1 zimbra zimbra   59 Dec 23 16:35 mysql -> /opt/zimbra/mysql-standard-5.0.45-pc-linux-gnu-i686-glibc23
    drwxr-xr-x   9 root   root   4.0K Dec 23 16:35 mysql-standard-5.0.45-pc-linux-gnu-i686-glibc23
    drwxr-xr-x  10 root   root   4.0K Dec 23 16:35 net-snmp-5.4.1
    lrwxrwxrwx   1 zimbra zimbra   31 Dec 23 16:36 nginx -> /opt/zimbra/nginx-0.5.30-zimbra
    drwxr-xr-x   6 zimbra zimbra 4.0K Dec 23 16:36 nginx-0.5.30-zimbra
    lrwxrwxrwx   1 zimbra zimbra   30 Dec 23 16:35 openldap -> /opt/zimbra/openldap-2.3.39.6z
    drwxr-xr-x  10 root   root   4.0K Dec 23 16:35 openldap-2.3.39.6z
    lrwxrwxrwx   1 zimbra zimbra   36 Dec 23 16:35 openldap-clibs -> /opt/zimbra/openldap-clibs-2.3.39.6z
    drwxr-xr-x   3 root   root   4.0K Dec 23 16:35 openldap-clibs-2.3.39.6z
    drwxr-xr-x   4 zimbra zimbra 4.0K Dec 23 16:43 openldap-data
    drwxr-xr-x   2 root   root   4.0K Feb 18  2007 openldap-replica
    lrwxrwxrwx   1 zimbra zimbra   26 Dec 23 16:35 openssl -> /opt/zimbra/openssl-0.9.8e
    drwxr-xr-x   6 zimbra zimbra 4.0K Dec 23 16:35 openssl-0.9.8e
    drwxr-xr-x   3 root   root   4.0K Jul  2 11:05 perdition-1.17
    drwxr-xr-x   3 root   root   4.0K Oct  5 12:12 perdition-1.17.1
    lrwxrwxrwx   1 root   root     28 Dec 23 16:35 postfix -> /opt/zimbra/postfix-2.4.3.3z
    drwxr-xr-x   4 root   root   4.0K Aug 30 18:12 postfix-2.2.9
    drwxr-xr-x   4 root   root   4.0K Dec 23 16:34 postfix-2.4.3.3
    drwxr-xr-x   7 root   root   4.0K Dec 23 16:35 postfix-2.4.3.3z
    drwxr-xr-x   3 zimbra zimbra 4.0K Dec 23 16:48 redolog
    lrwxrwxrwx   1 zimbra zimbra   30 Dec 23 16:35 sleepycat -> /opt/zimbra/sleepycat-4.2.52.6
    drwxr-xr-x   6 root   root   4.0K Dec 23 16:35 sleepycat-4.2.52.6
    lrwxrwxrwx   1 zimbra zimbra   26 Dec 23 16:35 snmp -> /opt/zimbra/net-snmp-5.4.1
    drwxr-xr-x   4 zimbra zimbra 4.0K Dec 23 16:44 ssl
    drwxr-xr-x   4 zimbra zimbra 4.0K Feb 18  2007 store
    lrwxrwxrwx   1 zimbra zimbra   25 Dec 22 19:01 tcmalloc -> /opt/zimbra/tcmalloc-0.93
    drwxr-xr-x   7 zimbra zimbra 4.0K Dec 23 16:35 tcmalloc-0.93
    lrwxrwxrwx   1 zimbra zimbra   32 Dec 23 16:35 tomcat -> /opt/zimbra/apache-tomcat-5.5.15
    drwxr-xr-x   3 zimbra zimbra 4.0K Dec 23 16:35 wiki
    drwxr-xr-x   6 root   root   4.0K Dec 23 16:35 zimbramon
    drwxr-xr-x   2 zimbra zimbra 4.0K Dec 23 16:35 zimlets
    drwxr-xr-x   2 zimbra zimbra 4.0K Dec 23 16:35 zimlets-admin-extra
    drwxr-xr-x   2 zimbra zimbra 4.0K Dec 23 16:35 zimlets-extra
    drwxr-xr-x 118 zimbra zimbra 4.0K Dec 23 00:00 zmstat
    Regards,
    Tobias

  2. #2
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

Similar Threads

  1. [SOLVED] junk mail cleanup
    By jonix in forum Administrators
    Replies: 24
    Last Post: 06-16-2008, 11:49 AM
  2. Zimbra Server Cleanup
    By soxfan in forum Administrators
    Replies: 2
    Last Post: 10-18-2007, 07:39 PM
  3. Planning for Simultaneous OS and Zimbra Upgrades
    By LMStone in forum Administrators
    Replies: 3
    Last Post: 08-24-2007, 05:48 AM
  4. SPAM Cleanup
    By swu in forum Administrators
    Replies: 6
    Last Post: 07-18-2007, 11:24 AM
  5. System-Load with M4
    By billybofh in forum Administrators
    Replies: 7
    Last Post: 02-15-2006, 02:11 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
  •