关于heritrix的配置问题,最后运行不成功
配置heritrix,前面都是没出错,最后执行heritrix --admin=admin:admin就出错了,求高手解答,我这个是在XP虚拟机里做的 C:Documents and SettingsAdministrator>cd
C:>cd heritrix
C:heritrix>cd bin
C:heritrixbin>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 heritrixjmxremote.password.template.
Copy it to heritrixjmxremote.password and edit the passwords at the end of the file.
C:heritrixbin>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我也遇到了这个问题 是jmxremote.password 存错目录啦 应该存在D:heritrix-1.14.4heritrix-1.14.4下 还好设置为只读模式 小细节
好吧,我最后用的eclipse配置的,终于可以爬了
2.进入c:heritrixconf复制文件jmxremote.password.template到c:heritrix下并把文件重新命名为jmxremote.password,
然后修改其内容为下:
monitorRole @123456789@ ->monitorRole admin (@于@之间设置的是密码,后面是->用户角色用户名)
controlRole @123456789@ ->controlRole shi
---------------------------------------
这句话 怎么理解啊?
错误原因:
应该好好看看安装文档,没玩过这东西