Open zhengkang2020 opened 7 months ago
在/data/software/rstudio-server
目录新建auth文件后,报错改变
auth
#!/usr/bin/env bash
#echo "ABC" >> ~/b.txt
#echo $@ >> ~/b.txt
#echo ${RSTUDIO_PASSWORD} >> ~/b.txt
#echo ${PASSWORD} >> ~/b.txt
# Confirm username is supplied
#if [[ $# -ne 1 ]]; then
# echo "Usage: auth USERNAME"
# exit 1
#fi
USERNAME="${1}"
#echo "DD" >> ~/b.txt
# Confirm password environment variable exists
if [[ -z ${RSTUDIO_PASSWORD} ]]; then
echo "The environment variable RSTUDIO_PASSWORD is not set"
exit 1
fi
#echo "EE" >> ~/b.txt
# Read in the password from user
read -s -p "Password: " PASSWORD
echo ""
if [[ ${USERNAME} == ${USER} && ${PASSWORD} == ${RSTUDIO_PASSWORD} ]]; then
echo "Successful authentication"
exit 0
else
echo "Invalid authentication"
exit 1
fi
rsession.log
Launching rsession...
+ exec /usr/lib/rstudio-server/bin/rsession --r-libs-user '' -u XXXX --session-use-secure-cookies 0 --session-root-path / --session-same-site 0 --session-use-file-storage 1 --launcher-token 57050296 --r-restore-workspace 2 --r-run-rprofile 2
/usr/lib/rstudio-server/bin/rsession: error while loading shared libraries: libgfortran.so.5: cannot open shared object file: No such file or directory
Launching rsession...
通过Singularity 进入镜像正常
[root@hpc-node1 rstudio-server]# singularity shell rstudio.sif
Singularity> ls /usr/lib/rstudio-server/bin/
crash-handler-proxy crashpad_handler crashpad_http_upload postback quarto r-ldpath rpostback rserver rserver-pam rserver-url rsession rstudio-server
任何人有相关进展吗?
请问问题解决了吗
没有,暂时放弃了。期待解决!
按文档https://icode.pku.edu.cn/SCOW/docs/deploy/config/portal/apps/apps/rstudio 配置![image](https://github.com/PKUHPC/SCOW/assets/67989011/3de0ff66-c932-49dc-a5bb-0ad9612fa005)
RStudio Server 1.4.1103及之后版本
源码方式的RStudio Server后,创建R应用报错下面是输出日志slurm-13.out
before.sh