You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by serenity <se...@gmail.com> on 2011/07/07 17:45:48 UTC

no agents listed in 'http.agent.name'

Hello Friends, 

I am experiencing this error message " fetcher:no agents listed in
'http.agent.name' property" when I am trying to crawl with Nutch 1.3
 
I referred other mails regarding the same error message and tried to change
the nutch-default.xml and nutch-site.xml file details with
 
 <property>
  <name>http.agent.name</name>
  <value>My Nutch Spider</value>
  <description>EMPTY</description>
</property>

I also filled out the other property details without blank and still getting
the same error. May I know my mistake ?
 

Thanks, 
Serenity 

--
View this message in context: http://lucene.472066.n3.nabble.com/no-agents-listed-in-http-agent-name-tp3148609p3148609.html
Sent from the Nutch - User mailing list archive at Nabble.com.

Re: no agents listed in 'http.agent.name'

Posted by serenity <se...@gmail.com>.
I fixed it with the help of *Way cool*. I never tried to update the
nutch-site.xml file in the <NUTCH_HOME>/runtime/local/conf directory, I was
updating the nutch-site.xml file from <NUTCH_HOME>/conf directory.



--
View this message in context: http://lucene.472066.n3.nabble.com/no-agents-listed-in-http-agent-name-tp3148609p3148935.html
Sent from the Nutch - User mailing list archive at Nabble.com.

Re: no agents listed in 'http.agent.name'

Posted by lewis john mcgibbney <le...@gmail.com>.
Hi Serenity,

I don't know if you are aware but this message has been duplicated across
both user@ & nutch-user@.

In general it is good practice for what to put in nutch-site and
nutch-default can be found here [1] and here [2]. It is not required to add
the properties to both of the conf files.

To address your problem specifically, it should be pretty straightforward to
implement this in nutch-site.xml, try copying over properties one by one and
grandually building up a picture of where the discrepancy may be.

[1]
http://wiki.apache.org/nutch/FAQ#I_have_two_XML_files.2C_nutch-default.xml_and_nutch-site.xml.2C_why.3F
[2] http://wiki.apache.org/nutch/NutchConfigurationFiles

On Thu, Jul 7, 2011 at 4:45 PM, serenity <se...@gmail.com>wrote:

> Hello Friends,
>
> I am experiencing this error message " fetcher:no agents listed in
> 'http.agent.name' property" when I am trying to crawl with Nutch 1.3
>
> I referred other mails regarding the same error message and tried to change
> the nutch-default.xml and nutch-site.xml file details with
>
>  <property>
>  <name>http.agent.name</name>
>  <value>My Nutch Spider</value>
>  <description>EMPTY</description>
> </property>
>
> I also filled out the other property details without blank and still
> getting
> the same error. May I know my mistake ?
>
>
> Thanks,
> Serenity
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/no-agents-listed-in-http-agent-name-tp3148609p3148609.html
> Sent from the Nutch - User mailing list archive at Nabble.com.
>



-- 
*Lewis*