vnc-biz / vnc-zcs-crm

VNC CRM For Zimbra
1 stars 3 forks source link

Installation problem Zimbra 8 - Ubuntu 10.04 minimal #2

Open adriangibanelbtactic opened 11 years ago

adriangibanelbtactic commented 11 years ago

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 commented 11 years ago

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 commented 11 years ago

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 commented 11 years ago

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 commented 11 years ago

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: https://github.com/vnc-biz/vnc-zcs-crm/issues/2#issuecomment-11376145

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 commented 11 years ago

The requested logs were attached in a private email.

metux commented 11 years ago

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 commented 11 years ago

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 commented 11 years ago

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.

evelguy commented 11 years ago