天天看点

bin/nutch crawl log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: /usr/nut

log4j:ERROR setFile(null,true) call failed.

java.io.FileNotFoundException: /usr/nutch1.4/runtime/local/logs/hadoop.log (No such file or directory)

是因为log4j.properties 和其他的应用程序重名的原因。

进入  nutch1.6/runtime/local/conf中 ,对log4j.properties换个名字即可:

sudo mv log4j.properties log.properties