Don Lino
Don Lino

Reputation: 116

Yaws on MacOS, error message on start: "Can't find any config file ”

I have installed Yaws on Mac OS X via macport. When I call: sudo yaws -i, I get the error message:

Erlang R16B03 (erts-5.10.4) [source] [64-bit] [smp:2:2] [async-threads:10] [hipe] [kernel-poll:true]

Eshell V5.10.4  (abort with ^G)
1> 
=ERROR REPORT==== 4-Apr-2014::23:13:20 ===
Yaws: Bad conf: "Can't find any config file " 

Anybody faced with it?

Upvotes: 0

Views: 307

Answers (1)

Steve Vinoski
Steve Vinoski

Reputation: 20024

I can't speak for the viability of installations that come from macports or other such sources — you never know if they're put together correctly, or if they're kept up to date. You're much better off getting Yaws from its download website, or building it from source.

The error you're encountering is due to Yaws being unable to find its yaws.conf config file, normally kept in /etc/yaws/yaws.conf or /usr/local/etc/yaws/yaws.conf. Perhaps when you installed Yaws you didn't have the permissions required to install into one of those areas.

Upvotes: 2

Related Questions