Thanks Otis. Sorry about the false alarm. I checked /usr/ucb and whoami is installed there. I added to my .bashrc
It works now. ogjunk-nutch wrote: > > Hi, > I didn't say Nutch depends on Linux - it does not depend on Linux. Your > OpenSolaris must also have whoami command, but it may not be installed. > > Otis > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > ----- Original Message ---- >> From: vkblogger <[EMAIL PROTECTED]> >> To: [email protected] >> Sent: Tuesday, April 29, 2008 2:23:59 AM >> Subject: Re: Error: Failed to get the current user's information: Login >> failed: Cannot run program "whoami": >> >> >> Thanks for the tip. >> I am running nutch on opensolaris and this explains why it bin/nutch is >> failing. >> I am surprised that nutch source code was modified to depend on linux. I >> did >> not have a problem like this before. >> >> Do you know if this can be modified by the code owner to make it platform >> agnostic once more? >> >> Thanks for the help. >> >> >> ogjunk-nutch wrote: >> > >> > It looks like your OS doesn't have the "whoami" command, which is a >> part >> > of "coreutils" (on Linux at least). >> > >> > $ whoami >> > otis >> > >> > -- >> > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch >> > >> > ----- Original Message ---- >> >> From: v k >> >> To: [email protected] >> >> Sent: Monday, April 28, 2008 11:19:42 PM >> >> Subject: Error: Failed to get the current user's information: Login >> >> failed: Cannot run program "whoami": >> >> >> >> Hello: >> >> >> >> I am using the latest svn trunk of nutch. The build was successful but >> >> when I run bin/nutch command I get the error: >> >> >> >> Injector: starting >> >> Injector: crawlDb: crawl/crawldb >> >> Injector: urlDir: urls >> >> Injector: Converting injected urls to crawl db entries. >> >> Exception in thread "main" java.io.IOException: Failed to get the >> >> current user's information: Login failed: Cannot run program "whoami": >> >> error=2, No such file or directory >> >> at >> >> org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:466) >> >> at >> org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:805) >> >> at org.apache.nutch.crawl.Injector.inject(Injector.java:157) >> >> at org.apache.nutch.crawl.Crawl.main(Crawl.java:113) >> >> >> >> Did this happen to anyone else? >> >> >> >> Thanks, >> >> VK >> >> >> > >> > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Error%3A-Failed-to-get-the-current-user%27s-information%3A-Login-failed%3A-Cannot-run-program-%22whoami%22%3A-tp16952580p16953700.html >> Sent from the Nutch - User mailing list archive at Nabble.com. >> >> > > > > -- View this message in context: http://www.nabble.com/Error%3A-Failed-to-get-the-current-user%27s-information%3A-Login-failed%3A-Cannot-run-program-%22whoami%22%3A-tp16952580p16971840.html Sent from the Nutch - User mailing list archive at Nabble.com.
