[R-SIG-Mac] More FastRWeb questions

Joe Schwab joeschwabmd+R-SIG-Mac at gmail.com
Wed May 9 08:34:50 CEST 2012


Simon,

Thanks for the help. It was indeed a permissions issue. Thanks for
guiding me in the right direction. Also I will make sure to direct any
future questions to the mailing list you mentioned. Thanks!

Cheers,
Joe

On Tue, May 8, 2012 at 5:15 PM, Simon Urbanek
<simon.urbanek at r-project.org> wrote:
> Joe,
>
> On May 8, 2012, at 8:53 AM, Joe Schwab wrote:
>
>> Hello all,
>>
>> I am in the process of installing the latest CRAN repository versions of Rserve (0.6-8) and FastRWeb (1.0-1) on MacOS 10.6.8 machine. I have installed Rserve and verified that it can start up just fine on its own both by using the following commands in the R GUI:
>>
>> library(Rserve)
>> Rserve(args="--no-save")
>>
>> and by running "R CMD Rserve" from the command line.
>
>
>> After doing either of those methods I can telnet to my localhost port 6311 and verify that Rserve is running.
>
> That's entirely irrelevant since FastRWeb doesn't use TCP/IP - make sure you are running the correct Rserve settings which are *not* on port 6311. All you need to do it to use the start script.
>
>
>> However, when I try to start Rserve
>> (after killing any existing processes) by using the FastRWeb
>> code/start script, I get the following error:
>>
>> ##> SOCK_ERROR: bind error #13(access denied)
>>
>
> You seem to have permission issues on the socket or the FastRWeb directory - check the permissions on
> /var/FastRWeb/socket
> You should make sure that _www has both read and write access. Remove it before starting if in doubt. If it's not there, make sure that the user under which you run Rserve has write permissions in /vat/FastRWeb. That applies to the other directories as well - it will need write permissions on tmp and _www must be able to read web.R and tmp.
>
> Cheers,
> Simon
>
> PS: stats-rosuda-devel is the mailing list for Rserve/FastRWeb questions
>
>
>> When I go into R GUI and run this under debug mode I get the same end
>> result. Here is the session transcript from R:
>>
>> # START SESSION TRANSCRIPT
>>> Rserve(TRUE, args="--RS-conf /var/FastRWeb/code/rserve.conf --vanilla --no-save")
>> Starting Rserve on port 6311 :
>> /Library/Frameworks/R.framework/Resources/bin/R CMD
>> /Library/Frameworks/R.framework/Versions/2.15/Resources/library/Rserve/libs/x86_64/Rserve-dbg.so
>> --RS-conf /var/FastRWeb/code/rserve.conf --vanilla --no-save
>>
>> Note: debug version of Rserve doesn't daemonize so your R session will
>> be blocked until you shut down Rserve.
>> Rserve 0.6-8 (338) (C)Copyright 2002-2011 Simon Urbanek
>> $Id: Rserv.c 338 2012-02-11 20:52:25Z urbanek $
>>
>> Loading config file /etc/Rserv.conf
>> Failed to find config file /etc/Rserv.conf
>> Loading config file /var/FastRWeb/code/rserve.conf
>> conf> command="socket", parameter="/var/FastRWeb/socket"
>> conf> command="sockmod", parameter="0666"
>> conf> command="source", parameter="/var/FastRWeb/code/rserve.R"
>> Found source entry "/var/FastRWeb/code/rserve.R"
>> conf> command="control", parameter="enable"
>> Loaded config file /var/FastRWeb/code/rserve.conf
>>
>> R version 2.15.0 (2012-03-30)
>> Copyright (C) 2012 The R Foundation for Statistical Computing
>> ISBN 3-900051-07-0
>> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
>>
>> R is free software and comes with ABSOLUTELY NO WARRANTY.
>> You are welcome to redistribute it under certain conditions.
>> Type 'license()' or 'licence()' for distribution details.
>>
>> Natural language support but running in an English locale
>>
>> R is a collaborative project with many contributors.
>> Type 'contributors()' for more information and
>> 'citation()' on how to cite R or R packages in publications.
>>
>> Type 'demo()' for some demos, 'help()' for on-line help, or
>> 'help.start()' for an HTML browser interface to help.
>> Type 'q()' to quit R.
>>
>> Executing source/eval commands from the config file.
>> voidEval("try(source("/var/FastRWeb/code/rserve.R"))")
>> voidEval: buffer parsed, stat=1, parts=1
>> result type: 20, length: 1
>> R_tryEval(xp,R_GlobalEnv,&Rerror);
>> Calling R_tryEval for expression 1 [type=6] ...
>> Starting Rserve on pc24015
>> Loading packages...
>> XML: FALSE
>> Cairo: TRUE
>> Matrix: TRUE
>> FastRWeb: TRUE
>> ##> SOCK_ERROR: bind error #13(access denied)
>> Expression 1, error code: 0
>> Done with initial commands.
>> Rserve: Ok, ready to answer queries.
>>
>> # END SESSION TRANSCRIPT
>>
>> At this point there is no Rserve process running, and telnetting to
>> port 6311 confirms no process is listening on that port. Any guidance
>> or help would be appreciated.
>>
>> Cheers,
>> Joe Schwab
>>
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>
>>
>



More information about the R-SIG-Mac mailing list