Error Install ZeXtras Migration Tool Zimlet
Results 1 to 9 of 9

Thread: Error Install ZeXtras Migration Tool Zimlet

  1. #1
    Active Member
    Join Date
    Jan 2014
    Posts
    12

    Error Install ZeXtras Migration Tool Zimlet

    Good morning,


    I'm having trouble installing ZeXtras Migration Tool Zimlet, I get the error below post:


    I'm using Release 6.0.16_GA_2998.RHEL5_64_20120404131711 RHEL5_64 FOSS edition.


    RedHat Linux version 2.6.18-348.16.1.el5 (mockbuild@x86-012.build.bos.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54))

    Beginning ZeXtras Migration Tool Zimlet installation procedure ...


    The ZeXtras Migration Tool Zimlet will now be installed. Proceed? [Y] Y


    Checking whether the Core is already installed ...


    ZeXtras Migration Tool Core detected.


    Deploying zimlet ...


    [] INFO: Deploying on lnxmail.tce.mt.gov.br
    [] INFO: Deploy initiated. Check the server's mailbox.log for the status.


    Zimlet installation failed. Exiting.
    .......
    The Zimlet installation has failed. That might be due to an incomplete startup
    of the Zimbra webapp. Please verify Zimbra is up and running, then retry
    the deployment of the zimlet with ./install.sh zimlet .
    .......




    [root@lnxmail log]# tail -f mailbox.log


    2014-01-28 07:25:35,057 INFO [btpool0-73://localhost:7071/service/admin/soap/AuthRequest] [ip=127.0.0.1;] soap - AuthRequest
    2014-01-28 07:25:35,153 INFO [btpool0-73://localhost:7071/service/admin/soap/GetAllServersRequest] [name=zimbra;ip=127.0.0.1;] soap - GetAllServersRequest
    2014-01-28 07:25:35,700 INFO [btpool0-73://lnxmail.tce.mt.gov.br:7071/service/admin/soap/AuthRequest] [ip=172.16.1.99;] soap - AuthRequest
    2014-01-28 07:25:35,777 INFO [btpool0-73://lnxmail.tce.mt.gov.br:7071/service/upload?fmt=raw] [ip=172.16.1.99;ua=Jakarta Commons-HttpClient/3.0;] mailbox - FileUploadServlet received Upload: { accountId=e0fafd89-1360-11d9-8661-000a95d98ef2, time=Tue Jan 28 07:25:35 AMST 2014, uploadId=bc302d80-33cf-4f30-9952-4b802898d54b:7bb8518b-3ebb-4f92-bb86-65e3b7a7d56a, com_zextras_zxmig.zip}
    2014-01-28 07:25:35,783 INFO [btpool0-73://lnxmail.tce.mt.gov.br:7071/service/admin/soap/DeployZimletRequest] [name=zimbra;ip=172.16.1.99;] soap - DeployZimletRequest
    2014-01-28 07:25:35,836 WARN [Thread-4768] [] zimlet - Zimlet not found: /opt/zimbra/zimlets-deployed/com_zextras_zxmig
    2014-01-28 07:25:35,837 INFO [Thread-4768] [] zimlet - Deploying Zimlet com_zextras_zxmig in LDAP.
    2014-01-28 07:25:35,894 INFO [Thread-4768] [] zimlet - Installing Zimlet com_zextras_zxmig on this host.
    2014-01-28 07:25:35,894 INFO [Thread-4768] [] zimlet - deploy
    java.io.IOException: No such file or directory
    at java.io.UnixFileSystem.createFileExclusively(Nativ e Method)
    at java.io.File.createNewFile(File.java:883)
    at com.zimbra.cs.zimlet.ZimletUtil.writeFile(ZimletUt il.java:706)
    at com.zimbra.cs.zimlet.ZimletUtil.installZimlet(Ziml etUtil.java:657)
    at com.zimbra.cs.zimlet.ZimletUtil.deployZimlet(Zimle tUtil.java:588)
    at com.zimbra.cs.zimlet.ZimletUtil.deployZimlet(Zimle tUtil.java:521)
    at com.zimbra.cs.service.admin.DeployZimlet$DeployThr ead.run(DeployZimlet.java:99)
    at java.lang.Thread.run(Thread.java:662)

  2. #2
    ZeXtras Community Manager ZeXtras Employee Cine's Avatar
    Join Date
    Apr 2011
    Posts
    2,363
    Hello efcunha,
    welcome to the forums!

    It looks like Zimbra is unable to correctly deploy the ZxMig Administration Zimlet, could you please try the following and report the results along with any eventual error?

    - Manually deploy a zimlet other than the com_zextras_zxmig.zip using the `zmzimletctl` Zimbra CLI command.
    - Manually deploy the ZxMig Zimlet using the `zmzimletctl` Zimbra CLI command. You can find the file in the "packages/common/" directory within the ZeXtras Migration Tool package: copy it into /tmp/ and make sure the 'zimbra' user has r/w permissions on the file before deploying.


    Have a nice day,
    Cine
    the ZeXtras Team

  3. #3
    Active Member
    Join Date
    Jan 2014
    Posts
    12
    hello good day

    - Manually deploy a zimlet other than the com_zextras_zxmig.zip using the `zmzimletctl` Zimbra CLI command.
    - Manually deploy the ZxMig Zimlet using the `zmzimletctl` Zimbra CLI command. You can find the file in the "packages/common/" directory within the ZeXtras Migration Tool package: copy it into /tmp/ and make sure the 'zimbra' user has r/w permissions on the file before deploying.


    [zimbra@lnxmail tmp]$ ll
    total 2572

    -rwxrwxrwx 1 zimbra zimbra 161534 Jan 29 07:29 com_zextras_zxmig.zip

    [zimbra@lnxmail tmp]$ /opt/zimbra/bin/zmzimletctl deploy com_zextras_zxmig.zip
    [] INFO: Deploying on lnxmail.tce.mt.gov.br
    [] INFO: Deploy initiated. Check the server's mailbox.log for the status.
    [zimbra@lnxmail tmp]$

    Error:

    2014-01-29 07:50:48,264 INFO [btpool0-1134://lnxmail.tce.mt.gov.br:7071/service/admin/soap/AuthRequest] [ip=172.16.1.99;] soap - AuthRequest
    2014-01-29 07:50:48,433 INFO [btpool0-1134://lnxmail.tce.mt.gov.br:7071/service/upload?fmt=raw] [ip=172.16.1.99;ua=Jakarta Commons-HttpClient/3.0;] mailbox - FileUploadServlet received Upload: { accountId=e0fafd89-1360-11d9-8661-000a95d98ef2, time=Wed Jan 29 07:50:48 AMST 2014, uploadId=bc302d80-33cf-4f30-9952-4b802898d54b:fcc77b1b-bd52-499c-85b4-70895d3b1165, com_zextras_zxmig.zip}
    2014-01-29 07:50:48,438 INFO [btpool0-1134://lnxmail.tce.mt.gov.br:7071/service/admin/soap/DeployZimletRequest] [name=zimbra;ip=172.16.1.99;] soap - DeployZimletRequest
    2014-01-29 07:50:48,488 WARN [Thread-38497] [] zimlet - Zimlet not found: /opt/zimbra/zimlets-deployed/com_zextras_zxmig
    2014-01-29 07:50:48,488 INFO [Thread-38497] [] zimlet - Deploying Zimlet com_zextras_zxmig in LDAP.
    2014-01-29 07:50:48,552 INFO [Thread-38497] [] zimlet - Installing Zimlet com_zextras_zxmig on this host.
    2014-01-29 07:50:48,552 INFO [Thread-38497] [] zimlet - deploy
    java.io.IOException: No such file or directory
    at java.io.UnixFileSystem.createFileExclusively(Nativ e Method)
    at java.io.File.createNewFile(File.java:883)
    at com.zimbra.cs.zimlet.ZimletUtil.writeFile(ZimletUt il.java:706)
    at com.zimbra.cs.zimlet.ZimletUtil.installZimlet(Ziml etUtil.java:657)
    at com.zimbra.cs.zimlet.ZimletUtil.deployZimlet(Zimle tUtil.java:588)
    at com.zimbra.cs.zimlet.ZimletUtil.deployZimlet(Zimle tUtil.java:521)
    at com.zimbra.cs.service.admin.DeployZimlet$DeployThr ead.run(DeployZimlet.java:99)
    at java.lang.Thread.run(Thread.java:662)
    2014-01-29 07:50:50,371 INFO [btpool0-1134://lnxmail.tce.mt.gov.br/service/soap/SearchRequest] [name=natalina@uniselva.tce.mt.gov.br;mid=77;ip=10. 69.25.19;ua=ZimbraWebClient - SAF3 (Win)/6.0.16_GA_2998;] soap - SearchRequest


    [zimbra@lnxmail tmp]$ zmzimletctl listZimlets
    Installed Zimlet files on this host:
    com_zimbra_adminversioncheck
    com_zimbra_blog
    com_zimbra_bulkprovision
    com_zimbra_cert_manager
    com_zimbra_date
    com_zimbra_dnd
    com_zimbra_edu
    com_zimbra_email
    com_zimbra_local
    com_zimbra_phone
    com_zimbra_url
    com_zimbra_videos
    com_zimbra_wikipedia
    com_zimbra_ymemoticons
    net_inova_correios
    Installed Zimlets in LDAP:
    com_zimbra_blog (disabled)
    com_zimbra_date
    com_zimbra_dnd
    com_zimbra_edu (disabled)
    com_zimbra_email
    com_zimbra_local (disabled)
    com_zimbra_phone
    com_zimbra_url
    com_zimbra_videos (disabled)
    com_zimbra_wikipedia (disabled)
    com_zimbra_ymemoticons (disabled)
    net_inova_correios
    Available Zimlets in COS:
    default:
    com_zimbra_blog
    com_zimbra_date
    com_zimbra_dnd
    com_zimbra_edu
    com_zimbra_email
    com_zimbra_local
    com_zimbra_phone
    com_zimbra_url
    com_zimbra_videos
    com_zimbra_wikipedia
    com_zimbra_ymemoticons
    net_inova_correios

  4. #4
    ZeXtras Community Manager ZeXtras Employee Cine's Avatar
    Join Date
    Apr 2011
    Posts
    2,363
    Hello efcunha!

    Quote Originally Posted by efcunha View Post
    - Manually deploy a zimlet other than the com_zextras_zxmig.zip using the `zmzimletctl` Zimbra CLI command.
    Did you try this? If so, what was the result?

    Quote Originally Posted by efcunha View Post
    2014-01-29 07:50:48,264 INFO [btpool0-1134://lnxmail.tce.mt.gov.br:7071/service/admin/soap/AuthRequest] [ip=172.16.1.99;] soap - AuthRequest
    2014-01-29 07:50:48,433 INFO [btpool0-1134://lnxmail.tce.mt.gov.br:7071/service/upload?fmt=raw] [ip=172.16.1.99;ua=Jakarta Commons-HttpClient/3.0;] mailbox - FileUploadServlet received Upload: { accountId=e0fafd89-1360-11d9-8661-000a95d98ef2, time=Wed Jan 29 07:50:48 AMST 2014, uploadId=bc302d80-33cf-4f30-9952-4b802898d54b:fcc77b1b-bd52-499c-85b4-70895d3b1165, com_zextras_zxmig.zip}
    2014-01-29 07:50:48,438 INFO [btpool0-1134://lnxmail.tce.mt.gov.br:7071/service/admin/soap/DeployZimletRequest] [name=zimbra;ip=172.16.1.99;] soap - DeployZimletRequest
    2014-01-29 07:50:48,488 WARN [Thread-38497] [] zimlet - Zimlet not found: /opt/zimbra/zimlets-deployed/com_zextras_zxmig
    2014-01-29 07:50:48,488 INFO [Thread-38497] [] zimlet - Deploying Zimlet com_zextras_zxmig in LDAP.
    2014-01-29 07:50:48,552 INFO [Thread-38497] [] zimlet - Installing Zimlet com_zextras_zxmig on this host.
    2014-01-29 07:50:48,552 INFO [Thread-38497] [] zimlet - deploy
    java.io.IOException: No such file or directory
    at java.io.UnixFileSystem.createFileExclusively(Nativ e Method)
    at java.io.File.createNewFile(File.java:883)
    at com.zimbra.cs.zimlet.ZimletUtil.writeFile(ZimletUt il.java:706)
    at com.zimbra.cs.zimlet.ZimletUtil.installZimlet(Ziml etUtil.java:657)
    at com.zimbra.cs.zimlet.ZimletUtil.deployZimlet(Zimle tUtil.java:588)
    at com.zimbra.cs.zimlet.ZimletUtil.deployZimlet(Zimle tUtil.java:521)
    at com.zimbra.cs.service.admin.DeployZimlet$DeployThr ead.run(DeployZimlet.java:99)
    at java.lang.Thread.run(Thread.java:662)
    2014-01-29 07:50:50,371 INFO [btpool0-1134://lnxmail.tce.mt.gov.br/service/soap/SearchRequest]
    This might be caused by a permission issue, what's the output of
    Code:
    ls -lah /opt/zimbra/zimlets-deployed/
    ?

    Have a nice day,
    Cine

  5. #5
    Active Member
    Join Date
    Jan 2014
    Posts
    12
    [root@lnxmail ~]# ls -lah /opt/zimbra/zimlets-deployed/
    total 68K
    dr-xr-xr-x 17 zimbra zimbra 4,0K Jan 24 18:39 .
    drwxr-xr-x 49 root root 4,0K Jan 24 22:00 ..
    drwxr-x--- 2 zimbra zimbra 4,0K Jun 23 2012 com_zimbra_adminversioncheck
    drwxr-x--- 2 zimbra zimbra 4,0K Jun 23 2012 com_zimbra_blog
    drwxr-x--- 2 zimbra zimbra 4,0K Jun 23 2012 com_zimbra_bulkprovision
    drwxr-x--- 2 zimbra zimbra 4,0K Jun 23 2012 com_zimbra_cert_manager
    drwxr-x--- 2 zimbra zimbra 4,0K Jun 23 2012 com_zimbra_date
    drwxr-x--- 2 zimbra zimbra 4,0K Jun 23 2012 com_zimbra_dnd
    drwxr-x--- 2 zimbra zimbra 4,0K Jun 23 2012 com_zimbra_edu
    drwxr-x--- 2 zimbra zimbra 4,0K Jun 23 2012 com_zimbra_email
    drwxr-x--- 2 zimbra zimbra 4,0K Jun 23 2012 com_zimbra_local
    drwxr-x--- 4 zimbra zimbra 4,0K Jun 23 2012 com_zimbra_phone
    drwxr-x--- 2 zimbra zimbra 4,0K Jun 23 2012 com_zimbra_url
    drwxr-x--- 2 zimbra zimbra 4,0K Jun 23 2012 com_zimbra_videos
    drwxr-x--- 2 zimbra zimbra 4,0K Jun 23 2012 com_zimbra_wikipedia
    drwxr-x--- 3 zimbra zimbra 4,0K Jun 23 2012 com_zimbra_ymemoticons
    drwxr-x--- 2 zimbra zimbra 4,0K Abr 29 2010 net_inova_correios

  6. #6
    ZeXtras Community Manager ZeXtras Employee Cine's Avatar
    Join Date
    Apr 2011
    Posts
    2,363
    Hello efcunha!

    This is a permission issue indeed:
    Quote Originally Posted by efcunha View Post
    [root@lnxmail ~]# ls -lah /opt/zimbra/zimlets-deployed/
    total 68K
    dr-xr-xr-x 17 zimbra zimbra 4,0K Jan 24 18:39 .
    The 'zimbra' user needs both read and write permissions on the /opt/zimbra/zimlets-deployed/ directory in order for the zimlet deployment to be successful. Running zimbra's own permission fix tool (zmfixperms) should take care of this and any other bad permission, thus solving the issue.

    Have a nice day,
    Cine
    the ZeXtras Team

  7. #7
    Active Member
    Join Date
    Jan 2014
    Posts
    12
    Thanks it worked,

    More'm with another problem, when I add the destination folder, I'm using NFS between any two linux because I'm not available on my server for backup space.

    * I get this message:

    The specified path is not empth;

    [root@lnxmail opt]# ll
    total 36
    drwxr-xr-x 4 root root 4096 Out 23 2012 CA
    drwxr-xr-x 3 root root 4096 Out 23 2012 Full_Backup
    drwxr-xr-x 3 zimbra zimbra 4096 Out 21 2012 Full_Mailbox
    drwx------ 2 root root 16384 Abr 29 2010 lost+found
    drwxrwxrwx 2 root root 4096 Jan 30 10:45 NFSBackup
    drwxr-xr-x 49 root root 4096 Jan 24 22:00 zimbra

    [root@lnxmail opt]# df -ha
    Sist. Arq. Tam Usad Disp Uso% Montado em
    /dev/sda3 262G 20G 229G 8% /
    proc 0 0 0 - /proc
    sysfs 0 0 0 - /sys
    devpts 0 0 0 - /dev/pts
    /dev/sda1 494M 29M 440M 7% /boot
    /dev/sdb1 823G 670G 112G 86% /opt
    tmpfs 9,8G 0 9,8G 0% /dev/shm
    none 0 0 0 - /proc/sys/fs/binfmt_misc
    sunrpc 0 0 0 - /var/lib/nfs/rpc_pipefs
    172.16.1.9:/opt/NFSBackup
    1,8T 87G 1,7T 6% /opt/NFSBackup

    [root@lnxmail opt]# cat /etc/fstab
    LABEL=/ / ext3 defaults 1 1
    LABEL=/boot /boot ext3 defaults 1 2
    /dev/sdb1 /opt ext3 defaults 0 0
    172.16.1.9:/opt/NFSBackup /opt/NFSBackup nfs auto,noatime,nolock,bg,nfsvers=3,intr,tcp,actimeo= 1800 0 0
    tmpfs /dev/shm tmpfs defaults 0 0
    devpts /dev/pts devpts gid=5,mode=620 0 0
    sysfs /sys sysfs defaults 0 0
    proc /proc proc defaults 0 0
    LABEL=SWAP-sda2 swap swap defaults 0 0

  8. #8
    Active Member
    Join Date
    Jan 2014
    Posts
    12
    Unable to find out why not find the name of the destination folder had the same name as the source folder /opt/NFSBackup, changed the destination folder to /opt/NFSBackup/export and then he could see

  9. #9
    ZeXtras Community Manager ZeXtras Employee Cine's Avatar
    Join Date
    Apr 2011
    Posts
    2,363
    Quote Originally Posted by efcunha View Post
    Thanks it worked,

    More'm with another problem, when I add the destination folder, I'm using NFS between any two linux because I'm not available on my server for backup space.

    * I get this message:

    The specified path is not empth;
    Quote Originally Posted by efcunha View Post
    Unable to find out why not find the name of the destination folder had the same name as the source folder /opt/NFSBackup, changed the destination folder to /opt/NFSBackup/export and then he could see
    Hello efcunha!
    As stated by the error you reported, the destination folder must be empty... Using the same directory as both source and destination is not allowed.

    Have a nice day,
    Cine
    the ZeXtras Team
    Last edited by Cine; 01-30-2014 at 02:35 PM. Reason: left my grammar in my other pants

Bookmarks

Posting Permissions

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