Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation problem Zimbra 8 - Ubuntu 10.04 minimal #2

Open
adriangibanelbtactic opened this issue Dec 14, 2012 · 9 comments
Open
Assignees

Comments

@adriangibanelbtactic
Copy link

  • Zimbra 8 installed.
  • zmpkg installed.
  • Running commands as zimbra user
  • zcs-crm-z8 package has been downloaded from:

http://packages.vnc.biz/zmpkg/ironmaiden-current/pool/main/zcs-crm-z8_1.1.2.0-0_All.deb
into:

/opt/zimbra/conf/deb

folder as the zimbra user.

Here there is what happens when you try to install it:

zimbra@zimbra8:~/conf/debs$ zmpkg install zcs-crm-z8_1.1.2.0-0_All.deb
dpkg: warning: overriding problem because --force enabled:
 package architecture (All) does not match system (amd64)
(Reading database ... 53 files and directories currently installed.)
Unpacking zcs-crm-z8 (from zcs-crm-z8_1.1.2.0-0_All.deb) ...
dpkg: error processing zcs-crm-z8_1.1.2.0-0_All.deb (--install):
 unable to open '/opt/zimbra/mailboxd/webapps/zimbra/WEB-INF/lib/ZimbraCRM.jar.dpkg-new': No such file or directory
Errors were encountered while processing:
 zcs-crm-z8_1.1.2.0-0_All.deb

I have tested the directory permissions and they seem to be ok. Take a look at:

zimbra@zimbra8:~/conf/debs$ touch /opt/zimbra/mailboxd/webapps/zimbra/WEB-INF/lib/probando.txt
zimbra@zimbra8:~/conf/debs$ rm /opt/zimbra/mailboxd/webapps/zimbra/WEB-INF/lib/probando.txt
rm: remove regular empty file `/opt/zimbra/mailboxd/webapps/zimbra/WEB-INF/lib/probando.txt'? y

I'm trying to debug it a bit more but I think there's a problem there.

@metux
Copy link
Contributor

metux commented Dec 14, 2012

Hi,

zimbra@zimbra8:~/conf/debs$ zmpkg install
zcs-crm-z8_1.1.2.0-0_All.deb
dpkg: warning: overriding problem because --force enabled:
package architecture (All) does not match system (amd64)
(Reading database ... 53 files and directories currently installed.)
Unpacking zcs-crm-z8 (from zcs-crm-z8_1.1.2.0-0_All.deb) ...
dpkg: error processing zcs-crm-z8_1.1.2.0-0_All.deb (--install):
unable to open
'/opt/zimbra/mailboxd/webapps/zimbra/WEB-INF/lib/ZimbraCRM.jar.dpkg-new':

hmm, that's really strange.
perhaps try to run the zmpkg call via strace -f

cu

No such file or directory
Errors were encountered while processing:
zcs-crm-z8_1.1.2.0-0_All.deb

h


I have tested the directory permissions and they seem to be ok. Take
a look at:

zimbra@zimbra8:/conf/debs$ touch
/opt/zimbra/mailboxd/webapps/zimbra/WEB-INF/lib/probando.txt
zimbra@zimbra8:
/conf/debs$ rm
/opt/zimbra/mailboxd/webapps/zimbra/WEB-INF/lib/probando.txt
rm: remove regular empty file
`/opt/zimbra/mailboxd/webapps/zimbra/WEB-INF/lib/probando.txt'? y


I'm trying to debug it a bit more but I think there's a problem
there.


---
Reply to this email directly or view it on GitHub:
https://github.com/vnc-biz/vnc-zcs-crm/issues/2

Mit freundlichen Grüßen / Kind regards

Enrico Weigelt
VNC - Virtual Network Consult GmbH
Head Of Development

Pariser Platz 4a, D-10117 Berlin
Tel.: +49 (30) 3464615-20
Fax: +49 (30) 3464615-59

enrico.weigelt@vnc.biz; www.vnc.de

@adriangibanelbtactic
Copy link
Author

After setting:

set -x
set -v

in the

/opt/zimbra/bin/zmpkg-dpkg

file.

Here's the log:

fakeroot dpkg --force-architecture --force-not-root $OPT_FORCE_ARCH --root=$ZIMBRA_ROOT --log=$ZIMBRA_ROOT/var/log/dpkg.log $FOREIGN_ARCH $COMMAND
+ fakeroot dpkg --force-architecture --force-not-root --root=/opt/zimbra --log=/opt/zimbra/var/log/dpkg.log -i zcs-crm-z8_1.1.2.0-0_All.deb
dpkg: warning: overriding problem because --force enabled:
 package architecture (All) does not match system (amd64)
