Hi David,
   I found the problem and fixed it. Apparently, the order in which
the rules are specified in hba.conf matters. There was another rule in
hba.conf which was over-riding the rule that I set at the end of
hba.conf. The application seems to be loading up properly now. ie., I
can see the default page when I point the browser to localhost.

 That said, I have one more issue. I wanted to try out the calls
mentioned in the tutorial so I tried this":
 > category:new(<<"Cheer">>, <<"Kermit shouts: Applause, Applause,
Applause!">>).

 This threw an error saying that 'new' is undefined. I did a tab-
complete in yaws repl and only functions ( and there were only 3
functions) that category module was associated with were module_info,
relations (defined in category.erl) and one more function which I
cannot remember, but was definitely not "category:new/arity".

What am I doing wrong?


On May 15, 7:26 pm, David King <[EMAIL PROTECTED]> wrote:
> Let's see pg_hba.conf, psql.app, and double-check that postgresql.conf
> has listen_addresses
>
> On 15 May 2008, at 00:50, Abhijith wrote:
>
>
>
> > I had made a typo in pg_hba.conf.  I corrected this with the help of
> > ketralnis (David King I presume) on #erlyweb yesterday. The error that
> > I mentioned went away, but now its application:start(psql) just stalls
> > when I run it. I ran yaws in debug mode and it dumped this error when
> > I ran application:start(psql).
>
> > =PROGRESS REPORT==== 15-May-2008::12:46:35 ===
> >          supervisor: {local,yaws_sup}
> >             started: [{pid,<0.48.0>},
> >                       {name,yaws_server},
> >                       {mfa,
> >                           {yaws_server,start_link,
>
> > [{env,true,false,false,false,false,false}]}},
> >                       {restart_type,permanent},
> >                       {shutdown,5000},
> >                       {child_type,worker}]
>
> > =PROGRESS REPORT==== 15-May-2008::12:46:35 ===
> >          supervisor: {local,yaws_sup}
> >             started: [{pid,<0.56.0>},
> >                       {name,yaws_session_server},
> >                       {mfa,{yaws_session_server,start_link,[]}},
> >                       {restart_type,permanent},
> >                       {shutdown,5000},
> >                       {child_type,worker}]
>
> > =PROGRESS REPORT==== 15-May-2008::12:46:35 ===
> >         application: yaws
> >          started_at: [EMAIL PROTECTED]
>
> > can anyone see what the problem is?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"erlyweb" 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/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to