[WebSVN] Unable to find 'svn'

View: New views
3 Messages — Rating Filter:   Alert me  

[WebSVN] Unable to find 'svn'

by webpost :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi

i have a webhosting with svn and ssh, svn+ssh works very fine and i try to install websvn on it.

safe_mod is OFF on php

@ssh1:~$ which svn
/usr/bin/svn

the error message is:

Unable to find 'svn' tool at location '/usr/bin/svn'

i put some echo $* just after the error message to be sure my path is ok:

$PATH= /usr/bin/
$VAR= svn --non-interactive --config-dir /homez.307/ksliybqh/tmp
$Name= svn
$param= --non-interactive --config-dir /homez.307/ksliybqh/tmp

you can see everything on http://ks36.org/websvn/


if i use the PATH it won't work too
i mean there is just a to strong test for were is svn, if you have any idea ? to bypass the test of svn ?

------------------------------------------------------
http://websvn.tigris.org/ds/viewMessage.do?dsForumId=1547&dsMessageId=2391250

To unsubscribe from this discussion, e-mail: [dev-unsubscribe@...].

RE: [WebSVN] Unable to find 'svn'

by webpost :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi

i am working to find any solution, actually i did a test script with some exec:

exec("svn help 2>&1", $out);
foreach($out as $line)echo"<br/>$line\n";

exec("uptime", $out);
foreach($out as $line)echo"<br/>$line\n";

uptime and svn are together in /usr/bin
-rwxr-xr-x 1 root root 115K 2006-11-10 19:23 svn
-rwxr-xr-x 1 root root 3,4K 2006-09-13 03:54 uptime

and the render is curiously:
sh: svn: command not found
16:12:44 up 32 days, 38 min, 0 users, load average: 1.85, 1.63, 1.56

'uptime' is working but no 'svn', i mean it is a hosting probleme, but if anybody have any idea, why ? i trying a script bash with the svn command inside, doesn't work too. and a symbolic link in my /home/svn -> /usr/bin/svn  doesn't work too

------------------------------------------------------
http://websvn.tigris.org/ds/viewMessage.do?dsForumId=1547&dsMessageId=2394302

To unsubscribe from this discussion, e-mail: [dev-unsubscribe@...].

RE: [WebSVN] Unable to find 'svn'

by webpost :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> uptime and svn are together in /usr/bin
> [...]
> and the render is curiously:
> sh: svn: command not found
> 16:12:44 up 32 days, 38 min, 0 users, load average: 1.85, 1.63, 1.56

Try to list the contents of /usr/bin with your script (use exec ls) and check if svn is in there. Maybe it's a symlink somewhere else. What happens if you use /usr/bin/svn to call svn?

------------------------------------------------------
http://websvn.tigris.org/ds/viewMessage.do?dsForumId=1547&dsMessageId=2400572

To unsubscribe from this discussion, e-mail: [dev-unsubscribe@...].