After several failed attempts, I managed to deploy x64 zimbra 6.0.5 on OpenSuse 11.2 x64.
I write this post hoping to save someone a headache, and if again i must pass through it.
Opensuse 11.2 x64 From scratch, if I did not say something or do I skip steps, take the default values.
Installing Opensuse
1 .- When asked whether you're going to do a new installation, below is an option to use automatic configuration. Take out the click to leave it manual
2 .- When you reach the final step, before starting installation, modify the software to install. First, select the pattern of DHCP and DNS server (to install), then we search for AppArmor (details and then search) unclick all packages listed. Do the same for the outcome of the search SPAM. (We are uninstalling and apparmor spamassasin)
3 .- After the installation (but before the updates) we are in the network configuration page, enter to configure the devices and set the first DNS to 127.0.0.1 and later your network DNS.
Now we are Ready to proceed to a full update.
4 .- Now we have a full up to date suse. Proceed to add the community repositories (the basics, php, databases, mono, etc. are not needed)
And in addition we will install manually a repository (This is a repository of openSUSE 11.1 we need only to install a package, so after you finish step 5 i recommend you to disable this repository)
http://download.opensuse.org/distribution/11.1/repo/oss/
5 .- proceed to Install requirements ....
A. - Find and Install:
gmp libmysqlclient16 libstdc + +33
libstdc++33-32bit syslog-ng sysstat
perl-Bit-Vector perl-Carp-Clan perl-Convert-UUlib
perl-Data-ShowTable perl-Date-Calc perl-DBD-mysql
perl-IO-Socket-SSL perl-Net-DNS perl-Net-IP
perl-Net-SSLeay perl-YAML perl-Socket6
B. - Uninstall rsyslog syslog (uninstalling what yast advise us).
7 .- go to YaST and setup the basic aspects of our DNS server (as our domain and obviously start at boot)
8 .- Go to Yast run levels and proceed to draw from the boot and stop Postfix.
9 .- This is optional but highly recommend it. Download and install Webmin (And configure your domain). Generate 2 pointer type A (add two directions) with the name of the machine and public IP and also one with the same machine name and private ip, a pointer type MX (adding a mail server) with blank name and the field address with the name use on pointer type A.
Carefull .. Webmin is optional, but set the DNS are not!
My DNS configuration is a little more difficult than usual because of my network infrastructure. Set it to yours!
If this is properly configured. When you do nslookup the name of our machine, we get a response from the ip 127.0.0.1 with the assigned IP (public and internal). (If you do a nslookup to the domain name and get an answer, you have something that's not suppose to be at your dns settings. If zimbra get this response, the installation will be configured for @server.dominio.com)
Remember also fix your / etc / hosts (If not, zimbra will not let you install)
10 .- Download and unzip zimbra.
11 .- Edit the file zimbra get_plat_tag.sh, is in the bin folder, look for references to SUSE specifically:
grep "openSUSE" / etc / SuSE-release> / dev / null 2> & 1
if [$? = 0]; then
echo "$ (i) openSUSEUNKNOWN"
exit 0
fi
and leave it as
grep "openSUSE" / etc / SuSE-release> / dev / null 2> & 1
if [$? = 0]; then
echo "openSUSE_11.2"
exit 0
fi
12 .- proceed to reboot the machine (Just in case, especially because we change the logger)
Once restarted proceed with the installation of zimbra (sh install.sh-platform-override)
13 .- At some point zimbra install will throw an error, that does not find your DNS records. This is normal. Say Yes and change the domain name leaving only the domain (no hostname)
14 .- When asked to set configuration parameters, remember to set the admin password (option 3 and 4) and if you want chat, option 8 and 1.
15 .- Finally, we stop zimbra and proceed to modify the / etc / syslog-ng / syslog-ng.config
add a # before:
zimbra_src source (unix-stream ( "/ dev / log" keep-alive (yes) max-connections (20));); # zimbra
and modify every line with source(zimbra_src) leaving them as a source(src)
When finished, save and reboot the server.
16 .- Finally, before starting the server, we have to clean the logs (/ var / log) zimbra.log and zimbra-stats.log (For clarity also / opt / zimbra / log / zmlogswatch.out)
17 .- We start zimbra.
Most likely is that most of the statistical it's not going to work and the server status is seen as down (through the web console). Keep playing, the first statistics that are activated are the ones in server statistics / advanced statistics.
My server status began to show statistics as 5 min of starting the server. Statistics from last 48 hours were activated 2 hours later. And the rest about 24 hours later.
If say within 30 minutes no statistic is running, check server statistics / advanced statistics, see if the server Combobox has only 1 server. If you have more than 1 (eg server and server.domain.com) you have a problem.
If you see more than one server, open a console and run as zimbra user zmloggerhostmap. It shoud be Showing up 2 registers DNS records pointing to 2 different zimbra records. Proceed to remove by zmloggerhostmap-d reg_dns reg_zimbra the record that points to the zimbra name that is not correct (the right one should be server.domain.com). And then proceeds to add the same DNS record you deleted but pointing to the rigth zimbra name. (Same as above but the switch is changed from-d to -a).
I hope all this information has been helpful.
If problems continue, see the / opt / zimbra / log / zmlogswatch.out
If you check any error, it means you still have problems logger.
Good luck and remember to work with their experiences. For example if someone does not install any file or steps are not needed, leave a post for others.
Also, the psot has been translated using google and some of my time... sorry for any mistakes on the translattion.
No hay comentarios.:
Publicar un comentario