(Reading database ... 53 files and directories currently installed.)
Unpacking zcs-crm-z8 (from zcs-crm-z8_1.1.2.0-0_All.deb) ...
dpkg: error processing zcs-crm-z8_1.1.2.0-0_All.deb (--install):
 unable to open '/opt/zimbra/mailboxd/webapps/zimbra/WEB-INF/lib/ZimbraCRM.jar.dpkg-new': No such file or directory
Errors were encountered while processing:
 zcs-crm-z8_1.1.2.0-0_All.deb

zmpkg-autodeploy
+ zmpkg-autodeploy

Not an expert but I think that:

--root=/opt/zimbra

makes it to be the root.

So instead of installing the file into:

/opt/zimbra/mailboxd/webapps/zimbra/WEB-INF/lib/ZimbraCRM.jar.dpkg-new

maybe it has to be installed into:

/mailboxd/webapps/zimbra/WEB-INF/lib/ZimbraCRM.jar.dpkg-new

.

@adriangibanelbtactic
Copy link
Author

I've grepped the strace -f result with:

No such file or directory

and just taken an small piece of it:

ccess("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
[pid 29566] stat("/opt/zimbra/bin/whoami", 0x7fffdcde1b10) = -1 ENOENT (No such file or directory)
[pid 29566] stat("/opt/zimbra/postfix/sbin/whoami", 0x7fffdcde1b10) = -1 ENOENT (No such file or directory)
[pid 29566] stat("/opt/zimbra/openldap/bin/whoami", 0x7fffdcde1b10) = -1 ENOENT (No such file or directory)
[pid 29566] stat("/opt/zimbra/snmp/bin/whoami", 0x7fffdcde1b10) = -1 ENOENT (No such file or directory)
[pid 29566] stat("/opt/zimbra/rsync/bin/whoami", 0x7fffdcde1b10) = -1 ENOENT (No such file or directory)
[pid 29566] stat("/opt/zimbra/bdb/bin/whoami", 0x7fffdcde1b10) = -1 ENOENT (No such file or directory)
[pid 29566] stat("/opt/zimbra/openssl/bin/whoami", 0x7fffdcde1b10) = -1 ENOENT (No such file or directory)
[pid 29566] stat("/opt/zimbra/java/bin/whoami", 0x7fffdcde1b10) = -1 ENOENT (No such file or directory)
[pid 29566] stat("/usr/sbin/whoami", 0x7fffdcde1b10) = -1 ENOENT (No such file or directory)
[pid 29566] stat("/usr/local/sbin/whoami", 0x7fffdcde1b10) = -1 ENOENT (No such file or directory)
[pid 29566] stat("/usr/local/bin/whoami", 0x7fffdcde1b10) = -1 ENOENT (No such file or directory)
[pid 29566] stat("/usr/sbin/whoami", 0x7fffdcde1b10) = -1 ENOENT (No such file or directory)
[pid 29566] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
[pid 29566] access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
[pid 29566] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)

.

If you need more data please tell me I might send it to you attached by email.
The whole log is 38 MB size (1,5 MB gzipped).
The full grepped one is: 100K (4,2K gzipped).

@metux
Copy link
Contributor

metux commented Dec 14, 2012

If you need more data please tell me I might send it to you attached
by email.
The whole log is 38 MB size (1,5 MB gzipped).
The full grepped one is: 100K (4,2K gzipped).

okay, let me have a look at the logs :)


Reply to this email directly or view it on GitHub:
#2 (comment)

Mit freundlichen Grüßen / Kind regards

Enrico Weigelt
VNC - Virtual Network Consult GmbH
Head Of Development

Pariser Platz 4a, D-10117 Berlin
Tel.: +49 (30) 3464615-20
Fax: +49 (30) 3464615-59

enrico.weigelt@vnc.biz; www.vnc.de

@adriangibanelbtactic
Copy link
Author

The requested logs were attached in a private email.

@metux
Copy link
Contributor

metux commented Dec 21, 2012

Hi,

I havent managed to reproduce the problem at our side :(
Do you have a chance to send us some VM image which is affected by the problem ?
Or perhaps have a try with Ubuntu precise ?

cu

@metux
Copy link
Contributor

metux commented Jan 25, 2013

Meanwhile, we've done a lot in zmpkg area, and also new version of zcs-crm.

Please try zmpkg-1.3.

The package name for ZCRM is no "zcs-crm" (no "-z8" anymore), so you'll need to uninstall the old one first.

@metux
Copy link
Contributor

metux commented Jan 25, 2013

Ah, you should install w/ zm-apt-get or zm-aptitute - this will handle dependencies automatically.
See apt-get and aptitude manpages for more information.

@ghost ghost assigned evelguy Jan 25, 2013
@evelguy
Copy link

evelguy commented Jan 25, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants