institut-de-genomique / BoardION

Other
10 stars 1 forks source link

Can not get the server setup for board ion app #9

Closed callumparr closed 3 years ago

callumparr commented 3 years ago

I had problems getting the boardion app going with Rscript. I ran the docker build but it didn't seem to install the necessary R packages so I did them manually.

Then after running

Rscript boardion_app.R 127.0.1.1 81 /home/minion/fast5_tutorial/sample_fast5

I get:

Loading required package: bit64
Loading required package: bit

Attaching package: ‘bit’

The following object is masked from ‘package:base’:

    xor

Attaching package bit64
package:bit64 (c) 2011-2017 Jens Oehlschlaegel
creators: integer64 runif64 seq :
coercion: as.integer64 as.vector as.logical as.integer as.double as.character as.bitstring
logical operator: ! & | xor != == < <= >= >
arithmetic operator: + - * / %/% %% ^
math: sign abs sqrt log log2 log10
math: floor ceiling trunc round
querying: is.integer64 is.vector [is.atomic} [length] format print str
values: is.na is.nan is.finite is.infinite
aggregation: any all min max range sum prod
cumulation: diff cummin cummax cumsum cumprod
access: length<- [ [<- [[ [[<-
combine: c rep cbind rbind as.data.frame
WARNING don't use as subscripts
WARNING semantics differ from integer
for more help type ?bit64

Attaching package: ‘bit64’

The following objects are masked from ‘package:base’:

    :, %in%, is.double, match, order, rank

Attaching package: ‘data.table’

The following object is masked from ‘package:bit’:

    setattr

Attaching package: ‘plotly’

The following object is masked from ‘package:ggplot2’:

    last_plot

The following object is masked from ‘package:stats’:

    filter

The following object is masked from ‘package:graphics’:

    layout

Attaching package: ‘shinydashboard’

The following object is masked from ‘package:graphics’:

    box

Attaching package: ‘DT’

The following objects are masked from ‘package:shiny’:

    dataTableOutput, renderDataTable

Listening on http://127.0.1.1:81
createTcpServer: permission denied
Error in .subset2(public_bind_env, "initialize")(...) : 
  Failed to create server
Calls: <Anonymous> ... startApp -> startServer -> <Anonymous> -> <Anonymous>
Execution halted

For the preprocess I can confirm the docker container is running and created the files necessary to run the shiny app. I set the crontab to do this every so often. I had to changed the port to 81 as I already had epi2melabs running on port 80.

Actal commented 3 years ago

Hi, It seems that you can't use the port 81 (it is blocked or already used). Can you try use another port greater than 1023, just verify before that it is not used (https://www.cyberciti.biz/faq/unix-linux-check-if-port-is-in-use-command/).

callumparr commented 3 years ago

Thanks, it is up working now.