Mr. Moritz Burmester__0001 0 Report post Posted April 30, 2018 Hello guys,i am trying to get the ssh resourse manager to work on my ubuntu 16.04 sever.I followed the instructions in the adminguide, but something seems to be wrong. The java application does start, but trying to access the webpage shows this: the console output looks like this: root@manfred:/opt/caesessshresourcemanager/CAESES_4.3.1_Linux.x86_64/tools/sshResourceManager# java -jar sshresourcemanager.jar/opt/caesessshresourcemanager/CAESES_4.3.1_Linux.x86_64/tools/sshResourceManager/Identified java executable to be: /usr/lib/jvm/java-8-oracle/jre/bin/javaRunning: /usr/lib/jvm/java-8-oracle/jre/bin/java -jar /opt/caesessshresourcemanager/CAESES_4.3.1_Linux.x86_64/tools/sshResourceManager//server/sshresourcemanagerserver.jar/opt/caesessshresourcemanager/CAESES_4.3.1_Linux.x86_64/tools/sshResourceManager/SshRM Bootstrap: 1.0.1Apr 30, 2018 7:43:05 AM com.friendshipsystems.FsshResourceManagerServer startINFORMATION: No server port given, using default port: 8080Apr 30, 2018 7:43:05 AM com.friendshipsystems.FsshResourceManagerServer startINFORMATION: To start on a different port use: java -jar sshresourcemanager[version].jar [options] [port]Apr 30, 2018 7:43:05 AM com.friendshipsystems.FsshResourceManagerServer startINFORMATION: For more information use: java -jar sshresourcemanager[version].jar -hApr 30, 2018 7:43:05 AM org.apache.coyote.AbstractProtocol initINFORMATION: Initializing ProtocolHandler ["http-bio-8080"]Apr 30, 2018 7:43:05 AM com.friendshipsystems.FsshResourceManagerServer startINFORMATION: Server administration is located at http://localhost:8080/managerApr 30, 2018 7:43:05 AM org.apache.catalina.core.StandardContext setPathWARNUNG: A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [/] does not meet these criteria and has been changed to []Apr 30, 2018 7:43:05 AM org.apache.catalina.core.StandardService startInternalINFORMATION: Starting service TomcatApr 30, 2018 7:43:05 AM org.apache.catalina.core.StandardEngine startInternalINFORMATION: Starting Servlet Engine: Apache Tomcat/7.0.59Apr 30, 2018 7:43:05 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragmentINFORMATION: No global web.xml found2018-04-30 07:43:06,575 INFO [localhost-startStop-1] FSshResourceManagerState: Initializing SshResourceManager2018-04-30 07:43:06,584 INFO [localhost-startStop-1] FSshRMStateInitializer: Setting up logging...2018-04-30 07:43:06,584 INFO [localhost-startStop-1] FSshRMStateInitializer: Console logging enabled: true2018-04-30 07:43:06,584 INFO [localhost-startStop-1] FSshRMStateInitializer: Logging level is: debug2018-04-30 07:43:06,584 INFO [localhost-startStop-1] FSshRMStateInitializer: Console logging level is: debug2018-04-30 07:43:06,584 INFO [localhost-startStop-1] FSshRMStateInitializer: Maximum logfile size is: 100KB2018-04-30 07:43:06,584 INFO [localhost-startStop-1] FSshRMStateInitializer: Maximum logfile backups: 102018-04-30 07:43:06,584 INFO [localhost-startStop-1] FSshRMStateInitializer: Storing temporary data in: jobs2018-04-30 07:43:06,585 INFO [localhost-startStop-1] FSshRMStateInitializer: Temporary job data will be stored at: /opt/caesessshresourcemanager/CAESES_4.3.1_Linux.x86_64/tools/sshResourceManager/jobs2018-04-30 07:43:06,585 INFO [localhost-startStop-1] FSshRMStateInitializer: Temporary files will be deleted from the remote hosts after they have been copied back to the ResourceManager2018-04-30 07:43:06,585 INFO [localhost-startStop-1] FSshRMStateInitializer: Using JDBC driver org.mariadb.jdbc.Driver2018-04-30 07:43:06,586 INFO [localhost-startStop-1] FSshRMStateInitializer: Using database dialect org.hibernate.dialect.MySQLDialect2018-04-30 07:43:06,586 INFO [localhost-startStop-1] FSshRMStateInitializer: Database username set2018-04-30 07:43:06,586 INFO [localhost-startStop-1] FSshRMStateInitializer: Database password set2018-04-30 07:43:06,586 INFO [localhost-startStop-1] FSshRMStateInitializer: Set idle connection timeout to 18002018-04-30 07:43:07,334 INFO [localhost-startStop-1] FSshRMStateInitializer: Performing RSA check2018-04-30 07:43:07,415 INFO [localhost-startStop-1] FSshRMStateInitializer: RSA check complete.2018-04-30 07:43:07,416 INFO [localhost-startStop-1] FSshRMStateInitializer: Using known hosts file: known_hosts2018-04-30 07:43:07,416 INFO [localhost-startStop-1] FSshRMStateInitializer: Mailer function disabled2018-04-30 07:43:07,417 INFO [localhost-startStop-1] FHostManager: Setting host disable strategy to ALL2018-04-30 07:43:07,417 INFO [localhost-startStop-1] FHostManager: Disabling periodic host availability checks.2018-04-30 07:43:07,417 INFO [localhost-startStop-1] FHostManager: Disabling notification mails for automatic host management.2018-04-30 07:43:07,417 INFO [localhost-startStop-1] FHostManager: Rescheduling jobs that failed due to connection problems2018-04-30 07:43:07,418 INFO [localhost-startStop-1] FSshRMStateInitializer: Setting scheduler fairness criterion to owner.2018-04-30 07:43:07,420 INFO [localhost-startStop-1] FSshRMStateInitializer: Using scheduler class: com.friendshipsystems.fsshresourcemanager.FScheduler2018-04-30 07:43:07,420 DEBUG [localhost-startStop-1] FScheduler: Setting scheduler priority to "priority"2018-04-30 07:43:07,423 INFO [localhost-startStop-1] FSshRMStateInitializer: X forwarding is defaulted to: localhost:60002018-04-30 07:43:07,423 INFO [localhost-startStop-1] FSshRMStateInitializer: Setting file transfer timeout to : 600002018-04-30 07:43:07,423 INFO [localhost-startStop-1] FSshRMStateInitializer: Output buffer is set to: 10MB2018-04-30 07:43:07,424 INFO [localhost-startStop-1] FSshRMStateInitializer: Result file server started on port 343652018-04-30 07:43:07,425 INFO [localhost-startStop-1] FSshRMStateInitializer: Input file server started on port 396382018-04-30 07:43:07,425 INFO [localhost-startStop-1] FSshRMStateInitializer: Users will NOT be able to execute multiple commands by adding them to the arguments using '&&', '||' or ';'.2018-04-30 07:43:07,425 INFO [localhost-startStop-1] FSshRMStateInitializer: Using command line "echo HELLO" for configuration tests on all hosts.2018-04-30 07:43:07,427 INFO [localhost-startStop-1] FSshRMStateInitializer: No LDAP authentication configuredApr 30, 2018 7:43:07 AM org.apache.catalina.core.ApplicationContext logINFORMATION: Marking servlet SshResourceManager as unavailableApr 30, 2018 7:43:07 AM org.apache.catalina.core.StandardContext loadOnStartupSCHWERWIEGEND: Servlet [sshResourceManager] in web application [/] threw load() exceptionjava.sql.SQLException: Table 'fsshrm_reconnect.FSSHRM_OPERATING_SYSTEMS' doesn't existQuery is: select foperating0_.OS_ID as OS1_5_, foperating0_.name as name5_, foperating0_.parentId as parentId5_, foperating0_.chdirCommand as chdirCom4_5_, foperating0_.pathDelimiter as pathDeli5_5_, foperating0_.cancelerClassName as canceler6_5_ from FSSHRM_OPERATING_SYSTEMS foperating0_ order by foperating0_.name asc at org.mariadb.jdbc.internal.util.LogQueryTool.exceptionWithQuery(LogQueryTool.java:153) at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executeQuery(AbstractQueryProtocol.java:254) at org.mariadb.jdbc.MariaDbPreparedStatementClient.executeInternal(MariaDbPreparedStatementClient.java:209) at org.mariadb.jdbc.MariaDbPreparedStatementClient.execute(MariaDbPreparedStatementClient.java:150) at org.mariadb.jdbc.MariaDbPreparedStatementClient.executeQuery(MariaDbPreparedStatementClient.java:164) at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76) at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208) at org.hibernate.loader.Loader.getResultSet(Loader.java:1812) at org.hibernate.loader.Loader.doQuery(Loader.java:697) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259) at org.hibernate.loader.Loader.doList(Loader.java:2232) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2129) at org.hibernate.loader.Loader.list(Loader.java:2124) at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:401) at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:363) at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1149) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102) at com.friendshipsystems.fsshresourcemanager.config.FOperatingSystem.getOperatingSystems(FOperatingSystem.java:69) at com.friendshipsystems.fsshresourcemanager.config.FOperatingSystem.createDefaultOperatingSystems(FOperatingSystem.java:100) at com.friendshipsystems.fsshresourcemanager.FSshResourceManagerState.<init>(FSshResourceManagerState.java:177) at com.friendshipsystems.fsshresourcemanager.FSshResourceManagerServlet.<init>(FSshResourceManagerServlet.java:142) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:116) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1148) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)Apr 30, 2018 7:43:07 AM org.apache.coyote.AbstractProtocol startINFORMATION: Starting ProtocolHandler ["http-bio-8080"]Apr 30, 2018 7:43:07 AM com.friendshipsystems.FsshResourceManagerServer startINFORMATION: Server started on port 8080Apr 30, 2018 7:43:07 AM com.friendshipsystems.FsshResourceManagerServer$3 runINFORMATION: Started discovery service on port 49152 I spent hours trying to find solutions on the internet but didn't have any success.Can anyone help me with this?Thanks in advance!Moritz Burmester Share this post Link to post Share on other sites
Mr. Carsten Fuetterer 9 Report post Posted May 2, 2018 Hi Moritz, this problem is probably due to a version clash of your mariaDB database and the corresponding JDBC driver. You probably have mariaDB 10.1. Try to install the lastest mariaDB version (10.3) which is provided on the download page of mariaDB. By the way your current student license will not allow you to use the resource manager. I will send you an email. best regards Carsten Share this post Link to post Share on other sites