Apache OpenOffice (AOO) Bugzilla – Issue 27747
Tunnel OK, but unable to commit via CVS
Last modified: 2004-08-04 01:38:00 UTC
My original login, "richard", the one that is signed up on the lists, etc., as well as the login, "rholt", that was created after the SourceCast upgrade, are both broken as of Sunday. I know they worked on Saturday night. To the best of my knowledge I haven't changed anything on my system, but I'm unable to commit for the "es" nor the "lingucomponent" projects since yesterday. I can tunnel OK, but am unable to commit. Says rholt not found. Change to richard and get the same error. > Could you add the output of "cvs -t login" in the comment of the issue. > Thanks, Stefan output from cvs -t login: for both richard and rholt (richard is preferred login since it is the oldest and most used.) [richard@localhost richard]$ .oocvs-t cvs -d :pserver:richard@localhost:/cvs -t login -> main loop with CVSROOT=:pserver:richard@localhost:/cvs Logging in to :pserver:richard@localhost:2401/cvs CVS password: -> Connecting to localhost(127.0.0.1):2401 cvs [login aborted]: connect to localhost(127.0.0.1):2401 failed: Connection refused -> Lock_Cleanup() [richard@localhost richard]$ [richard@localhost richard]$ .oocvs-th cvs -d :pserver:rholt@localhost:/cvs -t login -> main loop with CVSROOT=:pserver:rholt@localhost:/cvs Logging in to :pserver:rholt@localhost:2401/cvs CVS password: -> Connecting to localhost(127.0.0.1):2401 cvs [login aborted]: connect to localhost(127.0.0.1):2401 failed: Connection refused -> Lock_Cleanup() [richard@localhost richard]$ regards, Richard.
Hi, to me it looks like your tunnel is not running. Are you sure that the tunnel is established and ssh is listening on port 2401? Could you try to connect to the port. $ telnet localhost 2401 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. ababab cvs [pserver aborted]: bad auth protocol start: ababab Connection closed by foreign host.
Here are the results of telnet localhost 2401: [richard@localhost richard]$ telnet localhost 2401 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host: Connection refused [richard@localhost richard]$ [root@localhost richard]# telnet localhost 2401 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host: Connection refused [root@localhost richard]# Looks like you're correct. What did I do to break it? This is output from my script to tunnel: [richard@localhost richard]$ .ootunnel Tunneling: ssh -2 -x -L 2401:localhost:2401 tunnel@openoffice.org Enter passphrase for key '/home/richard/.ssh/id_dsa': Tunnel established. Type ctrl-c to exit. Though it looks like it always has? Richard.
Richard, can you log into OOo anyway? I mean, is your username accepted but password not? If so, i can change your password for you. louis
Obviously Richard can login - he filed the issue.
d'oh. louis
Hi Richard, do you still have a problem? How do you start your tunnel? I guewss you are running Linux. Could you run a netstat -ta and see whether the tunnel is connected to s002.sfo.collab.net and listening on port 2401. Greetings, Stefan
Hello Stefan, Tunnel started via script with the following: ssh -2 -x -L 2401:localhost:2401 tunnel@openoffice.org and then, output of netstat -ta as follows: [richard@localhost richard]$ netstat -ta Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 localhost:1024 *:* LISTEN tcp 0 0 localhost:cvspserver *:* LISTEN tcp 0 0 *:sunrpc *:* LISTEN tcp 0 0 *:x11 *:* LISTEN tcp 0 0 *:ipp *:* LISTEN tcp 0 0 ojeda-ppp005.t-net:1029 s002.sfo.collab.net:ssh ESTABLISHED [richard@localhost richard]$ From Cervisia: cvs -d :pserver:rholt@localhost:/cvs -f update -R -d -P '.' 2>&1 Fatal error, aborting. rholt: no such user [Exited with status 1] From a console: [richard@localhost richard]$ .ooesup cvs -d :pserver:richard@localhost:/cvs update es cvs [update aborted]: unrecognized auth response from localhost: cvs pserver: Invalid reply from auth server (17476) looking for (richard) [richard@localhost richard]$ So, the answer is no, nothing has changed; I still can't connect though I seem to be connected. Thanks for your help, Richard.
Apparently the tunnel is not working for me, even though it reports that it is. What need I do to resolve this? I would like to retain the same user name: richard@openoffice.org so I don't have to redo everything. Should I create a new what-cha-ma-callit via ssh2? And submit it to Louis as before. Requesting permissions as granted before? It is sort of discouraging. I can upload to stardiv directly to update dictionaries, but am unable to change the pages on lingucomponent that indicates that they are updated. All changes have to be sent to Kevin Hendricks for committing which is a bother for him. I am no longer able to change pages on, es, the Spanish project. I can make changes but commits have to be sent to others for updating. As the I Ching says, "Perserverance furthers." Thanks, Richard.
Hi This is a job for support, I think. Support -- richard is lead of two important projects. can you get ops to look into what's going on? thanks Louis raising priority to p2
Richard: what's the name of your keyfile? When I need to establish a tunnel for ooo cvs work, I have to specify my priv key which is called "kenneth-oo" by doing the following: ssh -2 -i keys/kenneth-oo -L 2401:localhost:2401 tunnel@openoffice.org obviously I have my public key called kenneth-oo.pub on the server already. In answer to your questions: >I would like to retain the same user name: richard@openoffice.org >so I don't have to redo everything. >Should I create a new what-cha-ma-callit via ssh2? >And submit it to Louis as before. Requesting permissions as granted before? That's fine, at worst, we'll have to make a new key. You won't need a new username. But, I'll need to know the answer to the question above about the ssh command.
> what's the name of your keyfile? My public key is "id_dsa.pub" within which it specifies richard@localhost.localdomain, created 20030721, it's been in use since then. > ssh -2 -i keys/kenneth-oo -L 2401:localhost:2401 tunnel@openoffice.org > obviously I have my public key called kenneth-oo.pub on the server already. I've been using the following in a script since last year: ssh -2 -x -L 2401:localhost:2401 tunnel@openoffice.org and my public key was on the server --maybe it got overwritten? I'll begin preparing another public key. Can I give it a more unique name before submitting it? Thanks, Richard.
Before submitting a new key, could you try the "-i keyname" option and pasting the output? Oh and yes, you can name the what you'd like.
Kenneth, [richard@localhost richard]$ ssh -2 -i keys/id_dsa.pub -L 2401:localhost:2401 tunnel@openoffice.org Warning: Identity file keys/id_dsa.pub does not exist. Enter passphrase for key '/home/richard/.ssh/id_dsa': Tunnel established. Type ctrl-c to exit. ^CConnection to openoffice.org closed. [richard@localhost richard]$ Well, it appears that my key is no longer on the server; although it finds my local copy (unless I typed something wrong). I just never had to use this step before. It seem a more positive step, for sure, referencing the file on the server and not locally. Richard.
I created pcn 28320 to verify that the key is installed correctly. Eric
Operations says they see 3 keys. Is there one key we should keep & get rid of the other two? Eric There should only be 1 key. permitopen="localhost:2401" ssh-dss AAAAB3NzaC1kc3MAAACBAP3oTwpjCDXn79TJ2NAX4f1/ rdIcY0L4adJDYSux2N+F+IJ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AACBAIAU+QOeElKw802qP+Hn0Jt8t/g6R2Po63UW agwM018qQgRwzJPDlFwXVgf6hQabSkcrD5TyFopoXCJYFvpZ9U4HjGULOS5IMdu46U2Y3sBMMYY+TVfT ICGOSE8Z8cZiGbN0kjeyrh3iWJv4xZgk4zsVe6ub3EJA3ewinU1p7vSz richard@localhost.local domain permitopen="localhost:2401" ssh-dss AAAAB3NzaC1kc3MAAACBAMicHMvwZCSHLTQ0VkcGv/Y7 L7ORXqzrZ1y6AJnr00MQLMkXzbFg/0Kvq519csLIYv4NUlD8gtyOxKM9PVUGsdOkA1YkFuudjrg/XQOb mxTPYvDNeVAbkTg11CS3un8WtFNooyy/wPSvZ0j2aRZAx0x7VWJTNPup6ZIpFwB+LcGTAAAAFQDQsvXG vIz84Og3MjLdncTihxIK0wAAAIA3qtodRz6LVyc32Ri/Pg9Ihu2mE/kCaLXJ2XJP05RYejyM/CyQAZAk BNgbFpAtgTsLwyrroOfr/56yC4813oKkQrt2VqSGiBu/swkWLmZN0vfybHeiXZXU0+ZwYgbaPUiM7hxV ogNIGrQEmKgK8Zx9+uamwDnlrEBMhtcrTMO+tAAAAIEAnN07To2vtWWs63FJM/4/2Gu715ox ogNIGrQEmKgK8Zx9+uamwDnlrEBMhtcrTMO+3HoszYCE 1yEjQOO2egrhRf1MJ4Vvg0HNoXvtTL7dsgWvjHcW7hPZ77NjzirEyk7TC2FtZJBVsRB23orqFL5//NiD hxOQMBgxJnia5TmsCYedDueFJjhniL65aHa6K2RJ8eg/veASFhfREXU= richard@localhost.local domain
The contents of my public key seem to match the third one you listed: ssh-dss AAAAB3NzaC1kc3MAAACBAMicHMvwZCSHLTQ0VkcGv/Y7L7ORXqzrZ1y6AJnr 00MQLMkXzbFg/0Kvq519csLIYv4NUlD8gtyOxKM9PVUGsdOkA1YkFuudjrg/XQObmxTPY vDNeVAbkTg11CS3un8WtFNooyy/wPSvZ0j2aRZAx0x7VWJTNPup6ZIpFwB+LcGTAAAAFQ DQsvXGvIz84Og3MjLdncTihxIK0wAAAIA3qtodRz6LVyc32Ri/Pg9Ihu2mE/kCaLXJ2XJ P05RYejyM/CyQAZAkBNgbFpAtgTsLwyrroOfr/56yC4813oKkQrt2VqSGiBu/swkWLmZN 0vfybHeiXZXU0+ZwYgbaPUiM7hxVogNIGrQEmKgK8Zx9+uamwDnlrEBMhtcrTMO+tAAAA IEAnN07To2vtWWs63FJM/4/2Gu715ox3HoszYCE1yEjQOO2egrhRf1MJ4Vvg0HNoXvtTL7 dsgWvjHcW7hPZ77NjzirEyk7TC2FtZJBVsRB23orqFL5//NiDhxOQMBgxJnia5TmsCYed DueFJjhniL65aHa6K2RJ8eg/veASFhfREXU= richard@localhost.localdomain I know there were a couple of aborted attempts before I got it working a couple of years ago. Perhaps temporarily remove the first two and see if that sorts it out? Thanks, Richard.
I just let ops know to make the changes & will let you know when complete. Eric
Ops has taken the first two keys out, please try again & let me know your results. Thanks, Eric
Created attachment 14861 [details] screen view of attempts to connect via CVS
Hi Richard, Are you able to use command line for any cvs functions? Otherwise.. Let's start over with a new key to install. Eric
Eric, I can connect to tunnel via cli but it doesn't work. I have tried all the old scripts I used to use before I found Cevisia, but none of them work and I have used them in the recent past. It's sometimes easier than finding the gui. Must admit, I have to go look up the instructions on building the public key, but I will attach it to this issue as soon as I get it done. Thanks for your help. regards, Richard.
Created attachment 14900 [details] latest public key for richard@openoffice.org
Hi Richard, I requested the removal of the old key & to input this new key in the pcn mentioned in the status whiteboard. I will let ya know when completed. Thanks.. Eric
Hi Richard, Let's try this again, as I just got confirmation that the old key has been removed & the new key installed. Eric
Hello Eric, tried it on Tuesday, Wednesday and today. [richard@localhost richard]$ .ootunnel Tunneling: ssh -2 -x -L 2401:localhost:2401 tunnel@openoffice.org tunnel@openoffice.org's password: Permission denied, please try again. tunnel@openoffice.org's password: [richard@localhost richard]$ [richard@localhost richard]$ ssh -2 -i keys/richard -L 2401:localhost:2401 tunnel@openoffice.org Warning: Identity file keys/richard does not exist. tunnel@openoffice.org's password: Permission denied, please try again. tunnel@openoffice.org's password: Permission denied, please try again. tunnel@openoffice.org's password: Even tried to login to CVS with the following: [richard@localhost richard]$ .oocvs Logging in to :pserver:richard@localhost:2401/cvs CVS password: cvs [login aborted]: connect to localhost(127.0.0.1):2401 failed: Connection refused [richard@localhost richard]$ .oocvs Logging in to :pserver:richard@localhost:2401/cvs CVS password: cvs [login aborted]: connect to localhost(127.0.0.1):2401 failed: Connection refused [richard@localhost richard]$ Must be doing something wrong. Any ideas? Thanks, Richard.
Hi there Richard, The error indicates to me that either the key name is wrong or the tunnel command is not finding the path to the keys directory. Maybe you can input the full path to your keys directory. It may look something like /home/users/richard/keys/richard The above path is just an example. So if the above was the path it would like ssh -2 -i /home/users/richard/keys/richard -L 2401:localhost:2401 tunnel@openoffice.org Let me know what happens from here. Eric
OK, this gets the tunnel open: [richard@localhost richard]$ .ootunnel Tunneling: ssh -2 -i /home/richard/.ssh/richard -L 2401:localhost:2401 tunnel@openoffice.org Enter passphrase for key '/home/richard/.ssh/richard': Tunnel established. Type ctrl-c to exit. But then, trying to checkout 'es' results in this: [richard@localhost richard]$ .ooesco cvs -d :pserver:richard@localhost:/cvs checkout es cvs [checkout aborted]: unrecognized auth response from localhost: cvs pserver: Invalid reply from auth server (12893) looking for (richard) [richard@localhost richard]$ Here are results of 'netstat -ta': [richard@localhost richard]$ netstat -ta Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 localhost:1024 *:* LISTEN tcp 0 0 localhost:cvspserver *:* LISTEN tcp 0 0 *:sunrpc *:* LISTEN tcp 0 0 *:x11 *:* LISTEN tcp 0 0 *:ipp *:* LISTEN tcp 0 0 ojeda-ppp006.t-net:1293 images.slashdot.or:http ESTABLISHED tcp 0 437 ojeda-ppp006.t-net:1281 rs22s4.datacenter.:http ESTABLISHED tcp 0 0 ojeda-ppp006.t-net:1306 4.78.20.6:http ESTABLISHED tcp 0 0 ojeda-ppp006.t-net:1294 banners.globovisio:http ESTABLISHED tcp 0 0 ojeda-ppp006.t-net:1278 rs22s4.datacenter.:http ESTABLISHED tcp 0 0 ojeda-ppp006.t-net:1285 ads.osdn.com:http ESTABLISHED tcp 0 462 ojeda-ppp006.t-net:1279 unionradio.org:http ESTABLISHED tcp 0 0 ojeda-ppp037.t-net:1356 i8.cnn.net:http ESTABLISHED tcp 0 0 ojeda-ppp037.t-net:1372 s002.sfo.collab.net:ssh ESTABLISHED [richard@localhost richard]$ Hope this helps. At least the tunnel is back. I'll keep playing with the scripts to see if they work on lingucomponent or es. Richard.
Hi Richard, Can you check anything out or is it just related to the es project? Can you try this cvs -d :pserver:anoncvs@anoncvs.services.openoffice.org:/cvs checkout es Thanks, Eric
I checked your permissions & you definately have all the cvs permissions needed here. Eric
Halleluyah! anoncvs works. [richard@localhost richard]$ cvs -d :pserver:anoncvs@anoncvs.services.openoffice.org:/cvs checkout es ? es/OpenOffice_org_1_x.html ? es/cvs-miljenko-1.html ? es/distribution-CD-Roms ? es/es_openoffice_org.html ? es/es_openoffice_org_files ? es/ts-openoffice.html ? es/tunneling-with-ssh2.txt ? es/www/comunidad/index-new.html ? es/www/comunidad/index-old.html RCS file: /cvs/es/www/empresas.html,v retrieving revision 1.259 retrieving revision 1.261 Merging differences between 1.259 and 1.261 into empresas.html M es/www/empresas.html U es/www/programa/cd.html cvs server: nonmergeable file needs merge cvs server: revision 1.171 from repository is now in es/www/programa/cd.html cvs server: file from working directory is now in .#cd.html.1.169 C es/www/programa/cd.html [richard@localhost richard]$ So, does that mean that my installation is fouled? May be something in my old scripts? Cevisia still doesn't work but I've fiddled with it a lot. Richard.
Hi Richard, After you tunnel, did you do a cvs login as well? ssh -2 -i /home/richard/.ssh/richard -L 2401:localhost:2401 tunnel@openoffice.org cvs -d :pserver:richard@localhost:/cvs -t login Then try the checkout. Thanks, Eric
Hi, Well, I think I did, but not sure if I tried login after or before tunneling. Don´t remember it in the docs. What is the login pass word to CVS? I´ve tried with my pass phrase, OOo password, and even invented some. I meant to ask the other day, but thought it was one or the other of these. I´ll try them all tonight when I get back to my linux box. Thanks, Richard.
Hi Richard, I don't have your cvs password unfortunately. Maybe you could meet up with Stefan to work that out. Eric
The CVS password is the "OOo password" - the password you use to login into the OOo site.
The CVS login is the OOo login. (Thanks Stefan!) I really will write down all this procedure, where I can find it for the next time. I promise. Just successfully update'd the pages for the Spanish project. Miljenko will be happy not to have to keep committing. I'm happy that I can do it directly and not wait any more than normal. Now waiting on the Lingucomponent pages to update. So far so good! Well. Thanks for all your help. So far everything seems to work. I'll do some cleaning up and commit some things and, if all goes well, close this issue in a day or so, unless someone else is having a problem. Thanks and best regards, Richard.
Hi Richard, This doesn't seem to be a defect but a request to get your key working such that you can do checkouts & commits. Looks like we now have things working as expected. To keep the support queue as organized as possible I am going to close this one since the issue no longer exists & we can open a new issue if someone else needs help like this. Thanks, Eric
Closing this issue.