CentOS7 脚本安装问题


#1

使用脚本在CentOS内安装,最后有报错:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
发现系统nginx mysql都已经安装好。 80端口3306端口也在。
但无法打开网页。
手工启动进程会出错:
May 14 18:09:21 cloudseafile systemd[1]: Unit seafile.service entered failed state.
May 14 18:09:21 cloudseafile systemd[1]: seafile.service failed.
May 14 18:09:21 cloudseafile polkitd[527]: Unregistered Authentication Agent for unix-process:22380:26432
May 14 18:09:22 cloudseafile polkitd[527]: Registered Authentication Agent for unix-process:22398:264426
May 14 18:09:22 cloudseafile systemd[1]: Starting Seafile Seahub…
– Subject: Unit seahub.service has begun start-up
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit seahub.service has begun starting up.
May 14 18:09:22 cloudseafile systemd[22414]: Failed at step EXEC spawning /opt/seafile/seafile-server-lat
– Subject: Process /opt/seafile/seafile-server-latest/seahub.sh could not be executed
– Defined-By: systemd
– Support:…
– The process /opt/seafile/seafile-server-latest/seahub.sh could not be executed and failed.

– The error number returned by this process is 2.
May 14 18:09:22 cloudseafile systemd[1]: seahub.service: main process exited, code=exited, status=203/EXE
May 14 18:09:22 cloudseafile systemd[1]: Failed to start Seafile Seahub.
– Subject: Unit seahub.service has failed
– Defined-By: systemd
– Support: …

– Unit seahub.service has failed.

– The result is failed.
May 14 18:09:22 cloudseafile systemd[1]: Unit seahub.service entered failed state.
May 14 18:09:22 cloudseafile systemd[1]: seahub.service failed.
May 14 18:09:22 cloudseafile polkitd[527]: Unregistered Authentication Agent for unix-process:22398:26442
lines 1112-1147/1147 (END)


#2

我也这样,楼主解决了吗

emmm找到解决方法了 https://github.com/haiwen/seafile-server-installer-cn/issues/21