Use any text editor to open /etc/hosts. You'll probably have to either log in as root or use sudo since you probably won't have permissions.
This is quickly drifting out of solr-land, so you might want to engage a more general linux community such as linuxquestions.org. -Yousef ----- Original Message ----- From: "Kirk Beers" <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Saturday, December 15, 2007 1:42:21 PM (GMT-0800) America/Los_Angeles Subject: Re: Solr Tutorial Issue How would I add that ? Yousef Ourabi wrote: > Try adding just 'kirk' to the end of the 2nd line so it looks like this: > > 127.0.1.1 kirk.nald.ca kirk > > You can also confirm that just 'kirk' is the hostname by running the > 'hostname' command. > > > ----- Original Message ----- > From: "Kirk Beers" <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.org > Sent: Saturday, December 15, 2007 8:37:07 AM (GMT-0800) America/Los_Angeles > Subject: Re: Solr Tutorial Issue > > Here is the result: > > [EMAIL PROTECTED]:~$ cat /etc/hosts > 127.0.0.1 localhost > 127.0.1.1 kirk.nald.ca > > # The following lines are desirable for IPv6 capable hosts > ::1 ip6-localhost ip6-loopback > fe00::0 ip6-localnet > ff00::0 ip6-mcastprefix > ff02::1 ip6-allnodes > ff02::2 ip6-allrouters > ff02::3 ip6-allhosts > 64.5.219.172 instructors.gonssal.ca > [EMAIL PROTECTED]:~$ > > > > Yousef Ourabi wrote: > >> can you run: "cat /etc/hosts" and paste the output in an email. >> >> >> >> ----- Original Message ----- >> From: "Kirk Beers" <[EMAIL PROTECTED]> >> To: solr-user@lucene.apache.org >> Sent: Friday, December 14, 2007 12:46:13 PM (GMT-0800) America/Los_Angeles >> Subject: Re: Solr Tutorial Issue >> >> Hi Hoss, >> >> I get an error that reads java.net.UnknownHostException kirk : kirk >> >> I will point out that I am new to Linux as well ! >> >> Thanks >> >> Kirk >> >> >> Chris Hostetter wrote: >> >> >>> This thread in general is really confusing to me ... if you are following >>> along withthe tutorial then tomcat should never enter the equation ... >>> "java -jar start.jar" will use a copy of Jetty that is included in the >>> Solr release to spin up a self contained webserver totally indepent of any >>> application server you may already have installed. (that's the whole >>> reason for the start.jar, you don't need to worry about wether you have a >>> servlet container installed correctly) >>> >>> When you run "java -jar start.jar" do you get logging output in your >>> console? is there anything in that logging output that looks like a stack >>> trace? what gets added to the end of that loggign output when you then >>> hit the url http://localhost:8983/solr/admin/ in your browser? >>> >>> : I am running Ubuntu, Java1.6 jdk and tomcat5.5. I can not seem to get >>> the >>> : tutorial to run. The instructions seem simple and clear. >>> : >>> : start.jar ran fine but when I used http://localhost:8983/solr/admin/ >>> : nothing appeared. I also individually copied the >>> : apache-solr-nightly/dist/apache-solr-nightly.war and the >>> : apache-solr-nightly/example/webapps/solr.war to my tomcat webapps and >>> still >>> : nothing!! >>> >>> >>> -Hoss >>> >>> >>> >>> >> >> > > >