运行闪亮服务器时出错

时间:2017-02-14 06:40:18

标签: ubuntu shiny shiny-server

我尝试在Ubuntu中从终端运行闪亮的服务器,但是我收到了这个错误:

nik@nik-VirtualBox:~$ shiny-server
[2017-02-13 10:42:28.353] [INFO] shiny-server - Shiny Server v1.5.1.834 (Node.js v6.9.1)
[2017-02-13 10:42:28.362] [INFO] shiny-server - Using config file "/etc/shiny-server/shiny-server.conf"
[2017-02-13 10:42:28.508] [ERROR] shiny-server - Error loading config: The user 'nik' 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)
[2017-02-13 10:42:28.510] [INFO] shiny-server - Shutting down worker processes

如何在闪亮服务器中运行应用程序?

新错误:

nik@nik-VirtualBox:~$ sudo shiny-server
[sudo] password for nik: 
[2017-02-14 01:56:52.913] [INFO] shiny-server - Shiny Server v1.5.1.834 (Node.js v6.9.1)
[2017-02-14 01:56:52.922] [INFO] shiny-server - Using config file "/etc/shiny-server/shiny-server.conf"
[2017-02-14 01:56:53.055] [WARN] shiny-server - Running as root unnecessarily is a security risk! You could be running more securely as non-root.
[2017-02-14 01:56:53.064] [INFO] shiny-server - Starting listener on 0.0.0.0:3838
[2017-02-14 01:56:53.080] [ERROR] shiny-server - HTTP server error (0.0.0.0:3838): listen EADDRINUSE 0.0.0.0:3838
[2017-02-14 01:56:53.081] [INFO] shiny-server - Shutting down worker processes

0 个答案:

没有答案