Friday, August 19, 2011

cvs [login aborted]: Name or service not known

When ever you this happening most probably your machnie is not able to recognize the remote server.
e.g. if your CVSROOT=:pserver:anonymous@rable:/montreal

then most probably the remote server "rable" is not being recognized by your local machine. This typically happens when there is no mapping of "rable" to a IP address in you machine. All the above is assuming "rable" is in your LAN.

To resolve do the following:
$ping rable
if the above command couldn't ping, then this is the problem.

Try to find out the ping ip address of remote server in this case "rable"(from your LAN admin or somebody else).

now
$export CVSROOT=:pserver:anonymous@<IP_ADDR_RABLE>:/montreal
where <IP_ADDR_RABLE> is ip address of rable.

But the better thing is to put mapping of rable to <IP_ADDR_RABLE> in /etc/hosts. Then you can use the initial command

$export CVSROOT=:pserver:anonymous@rable:/montreal

After this try to login again and it should work. If it doesn't then problem is something else. Check out the following links.


http://stackoverflow.com/questions/2900542/cvs-could-not-resolve-hostname-how-can-i-set-the-http-proxy-for-cvs

http://stackoverflow.com/questions/4375885/how-to-login-to-cvs-with-extssh

http://www.linuxquestions.org/questions/linux-newbie-8/cant-login-using-cvs-to-bluez-repository-808369/








No comments:

Post a Comment