免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 8926 | 回复: 3
打印 上一主题 下一主题

git服务器gitolite的安装与简单配置出错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-08-10 15:33 |只看该作者 |倒序浏览
gl-setup /tmp/admin.pub

执行这个命令出错怎么解决



error parsing /home/git/.gitolite.rc
Compilation failed in require at /home/git/bin/gl-query-rc line 17.
error parsing /home/git/.gitolite.rc
Compilation failed in require at /home/git/bin/gl-query-rc line 17.
error parsing /home/git/.gitolite.rc
Compilation failed in require at /home/git/bin/gl-query-rc line 17.
ENV GL_BINDIR not set
BEGIN failed--compilation aborted at /home/git/bin/gl-install line 15.
/home/git/bin/gl-setup: line 113: /conf/gitolite.conf: No such file or directory
cp: cannot create regular file `/keydir': Permission denied
ENV GL_BINDIR not set
BEGIN failed--compilation aborted at /home/git/bin/gl-compile-conf line 16.
/home/git/bin/gl-setup: line 128: cd: /gitolite-admin.git: No such file or directory
fatal: Not a git repository (or any of the parent directories): .git
error: could not lock config file .git/config: No such file or directory
error: could not lock config file .git/config: No such file or directory
fatal: Not a git repository (or any of the parent directories): .git
ENV GL_BINDIR not set
BEGIN failed--compilation aborted at /home/git/bin/gl-install line 15.
You have new mail in /var/spool/mail/root

论坛徽章:
0
2 [报告]
发表于 2011-08-10 15:49 |只看该作者
The default settings in the rc file (/home/git/.gitolite.rc) are fine for most
people but if you wish to make any changes, you can do so now.

hit enter...


q

论坛徽章:
0
3 [报告]
发表于 2011-08-10 15:49 |只看该作者
换了一台服务器安装他提示我这个

论坛徽章:
59
2015七夕节徽章
日期:2015-08-24 11:17:25ChinaUnix专家徽章
日期:2015-07-20 09:19:30每周论坛发贴之星
日期:2015-07-20 09:19:42ChinaUnix元老
日期:2015-07-20 11:04:38荣誉版主
日期:2015-07-20 11:05:19巳蛇
日期:2015-07-20 11:05:26CU十二周年纪念徽章
日期:2015-07-20 11:05:27IT运维版块每日发帖之星
日期:2015-07-20 11:05:34操作系统版块每日发帖之星
日期:2015-07-20 11:05:36程序设计版块每日发帖之星
日期:2015-07-20 11:05:40数据库技术版块每日发帖之星
日期:2015-07-20 11:05:432015年辞旧岁徽章
日期:2015-07-20 11:05:44
4 [报告]
发表于 2011-08-10 21:37 |只看该作者
/home/git/bin/gl-setup: line 113: /conf/gitolite.conf: No such file or directory
cp: cannot create regular file `/keydir': Permission denied

权限问题啊。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP