cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shanker Balan <>
Subject Re: Problems starting management server
Date Mon, 11 Mar 2013 03:12:06 GMT
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.


[root@db01 ~]# telnet ::1 mysql
Trying ::1...
telnet: connect to address ::1: Connection refused
[root@db01 ~]# telnet mysql
Connected to
Escape character is '^]'.
telnet> Connection closed.
[root@db01 ~]#


Shanker Balan
Managing Consultant


M: +91 98860 60539<> |<>
| Twitter:@shapeblue
ShapeBlue India, 22nd floor, Unit 2201, World Trade Centre, Bangalore - 560 055

On 09-Mar-2013, at 10:05 PM, Aniket Kulkarni <<>>

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

----- Original Message -----
From: "David Nalley" <<>>
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 <<>>
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 and changed all "localhost" and
"" 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


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.

  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message