配置heritrix,前面都是没出错,最后执行heritrix --admin=admin:admin就出错了,求高手解答,我这个是在XP虚拟机里做的 C:\Documents and Settings\Administrator>cd \ C:>cd heritrix C:\heritrix>cd bin C:\heritrix\bin>heritrix --admin=admin:admin WARNING: It's currently not possible to run Heritrix in background on Windows. It was just started minimized in a new Window and will be shut down as soon as you log off. 2011-05-24 星期二 16:39:31.73 Starting heritrix Heritrix failed to start properly. Possible causes: - Login and password have not been specified (see --admin switch) - another program uses the port for the web UI (8080 by default) (e.g. another Heritrix instance) - JMX password file is missing or permissions not set correctly JMX permissions file missing. A template can be found in \heritrix\jmxremote.password.template. Copy it to \heritrix\jmxremote.password and edit the passwords at the end of the file. C:\heritrix\bin>
错误原因:
Login and password have not been specified (see --admin switch)
2.进入c:\heritrix\conf复制文件jmxremote.password.template到c:\heritrix下并把文件重新命名为jmxremote.password,
然后修改其内容为下:
monitorRole @123456789@ ->monitorRole admin (@于@之间设置的是密码,后面是->用户角色用户名)
controlRole @123456789@ ->controlRole shi --------------------------------------- 这句话 怎么理解啊?######好吧,我最后用的eclipse配置的,终于可以爬了###### 我也遇到了这个问题 是jmxremote.password 存错目录啦 应该存在D:\heritrix-1.14.4\heritrix-1.14.4下 还好设置为只读模式 小细节
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。