[Pushmi-users] Pushmi Probs
Hager, Joe
Joe.Hager at dig.com
Thu Sep 13 19:54:15 EDT 2007
Hello,
I'm in the process of setting up a pair of SVN repositories,
synchronized via pushmi. I'm running into some problems though. :( I've
never setup an SVN repo before, so please forgive me if I missed
something obvious. Has anyone run into the following problem before? Any
ideas?
Thanks,
Joe
-----------------------
Problem:
I can't commit changes to mirror host due to authentication errors that
I can't seem to decipher. Any help in solving would be great. I am
able to successfully initialize and sync the mirror. Simply can't
commit.
# svn ci samplefile -m "asdfasdfas -test"
Sending FAQ
Transmitting file data .svn: Commit failed (details follow):
svn: 'pre-commit' hook failed with error output:
Authorization failed: Authentication error from server: Password
incorrect at
/usr/lib/perl5/vendor_perl/5.8.8/SVK/Mirror/Backend/SVNRa.pm line 631
pushmi.log
===========
[2007/09/13 07:47:03] - [6384][3587] pushmi.runhook - Try to
authenticate as root
[2007/09/13 07:47:09] - [6420][200] pushmi.runhook - [/svn/mythtv]
committing from txn 1-1 by root
[2007/09/13 07:47:10] - [6420][582] pushmi.runhook - Try to authenticate
as root
[2007/09/13 07:47:17] - [6423][200] pushmi.runhook - [/svn/mythtv]
committing from txn 1-1 by root
[2007/09/13 07:47:17] - [6423][402] pushmi.runhook - Try to authenticate
as root
Setup:
Mirror Server
==============
OS: Fedora Core 7
Perl Modules:
[root at localhost Pushmi-v1.0.0]# perl Makefile.PL
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
[Core Features]
- IPC::Run3 ...loaded. (0.037)
- RunApp ...loaded. (0.13 >= 0.13)
- version ...loaded. (0.7203)
- SVN::Core ...loaded. (1.4.3 >= 1.004003)
- SVK ...loaded. (v2.0.2 >= 2.0.0)
- App::CLI ...loaded. (0.07 >= 0.06)
- Cache::Memcached ...loaded. (1.24)
- YAML::Syck ...loaded. (0.97)
- Log::Log4perl ...loaded. (1.11)
*** Module::AutoInstall configuration finished.
WARNING: VERSION takes a string/number not a version reference.
Please inform the author.
Checking if your kit is complete...
Looks good
Warning: prerequisite SVK 2.0.0 not found. We have v2.0.2.
pushmi.conf
===========
---
username: root
password: fedoracore
authproxy_port: 7123
#use_cached_auth: 1
#use_shared_commit
NOTE: I read a few posts stating that use_shared_commit should be
un-commented. Doing so results in the following change in output:
# svn ci samplefile -m "asdfasdfas -test"
Sending FAQ
Transmitting file data .svn: Commit failed (details follow):
svn: 'pre-commit' hook failed with error output:
Syck parser (line 7, column -1): syntax error at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/YAML/Syck.pm line
75, <FH> line 1.
Compilation failed in require at (eval 10) line 3.
...propagated at /usr/lib/perl5/5.8.8/base.pm line 85.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.8/Pushmi/Command/Runhook.pm line 2.
Compilation failed in require at
/usr/lib/perl5/vendor_perl/5.8.8/App/CLI.pm line 105.
Command not recognized, try /usr/bin/pushmi --help.
Subversion Server
=================
OS: Fedora Core 7
Subversion: subversion-1.4.3-4
authz
====== [groups]
#harry_and_sally = harry,sally
owner=root
[/svn/testrepo]
@owner=rw
#* =
passwd
======
[users]
root = fedoracore
svnserve.conf
=============
[general]
anon-access = read
auth-access = write
password-db = passwd
authz-db = authz
realm = Test Repo
More information about the Pushmi-users
mailing list