首页 > 解决方案 > 闪亮的服务器下线

问题描述

我有一个闪亮的服务器,实际上我已经能够上传和“在线”使用一些简单的应用程序,而且闪亮和 rmardown 测试也能正常工作。但是,当我尝试使用自己的应用程序(在我的计算机上本地运行)时,我收到以下错误消息(我查看了日志 -> var/log/shiny-server):

 su: ignore --preserve-environment, it's mutually exclusive to --login.
Loading required package: viridisLite
Loading required package: heatmaply

======================
Welcome to heatmaply version 0.14.1

Type citation('heatmaply') for how to cite the package.
Type ?heatmaply for the main documentation.

The github page is: https://github.com/talgalili/heatmaply/
Please submit your suggestions and bug-reports at: https://github.com/talgalili/heatmaply/issues
Or contact: <tal.galili@gmail.com>
======================


Listening on http://127.0.0.1:43894

Execution halted

会话信息:

R version 3.5.0 (2018-04-23)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)

Matrix products: default
BLAS/LAPACK: /usr/lib64/R/lib/libRblas.so

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=es_ES.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=es_ES.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=es_ES.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=es_ES.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_3.5.0

我重新安装了这两个包,我还尝试在 R 中调用它们(sudo -i R 在控制台中使用 R,然后是 library(viridisLite) 和 library(heatmaply)),它们都可以正常工作。

当我尝试使用我的应用程序时,服务器断开连接,我必须重新启动它(我的应用程序开始收费,但当我遇到日志问题时,停止工作)

也许 R 版本与我的问题有关,但我试图更改它没有成功。

最好的奖励,

丹尼尔。

标签: rservershiny

解决方案


我已经安装了最后一个闪亮服务器版本,还转到有线连接 - > IPv4 设置并删除了额外的 DNS 服务器。有用!


推荐阅读