Connection to the APE server is established, but getting the following
error :

Connection etablished but something went wrong. Server response is
[{"time":"1260423223","raw":"ERR","data":
{"code":"003","value":"BAD_CMD"}}]


Help ?


On Dec 10, 12:09 am, Sreelaj John <[email protected]> wrote:
> I changed the port number to 3939, now the APE server can be seen.
> Virtual host issue is still there. I changed the APE server URL on config.js
> towww.sreelaj.com:3939and it was able to connect to the server but with
> some error.
>
> Trying to solve the dns issue.
>
>
>
> On Wed, Dec 9, 2009 at 11:31 PM, Nicolas Trani <[email protected]> wrote:
> >  The page sreelaj.com:6969 should give you an ouput, but instead the page
> > load constantly. Are you sure your APE Server is running? Do you have any
> > firewall or something that can block 6969 port?
>
> > On 09/12/2009 14:19, Sreelaj John wrote:
>
> > Hi Nicolas,
>
> >  ape.sreelaj.com  is now pointing to sreelaj.com.  But no luck.
>
> >  one question. the APE server is running at 6969 , that must mean
> > sreelaj.com:6969 should give me some output, right ?
>
> > On Wed, Dec 9, 2009 at 5:46 PM, Nicolas Trani <[email protected]> wrote:
>
> >> Hi,
>
> >> it appear that ape.sreelaj.com and *.ape..sreelaj.com is not poiting to
> >> your APE Server, can you check your dns configuration?
>
> >> Regards.
>
> >> On 09/12/2009 13:11, Sreelaj John wrote:
> >> > Hi,
>
> >> > Could you help with the virtual host problem
>
> >> > on the config file, i have the following entry:
>
> >> > APE.Config.baseUrl = 'http://www.sreelaj.com/apache2-default/ape-
> >> > jsf'; //APE JSF
> >> > APE.Config.domain = 'auto';
> >> > APE.Config.server = 'ape.sreelaj.com:6969'; //APE server URL
>
> >> > and the virtual host definition is like this:
>
> >> > <VirtualHost *>
> >> >          Servername sreelaj.com
> >> >          ServerAlias ape.sreelaj.com
> >> >          ServerAlias *.ape.sreelaj.com
>
> >> >          DocumentRoot "/var/www/apache2-default/"
> >> > </VirtualHost>
>
> >> > ??
>
> >> > On Dec 9, 5:00 pm, Sreelaj John<[email protected]>  wrote:
>
> >> >> got the problem. there was no C++ compiler. Now I have built it again.
> >> >> Seems okay, with a few warnings here and there.
>
> >> >> I have this much on console now:
>
> >> >> Bind on port 6969
>
> >> >> Version : 1.00
> >> >> Build   : Dec  9 2009 06:55:45
> >> >> Author  : Weelya ([email protected])
>
> >> >> [Module] [spidermonkey] Loading module : Javascript embeded (0.01) -
> >> >> Anthony Catel
> >> >> [JS] Loading script ../scripts/framework/mootools.js
> >> >> [JS] Loading script ../scripts/framework/Http.js
> >> >> [JS] Loading script ../scripts/framework/userslist.js
> >> >> [JS] Loading script ../scripts/utils/utils.js
> >> >> [JS] Loading script ../scripts/commands/proxy.js
> >> >> [JS] Loading script ../scripts/commands/inlinepush.js
> >> >> [JS] Loading script ../scripts/examples/nickname.js
> >> >> [JS] Loading script ../scripts/examples/move.js
> >> >> [JS] Loading script ../scripts/utils/checkTool.js
>
> >> >> Does it look good ?
>
> >> >> I still have the problem with the virtual hosts.
>
> >> >> On Dec 9, 4:44 pm, Anthony Catel<[email protected]>  wrote:
>
> >> >>> I see, go to ./deps/js/src/ =>  run a ./configure and check packages
> >> are
> >> >>> missing.
>
> >> >>> Anthony
>
> >> >>> Le 09/12/09 12:35, Sreelaj John a crit :
>
> >> >>>> I am not sure if the installation was right:I got the following at
> >> the
> >> >>>> console: All the errors are from spider monkey.
>
> >> _________________________________________________________________________
>
> >> >>>> rm -f udns_dn.o udns_dntosp.o udns_parse.o udns_resolver.o
> >> udns_init.o
> >> >>>> udns_misc.o udns_XtoX.o udns_rr_a.o udns_rr_ptr.o udns_rr_mx.o
> >> >>>> udns_rr_txt.o udns_bl.o udns_rr_srv.o udns_rr_naptr.o udns_codes.o
> >> >>>> rm -f udns_dn.lo udns_dntosp.lo udns_parse.lo udns_resolver.lo
> >> >>>> udns_init.lo udns_misc.lo udns_XtoX.lo udns_rr_a.lo udns_rr_ptr.lo
> >> >>>> udns_rr_mx.lo udns_rr_txt.lo udns_bl.lo udns_rr_srv.lo
> >> >>>> udns_rr_naptr.lo udns_codes.lo
> >> >>>> rm -f dnsget.o rblcheck.o ex-rdns.o
> >> >>>> rm -f build-stamp config.log
> >> >>>> configure... udns package
> >> >>>> checking for C compiler... gcc
> >> >>>> checking whenever C compiler (gcc) is GNU CC... yes
> >> >>>> checking whenever the C compiler (gcc -Wall -W -O2 -pipe)
> >> >>>>              can produce executables... yes
> >> >>>> checking for ranlib... ranlib
> >> >>>> checking for getopt()... yes
> >> >>>> checking for inet_pton()&&    inet_ntop()... yes
> >> >>>> checking for socklen_t... yes
> >> >>>> checking for libraries needed for socket and connect... ok (none
> >> >>>> needed)
> >> >>>> checking for IPv6... yes
> >> >>>> checking for poll()... yes
> >> >>>> creating config.h... unchanged
> >> >>>> creating Makefile... ok
> >> >>>> creating config.status... ok
> >> >>>> all done.
> >> >>>> gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_dn.c
> >> >>>> gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_dntosp.c
> >> >>>> gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_parse.c
> >> >>>> gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_resolver.c
> >> >>>> gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_init.c
> >> >>>> gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_misc.c
> >> >>>> gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_XtoX.c
> >> >>>> gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_rr_a.c
> >> >>>> gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_rr_ptr.c
> >> >>>> gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_rr_mx.c
> >> >>>> gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_rr_txt.c
> >> >>>> gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_bl.c
> >> >>>> gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_rr_srv.c
> >> >>>> gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_rr_naptr.c
> >> >>>> gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_codes.c
> >> >>>> rm -f libudns.a
> >> >>>> ar rv libudns.a udns_dn.o udns_dntosp.o udns_parse.o udns_resolver.o
> >> >>>> udns_init.o udns_misc.o udns_XtoX.o udns_rr_a.o udns_rr_ptr.o
> >> >>>> udns_rr_mx.o udns_rr_txt.o udns_bl.o udns_rr_srv.o udns_rr_naptr.o
> >> >>>> udns_codes.o
> >> >>>> ar: creating libudns.a
> >> >>>> a - udns_dn.o
> >> >>>> a - udns_dntosp.o
> >> >>>> a - udns_parse.o
> >> >>>> a - udns_resolver.o
> >> >>>> a - udns_init.o
> >> >>>> a - udns_misc.o
> >> >>>> a - udns_XtoX.o
> >> >>>> a - udns_rr_a.o
> >> >>>> a - udns_rr_ptr.o
> >> >>>> a - udns_rr_mx.o
> >> >>>> a - udns_rr_txt.o
> >> >>>> a - udns_bl.o
> >> >>>> a - udns_rr_srv.o
> >> >>>> a - udns_rr_naptr.o
> >> >>>> a - udns_codes.o
> >> >>>> gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c dnsget.c
> >> >>>> dnsget.c: In function 'dbgcb':
> >> >>>> dnsget.c:404: warning: unused parameter 'unused_q'
> >> >>>> dnsget.c:404: warning: unused parameter 'unused_data'
> >> >>>> gcc -Wall -W -O2 -pipe -o dnsget dnsget.o -L. -ludns
> >> >>>> gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c rblcheck.c
> >> >>>> gcc -Wall -W -O2 -pipe -o rblcheck rblcheck.o -L. -ludns
> >> >>>> gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c ex-rdns.c
> >> >>>> gcc -Wall -W -O2 -pipe -o ex-rdns ex-rdns.o -L. -ludns
> >> >>>> loading cache ./config.cache
> >> >>>> checking host system type... x86_64-unknown-linux-gnu
> >> >>>> checking target system type... x86_64-unknown-linux-gnu
> >> >>>> checking build system type... x86_64-unknown-linux-gnu
> >> >>>> checking for mawk... no
> >> >>>> checking for gawk... gawk
> >> >>>> checking for gcc... gcc
> >> >>>> checking whether the C compiler (gcc  ) works... yes
> >> >>>> checking whether the C compiler (gcc  ) is a cross-compiler... no
> >> >>>> checking whether we are using GNU C... yes
> >> >>>> checking whether gcc accepts -g... yes
> >> >>>> checking for c++... no
> >> >>>> checking for g++... no
> >> >>>> checking for gcc... gcc
> >> >>>> checking whether the C++ compiler (gcc  ) works... no
> >> >>>> configure: error: installation or configuration problem: C++ compiler
> >> >>>> cannot create executables.
> >> >>>> gcc -D_GNU_SOURCE -Wall -O2 -minline-all-stringops -rdynamic -I
> >> ./deps/
> >> >>>> udns-0.0.9/ src/entry.c src/sock.c src/hash.c src/handle_http.c src/
> >> >>>> cmd.c src/users.c src/channel.c src/config.c src/json.c src/
> >> >>>> json_parser.c src/plugins.c src/http.c src/extend.c src/utils.c src/
> >> >>>> ticks.c src/proxy.c src/base64.c src/pipe.c src/raw.c src/events.c
> >> src/
> >> >>>> event_kqueue.c src/event_epoll.c src/transports.c src/servers.c src/
> >> >>>> dns.c src/sha1.c src/log.c src/log.h -o bin/aped -ldl -lm ./deps/
> >> >>>> udns-0.0.9/libudns.a -I ./deps/udns-0.0.9/
> >> >>>> In file included from src/../modules/plugins.h:42,
> >> >>>>                    from src/plugins.h:27,
> >> >>>>                    from src/entry.c:22:
> >> >>>> src/../modules/../src/log.h:37:7: warning: no newline at end of file
> >> >>>> In file included from src/entry.c:41:
> >> >>>> src/servers.h:29:7: warning: no newline at end of file
> >> >>>> In file included from src/entry.c:43:
> >> >>>> src/log.h:37:7: warning: no newline at end of file
> >> >>>> In file included from src/sock.c:40:
> >> >>>> src/log.h:37:7: warning: no newline at end of file
> >> >>>> In file included from src/../modules/plugins.h:42,
> >> >>>>                    from src/plugins.h:27,
> >> >>>>                    from src/users.c:35:
> >> >>>> src/../modules/../src/log.h:37:7: warning: no newline at end of file
> >> >>>> In file included from src/users.c:41:
> >> >>>> src/log.h:37:7: warning: no newline at end of file
> >> >>>> In file included from src/../modules/plugins.h:42,
> >> >>>>                    from src/plugins.h:27,
> >> >>>>                    from src/channel.c:28:
> >> >>>> src/../modules/../src/log.h:37:7: warning: no newline at end of file
> >> >>>> In file included from src/../modules/plugins.h:42,
> >> >>>>                    from src/plugins.h:27,
> >> >>>>                    from src/plugins.c:22:
> >> >>>> src/../modules/../src/log.h:37:7: warning: no newline at end of file
> >> >>>> src/http.c:425:2: warning: no newline at end of file
> >> >>>> In file included from src/utils.c:27:
> >> >>>> src/log.h:37:7: warning: no newline at end of file
> >> >>>> In file included
>
> ...
>
> read more »

-- 
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/

Reply via email to