<br><div class="gmail_quote">On Fri, May 20, 2011 at 1:37 PM, Ivan Uemlianin <span dir="ltr"><<a href="mailto:ivan@llaisdy.com">ivan@llaisdy.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Dear All<br>
<br>
This is my own fault.<br>
<br>
I recently restarted my remote app, connected to the node in a shell, started rb and called rb:show(), expecting a list of a hundred or so reports since starting the app.  I realised too late that rb would show me all the logs in the ten rotating log files.<br>

<br>
I can't remember what I did next.  It included killing the job and quitting the shell.<br>
<br>
When I came back, rb wouldn't start:<br>
<br>
    1> {ok,Pid} = rb:start().<br>
    ** exception error: no match of right hand side value {error,already_present}<br></blockquote><div><br>At this point your shelll crashed, taking the already started rb with it.<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<br>
But it wouldn't stop either:<br>
<br>
    2> rb:stop().<br>
    ** exception exit: {noproc,{gen_server,call,[rb_server,stop,infinity]}}<br>
         in function  gen_server:call/3<br>
         in call from rb:stop/0<br></blockquote><div><br>Thus attempting to stop it gives you this error.<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<br>
It wouldn't show me the reports:<br>
<br>
    > rb:show(1).<br>
    ** exception exit: {noproc,{gen_server,call,<br>
<br>
[rb_server,{show_number,1},infinity]}}<br>
         in function  gen_server:call/3<br>
<br></blockquote><div><br>You should be able to simply rb:start() it again now.<br><br>Robby<br> <br></div></div>