Re: Can't start sfDaemon
fivos <[email protected]> Thu, 12 Sep 2013 15:54:05 +0300
| Newsgroups | gmane.comp.java.smartfrog.user |
|---|---|
| Message-ID | <CANCdPe+7pCrr0NN2AdMw_Y6K9R51s-YMR+7JknYjqxF=gisoXQ@mail.gmail.com> |
--===============4981942630369379472== Content-Type: multipart/alternative; boundary=047d7b2e0de7abe28504e62f3b5f --047d7b2e0de7abe28504e62f3b5f Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hey Patrick I solved my problem, I was trying to run it from /smartfrog-3.18.016/smartfrog/bin instead of /smartfrog-3.18.016/smartfrog/dist/bin .. thanks On Thu, Sep 12, 2013 at 3:46 PM, fivos <[email protected]> wrote: > well the compiled distribution works fine but I ll probably need to chang= e > some stuff in the source code and the compiled distribution doesn't help > with that > > > On Thu, Sep 12, 2013 at 3:29 PM, Goldsack, Patrick < > [email protected]> wrote: > >> Try just downloading the stable compiled distribution and go from there >> initially=85 somewhat easier that trying to compile everything! **** >> >> ** ** >> >> When that works (and it generally works out of the box unless you have >> firewall or DNS issues, and it is surprising the number of networks that >> do) you can always compare what you get with the home build to that.**** >> >> ** ** >> >> Patrick**** >> >> ** ** >> >> ** ** >> >> *From:* fivos [mailto:[email protected]] >> *Sent:* 12 September 2013 12:49 >> *To:* Goldsack, Patrick >> *Subject:* Re: [Smartfrog-users] Can't start sfDaemon**** >> >> ** ** >> >> I downloaded the source and did >> >> >cd core/smartfrog >> >ant dist**** >> >> Successful >> >> >cd core/smartfrog >> >ant all**** >> >> Successful >> >> >cd core/testharness >> >ant all**** >> >> Successful >> >> >cd core >> >ant published >> >> ivy-init: >> >> BUILD FAILED >> /home/fivosk/smartfrog-3.18.016/build.xml:561: >> /home/fivosk/smartfrog-3.18.016/hadoop-components does not exist.**** >> >> In the meantime SFHOME was set to core/smartfrog, I tried setting it to >> core but nothing changed**** >> >> ** ** >> >> On Wed, Sep 11, 2013 at 6:24 PM, Goldsack, Patrick < >> [email protected]> wrote:**** >> >> **** >> >> For sure if you haven=92t touched anything in the script files, the synt= ax >> will be OK. Those scripts are very stable and used thousands of times an= d I >> have never seen such a trace=85.**** >> >> **** >> >> You say you built SmartFrog. Did you download the source and run the >> build scripts? Or did you download the latest stable release? **** >> >> **** >> >> Have you set the SFHOME environmental variable to the root directory of >> the distribution (not that of the source tree)? If not, are you running >> from that directory?**** >> >> **** >> >> Thanks,**** >> >> **** >> >> Patrick**** >> >> **** >> >> *From:* fivos [mailto:[email protected]] >> *Sent:* 11 September 2013 16:05 >> *To:* smartfrog-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >> *Subject:* [Smartfrog-users] Can't start sfDaemon**** >> >> **** >> >> I have build smartfrog and everything went well but when i go to start >> sfDaemon i get: >> >> fivosk@fivosk-OptiPlex-GX280:~/smartFrog/smartfrog/bin$ sh sfDaemon >> : not found: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties= : >> : not found: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties= : >> : not found: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties= : >> : not found: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties= : >> : not found3: >> /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties: >> : not found6: >> /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties: >> : not found3: >> /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties: >> : not found6: >> /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties: >> : not found7: >> /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties: >> : not found8: >> /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties: >> sfDaemon: 53: >> /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties: Syntax erro= r: >> "fi" unexpected (expecting "then")**** >> >> any help will be appreciated. The if syntax seems ok ...**** >> >> ** ** >> > > --047d7b2e0de7abe28504e62f3b5f Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><div>Hey Patrick I solved my problem, <br><br></div>I= was trying to run it from /smartfrog-3.18.016/smartfrog/bin instead of /sm= artfrog-3.18.016/smartfrog/dist/bin ..<br><br></div>thanks <br></div><div c= lass=3D"gmail_extra"> <br><br><div class=3D"gmail_quote">On Thu, Sep 12, 2013 at 3:46 PM, fivos <= span dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_blan= k">[email protected]</a>></span> wrote:<br><blockquote class=3D"gmail_= quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1= ex"> <div dir=3D"ltr">well the compiled distribution works fine but I ll probabl= y need to change some stuff in the source code and the compiled distributio= n doesn't help with that<br></div><div class=3D"HOEnZb"><div class=3D"h= 5"> <div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote"> On Thu, Sep 12, 2013 at 3:29 PM, Goldsack, Patrick <span dir=3D"ltr"><<a= href=3D"mailto:[email protected]" target=3D"_blank">patrick.goldsack= @hp.com</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D= "margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div link=3D"blue" vlink=3D"purple" lang=3D"EN-GB"> <div> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d">Try just downloading the = stable compiled distribution and go from there initially=85 somewhat easier= that trying to compile everything! <u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d"><u></u>=A0<u></u></span><= /p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d">When that works (and it g= enerally works out of the box unless you have firewall or DNS issues, and i= t is surprising the number of networks that do) you can always compare what you get with the home build to that.<u></u><u></u></sp= an></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d"><u></u>=A0<u></u></span><= /p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d">Patrick<u></u><u></u></sp= an></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d"><u></u>=A0<u></u></span><= /p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d"><u></u>=A0<u></u></span><= /p> <p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:"= ;Tahoma","sans-serif"" lang=3D"EN-US">From:</span></b><span = style=3D"font-size:10.0pt;font-family:"Tahoma","sans-serif&q= uot;" lang=3D"EN-US"> fivos [mailto:<a href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a>] <br> <b>Sent:</b> 12 September 2013 12:49<br> <b>To:</b> Goldsack, Patrick<br> <b>Subject:</b> Re: [Smartfrog-users] Can't start sfDaemon<u></u><u></u= ></span></p><div><div> <p class=3D"MsoNormal"><u></u>=A0<u></u></p> <div> <div> <div> <div> <div> <p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">I downloaded the sour= ce and did<br> <br> >cd core/smartfrog<br> >ant dist<u></u><u></u></p> </div> <p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">Successful<br> <br> >cd core/smartfrog<br> >ant all<u></u><u></u></p> </div> <p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">Successful<br> <br> >cd core/testharness<br> >ant all<u></u><u></u></p> </div> <p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">Successful<br> <br> >cd core<br> >ant published<br> <br> ivy-init:<br> <br> BUILD FAILED<br> /home/fivosk/smartfrog-3.18.016/build.xml:561: /home/fivosk/smartfrog-3.18.= 016/hadoop-components does not exist.<u></u><u></u></p> </div> <p class=3D"MsoNormal">In the meantime SFHOME was set to core/smartfrog, I = tried setting it to core but nothing changed<u></u><u></u></p> </div> <div> <p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><u></u>=A0<u></u></p> <div> <p class=3D"MsoNormal">On Wed, Sep 11, 2013 at 6:24 PM, Goldsack, Patrick &= lt;<a href=3D"mailto:[email protected]" target=3D"_blank">patrick.gol= [email protected]</a>> wrote:<u></u><u></u></p> <div> <div> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d">=A0</span><u></u><u></u><= /p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d">For sure if you haven=92t= touched anything in the script files, the syntax will be OK. Those scripts are very stable and used thousands of times and I have never seen such a t= race=85.</span><u></u><u></u></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d">=A0</span><u></u><u></u><= /p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d">You say you built SmartFr= og. Did you download the source and run the build scripts? Or did you downl= oad the latest stable release?=A0 </span><u></u><u></u></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d">=A0</span><u></u><u></u><= /p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d">Have you set the SFHOME e= nvironmental variable to the root directory of the distribution (not that of the source tree)? If not, are you running from that directory?</span><u= ></u><u></u></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d">=A0</span><u></u><u></u><= /p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d">Thanks,</span><u></u><u><= /u></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d">=A0</span><u></u><u></u><= /p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d">Patrick</span><u></u><u><= /u></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d">=A0</span><u></u><u></u><= /p> <p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:"= ;Tahoma","sans-serif"" lang=3D"EN-US">From:</span></b><span = style=3D"font-size:10.0pt;font-family:"Tahoma","sans-serif&q= uot;" lang=3D"EN-US"> fivos [mailto:<a href=3D"mailto:[email protected]" target=3D"_blank">fivos.oeo= @gmail.com</a>] <br> <b>Sent:</b> 11 September 2013 16:05<br> <b>To:</b> <a href=3D"mailto:smartfrog-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org" target= =3D"_blank"> smartfrog-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org</a><br> <b>Subject:</b> [Smartfrog-users] Can't start sfDaemon</span><u></u><u>= </u></p> <div> <div> <p class=3D"MsoNormal">=A0<u></u><u></u></p> <div> <div> <p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">I have build smartfro= g and everything went well but when i go to start sfDaemon i get:<br> <br> fivosk@fivosk-OptiPlex-GX280:~/smartFrog/smartfrog/bin$ sh sfDaemon<br> : not found: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties: <= br> : not found: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties: <= br> : not found: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties: <= br> : not found: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties: <= br> : not found3: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties: = <br> : not found6: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties: = <br> : not found3: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties: = <br> : not found6: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties: = <br> : not found7: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties: = <br> : not found8: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties: = <br> sfDaemon: 53: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties: = Syntax error: "fi" unexpected (expecting "then")<u></u>= <u></u></p> </div> <p class=3D"MsoNormal">any help will be appreciated. The if syntax seems ok= ...<u></u><u></u></p> </div> </div> </div> </div> </div> </div> <p class=3D"MsoNormal"><u></u>=A0<u></u></p> </div> </div></div></div> </div> </blockquote></div><br></div> </div></div></blockquote></div><br></div> --047d7b2e0de7abe28504e62f3b5f-- --===============4981942630369379472== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk --===============4981942630369379472== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Smartfrog-users mailing list Smartfrog-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/smartfrog-users --===============4981942630369379472==--