mark2devel / mark2

Minecraft Multi Server Wrapper Written in Python with Twisted; Pull Requests HIGHLY Encouraged, Collaborators Needed Discord: https://discord.gg/zymJygHNpv
Other
208 stars 44 forks source link

Can't start mark2 #60

Closed SkwisgaarFC closed 8 years ago

SkwisgaarFC commented 8 years ago

root@asdasdasd:/ServerName# mark2 start 2016-07-19 13:49:40 # mark2 starting... 2016-07-19 13:49:41 # starting ServerName Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 150, in maybeDeferred result = f(_args, _kw) File "/usr/local/share/mark2/mk2/services/process.py", line 107, in server_starting self.stat_process.start(self.parent.config['java.ps.interval']) File "/usr/lib/python2.7/dist-packages/twisted/internet/task.py", line 194, in start self() File "/usr/lib/python2.7/dist-packages/twisted/internet/task.py", line 239, in call d = defer.maybeDeferred(self.f, _self.a, _self.kw) --- --- File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 150, in maybeDeferred result = f(_args, _kw) File "/usr/local/share/mark2/mk2/services/process.py", line 165, in update_stat except psutil.error.NoSuchProcess: exceptions.AttributeError: 'module' object has no attribute 'error' 2016-07-19 13:49:41 # pid: 7410 2016-07-19 13:49:41 # jvm options: -Xmx512M -Djline.terminal=jline.UnsupportedTerminal 2016-07-19 13:49:41 | [RAW] Upon execvpe java ['java', '-Xmx512M', '-Djline.terminal=jline.UnsupportedTerminal', '-jar', 'spigot.jar', 'nogui'] in environment id 9430224 2016-07-19 13:49:41 | [RAW] :Traceback (most recent call last): 2016-07-19 13:49:41 | [RAW] File "/usr/lib/python2.7/dist-packages/twisted/internet/process.py", line 430, in _fork 2016-07-19 13:49:41 | [RAW] environment) 2016-07-19 13:49:41 | [RAW] File "/usr/lib/python2.7/dist-packages/twisted/internet/process.py", line 508, in _execChild 2016-07-19 13:49:41 | [RAW] os.execvpe(executable, args, environment) 2016-07-19 13:49:41 | [RAW] File "/usr/lib/python2.7/os.py", line 355, in execvpe 2016-07-19 13:49:41 | [RAW] _execvpe(file, args, env) 2016-07-19 13:49:41 | [RAW] File "/usr/lib/python2.7/os.py", line 382, in _execvpe 2016-07-19 13:49:41 | [RAW] func(fullname, argrest) 2016-07-19 13:49:41 | [RAW] OSError: [Errno 2] No such file or directory 2016-07-19 13:49:41 # fatal error: A process has ended with a probable error condition: process ended with exit code 1. 2016-07-19 13:49:41 # mark2 stopped.

EDIT: Bad JDK install