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 to www.sreelaj.com:3939 and 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 from src/../modules/plugins.h:42, >> >>>> from src/plugins.h:27, >> >>>> from src/raw.c:27: >> >>>> src/../modules/../src/log.h:37:7: warning: no newline at end of file >> >>>> In file included from src/servers.c:22: >> >>>> src/servers.h:29:7: warning: no newline at end of file >> >>>> src/dns.c:221:2: warning: no newline at end of file >> >>>> In file included from src/log.c:29: >> >>>> src/log.h:37:7: warning: no newline at end of file >> >>>> src/log.c: In function 'ape_log': >> >>>> src/log.c:71: warning: format '%i' expects type 'int', but argument 4 >> >>>> has type 'long unsigned int' >> >>>> src/log.c:80:2: warning: no newline at end of file >> >>>> src/log.h:37:7: warning: no newline at end of file >> >>>> gcc -D_GNU_SOURCE -Wall -O2 -shared -fPIC -rdynamic -Wl,- >> >>>> soname,libmod_spidermonkey.so -o lib/libmod_spidermonkey.so libape- >> >>>> spidermonkey.c -I../deps/js/src/dist/include/ -L../deps/js/src/ - >> >>>> ljs_static -lstdc++ >> >>>> libape-spidermonkey.c:29:19: error: jsapi.h: No such file or >> directory >> >>>> In file included from plugins.h:42, >> >>>> from libape-spidermonkey.c:32: >> >>>> ../src/log.h:37:7: warning: no newline at end of file >> >>>> libape-spidermonkey.c:49: error: expected declaration specifiers or >> >>>> '...' before 'JSObject' >> >>>> libape-spidermonkey.c:49: error: expected declaration specifiers or >> >>>> '...' before 'JSObject' >> >>>> libape-spidermonkey.c:51: error: expected ')' before '*' token >> >>>> libape-spidermonkey.c:67: error: expected '=', ',', ';', 'asm' or >> >>>> '__attribute__' before 'ape_sm_stub' >> >>>> libape-spidermonkey.c:83: error: expected specifier-qualifier-list >> >>>> before 'jsval' >> >>>> libape-spidermonkey.c:88: error: expected declaration specifiers or >> >>>> '...' before 'JSObject' >> >>>> libape-spidermonkey.c:88: error: expected declaration specifiers or >> >>>> '...' before 'JSObject' >> >>>> libape-spidermonkey.c:94: error: expected specifier-qualifier-list >> >>>> before 'JSScript' >> >>>> libape-spidermonkey.c:111: error: expected specifier-qualifier-list >> >>>> before 'JSRuntime' >> >>>> >> >> >> >>>> >> _________________________________________________________________________ >> >>>> >> >> >> >>>> On Dec 9, 3:52 pm, Anthony Catel<[email protected]> wrote: >> >>>> >> >> >> >>>>> What errors do you get at compile time? >> >>>>> >> >> >> >>>>> It seems that you forgot to create *.ape.vpscustomer.com : >> >>>>> >> >> >> >>>>> ** server can't find 0.ape.vpscustomer.com: NXDOMAIN >> >>>>> >> >> >> >>>>> Does spidermonkey is running? (should output [Module] [spidermonkey] >> >>>>> Loading module : Javascript embeded (0.01) - Anthony Catel) >> >>>>> >> >> >> >>>>> Anthony Catel >> >>>>> >> >> >> >>>>> Le >> >>>>> >> >> ... >> >> >> >> read more ยป >> >> >> > >> >> >> -- >> Nicolas Trani - Web engineer >> Weelya - Improve the web >> 32 rue du faubourg boutonnet >> 34090 Montpellier >> Tel: 04 67 169 778 - Fax: 09 57 91 99 91 >> http://www.weelya.com >> http://www.ape-project.org >> = >> Nicolas Trani - Web engineer<br/> >> Weelya - Improve the web<br/> >> 32 rue du faubourg boutonnet<br/> >> 34090 Montpellier<br/> >> Tel: 04 67 169 778 - Fax: 09 57 91 99 91<br/> >> http://www.weelya.com<br/> >> http://www.ape-project.org<br/> >> >> -- >> 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]<ape-project%[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/ >> > > > > -- > Regards As Always > Sreelaj John > -- > 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/ > > > > -- > Nicolas Trani - Web engineer > Weelya - Improve the web > 32 rue du faubourg boutonnet > 34090 Montpellier > Tel: 04 67 169 778 - Fax: 09 57 91 99 > 91http://www.weelya.comhttp://www.ape-project.org > = > Nicolas Trani - Web engineer <br/> > Weelya - Improve the web<br/> > 32 rue du faubourg boutonnet<br/> > 34090 Montpellier<br/> > Tel: 04 67 169 778 - Fax: 09 57 91 99 > 91<br/>http://www.weelya.com<br/>http://www.ape-project.org<br/> > > -- > 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]<ape-project%[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/ > -- Regards As Always Sreelaj John -- 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/
