Jonas,
Either your server, or your workstation isn't allowed to access the SCM
server.

Please post your config file (deploy.rb) to pastie, or gist, and I'll advise
you what to try once I have that.

- Lee

2009/5/19 jo...@ibiz.se <jo...@ibiz.se>

>
> I have rather recently given up web development with Filemaker XSLT
> and instead started to learn RoR. So far I love it, with the clear
> exeption of deployment on Leopard server.
>
> When I run cap deploy from my client I get Permission denied:
>
> executing "svn export -q --username admin --password **** --no-auth-
> cache -r39 svn+ssh://www4.ibiz.se/Users/Shared/svnrepo/lektion /
> Library/WebServer/lektion/releases/20090519105735 && (echo 39 > /
> Library/WebServer/lektion/releases/20090519105735/REVISION)"
> servers: ["www4.ibiz.se"]
> [www4.ibiz.se] executing command
> ** [www4.ibiz.se :: err] Permission denied, please try again.
> ** [www4.ibiz.se :: err] Permission denied, please try again.
> ** [www4.ibiz.se :: err] Received disconnect from 192.168.1.22: 2: Too
> many authentication failures for admin
> ** [www4.ibiz.se :: err] svn: Connection closed unexpectedly
> command finished
> *** [deploy:update_code] rolling back
> * executing "rm -rf /Library/WebServer/lektion/releases/
> 20090519105735; true"
> servers: ["www4.ibiz.se"]
> [www4.ibiz.se] executing command
> command finished
> failed: "sh -c \"svn export -q --username admin --password **** --no-
> auth-cache -r39 svn+ssh://www4.ibiz.se/Users/Shared/svnrepo/lektion /
> Library/WebServer/lektion/releases/20090519105735 && (echo 39 > /
> Library/WebServer/lektion/releases/20090519105735/REVISION)\"" on
> www4.ibiz.se
>
> In the log on the server it says:
> error: PAM: Authentication failure for admin from www4.ibiz.se
>
> If I try the command that didn't work from the terminal on the server
> to works:
> svn export -q --username admin --password **** --no-auth-cache -r39 svn
> +ssh://www4.ibiz.se/Users/Shared/svnrepo/lektion /Library/WebServer/
> lektion/releases/20090519105735 && (echo 39 > /Library/WebServer/
> lektion/releases/20090519105735/REVISION)\
>
> I can ssh to the server:
> Macintosh:lektion jeb$ ssh www4.ibiz.se -l admin
> Last login: Tue May 19 12:30:32 2009
> www4:~ admin$ ssh www4.ibiz.se -l admin 'uptime'
> Password:
> 13:24  up 1 hr, 3 users, load averages: 0.11 0.10 0.08
> www4:~ admin$ exit
> logout
> Connection to www4.ibiz.se closed.
> Macintosh:lektion jeb$
>
> So, does anyone have any idear of what is wrong?
>
> :-( jonas
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to 
capistrano-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to