我已经在另一个ubuntu ip上安装了闪亮的服务器,并通过windows上的putty使用它。但是应用程序无法启动,因为您可以在右侧列中看到(错误以粗体显示)。我应该在闪亮的服务器上启动应用程序的配置是什么?请帮忙。
我在linux中打开了R文件的整个路径,并且权限被授予R文件。仍然没有工作。
此外,当我尝试在etc / shiny-server / shiny-server.config中打开shiny-server.config文件时,它会显示:
[2015-08-19 12:13:59.666] [INFO] shiny-server - Shiny Server v1.4.0.721 (Node.js v0.10.21)
[2015-08-19 12:13:59.669] [INFO] shiny-server - Using config file "/etc/shiny-server/shiny-server.conf"
[2015-08-19 12:13:59.750] [ERROR] shiny-server - Error loading config: The user 'hadoop' does not have permissions to run applications as one of the users in 'shiny'. Please restart shiny-server as one of the users in 'shiny'. (/etc/shiny-server/shiny-server.conf:2:1)
[2015-08-19 12:13:59.751] [INFO] shiny-server - Shutting down worker processes
答案 0 :(得分:4)
第Error loading config: The user 'hadoop' does not have permissions to run applications as one of the users in 'shiny'. Please restart shiny-server as one of the users in 'shiny'. (/etc/shiny-server/shiny-server.conf:2:1)
行
说你试图以名为hadoop
的用户启动闪亮服务器,这是不可能的,因为唯一可以启动这个闪亮服务器的用户是shiny
,这是写在第二行的/etc/shiny-server/shiny-server.conf
个文件。尝试从
# Instruct Shiny Server to run applications as the user "shiny"
run_as shiny;
到
# Instruct Shiny Server to run applications as the user "shiny"
run_as hadoop shiny;