simple-console as linux background process

View: New views
4 Messages — Rating Filter:   Alert me  

simple-console as linux background process

by Bubs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I am trying to start programd with the YM listener ... no console or web interface .. and when starting with ./simple-console & it seems to work fine but the bot doesn`t responde to messages recived through the YM ... when starting programd with ./simple-console (no background) everything goes well but when I close the shell session is kills the process (as it should normally do).

Q: How can I start programd in backgrouns... as a background process?

Thank you.

Re: simple-console as linux background process

by Noel Bush :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Did you try setting use-shell to false in core.xml?

Bubs wrote:

> Hi,
>
> I am trying to start programd with the YM listener ... no console or web
> interface .. and when starting with ./simple-console & it seems to work fine
> but the bot doesn`t responde to messages recived through the YM ... when
> starting programd with ./simple-console (no background) everything goes well
> but when I close the shell session is kills the process (as it should
> normally do).
>
> Q: How can I start programd in backgrouns... as a background process?
>
> Thank you.
_______________________________________________
programd mailing list
programd@...
http://aitools.org/mailman/listinfo/programd

Re: simple-console as linux background process

by Bubs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you for your answer .. I did that ...but the problem was still emerging. I managed to get it going by starting simple console with use-shell false and no background and then using ctrl+z tu suspend the process and then bg to put it into background. And it worked. Don`t know if this is a bug or not .. but it seems that if I start simple console with ./simple-console & to imidiatly put it into background when starting, the Yahoo listener stops working... don`t know yet why this happens ... I will keep looking into this but I just wanted to share this with you because you`re more experienced in this than I am.

As a second question .. maybe I should have opened another thread for this ... is the latest aaa aiml set supposed to work "out-of-the-box" ? `cause i-m getting some error messages on some aiml files ... and caind of important aiml filese like Predicates.aiml Integer.aiml and update.aiml .. if you think necessary I can paste the error messages here.

Thank you.

Noel Bush wrote:
Did you try setting use-shell to false in core.xml?

Bubs wrote:
> Hi,
>
> I am trying to start programd with the YM listener ... no console or web
> interface .. and when starting with ./simple-console & it seems to work fine
> but the bot doesn`t responde to messages recived through the YM ... when
> starting programd with ./simple-console (no background) everything goes well
> but when I close the shell session is kills the process (as it should
> normally do).
>
> Q: How can I start programd in backgrouns... as a background process?
>
> Thank you.
_______________________________________________
programd mailing list
programd@aitools.org
http://aitools.org/mailman/listinfo/programd

Re: simple-console as linux background process

by Noel Bush :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the details about starting it as a background process.  You
*should* be able to do it with &.  The fact that there's some hiccup
with the Yahoo listener needs to be addressed.  I will enter a bug, or
it would be great if you could too.  :-)

As for the AAA set -- no, the AAA set is generally not compliant with
any particular AIML spec, nor sometimes even well-formed XML.  I try to
clean it up but the script that does the cleanup is just a big lump of
heuristics and certainly can't cover every error that gets introduced.

Noel

Bubs wrote:

> Thank you for your answer .. I did that ...but the problem was still
> emerging. I managed to get it going by starting simple console with
> use-shell false and no background and then using ctrl+z tu suspend the
> process and then bg to put it into background. And it worked. Don`t know if
> this is a bug or not .. but it seems that if I start simple console with
> ./simple-console & to imidiatly put it into background when starting, the
> Yahoo listener stops working... don`t know yet why this happens ... I will
> keep looking into this but I just wanted to share this with you because
> you`re more experienced in this than I am.
>
> As a second question .. maybe I should have opened another thread for this
> ... is the latest aaa aiml set supposed to work "out-of-the-box" ? `cause
> i-m getting some error messages on some aiml files ... and caind of
> important aiml filese like Predicates.aiml Integer.aiml and update.aiml ..
> if you think necessary I can paste the error messages here.
>
> Thank you.
>
>
> Noel Bush wrote:
>> Did you try setting use-shell to false in core.xml?
>>
>> Bubs wrote:
>>> Hi,
>>>
>>> I am trying to start programd with the YM listener ... no console or web
>>> interface .. and when starting with ./simple-console & it seems to work
>>> fine
>>> but the bot doesn`t responde to messages recived through the YM ... when
>>> starting programd with ./simple-console (no background) everything goes
>>> well
>>> but when I close the shell session is kills the process (as it should
>>> normally do).
>>>
>>> Q: How can I start programd in backgrouns... as a background process?
>>>
>>> Thank you.
>> _______________________________________________
>> programd mailing list
>> programd@...
>> http://aitools.org/mailman/listinfo/programd
>>
>>
>
_______________________________________________
programd mailing list
programd@...
http://aitools.org/mailman/listinfo/programd
LightInTheBox - Buy quality products at wholesale price