天天看點

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