|
|
| Author |
Message |
|
| Guest |
Posted: Sun Feb 04, 2007 8:55 am |
|
|
|
Guest
|
Hi everyone,
The following appear in my report.log:
File operation error: eacces. Target: ./random.beam. Function:
get_file. Process: code_server.
and
File operation error: eacces. Target: ./redirect.beam. Function:
get_file. Process: code_server.
These binaries live in folders that I've included in yaws.conf:
...
# This the path to a directory where additional
# beam code can be placed. The daemon will add this
# directory to its search path
ebin_dir = /usr/lib/erlang/lib/stdlib-1.14.2/ebin
ebin_dir = /var/www/ebin
...
I use Gentoo and installed Yaws from ebuild. Any solutions or ideas?
Thanks,
Chris
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Sun Feb 04, 2007 1:17 pm |
|
|
|
Guest
|
Christopher Covington wrote:
> Hi everyone,
>
> The following appear in my report.log:
>
> File operation error: eacces. Target: ./random.beam. Function:
> get_file. Process: code_server.
>
> and
>
> File operation error: eacces. Target: ./redirect.beam. Function:
> get_file. Process: code_server.
>
> These binaries live in folders that I've included in yaws.conf:
> ...
> # This the path to a directory where additional
> # beam code can be placed. The daemon will add this
> # directory to its search path
>
> ebin_dir = /usr/lib/erlang/lib/stdlib-1.14.2/ebin
> ebin_dir = /var/www/ebin
> ...
> I use Gentoo and installed Yaws from ebuild. Any solutions or ideas?
weird -
First off, you don't need /usr/lib/erlang/lib/stdlib-1.14.2/ebin in
the yaws load path. That path is there by default.
Second, I assume the random.beam and redirect.beam are your files.
It looks as if there is some file access problem where the user that
is used to run Yaws doesn't have read access to the .beam files.
Thus - check access rights for the .beam files that cannot be
loaded.
/klacke
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Sun Feb 04, 2007 1:44 pm |
|
|
|
Guest
|
Hi Claes, list,
random.beam is part of stdlib. Thats why I had the extraneous ebin_dir
entry. The heart process has root privileges while the yaws process
runs as nobody. The permissions shouldn't be a problem--these files
and their directories grant others read permission. I even su'ed to
nobody and successfully cat'ed both .beams. I think I'm gonna file a
bug with Gentoo as it seems this is a problem with my particular
installation.
Regards,
Chris
On 2/4/07, Claes Wikstrom <klacke@tail-f.com> wrote:
> Christopher Covington wrote:
> > Hi everyone,
> >
> > The following appear in my report.log:
> >
> > File operation error: eacces. Target: ./random.beam. Function:
> > get_file. Process: code_server.
> >
> > and
> >
> > File operation error: eacces. Target: ./redirect.beam. Function:
> > get_file. Process: code_server.
> >
> > These binaries live in folders that I've included in yaws.conf:
> > ...
> > # This the path to a directory where additional
> > # beam code can be placed. The daemon will add this
> > # directory to its search path
> >
> > ebin_dir = /usr/lib/erlang/lib/stdlib-1.14.2/ebin
> > ebin_dir = /var/www/ebin
> > ...
> > I use Gentoo and installed Yaws from ebuild. Any solutions or ideas?
>
>
> weird -
>
> First off, you don't need /usr/lib/erlang/lib/stdlib-1.14.2/ebin in
> the yaws load path. That path is there by default.
>
> Second, I assume the random.beam and redirect.beam are your files.
> It looks as if there is some file access problem where the user that
> is used to run Yaws doesn't have read access to the .beam files.
>
> Thus - check access rights for the .beam files that cannot be
> loaded.
>
> /klacke
>
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|