Jump to content

Recommended Posts

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:

 

post-983-0-33953800-1525066056_thumb.jpg

 

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/java
Running: /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.1
Apr 30, 2018 7:43:05 AM com.friendshipsystems.FsshResourceManagerServer start
INFORMATION: No server port given, using default port: 8080
Apr 30, 2018 7:43:05 AM com.friendshipsystems.FsshResourceManagerServer start
INFORMATION: To start on a different port use: java -jar sshresourcemanager[version].jar [options] [port]
Apr 30, 2018 7:43:05 AM com.friendshipsystems.FsshResourceManagerServer start
INFORMATION: For more information use: java -jar sshresourcemanager[version].jar -h
Apr 30, 2018 7:43:05 AM org.apache.coyote.AbstractProtocol init
INFORMATION: Initializing ProtocolHandler ["http-bio-8080"]
Apr 30, 2018 7:43:05 AM com.friendshipsystems.FsshResourceManagerServer start
INFORMATION: Server administration is located at http://localhost:8080/manager
Apr 30, 2018 7:43:05 AM org.apache.catalina.core.StandardContext setPath
WARNUNG: 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 startInternal
INFORMATION: Starting service Tomcat
Apr 30, 2018 7:43:05 AM org.apache.catalina.core.StandardEngine startInternal
INFORMATION: Starting Servlet Engine: Apache Tomcat/7.0.59
Apr 30, 2018 7:43:05 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
INFORMATION: No global web.xml found
2018-04-30 07:43:06,575 INFO [localhost-startStop-1] FSshResourceManagerState: Initializing SshResourceManager
2018-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: true
2018-04-30 07:43:06,584 INFO [localhost-startStop-1] FSshRMStateInitializer: Logging level is: debug
2018-04-30 07:43:06,584 INFO [localhost-startStop-1] FSshRMStateInitializer: Console logging level is: debug
2018-04-30 07:43:06,584 INFO [localhost-startStop-1] FSshRMStateInitializer: Maximum logfile size is: 100KB
2018-04-30 07:43:06,584 INFO [localhost-startStop-1] FSshRMStateInitializer: Maximum logfile backups: 10
2018-04-30 07:43:06,584 INFO [localhost-startStop-1] FSshRMStateInitializer: Storing temporary data in: jobs
2018-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/jobs
2018-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 ResourceManager
2018-04-30 07:43:06,585 INFO [localhost-startStop-1] FSshRMStateInitializer: Using JDBC driver org.mariadb.jdbc.Driver
2018-04-30 07:43:06,586 INFO [localhost-startStop-1] FSshRMStateInitializer: Using database dialect org.hibernate.dialect.MySQLDialect

2018-04-30 07:43:06,586 INFO [localhost-startStop-1] FSshRMStateInitializer: Database username set
2018-04-30 07:43:06,586 INFO [localhost-startStop-1] FSshRMStateInitializer: Database password set
2018-04-30 07:43:06,586 INFO [localhost-startStop-1] FSshRMStateInitializer: Set idle connection timeout to 1800
2018-04-30 07:43:07,334 INFO [localhost-startStop-1] FSshRMStateInitializer: Performing RSA check
2018-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_hosts
2018-04-30 07:43:07,416 INFO [localhost-startStop-1] FSshRMStateInitializer: Mailer function disabled
2018-04-30 07:43:07,417 INFO [localhost-startStop-1] FHostManager: Setting host disable strategy to ALL
2018-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 problems
2018-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.FScheduler
2018-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:6000
2018-04-30 07:43:07,423 INFO [localhost-startStop-1] FSshRMStateInitializer: Setting file transfer timeout to : 60000
2018-04-30 07:43:07,423 INFO [localhost-startStop-1] FSshRMStateInitializer: Output buffer is set to: 10MB
2018-04-30 07:43:07,424 INFO [localhost-startStop-1] FSshRMStateInitializer: Result file server started on port 34365
2018-04-30 07:43:07,425 INFO [localhost-startStop-1] FSshRMStateInitializer: Input file server started on port 39638
2018-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 configured
Apr 30, 2018 7:43:07 AM org.apache.catalina.core.ApplicationContext log
INFORMATION: Marking servlet SshResourceManager as unavailable
Apr 30, 2018 7:43:07 AM org.apache.catalina.core.StandardContext loadOnStartup
SCHWERWIEGEND: Servlet [sshResourceManager] in web application [/] threw load() exception
java.sql.SQLException: Table 'fsshrm_reconnect.FSSHRM_OPERATING_SYSTEMS' doesn't exist
Query 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 start
INFORMATION: Starting ProtocolHandler ["http-bio-8080"]
Apr 30, 2018 7:43:07 AM com.friendshipsystems.FsshResourceManagerServer start
INFORMATION: Server started on port 8080
Apr 30, 2018 7:43:07 AM com.friendshipsystems.FsshResourceManagerServer$3 run
INFORMATION: 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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...