troubleshooting Question

I've screwed up - ZIMBRA server won't start

Avatar of Chris Kenward
Chris KenwardFlag for United Kingdom of Great Britain and Northern Ireland asked on
LinuxEmail ServersLinux Distributions
2 Comments1 Solution5911 ViewsLast Modified:
Hi Folks

Today I committed the cardinal sin. I cloned my Zimbra server with the intention of easily putting up a second box. All went well until I changed the hostname on the new machine. Somehow it's also stuffed up the hostname on the production unit. I have users screaming from all angles and a boss who is about to chop my head off.

I've tried shutting down the new box and running:
su - zimbra
/opt/zimbra/libexec/zmsetservername -n <servername>

and I've tried it with the --force argument too. However, when I try to start Zimbra I get:

Starting logger...Failed.
Starting logswatch...ERROR: account.NO_SUCH_SERVER (no such server: mx1.domain.co.uk)
zimbra logger service is not enabled! failed.

Then, I noticed that the problem is that the ZimbraLogHostname is wrong - it's the name of the new machine...

Getting global config zimbraLogHostname=mx2
Renaming mx1.domain.co.uk to mx1.domain.co.uk
Shutting down zimbra...done.

If I try to go to the server on the web, I get nothing.

Gosh - I hope there is some way to changed that ZimbraLogHostname to mx1 - if not I'm doomed!

Can you help? Any help would be appreciated.

Cheers
Chris
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros