Forum: Installation

Post: After Installation voltdb NOT RUN - Not a directory ERR

After Installation voltdb NOT RUN - Not a directory ERR
Benny
Jun 17, 2015
here is the procedure:
➜ Downloads sudo dpkg -i voltdb-ent_5.3-1_amd64.deb
Selecting previously unselected package voltdb-ent.
(Reading database ... 317418 files and directories currently installed.)
Preparing to unpack voltdb-ent_5.3-1_amd64.deb ...
Unpacking voltdb-ent (5.3-1) ...
Setting up voltdb-ent (5.3-1) ...
➜ Downloads voltdb create
Traceback (most recent call last):
File "/usr/bin/voltdb", line 76, in <module>
*sys.argv[1:])
File "/usr/lib/voltdb/python/voltcli/runner.py", line 733, in main
run_command(verbspace, internal_verbspaces, config, *args)
File "/usr/lib/voltdb/python/voltcli/runner.py", line 683, in run_command
runner.execute()
File "/usr/lib/voltdb/python/voltcli/runner.py", line 386, in execute
self.verb.execute(self)
File "/usr/lib/voltdb/python/voltcli/verbs.py", line 165, in execute
self.function(runner)
File "/usr/lib/voltdb/python/voltcli/verbs.py", line 310, in wrapper
function(*args, **kwargs)
File "/usr/lib/voltdb/python/voltcli/voltdb.d/create.py", line 43, in create
runner.go()
File "/usr/lib/voltdb/python/voltcli/runner.py", line 380, in go
self.default_func(self)
File "/usr/lib/voltdb/python/voltcli/verbs.py", line 175, in go
bundle.go(self, runner)
File "/usr/lib/voltdb/python/voltcli/verbs.py", line 519, in go
self.run_java(verb, runner, *final_args, **kwargs)
File "/usr/lib/voltdb/python/voltcli/verbs.py", line 390, in run_java
runner.java_execute(self.java_class, opts_override, *args, **kw)
File "/usr/lib/voltdb/python/voltcli/runner.py", line 427, in java_execute
self.java.execute(java_class, java_opts_override, *args, **kwargs)
File "/usr/lib/voltdb/python/voltcli/runner.py", line 150, in execute
utility.exec_cmd(*java_args)
File "/usr/lib/voltdb/python/voltcli/utility.py", line 514, in exec_cmd
os.execvp(cmd, cmd_and_args)
File "/usr/lib/python2.7/os.py", line 346, in execvp
_execvpe(file, args)
File "/usr/lib/python2.7/os.py", line 370, in _execvpe
func(file, *argrest)
OSError: [Errno 20] Not a directory


ISSUE RESOLVED : Problem was a bad classpath of java in the ~/.profile/ bashrc.
pzhao
Jun 18, 2015
Benny,

Glad you were able to figure it out.

Peter Zhao