Stone not running, except that it is?

6 views
Skip to first unread message

Steven R. Baker

unread,
Jan 11, 2013, 10:21:17 AM1/11/13
to maglev-d...@googlegroups.com
This is confusing the bejesus out of me.

Please help!

-Steven


Stevens-MacBook-Air:invoicing_app srbaker$ echo $STONENAME
invoicing_test
Stevens-MacBook-Air:invoicing_app srbaker$ maglev status
MAGLEV_HOME = /Users/srbaker/Development/maglev
Status Version Owner Pid Port Started Type Name
------- --------- --------- ----- ----- ------------ ------ ----
OK 3.1.0.2 srbaker 45524 54933 Jan 10 16:37 Stone invoicing_test
OK 3.1.0.2 srbaker 45525 54925 Jan 10 16:37 cache invoicing_test~2e7f939efc5cfbd9
Stevens-MacBook-Air:invoicing_app srbaker$ maglev-rake
maglev-ruby: [Error] The MagLev server "invoicing_test" is not running.
To fix this run "rake invoicing_test:start" before running maglev-ruby.

Tim Felgentreff

unread,
Jan 11, 2013, 10:52:29 AM1/11/13
to Steven R. Baker, maglev-d...@googlegroups.com
Uh, I meant “--stone invoicing_test” ... not sure if that was clear. I use the function at https://github.com/timfel/dotfiles/blob/master/.bashrc#L242 which works for me (sets STONENAME and MAGLEV_OPTS).
 
Otherwise, can you check of there is am invoicing_test..LCK on your conf.d directory?
 
From: Steven R. Baker
Sent: 11 January 2013 16:27
To: Tim Felgentreff <timfelg...@gmail.com>
Subject: Re: [maglev-discussion] Stone not running, except that it is?
 
Nope. Same problem with --stone in MAGLEV_OPTS :(

-Steven

On 2013-01-11, at 11:26 AM, Tim Felgentreff <timfelg...@gmail.com> wrote:

Do your MAGLEV_OPTS include the --stone option?


--
You received this message because you are subscribed to the Google Groups "MagLev Discussion" group.
To post to this group, send email to maglev-d...@googlegroups.com.
To unsubscribe from this group, send email to maglev-discuss...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/maglev-discussion?hl=en.


Steven R. Baker

unread,
Jan 11, 2013, 10:55:22 AM1/11/13
to Tim Felgentreff, maglev-d...@googlegroups.com
Yep, that's what I did.

There is not a lock file. Here's some output again.

-Steven

Stevens-MacBook-Air:invoicing_app srbaker$ gemstone invoicing_test
Stevens-MacBook-Air:invoicing_app srbaker$ gemstone
--stone invoicing_test
Stevens-MacBook-Air:invoicing_app srbaker$ maglev-rake
maglev-ruby: [Error] The MagLev server "invoicing_test" is not running.
To fix this run "rake invoicing_test:start" before running maglev-ruby.
Stevens-MacBook-Air:invoicing_app srbaker$ echo $STONENAME
invoicing_test
Stevens-MacBook-Air:invoicing_app srbaker$ echo $MAGLEV_OPTS
--stone invoicing_test
Stevens-MacBook-Air:invoicing_app srbaker$ maglev status
MAGLEV_HOME = /Users/srbaker/Development/maglev
Status   Version    Owner    Pid   Port   Started     Type       Name
------- --------- --------- ----- ----- ------------ ------      ----
  OK    3.1.0.2   srbaker   45524 54933 Jan 10 16:37 Stone       invoicing_test
  OK    3.1.0.2   srbaker   45525 54925 Jan 10 16:37 cache       invoicing_test~2e7f939efc5cfbd9
Stevens-MacBook-Air:invoicing_app srbaker$ ls ~/Development/maglev/etc/conf.d/
invoicing_test.conf  maglev.conf          


On 2013-01-11, at 11:52 AM, Tim Felgentreff <timfelg...@gmail.com> wrote:

Uh, I meant “--stone invoicing_test” ... not sure if that was clear. I use the function athttps://github.com/timfel/dotfiles/blob/master/.bashrc#L242 which works for me (sets STONENAME and MAGLEV_OPTS).

Monty Williams

unread,
Jan 12, 2013, 8:03:49 PM1/12/13
to maglev-d...@googlegroups.com
Steve,

You're hitting one of those "catch-22" errors while using "maglev-rake".
If you use MRI rake instead, either "rake", "rake status" or "rake invoicing_test:status" you won't get that error and MRI rake should run
"sh "$GEMSTONE/bin/gslist -clv" correctly.

It could be some confusion over which stone for "maglev-rake" to use, or some glitch with environment variables, or something that removed the invoicing_test..LCK file in your $MAGLEV_HOME/locks directory. Hard to speculate without hands on.

-- Monty
Reply all
Reply to author
Forward
0 new messages