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
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。