我们在Ubuntu 16.04下的i686机器上运行了闪亮的服务器。在最近的升级服务器没有运行我们用来从MySQL数据库读取和绘制数据的应用程序。
现在,当我们尝试连接到我们的服务器时,会出现闪亮的应用程序但在1-2秒内屏幕变为灰色并且出现与服务器断开连接的消息
由于我们的系统没有预编译的二进制文件,因此我们遵循了Rstudio github site源代码构建的说明。它显然运行良好。
闪亮的过程已启动并正在运行
ps -ef | grep shiny
root 13596 1 0 10:19 ? 00:00:01 /usr/local/shiny-server/ext/node/bin/shiny-server /usr/local/shiny-server/lib/main.js --pidfile=/var/run/shiny-server.pid
status shiny-server
shiny-server start/running, process 13596
但是在 /var/log/shiny-server.log 出现此错误消息
[2016-12-09 09:39:18.692] [错误] shiny-server - 获取worker时出错:TypeError driver.validateOptions不是函数
了解我们的服务器会发生什么?提前致谢
机器信息:
uname -a Linux rack4tb 4.4.0-47-generic#68-Ubuntu SMP Wed Oct 26 19:39:59 UTC 2016 i686 i686 i686 GNU / Linux
修改 添加历史记录中的输出> serverHistory.txt
meteo@rack4tb:~$ tail -n 50 serverHistory.txt
1952 $PYTHON --version
1953 cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DPYTHON="$PYTHON" ../
1954 shiny-server-1.4.2.0
1955 make
1956 mkdir ../build
1957 (cd .. && ./bin/npm --python="$PYTHON" install)
1958 (cd .. && ./bin/node ./ext/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js --python="$PYTHON" rebuild)
1959 sudo make install
1960 sudo ln -s /usr/local/shiny-server/bin/shiny-server /usr/bin/shiny-server
1961 ls -l /usr/local/shiny-server/bin/shiny-server
1962 ls -l /usr/bin/shiny-server
1963 rm /usr/bin/shiny-server
1964 sudo rm /usr/bin/shiny-server
1965 sudo ln -s /usr/local/shiny-server/bin/shiny-server /usr/bin/shiny-server
1966 sudo useradd -r -m shiny
1967 sudo mkdir -p /var/log/shiny-server
1968 sudo mkdir -p /srv/shiny-server
1969 sudo mkdir -p /var/lib/shiny-server
1970 sudo chown shiny /var/log/shiny-server
1971 sudo mkdir -p /etc/shiny-server
1972 cat /var/log/shiny-server
1973 cd /var/log/shiny-server
1974 ls -lrt
1975 cd ..
1976 ls
1977 ls -lrt
1978 cat shiny-server.log
1979 /etc/mysql$ shiny-server --version
1980 /etc/mysql shiny-server --version
1981 shiny-server --version
1982 uname -m
1983 uname -a
1984 ps -ef | grep shiny
1985 sudo status shiny-server
1986 status shiny-server
1987 exit
1988 cd /usr/local
1989 ls
1990 ls shiny-server/
1991 ls shiny-server/bin
1992 ls shiny-server/R
1993 cat shiny-server/VERSION
1994 cd
1995 ls
1996 ls Descargas/
1997 ls
1998 ls shiny-server*deb
1999 rm shiny-server*deb
2000 exit
2001 history > serverHistory.txt