Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-02-2009, 02:42 AM
Intermediate Member
 
Posts: 16
Exclamation [SOLVED] ZCS open source installation problem ?

Hi,

I am new in Zimbra and i m installing ZCS Open Source on RHEL5 but i m not getting success.

I m getting error , error and error :-

Checking for prerequisites...
FOUND: NPTL
FOUND: sudo-1.6.9p17-3
FOUND: libidn-0.6.5-1.1
FOUND: fetchmail-6.3.6-1.1
FOUND: gmp-4.1.4-10
FOUND: compat-libstdc++-296-2.96-138
FOUND: compat-libstdc++-33-3.2.3-61
compat-libstdc++-33-3.2.3-61
FOUND: libtool-ltdl-1.5.22-6.1
libtool-ltdl-1.5.22-6.1
FOUND: /usr/lib/libstdc++.so.5
FOUND: /usr/lib/libstdc++.so.6
FOUND: /usr/lib64/libstdc++.so.5
FOUND: /usr/lib64/libstdc++.so.6
FOUND: /usr/lib64/libltdl.so.3
Checking for suggested prerequisites...
FOUND: perl-5.8.8
Prerequisite check complete.
Checking current number of databases...

Do you want to verify message store database integrity? [Y] Y
Verifying integrity of message store databases. This may take a while.
mysqld is alive
/opt/zimbra/mysql/bin/mysqlcheck: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect
No errors found
command failed

=============
and i also checked this article but not success :- http://wiki.zimbra.com/index.php?tit...ql_pas swords

So please guide me or give me step by step how to install ZCS on RHEL5.

Thank you.
Reply With Quote
  #2 (permalink)  
Old 07-02-2009, 03:21 AM
Zimbra Consultant & Moderator
 
Posts: 11,506
Default

What you appear to be doing there is an upgrade, isn't this a new install? I'd suggest you remove Zimbra completely with './install.sh -u' - that will remove the whole package including the /opt/directory.

When you've done that make sure that any firewall and SElinux on this server is disabled, if you're behind a NAT router you'll need a Split DNS set-up and a valid /etc/hosts file (you'll find the details in the Quick Start Installation Guide). Once you've made sure all those thing are correct then install Zimbra again and post any errors you see in the install log.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 07-02-2009, 05:31 AM
Intermediate Member
 
Posts: 16
Default

Hi,

Thanks Phoenix....

As per your instruction i have removed all the things and again started the ZCS installation and now we are getting these error :-

********************
Verifying integrity of message store databases. This may take a while.
Error: assertion '-r /opt/zimbra/conf/my.cnf' failed
Could not open required defaults file: /opt/zimbra/conf/my.cnf
Fatal error in defaults handling. Program aborted
No errors found
command failed
********************

after this error i run below command :-

********************************
# ./opt/zimbra/libexec/zmmyinit
* Creating required directories
* Generating mysql config /opt/zimbra/conf/my.cnf
* Creating database in /opt/zimbra/db/data
* Starting mysql server
* Failed to connect to mysql...retrying
* Failed to connect to mysql...retrying
* Loading schema /opt/zimbra/db/db.sql
* Loading version from /opt/zimbra/db/versions-init.sql
* Setting random passwd for mysql root user in zimbra localconfig
* Setting random passwd for mysql zimbra user in zimbra localconfig
* Changing mysql root user password
* Changing mysql zimbra user password
* Changed zimbra mysql user password
********************************
Now i run again ./install.sh and getting following error :-

*******************************
Checking for prerequisites...
FOUND: NPTL
FOUND: sudo-1.6.9p17-3
FOUND: libidn-0.6.5-1.1
FOUND: fetchmail-6.3.6-1.1
FOUND: gmp-4.1.4-10
FOUND: compat-libstdc++-296-2.96-138
FOUND: compat-libstdc++-33-3.2.3-61
compat-libstdc++-33-3.2.3-61
FOUND: libtool-ltdl-1.5.22-6.1
libtool-ltdl-1.5.22-6.1
FOUND: /usr/lib/libstdc++.so.5
FOUND: /usr/lib/libstdc++.so.6
FOUND: /usr/lib64/libstdc++.so.5
FOUND: /usr/lib64/libstdc++.so.6
FOUND: /usr/lib64/libltdl.so.3
Checking for suggested prerequisites...
FOUND: perl-5.8.8
Prerequisite check complete.
Checking current number of databases...

Do you want to verify message store database integrity? [Y] Y
Verifying integrity of message store databases. This may take a while.
No errors found

Do you want to verify logger database integrity? [Y] Y
Verifying integrity of logger database. This may take a while.
Starting mysqld...done.
/opt/zimbra/logger/mysql/bin/mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/opt/zimbra/logger/db/mysql.sock' (2) when trying to connect
No Logger DB errors found.
/opt/zimbra/logger/mysql/bin/mysqlcheck --defaults-file=/opt/zimbra/conf/my.logger.cnf -S /opt/zimbra/logger/db/mysql.sock --silent -u root --password= --auto-repair --databases mysql zimbra_logger command failed:

*******************************

So please guide me how to solve that problem....

Thank you...
Reply With Quote
  #4 (permalink)  
Old 07-03-2009, 12:44 AM
Intermediate Member
 
Posts: 16
Default

Hi,

I have successfully instaled ZCS on RHEL 5 now please guide me howto access zimbra admin panel and howto create accounts.

When i access throgh http://mail.domain.com:7780 it shows "It works"

Thank you.
Reply With Quote
  #5 (permalink)  
Old 07-03-2009, 12:48 AM
Moderator
 
Posts: 5,806
Default

You should go to your URL using HTTPS and port 7071. Have you read the Zimbra Admin Documentation ?
__________________
SplatNIX IT Services :: Innovation through Collaboration™


http://www.messagefortress.com
Reply With Quote
  #6 (permalink)  
Old 07-03-2009, 01:26 AM
Intermediate Member
 
Posts: 16
Default

Hi,

Thank you "UXBOD"

When i run ./install.sh it stop the process here ........

Installing skins...
hotrod
waves
sky
bones
bare
sand
zmail
beach
steel
lavender
yahoo
lemongrass
done.
Setting zimbraFeatureIMEnabled=FALSE...done.
Setting zimbraFeatureTasksEnabled=TRUE...done.
Setting zimbraFeatureBriefcasesEnabled=TRUE...done.
Setting zimbraFeatureNotebookEnabled=TRUE...done.
Setting MTA auth host...done.
Setting TimeZone Preference...done.
Creating domain mail.domain.com...done.
Creating user admin@mail.domain.com...done.
Creating postmaster alias...done.
Creating user wiki@mail.domain.com...done.
Creating user spam@mail.domain.com...done.
Creating user ham@mail.domain.com...done.
Setting spam training accounts...done.
Initializing store sql database...
Initializing Document ..................


the process 3-4 hours as it is..... no process further....

And i also checked the url as given in document https://mail.domain.com:7071/ its not working.....

Please guide me how to solve this....?

Thank you.
Reply With Quote
  #7 (permalink)  
Old 07-03-2009, 01:30 AM
Moderator
 
Posts: 5,806
Default

Reading all your posts I reckon you still have a issue with your DNS configuration, and the fact that you have run commands like ./opt/zimbra/libexec/zmmyinit means you have broken the natural installation order. So, would you please post
Code:
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain mx
dig yourdomain any
host `hostname` <- note backticks and not single quotes
Once we have checked all these for you I would recommend un-installing ZCS again and also remove /opt/zimbra/* so that everything is created again from scratch.
__________________
SplatNIX IT Services :: Innovation through Collaboration™


http://www.messagefortress.com
Reply With Quote
  #8 (permalink)  
Old 07-03-2009, 02:05 AM
Intermediate Member
 
Posts: 16
Default

Hi,

Thank you

Please check the below details :-

cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.1 mail.domain.com mail

cat /etc/resolv.conf
nameserver 192.168.1.1
nameserver 192.168.1.2


dig mail.domain.com mx

; <<>> DiG 9.3.4-P1 <<>> mail.domain.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62258
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;mail.domain.com IN MX

;; ANSWER SECTION:
mail.domain.com. 14014 IN MX mail.domain.com

;; AUTHORITY SECTION:
mail.domain.com. 3600 IN SOA ns1.domain.com.
mail.domain.com. 2009070208 7200 7200 7200 7200

dig mail.domain.com any

; <<>> DiG 9.3.4-P1 <<>> mail.domain.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43441
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 12

;; QUESTION SECTION:
;mail.domain.com. IN ANY

;; ANSWER SECTION:
mail.domain.com. 14014 IN A 192.168.1.1

;; AUTHORITY SECTION:
domain.com. 34897 IN NS ns1.domain.com.

;; ADDITIONAL SECTION:
ns1.domain.com. 8568 IN A 192.168.1.1



Please check and guide me .....

Thank a lot......

Last edited by map007 : 07-03-2009 at 02:45 AM.
Reply With Quote
  #9 (permalink)  
Old 07-03-2009, 02:07 AM
Zimbra Consultant & Moderator
 
Posts: 11,506
Default

You should only have one IP for a DNS server in your resolv.conf and your domain name in the dig command should be as follows:

Code:
dig domain.com mx

not 

dig mail.domain.com mx
You have not set up your DNS records correctly for the domain.
__________________
Regards


Bill
Reply With Quote
  #10 (permalink)  
Old 07-03-2009, 02:32 AM
Intermediate Member
 
Posts: 16
Default

Hi,

Actually i have configured this server as mail.domain.com and secondly domain.com is running on other server so thats why i have create sub domain and configure on this server.


And i tried as your said one ip in resolve.conf but no success so please guide me....

Thank a lot ....
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0