Socket error when starting m2ee on a Linux server

0
Friends, i am runing out of options and could use a pointer to resolve this issue. I have configured a linux server (CentOS), configured yaml files etc but when I start the m2ee I keep on getting a socket.error (see trace below ) does anybody know whjat causes this error? and more importantly how to solve it? ====================================log==================================== [sandbox@CentOS65 ~]$ m2ee -vv DEBUG: Using m2ee-tools version 0.5.9 DEBUG: Loading configuration from /etc/m2ee/m2ee.yaml DEBUG: Loading configuration from /home/sandbox/.m2ee/m2ee.yaml DEBUG: Loading json configuration from /srv/mendix/sandbox/model/metadata.json TRACE: contents read from /srv/mendix/sandbox/model/metadata.json: {u'AdminUser': u'MxAdmin', u'RuntimeVersion': u'5.11.0', u'ScheduledEvents': [], u'ProjectID': u'2e8c1c86-45b9-47fc-81ac-3f92f287017e', u'ProjectName': u'sandbox', u'ModelVersion': u'unversioned', u'AdminRole': u'8dd52bfa-6d7e-453b-b506-303c0a3d9567', u'Roles': {u'8dd52bfa-6d7e-453b-b506-303c0a3d9567': {u'ManageableRoles': [u'8dd52bfa-6d7e-453b-b506-303c0a3d9567', u'53f5d6fa-6da9-4a71-b011-454ec052cce8'], u'Name': u'Administrator'}, u'53f5d6fa-6da9-4a71-b011-454ec052cce8': {u'Name': u'User'}}, u'Constants': [], u'Description': u''} DEBUG: Determining runtime version to be used... DEBUG: MxRuntime version listed in model metadata: 5.11.0 DEBUG: Merging microflow constants configuration... TRACE: Merging current mxruntime config into it... {'DatabaseHost': '127.0.0.1:32', 'DTAPMode': 'P', 'MicroflowConstants': None, 'BasePath': '/srv/mendix/sandbox/', 'DatabaseUserName': 'sandbox', 'DatabasePassword': 'Nfia1212', 'javaopts': ['-Dfile.encoding=UTF-8', '-XX:MaxPermSize=64M', '-Xmx256M', '-Xms256M', '-Djava.io.tmpdir=/srv/mendix/sandbox/data/tmp'], 'DatabaseName': 'sandbox', 'DatabaseType': 'PostgreSQL', 'ScheduledEventExecution': 'NONE'} TRACE: Replacing 'MicroflowConstants' with constants we just figured out: {} DEBUG: Merged runtime configuration: {'DatabaseHost': '127.0.0.1:32', 'DTAPMode': 'P', 'MicroflowConstants': {}, 'BasePath': '/srv/mendix/sandbox/', 'DatabaseUserName': 'sandbox', 'DatabasePassword': 'Nfia1212', 'javaopts': ['-Dfile.encoding=UTF-8', '-XX:MaxPermSize=64M', '-Xmx256M', '-Xms256M', '-Djava.io.tmpdir=/srv/mendix/sandbox/data/tmp'], 'DatabaseName': 'sandbox', 'DatabaseType': 'PostgreSQL', 'ScheduledEventExecution': 'NONE'} DEBUG: Searching for 5.11.0 in mxjar repo locations... DEBUG: Using: /usr/local/share/mendix/5.11.0 DEBUG: Determining classpath to be used... DEBUG: Building classpath to run appcontainer/runtime from jars. DEBUG: Running from binary distribution. DEBUG: Using classpath: /usr/local/share/mendix/5.11.0/runtime/felix/bin/felix.jar:/usr/local/share/mendix/5.11.0/runtime/lib/com.mendix.xml-apis-1.4.1.jar DEBUG: Setting RuntimePath runtime config option to /usr/local/share/mendix/5.11.0/runtime TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: Got <class 'socket.error'="">: [Errno 111] Connection refused INFO: The application process is not running. INFO: Application Name: sandbox
asked
1 answers
0

some additional log stuff - when i try to start the runtime I get the following errors:

there are a couple of things that strike me as odd:

  • I have configured the javaopts: to direct to srv/mendix/sandbox/data/tmp this works correclty when starting the m2ee environment (see earlier log) but here the value is not set correctly

