[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mac OS X 10.1.5 CVS unknown host problem

From: Darrik Spaude
Subject: Mac OS X 10.1.5 CVS unknown host problem
Date: Fri, 25 Jul 2003 13:57:49 -0500

Cannot use an IP address to log in to a CVS repository.

System specs:
Mac OS X 10.1.5 (dev tools installed)
CVS 1.11.6 (client/server build without GSSAPI)

username% cvs -d :pserver:username@<ip address>:/<CVS root>
Logging in to :pserver:username@<ip address>:2401/<CVS root>
CVS Password:
Unknown host <ip address>.

Web page that helped resolve my cvs login problem:

Some content of that page:

Sounds like cvs is doing a gethostbyname() on your ip address, and is not 
being able to resolve that.  I assume your ip address is not in your 
nameserver, or you are not using a nameserver.

Try creating a new "machines" entry in netinfo with your ip address, or 
create a standard hosts file and read it into netinfo with:

        # niload hosts . < hostfile

(which will create the corresponding "machines" entry.)  Then you should 
be able to use either your ip address or the name you have specified in 
the "machines" entry.

What I did:
1) Open the NetInfo Manager application (in /Applications/Utilities).
2) Click on the lock (if locked), enter admin name and password.
3) Click on "machines".
4) Click on "broadcasthost".
5) Edit->Duplicate.
6) Modify the name of "broadcasthost_copy" to be the name that you want to
7) Modify the "ip_address" to the IP address that resolves from the name.
The "serves" field should be left at "../network".
8) Save and quit.
9) Modify CVSROOT to use the name rather than the IP address.
10) Try logging in and it should now work.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]