HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Problems installing Zimbra on Debian 3.1 (http://www.howtoforge.com/forums/showthread.php?t=11515)

sender 20th March 2007 09:56

Problems installing Zimbra on Debian 3.1
 
I followed "How To Install Zimbra Collaboration Suite (ZCS) On Ubuntu" here (thanx for providing this howto!).

Everything goes great until halfway step 3. After I answer 'yes' to 'The system will be modified. Continue?' I get this error :

Code:

Installing packages

    zimbra-core......zimbra-core_4.5.3_GA_733.DEBIAN3.1_i386.deb...FAILED
###ERROR###

zimbra-core_4.5.3_GA_733.DEBIAN3.1_i386.deb installation failed

Installation cancelled

I downloaded the most recent Debian package from the Zimbra Sourceforge page (not corrupted). The setup is a standard clean Debian Sarge install, with correct MX-record.

I don't know where to go from this error, I couln't find a solution on the Zimbra forums or here.

Did anyone succeed installing Zimbra on Debian Sarge? Any thoughts on how I can solve this?

falko 21st March 2007 15:51

What's the output of
Code:

uname -a
?
Did you try to install Zimbra as root?

What happens if you try to install zimbra-core_4.5.3_GA_733.DEBIAN3.1_i386.deb manually?
Code:

dpkg -i zimbra-core_4.5.3_GA_733.DEBIAN3.1_i386.deb

sender 21st March 2007 16:01

Thank you for your reply.

Quote:

Originally Posted by falko
What's the output of
Code:

uname -a
?

Linux h1199365.stratoserver.net 2.6.9-023stab039.1-smp #1 SMP Thu Dec 28 23:51:23 MSK 2006 i686 GNU/Linux

Quote:

Did you try to install Zimbra as root?
Yes.


Quote:

What happens if you try to install zimbra-core_4.5.3_GA_733.DEBIAN3.1_i386.deb manually?
Code:

dpkg -i zimbra-core_4.5.3_GA_733.DEBIAN3.1_i386.deb

This is the output:
Code:

h1199365:/usr/src/zcs/packages# dpkg -i zimbra-core_4.5.3_GA_733.DEBIAN3.1_i386.deb
(Reading database ... 35363 files and directories currently installed.)
Preparing to replace zimbra-core 4.5.3_GA_733.DEBIAN3.1 (using zimbra-core_4.5.3_GA_733.DEBIAN3.1_i386.deb) ...
Unpacking replacement zimbra-core ...
Setting up zimbra-core (4.5.3_GA_733.DEBIAN3.1) ...
chown: cannot access `/opt/zimbra/a*': No such file or directory
chown: cannot access `/opt/zimbra/perdition-1.17': No such file or directory
chown: cannot access `/opt/zimbra/apache-tomcat-*': No such file or directory
mkdir: cannot create directory `/opt/zimbra/ssl': File exists
mkdir: cannot create directory `/opt/zimbra/.ssh': File exists
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
dpkg: error processing zimbra-core (--install):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 zimbra-core


sender 21st March 2007 16:13

I just tried to install an earlier version of the zimbra debian install (zcs-4.5.2_GA_699.DEBIAN3.1.tgz) but this resulted in the same installation error :
Code:

zimbra-core......zimbra-core_4.5.2_GA_699.DEBIAN3.1_i386.deb...FAILED
###ERROR###

zimbra-core_4.5.2_GA_699.DEBIAN3.1_i386.deb installation failed

In reply to your uname -a question.. could zimbra not be compatible with the i686 architecture?

falko 22nd March 2007 18:51

Quote:

Originally Posted by sender
In reply to your uname -a question.. could zimbra not be compatible with the i686 architecture?

It is. I wanted to see if maybe you have a x86_64 system...

Can you delete the Zimbra directory:
Code:

rm -fr /opt/zimbra
and try the installation again from the beginning?

sender 22nd March 2007 19:12

I deleted the Zimbra directory and tried both the ./install.sh and dpkg -i zimbra-core_4.5.3_GA_733.DEBIAN3.1_i386.deb.

The first still asks if I want to upgrade (both yes and no finally end up in the same error as before). Do I need to remove more files?

The second give me this error now:
Code:

h1199365:/usr/src/zcs/packages# dpkg -i zimbra-core_4.5.2_GA_699.DEBIAN3.1_i386.deb
(Reading database ... 35362 files and directories currently installed.)
Preparing to replace zimbra-core 4.5.2_GA_699.DEBIAN3.1 (using zimbra-core_4.5.2_GA_699.DEBIAN3.1_i386.deb) ...
Unpacking replacement zimbra-core ...
Setting up zimbra-core (4.5.2_GA_699.DEBIAN3.1) ...
chown: cannot access `/opt/zimbra/a*': No such file or directory
chown: cannot access `/opt/zimbra/s[a-su-z]*': No such file or directory
chown: cannot access `/opt/zimbra/perdition-1.17': No such file or directory
chown: cannot access `/opt/zimbra/apache-tomcat-*': No such file or directory
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
dpkg: error processing zimbra-core (--install):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 zimbra-core


falko 23rd March 2007 19:11

What's the output of
Code:

df -h
?

sender 23rd March 2007 19:13

Quote:

Originally Posted by falko
What's the output of
Code:

df -h
?

Code:

Filesystem            Size  Used Avail Use% Mounted on
/dev/vzfs              10G  1.6G  8.5G  16% /
tmpfs                1011M  4.0K 1011M  1% /dev/shm

Thanx for the help.

falko 24th March 2007 15:53

Ok, no disk space problem then. But I see you don't have any swap.
What are the output of
Code:

top
and
Code:

cat /proc/meminfo
?

sender 24th March 2007 18:01

top:
Code:

top - 16:54:48 up 4 days, 22:48,  1 user,  load average: 0.00, 0.00, 0.00
Tasks:  54 total,  1 running,  53 sleeping,  0 stopped,  0 zombie
Cpu(s):  0.3% us,  0.3% sy,  0.0% ni, 99.3% id,  0.0% wa,  0.0% hi,  0.0% si
Mem:  2070132k total,  2003564k used,    66568k free,  132020k buffers
Swap:  3068392k total,    11712k used,  3056680k free,  1049100k cached

cat /proc/meminfo
Code:

h1199365:~# cat /proc/meminfo
MemTotal:      2070132 kB
MemFree:        65416 kB
Buffers:        132252 kB
Cached:        1049072 kB
SwapCached:      1944 kB
Active:        1547264 kB
Inactive:      346964 kB
HighTotal:    1178560 kB
HighFree:        17280 kB
LowTotal:      891572 kB
LowFree:        48136 kB
SwapTotal:    3068392 kB
SwapFree:      3056680 kB
Dirty:            808 kB
Writeback:          0 kB
Mapped:        814776 kB
Slab:            87728 kB
CommitLimit:  4103456 kB
Committed_AS:  2202712 kB
PageTables:      7252 kB
VmallocTotal:  106488 kB
VmallocUsed:      8856 kB
VmallocChunk:    97564 kB

It's a Strato VDS.
Can the error while installing a .deb be due to insufficient free mem? BTW: isn't there a logfile with information on the error?


All times are GMT +2. The time now is 08:22.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.