==============================================================

Command line to be used when starting the JVM: java -Dfile.encoding=UTF-8 -XX:MaxPermSize=128M -Xmx512M -Xms512M -Djava.io.tmpdir=/path/to/project/directory/data/tmp -cp /usr/local/share/mendix/5.11.0/runtime/felix/bin/felix.jar:/usr/local/share/mendix/5.11.0/runtime/lib/com.mendix.xml-apis-1.4.1.jar -Dfelix.config.properties=file:/srv/mendix/sandbox/model/felixconfig.properties org.apache.felix.main.Main TRACE: Environment to be used when starting the JVM: {'M2EEADMINPORT': '9000', 'M2EEADMINLISTENADDRESSES': '', 'M2EERUNTIMELISTENADDRESSES': '', 'M2EEADMINPASS': 'Nfia1212'} TRACE: [2410] Forking now... TRACE: [2410] Waiting for intermediate process to exit... TRACE: [2411] Now in intermediate forked process... TRACE: [2411] Starting the JVM... TRACE: [2411] Writing JVM pid to pidfile: 2412 TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: Got <class 'socket.error'="">: [Errno 111] Connection refused TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: Got <class 'socket.error'="">: [Errno 111] Connection refused TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: Got <class 'socket.error'="">: [Errno 111] Connection refused TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: Got <class 'socket.error'="">: [Errno 111] Connection refused TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: Got <class 'socket.error'="">: [Errno 111] Connection refused TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: Got <class 'socket.error'="">: [Errno 111] Connection refused TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: Got <class 'socket.error'="">: [Errno 111] Connection refused TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: Got <class 'socket.error'="">: [Errno 111] Connection refused TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: Got <class 'socket.error'="">: [Errno 111] Connection refused TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: Got <class 'socket.error'="">: [Errno 111] Connection refused TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: Got <class 'socket.error'="">: [Errno 111] Connection refused TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: Got <class 'socket.error'="">: [Errno 111] Connection refused TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: Got <class 'socket.error'="">: [Errno 111] Connection refused TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: Got <class 'socket.error'="">: [Errno 111] Connection refused TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: Got <class 'socket.error'="">: [Errno 111] Connection refused TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: Got <class 'socket.error'="">: [Errno 111] Connection refused TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: Got <class 'socket.error'="">: [Errno 111] Connection refused TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: Got <class 'socket.error'="">: [Errno 111] Connection refused TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: Got <class 'socket.error'="">: [Errno 111] Connection refused TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: Got <class 'socket.error'="">: [Errno 111] Connection refused TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: Got <class 'socket.error'="">: [Errno 111] Connection refused TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: Got <class 'socket.error'="">: [Errno 111] Connection refused TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: Got <class 'socket.error'="">: [Errno 111] Connection refused TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: Got <class 'socket.error'="">: [Errno 111] Connection refused TRACE: M2EE request body: {"action": "echo", "params": {"echo": "ping"}} TRACE: M2EE response: {"feedback":{"echo":"pong"},"result":0} TRACE: Calling CloseStdIO... TRACE: M2EE request body: {"action": "closestdio"} TRACE: M2EE response: {"feedback":{},"result":0} TRACE: [2411] Exiting intermediate process... DEBUG: The JVM process has been started. TRACE: M2EE request body: {"action": "runtimestatus"} TRACE: M2EE response: {"feedback":{"status":"feut"},"result":0} TRACE: M2EE request body: {"action": "runtimestatus"} TRACE: M2EE response: {"feedback":{"status":"feut"},"result":0} DEBUG: MxRuntime status: feut DEBUG: Setting up logging... TRACE: M2EE request body: {"action": "createlogsubscriber", "params": {"maxrotation": 7, "name": "FileSubscriber", "filename": "/srv/mendix/sandbox/logging/mxsandboxlog.txt", "autosubscribe": "INFO", "type": "file", "maxsize": 10485760}} TRACE: M2EE response: {"feedback":{},"result":0} TRACE: M2EE request body: {"action": "startlogging"} TRACE: M2EE response: {"feedback":{},"result":0}

answered