cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aniket Kulkarni <ani...@gslab.com>
Subject Re: Problems starting management server
Date Mon, 11 Mar 2013 06:49:38 GMT
Thanks Shanker. This was the problem. After removing hosts file entry for IPv6 and restoring
db.properties things are still working. 
This should be added in trial installation guide for Centos/RHEL6.2+ steps. Otherwise all
new users like me will struggle each time to get the setup up and running. 

----- Original Message -----
From: "Shanker Balan" <shanker.balan@shapeblue.com>
To: "<cloudstack-users@incubator.apache.org>" <cloudstack-users@incubator.apache.org>
Sent: Monday, March 11, 2013 8:42:06 AM
Subject: Re: Problems starting management server

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 




M: +91 98860 60539 

shanker.balan@shapeblue.com | 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 < aniket@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" < david@gnsa.us > 
To: 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 < aniket@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.

Mime
View raw message