you can check if ape is running with :
netstat -lntp (seartch for port6969)
and you can kill it with
killall aped
so no ERREUR: bind(6969) comes.
if you want to start ape in daemon mode (so it runs in the background)
you have to seartch for ape config (if installed from package it will
be in /etc/ape/ape.conf)
and change daemon from off to on.
...Server {
port = 6969
daemon = yes
...
On 15 Apr., 16:19, Youlin <[email protected]> wrote:
> Everything works fine but it just can't restart. When it is restarting
> it looks like this:
>
> sudo /etc/init.d/ape-server restart
> * Restarting Ajax push engine aped
> ERREUR: bind(6969) (non-root ?).. (src/sock.c line: 88)
> /_\ | _ \ __|
> / _ \| _/ _|
> /_/ \_\_| |___|
> AJAX Push Engine
> Bind on port 6969
> Version : 1.00
> Build : Dec 10 2009 20:27:31
> Author : Weelya ([email protected])
> [Module] [spidermonkey] Loading module : Javascript embeded (0.01) -
> Anthony Catel
> [JS] Loading script /var/ape/framework/mootools.js
> [JS] Loading script /var/ape/framework/Http.js
> [JS] Loading script /var/ape/framework/userslist.js
> [JS] Loading script /var/ape/utils/utils.js
> [JS] Loading script /var/ape/commands/proxy.js
> [JS] Loading script /var/ape/commands/inlinepush.js
> [JS] Loading script /var/ape/examples/nickname.js
> [JS] Loading script /var/ape/examples/move.js
> [JS] Loading script /var/ape/utils/checkTool.js
>
> so it stops here forever.
>
> On Apr 15, 6:32 am, "Piotr Szyde³ko" <[email protected]> wrote:
>
> > Wow. Is your APEd super resilient to TERM signal? :)
> > Or maybe you're not so familiar with concept of daemon, process ID and
> > so on? I'm asking to clarify if you need some help with restarting aped.
>
> > Dnia 2011-04-14, czw o godzinie 20:46 -0700, Youlin pisze:
>
> > > I was like never being able to restart APE.
> > > Every time I want to restart, I restart ubuntu.
>
> > > On Apr 14, 6:55 pm, Anthony Catel <[email protected]> wrote:
> > > > It's totally normal.
> > > > All scripts are compiled when the APE is starting up.
>
> > > > Moreover, how this can be possible? Scripts are not called everytime
> > > > there is a request. I mean, the context never changes.
>
> > > > Le 15/04/2011 00:51, eugenioko a crit :
>
> > > > > Goodmorning to all members of the Ape Project,
>
> > > > > I have a simple question: it's normal that for every change I made
> > > > > on
> > > > > the javascript files on the server side (for example nickname.js) I
> > > > > need to restart the Ape Server?
>
>
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/