[root@localhost bin]# ./storm ui
Traceback (most recent call last):
File "./storm", line 409, in
main()
File "./storm", line 406, in main
(COMMANDS.get(COMMAND, unknown_command))(*ARGS)
File "./storm", line 288, in ui
jvmopts = parse_args(confvalue("ui.childopts", cppaths)) + [
File "./storm", line 60, in confvalue
p = sub.Popen(command, stdout=sub.PIPE)
File "/usr/lib64/python2.6/subprocess.py", line 639, in __init__
errread, errwrite)
File "/usr/lib64/python2.6/subprocess.py", line 1228, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
主要是把JAVA_HOME加到PATH里
export PATH=$PATH:/jdk/bin
问题解决!
阅读(22682) | 评论(0) | 转发(0) |