开发者社区> 问答> 正文

linux下 gitlab启动报无权限的问题

linux 下执行 gitlab-8.9.6-0/ctlscript.sh 启动脚本 出现如下错误 主要是提示 Permission denied 无权限,网上查了很多资料都没找到解决方法 看过里面的启动脚本 当中有切换 postgres 用户 执行命令 尝试给 postgres 增加权限 但没有效果

/home/admin/tools/gitlab-8.9.6-0/apache2/scripts/ctl.sh : apache not running /home/admin/tools/gitlab-8.9.6-0/apps/gitlab/scripts/sidekiq.sh : gitlab_sidekiq not running /home/admin/tools/gitlab-8.9.6-0/apps/gitlab-workhorse/scripts/ctl.sh : gitlab_workhorse not running /home/admin/tools/gitlab-8.9.6-0/apps/gitlabci/gitlabci-multirunner/scripts/ctl.sh : gitlabci_multirunner not running /home/admin/tools/gitlab-8.9.6-0/redis/scripts/ctl.sh : redis not running /home/admin/tools/gitlab-8.9.6-0/postgresql/scripts/ctl.sh : postgresql not running bash: /home/admin/tools/gitlab-8.9.6-0/postgresql/bin/pg_ctl: Permission denied /home/admin/tools/gitlab-8.9.6-0/postgresql/scripts/ctl.sh : postgresql could not be started sh: /home/admin/tools/gitlab-8.9.6-0/redis/bin/redis-server: Permission denied /home/admin/tools/gitlab-8.9.6-0/redis/scripts/ctl.sh : redis could not be started /home/git/.bashrc: line 10: /home/admin/tools/gitlab-8.9.6-0/scripts/setenv.sh: Permission denied -bash: line 0: cd: /home/admin/tools/gitlab-8.9.6-0/apps/gitlab/htdocs: Permission denied /home/admin/tools/gitlab-8.9.6-0/apps/gitlab/scripts/sidekiq.sh : gitlab_sidekiq could not be started /home/git/.profile: line 2: /home/admin/tools/gitlab-8.9.6-0/scripts/setenv.sh: Permission denied -sh: /home/admin/tools/gitlab-8.9.6-0/apps/gitlab-workhorse/logs/workhorse.log: Permission denied /home/admin/tools/gitlab-8.9.6-0/apps/gitlab-workhorse/scripts/ctl.sh : gitlab-workhorse could not be started /home/admin/tools/gitlab-8.9.6-0/apps/gitlabci/gitlabci-multirunner/scripts/ctl.sh : gitlabci_multirunner started Syntax OK /home/admin/tools/gitlab-8.9.6-0/apache2/scripts/ctl.sh : httpd started at port 80

展开
收起
shiwei 2021-07-12 17:43:14 728 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
Alibaba Cloud Linux 3 发布 立即下载
ECS系统指南之Linux系统诊断 立即下载
ECS运维指南 之 Linux系统诊断 立即下载