PDA

View Full Version : websvn on bluehost



josex
01-29-2009, 07:28 PM
I have been able to get SVN working on bluehost. Next I tried to set websvn and I am able to see the main websvn page but when I click on a repository then I get this error:

Error running this command: /home/username/system/bin/svn --non-interactive --config-dir /tmp log --xml --verbose --limit 2 'file:////home/username/devel//test/'

/home/username/system/bin/svn: line 60: /usr/bin/sed: No such file or directory /home/username/system/bin/svn: line 64: /usr/bin/sed: No such file or directory ls: write error: Broken pipe /home/username/system/bin/svn: line 88: /usr/bin/sed: No such file or directory

but /usr/bin/sed works fine from ssh. Any hints ? thanks

cade
01-30-2009, 01:43 PM
Sed is complaining that it can't find the specified path (/home/username/system/bin/svn), does it exist?

I haven't used websvn before, but I would anticipate that running the sed commands directly from the command line would yield the same results. If you have trouble, you may want to try strace'ing the script to figure out what it is doing when it fails.

josex
01-31-2009, 12:12 AM
>
Sed is complaining that it can't find
the specified path (/home/username/system/bin/svn),
>

Isn't it the other way round ?

/home/username/system/bin/svn: line 60: /usr/bin/sed: No such file or directory

it seems to me as svn is unable to find /usr/bin/sed

am I wrong ?

josex
01-31-2009, 12:53 AM
I solved it! :)

I found that svn is in fact a bash script! and it has hardcoded into it, in several places: /usr/bin/sed

so I just replaced them with: /home/username/bin/sed and it is working! :)

WebSvn is nicely working on bluehost now!!!