I found that I had 'search example.com' in my resolv.conf. The tacked on example.com to localhost when I ran 'host localhost' making it try to resolve localhost.example.com. Once I removed the search line, everything worked great again.
I found that I had 'search example.com' in my resolv.conf. The tacked on example.com to localhost when I ran 'host localhost' making it try to resolve localhost.example.com. Once I removed the search line, everything worked great again.
I'm triing to reinstall Zimbra. First installation was inseccessful - I'в forgot to set corrent hostname, so all worked except accepting mail.Originally Posted by marcmac
I'd reinstalled it totally but met this problem. Tried to use such approaches but no result.
Is it possible to totally remove Zimbra from the system and install it again as on clean machine?
Thank you.
Yes, you can remove Zimbra just run the install again with the uninstall option - './install.sh -u' (no quotes, obviously). That will remove everything including any mail you may have in the store.
Regards
Bill
Thank you for help!Originally Posted by phoenix
I tried this, but unseccussful
It's like Zimbra had wrote itself to the system. So my afforts to reinstall it didn't give result. I saw the same error.
I should have made clear that you should stop Zimbra using zmcontrol stop (while logged in as the zimbra user). Also make sure that no Zimbra tasks are running, kill all of them if there's any there and the uninstall/reinstall should work OK.
Regards
Bill
*** Running as zimbra user: /opt/zimbra/bin/zmcontrol start
*** Running as zimbra user: /opt/zimbra/bin/zmsshkeygen
*** Running as zimbra user: /opt/zimbra/bin/zmupdateauthkeys
to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2)
* Loading version from /opt/zimbra/db/versions-init.sql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2)
* Setting random password for mysql root user in zimbra local config
* Setting random password for mysql zimbra user in zimbra local config
* Changing mysql root user password
^G/opt/zimbra/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/opt/zimbra/db/mysql.sock' exists!
* Changing mysql zimbra user password
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2)
**** PASSWORD CHANGE FAILED
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException isis.zimbra.orolix.local:389)
* Creating required directories
* Creating database in /opt/zimbra/logger/db/data
* Starting logger_mysql server
* Loading schema /opt/zimbra/db/loggerdb.sql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/logger/db/mysql.sock'
(2)
:
Here is some messages form zmsetup.log file.
It seems that MySQL could not connect ...
Any help ?
Is that the whole log file? I don't see the ldap initialization step, which is why you get the no such server error.
What happens when you start ldap?
su - zimbra
ldap start
search the forums for ldap troubleshooting steps.
There are currently 1 users browsing this thread. (0 members and 1 guests)