LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1010|回复: 0

etch升级后svn的问题couldn't check user. No user file?

[复制链接]
发表于 2006-11-3 17:47:28 | 显示全部楼层 |阅读模式
etch

今天升级后,apache更新到了2.2,svn更新到了1.4,然后apache就不能启动,显示
Invalid command 'AuthUserFile', perhaps misspelled or defined by a module
not included in the server configuration

折腾了好久,后来我重装了svn和apache2
google了一下,运行"a2enmod authn_file"命令加载authn_file模块,然后apache可以启动了,svn也可以访问,但是不能提交!

在eclipse客户端出现错误
commit -m "" E:/workspace/testsvn/trunk/svntest/src/test/Test.java
    RA layer request failed
svn: Commit failed (details follow):
svn: MKACTIVITY of '/svn/!svn/act/85ab074a-e3b9-4045-995e-23e4020b5161': 500 Internal Server Error (http://192.168.1.146)

服务器上的错误日志
sec-rd-debian:/etc/apache2/mods-enabled# tail /var/log/apache2/error.log
Invalid command 'AuthBasicProvider', perhaps misspelled or defined by a module not included in the server configuration
[Fri Nov 03 17:18:52 2006] [warn] pid file /var/run/apache2.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Nov 03 17:18:52 2006] [notice] Apache/2.2.3 (Debian) DAV/2 SVN/1.4.0 configured -- resuming normal operations
[Fri Nov 03 17:19:04 2006] [crit] [client 192.168.1.28] configuration error:  couldn't check user.  No user file?: /svn/!svn/act/a4681e0c-8003-b640-b36f-e67452392665
[Fri Nov 03 17:36:57 2006] [notice] SIGHUP received.  Attempting to restart
Syntax error on line 31 of /etc/apache2/mods-enabled/dav_svn.conf:
Invalid command 'AuthBasicProvider', perhaps misspelled or defined by a module not included in the server configuration
[Fri Nov 03 17:38:50 2006] [warn] pid file /var/run/apache2.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Nov 03 17:38:50 2006] [notice] Apache/2.2.3 (Debian) DAV/2 SVN/1.4.0 configured -- resuming normal operations
[Fri Nov 03 17:39:06 2006] [crit] [client 192.168.1.28] configuration error:  couldn't check user.  No user file?: /svn/!svn/act/85ab074a-e3b9-4045-995e-23e4020b5161

配置文件
sec-rd-debian:/etc/apache2/mods-enabled# cat dav_svn.conf
<Location /svn>
  DAV svn
  SVNPath /home/svn/data
  AuthType Basic
  AuthName "Subversion Repository"
  AuthUserFile /etc/apache2/dav_svn.passwd
  AuthzSVNAccessFile /etc/apache2/dav_svn.authz
  <LimitExcept GET PROPFIND OPTIONS REPORT>
    Require valid-user
  </LimitExcept>
</Location>

求助!/etc/apache2/dav_svn.passwd和/etc/apache2/dav_svn.passwd都是存在的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表