From: Eric M. <cyb...@gm...> - 2004-08-19 14:14:12
|
I figured out the problem yesterday. As you said, there was no problem with yaws itself, it was with the otp startup piece. I seems that I had not made my application relocatable so the start process couldn't find the yaws application. Once I did this and added a few boot vars , everything seems to work fine. Thanks for your help. On Wed, 18 Aug 2004 23:04:26 +0200, kl...@hy... <kl...@hy...> wrote: > On Wed, Aug 18, 2004 at 01:51:18PM -0400, Eric Merritt wrote: > > Klacke, > > > > Attached is the output of the console. I hope it helps someone > > get me some idea's on this. > > > Uhhhhh, I'm certainly not the expert on otp application startup behaviour, > on the contrary actually. I even dislike otp applications deeply. > > # erl -pa yaws/yaws/ebin -yaws embedded true > Erlang (BEAM) emulator version 5.3.6.2.b1 [source] [hipe] > > Eshell V5.3.6.2.b1 (abort with ^G) > 1> application:start(yaws). > ok > > Apparently works just fine, (i.e starting yaws and _not_ reading the > config file) > > > 1> > > =CRASH REPORT==== 18-Aug-2004::13:34:22 === > > crasher: > > pid: <0.55.0> > > registered_name: [] > > error_info: "invalid return value from yaws_app:start(normal,[]) -> {'EXIT',{undef,\n [{yaws_app,start,[normal,[]]},\n {application_master,start_it_old,4}]}}" > > > ./run.sh: line 3: 8496 Killed erl -boot ./releases/1.0/start -yaws embedded true -mnesia dir '"./data"' > > Hmmmm, we're ourselves starting yaws from the boot script. > In the sys.config file we have: > > {yaws, [{embedded, true}]} > > You could try to remove yaws from the .rel file and > try to start it manually, as in application:start(yaws). > > Another thing that might provide some input could be to > compile yaws with debug flag on, Just do > > # make clean && make debug > > in the yaws src dir ...... > > Sorry for not being able to guessing better :-( > > > > > /klacke > > -- > Claes Wikstrom -- Caps lock is nowhere and > http://www.hyber.org -- everything is under control > -- Any sufficiently complicated C or Fortran program contains an ad-hoc, informally-specified, bug-ridden, slow implementation of half of Lisp |