Hi Aniket,

Is MySQL listening on the IPV6 loopback interface ::1? See below for the 
connection test on a freshly installed CentOS 6.3 with MySQL. It fails on the 
V6 loopback.

Fix could be to either bind MySQL to ::1 or to remove the V6 loopback entry in 
/etc/hosts.

Hth.


[root@db01 ~]# telnet ::1 mysql
Trying ::1...
telnet: connect to address ::1: Connection refused
[root@db01 ~]# telnet 127.0.0.1 mysql
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
8
5.1.66-log?<!.c,M~vk6i1U:`Ug+:
^]
telnet> Connection closed.
[root@db01 ~]#


Regards.

--
Shanker Balan
Managing Consultant

[cid:E7CE8425-E245-4C99-B967-713DF2967392@local]

M: +91 98860 60539
shanker.ba...@shapeblue.com<mailto:shanker.ba...@shapeblue.com> | 
www.shapeblue.com<http://www.shapeblue.com> | Twitter:@shapeblue
ShapeBlue India, 22nd floor, Unit 2201, World Trade Centre, Bangalore - 560 055

On 09-Mar-2013, at 10:05 PM, Aniket Kulkarni 
<ani...@gslab.com<mailto:ani...@gslab.com>> wrote:

oh, I guess yes, it has. I'll try removing that and will try restoring 
db.properties file's IP entries as before. But why IPv6 entry in hosts file 
will cause this issue? Any guess?

----- Original Message -----
From: "David Nalley" <da...@gnsa.us<mailto:da...@gnsa.us>>
To: 
cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubator.apache.org>
Sent: Saturday, March 9, 2013 8:25:40 PM
Subject: Re: Problems starting management server

On Sat, Mar 9, 2013 at 2:55 AM, Aniket Kulkarni 
<ani...@gslab.com<mailto:ani...@gslab.com>> wrote:
I tried logging in using cloud user too and it was working from mysql prompt 
but not from cloudstack. But I figured it out. I changed db.properties and 
changed all "localhost" and "127.0.0.1" with actual management server IP. 
Management server and DB are on same node but seems somehow mysql was blocking 
connections accessed with above two and was allowing by actual IP. It is 
working fine now and I launched my first instance too! Looks cool so far.

Thanks for pointers anyways. Problem was in exactly the same area.


Does your /etc/hosts line have an IPV6 entry for localhost??
I've seen that cause that problem

--David


ShapeBlue provides a range of strategic and technical consulting and 
implementation services to help IT Service Providers and Enterprises to build a 
true IaaS compute cloud. ShapeBlue's expertise, combined with CloudStack 
technology, allows IT Service Providers and Enterprises to deliver true, 
utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd. If you are not the intended recipient of 
this email, you must neither take any action based upon its contents, nor copy 
or show it to anyone. Please contact the sender if you believe you have 
received this email in error. Shape Blue Ltd is a company incorporated in 
England & Wales.

Reply via email to