No_Such_Server

Ask questions about your setup or get help installing ZCS server (ZD section below).
RyecoAaron
Advanced member
Advanced member
Posts: 62
Joined: Fri Sep 12, 2014 10:01 pm

No_Such_Server

Postby RyecoAaron » Wed Nov 23, 2005 11:00 am

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.


3124Eugene
Posts: 3
Joined: Fri Sep 12, 2014 10:01 pm

No_Such_Server

Postby 3124Eugene » Thu Nov 24, 2005 6:11 am

[quote user="marcmac"]New information.
Type in this command:
host localhost
If it returns anything other than 127.0.0.1, that's a problem.
After install.sh, in the menu config - ctl-c to exit, and edit /opt/zimbra/libexec/zmldapinit - add -H ldap://127.0.0.1:389 to each ldapmodify line - then re-run /opt/zimbra/libexec/zmsetup.pl
[/QUOTE]
I'm triing to reinstall Zimbra. First installation was inseccessful - I'в forgot to set corrent hostname, so all worked except accepting mail.

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.
phoenix
Ambassador
Ambassador
Posts: 26325
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

No_Such_Server

Postby phoenix » Thu Nov 24, 2005 9:39 am

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

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
3124Eugene
Posts: 3
Joined: Fri Sep 12, 2014 10:01 pm

No_Such_Server

Postby 3124Eugene » Fri Nov 25, 2005 7:43 am

[quote user="10330phoenix"]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.[/QUOTE]
Thank you for help!
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.
phoenix
Ambassador
Ambassador
Posts: 26325
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

No_Such_Server

Postby phoenix » Fri Nov 25, 2005 7:50 am

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

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
Service
Elite member
Elite member
Posts: 1023
Joined: Tue Apr 14, 2009 2:44 pm

No_Such_Server

Postby Service » Tue Dec 06, 2005 6:51 am

*** 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 ?
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

No_Such_Server

Postby marcmac » Tue Dec 06, 2005 9:45 am

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.

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 2 guests