lake113 Posted November 11, 2012 Share Posted November 11, 2012 Get this error when I try to log into admin console...java related????? Link to comment
Michel Kohanim Posted November 12, 2012 Share Posted November 12, 2012 Hi lake113, viewtopic.php?f=25&t=9742&p=73893&hilit=%2Fetc%2Fhosts#p73893 With kind regards, Michel Link to comment
lake113 Posted November 12, 2012 Author Share Posted November 12, 2012 I am pretty new to this...but when I type in Edit/private/etc/hosts I get the response...No file or directory found. Link to comment
Xathros Posted November 12, 2012 Share Posted November 12, 2012 Hi Lake113- Setp 2 is telling you to edit the file /private/etc/hosts. That is done on the command line with the "nano" editor. After you get your hostname from step #1, type: sudo nano /private/etc/hosts You will be prompted for your MAC's admin password. (The same one for your user account likely) - enter that and pres Return That should look like: GNU nano 2.0.6 File: /private/etc/hosts ## # Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change this entry. ## 127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost fe80::1%lo0 localhost Add a new line above 127.0.0.1 with your hostname: GNU nano 2.0.6 File: /private/etc/hosts ## # Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change this entry. ## 127.0.0.1 Xathros-MacBook-Air 127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost fe80::1%lo0 localhost As I did above for my MBA - After that, type Ctrl-x Then y then Return That should do it for you. Link to comment
lake113 Posted November 12, 2012 Author Share Posted November 12, 2012 Thanks for help...sorry to be so dense;;;I get to enter password....after a warning about use of nano...but then it will not let me enter my password.,,,cursor does not move...so I assume nothing is being entered. If I drop Sudo I get the code you sent without the password,,,,but can not enter line of code...so I assume not in edit mode. Link to comment
Xathros Posted November 13, 2012 Share Posted November 13, 2012 lake113- Password entry at the command line does not show anything as you type. So, when you get there, just type your admin password and press return. Idf correct, the nano editor will open, if wrong, it will say so. -Xathros Link to comment
lake113 Posted November 14, 2012 Author Share Posted November 14, 2012 thanks how do I insert the new line? Link to comment
Xathros Posted November 14, 2012 Share Posted November 14, 2012 place the cursor on the beginning of the line that reads: 127.0.0.1 localhost Press Return then move the cursor up to the new blank line and start typing your new data in. Press tab between 127.0.0.1 and your hostname. -Xathros Link to comment
lake113 Posted November 14, 2012 Author Share Posted November 14, 2012 OK..thanks...have the new line entered...now what step is next...it says to type ctrl-x y and then hit return... on the same page or what? Link to comment
Xathros Posted November 14, 2012 Share Posted November 14, 2012 Yes. Ctrl x says Exit (This means hold down the Ctrl key and press x) You will see a question appear in the bottom section of the terminal. Y answers the question and says write Changes Return Accepts the existing filename and writes out the changes and completes the process. After that, you can quit the terminal and you are all set. -Xathros Link to comment
lake113 Posted November 14, 2012 Author Share Posted November 14, 2012 success...thank you much for helping... Link to comment
Xathros Posted November 15, 2012 Share Posted November 15, 2012 success...thank you much for helping... No Problem. Always happy to help. Glad we got ya fixed up. -Xathros Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.