2012-09-06 5 views
0

OSX 10.7.4에서 VMWare Fusion 5.0.1에서 MCF를 실행 중입니다. 나는 MCF에 MySQL의 서비스를 만들려고하면 VMC 버전 0.3.19MCF : mysql 서비스를 준비 할 수 없습니다.

입니다, 내가 VMC에 얻을 :

MCF를 인스턴스에
maguro:Desktop darrellberry$ vmc create-service 
1: redis 
2: mongodb 
3: postgresql 
4: mysql 
5: rabbitmq 
Which service would you like to provision?: 4 
Creating Service [mysql-eaca7]: 
Error 503: Unexpected response from service gateway 

인/var/VCAP/SYS/로그/mysql_gateway/mysql_gateway.log 쇼 :

[2012-09-06 09:14:56] mysql_gateway - 3249 c74f 72e9 INFO -- Sending info to cloud controller: http://api.xx.cloudfoundry.me/services/v1/offerings 
[2012-09-06 09:14:56] mysql_gateway - 3249 c74f 72e9 INFO -- Successfully registered with cloud controller 
[2012-09-06 09:15:55] mysql_gateway - 3249 c74f 72e9 DEBUG -- Provision request for label=mysql-5.1 plan=free 
[2012-09-06 09:15:55] mysql_gateway - 3249 c74f 72e9 DEBUG -- [MyaaS-Provisioner] Attempting to provision instance (request={:label=>"mysql-5.1", :name=>"mysql-83457", :email=>"[email protected]", :plan=>"free"}) 
[2012-09-06 09:15:56] mysql_gateway - 3249 c74f 72e9 INFO -- Sending info to cloud controller: http://api.xx.cloudfoundry.me/services/v1/offerings 
[2012-09-06 09:15:56] mysql_gateway - 3249 c74f 72e9 INFO -- Successfully registered with cloud controller 
[2012-09-06 09:15:57] mysql_gateway - 3249 c74f 72e9 DEBUG -- [MyaaS-Provisioner] Found the following nodes: [] 
[2012-09-06 09:16:05] mysql_gateway - 3249 c74f 72e9 WARN -- Request timeout in 10 seconds. 

(URL과 전자 메일은 여기 난독 화 - 로그에있는 사람은 올바른 모양)이 100 % 반복이다

. 그러나 다른 유형의 서비스 (postgresql, rabbitmq 등)를 오류없이 제공 할 수 있습니다. 모든 도움을 주셨습니다.

답변

1

mysql 노드가 시작되지 않습니다 (각 서비스에는 노드와 게이트웨이가 있음). /var/vcap/sys/log/mysql/mysqld.err.log의 마지막 100 줄을 살펴보고 눈에 띄게 눈에 띄는 것이 있는지 확인하십시오.

더 나은 점은 telnet을 설치하고 VM 자체의 포트 3306에 연결하여 서비스가 실행되고 있는지 다시 확인하는 것입니다.

sudo apt-get install telnet 
telnet localhost 3306 

연결이 즉시 열리는 경우;

Trying 127.0.0.1... 
Connected to localhost. 
Escape character is '^]'. 
< 
5.1.54-rel12.5?xaZ!5%Wh?'%&,Ks%[email protected]"^] 

mysql이 실행 중입니다. mysqld도 프로세스리스트에 나타나야한다.

+0

감사합니다. 흠, 며칠 전 성공적인 시작과 같이 보인 이후 로그 파일에는 아무 것도 없습니다. localhost의 포트에서 텔넷 할 수 있으며 ps ax는 신뢰할 수있는 mysql 관련 프로세스 세트를 보여줍니다. VMWare Fusion 콘솔에서 서비스도 OK로보고됩니다. 그럼 내 원본 게시글에 기록 된 mysql 게이트웨이 시간 초과에 비추어 검토 할 것은 무엇입니까? –

+0

VM은 다운로드 할 때와 동일한 상태입니까? 그렇지 않은 경우 가장 빠른 옵션은 새 사본을 시작하는 것입니다. 그 동안 나는 MCF에 대해 좀더 경험이 많은 제 동료 중 한 사람과 상담 할 것입니다. –

+0

감사합니다. 나는 신선한 VM을 재 시도 할 것이다. 비록 내가 어제 그것을 사용하지 않았다고 확신한다. 윌 당신이 알려 드리겠습니다. –

관련 문제