FAQ
Could you try using a newer version of bosh.
I'm running 771 (It looks like you are running 703) and I don't have a
state.json file.
I don't know what the function of the state.json file is but I would focus
on the "Read-only file system" message.
I think thats the problem.
On Tuesday, July 9, 2013 9:35:49 AM UTC+2, Clive wrote:

Hi,Ruben:
Thanks for your reply. I ran monit restart director, but nothing
changed. So I tried to check log and found these logs
/var/vcap/packages/director/gem_home/gems/director-1.5.0.pre.703/lib/director/config.rb:87:in
`initialize': Read-only file system - /var/vcap/store/director/state.json
(Errno::EROFS)
from
/var/vcap/packages/director/gem_home/gems/director-1.5.0.pre.703/lib/director/config.rb:87:in
`open'
from
/var/vcap/packages/director/gem_home/gems/director-1.5.0.pre.703/lib/director/config.rb:87:in
`configure'
from
/var/vcap/packages/director/gem_home/gems/director-1.5.0.pre.703/bin/worker:49:in
`<top (required)>'
from /var/vcap/packages/director/bin/worker:23:in `load'
from /var/vcap/packages/director/bin/worker:23:in `<main>'

Then I cat the state.json as follow:
root@bm-db975c37-f1a7-45d5-a1ff-aa6093d14c06:/var/vcap/store/director# cat
state.json

{"uuid":"15e8b784-0c11-44b4-86fa-e55ab79099d1"}root@bm-db975c37-f1a7-45d5-a1ff-aa6093d14c06:/var/vcap/store/director#

Is content right ?

- Clive



On Tuesday, July 9, 2013 3:10:29 PM UTC+8, ruben....@innovationfactory.euwrote:
ssh vcap@{ip_of_microbosh} -i {private_key}
sudo su - (password if asked is c1oudc0w)
monit restart director

If it does not solve your problems.
tail -f /var/vcap/sys/log/*/*.log
keep the above command running and run 'bosh releases' again.
This might give you some clues on what goes wrong.
On Tuesday, July 9, 2013 9:00:53 AM UTC+2, Clive wrote:

Hi, All:
A very strange error when I ran a `bosh releases`

ubuntu@ubuntu:~$ bosh releases
Director HTTP 502


How to repair or restart microbosh? Any suggestion? I don't want to
reinstall it.

Thanks in advance.

- Clive
------------------------------

Have an innovative day

*Innovation Factory *De Lairessestraat 180* *1075 HM Amsterdam* *+31
20 7787008 www.innovationfactory.eu

*
Disclaimer*
*The information transmitted is intended only for the person or entity
to which it is addressed and may contain confidential and/or privileged
material. Any use of, or taking of any action in reliance upon, this
information by persons or entities other than the intended recipient is
prohibited. If you received this in error, please contact the sender and
delete the material from any computer. Innovation Factory does not accept
liability for any errors, viruses or omissions in the contents of this
message, which may arise as a result of e-mail transmission. No employee or
agent is authorized to conclude any binding agreement on behalf of
Innovation Factory with another party by email.*
--

------------------------------

Have an innovative day

*Innovation Factory *De Lairessestraat 180* *1075 HM Amsterdam* *+31
20 7787008 www.innovationfactory.eu

*
Disclaimer*
*The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any use of, or taking of any action in reliance upon, this
information by persons or entities other than the intended recipient is
prohibited. If you received this in error, please contact the sender and
delete the material from any computer. Innovation Factory does not accept
liability for any errors, viruses or omissions in the contents of this
message, which may arise as a result of e-mail transmission. No employee or
agent is authorized to conclude any binding agreement on behalf of
Innovation Factory with another party by email.*

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 7 | next ›
Discussion Overview
groupbosh-users @
postedJul 9, '13 at 7:00a
activeJul 9, '13 at 7:25p
posts7
users3

People

Translate

site design / logo © 2021 Grokbase