I launched YAWS without the daemon command option.  looks like a bug to me.


FATAL {'EXIT',{noproc,{gen_server,call,
                                  [yaws_rss,
                                   {open,mgrss,[{db_dir,"/rss"}]},
                                   infinity]}}}

=CRASH REPORT==== 7-Apr-2009::14:43:38 ===
  crasher:
    initial call: yaws_server:init/1
    pid: <0.53.0>
    registered_name: []
    exception exit: {badconf,[{yaws_server,init,1},
                              {gen_server,init_it,6},
                              {proc_lib,init_p_do_apply,3}]}
      in function  gen_server:init_it/6
    ancestors: [yaws_sup,<0.50.0>]
    messages: []
    links: [<0.51.0>]
    dictionary: [{rss,[{db_dir,"/rss"}]},
                  {start_time,{{2009,4,7},{14,43,38}}},
                  {logdir,"/opt/synaptiv/metagate/usr/bin/../../../var/log"},
                  {rss_id,mgrss},
                  {mnesiadir,"/opt/synaptiv/metagate/usr/bin/../../../var/db/Mnesia.metagate"}]
    trap_exit: true
    status: running
    heap_size: 6765
    stack_size: 24
    reductions: 40548
  neighbours:

=

On Tue, Apr 7, 2009 at 2:41 PM, Richard Bucker <richard@bucker.net> wrote:
It appears that rss_dir is also mandatory... but not documented. When both fields are included in the RSS section in the SERVER section; yaws dies during the startup.

/r


On Tue, Apr 7, 2009 at 2:10 PM, Richard Bucker <richard@bucker.net> wrote:
Some weeks ago I mentioned that there was a problem starting my YAWS instance with RSS enabled. I thought I would add this snip from my report.log:

=ERROR REPORT==== 7-Apr-2009::14:08:30 ===
Yaws: bad conf: No rss_id specified at line 159 terminating

I would also mention that the doc/README.rss has not been updated.

/r