Questions and Answers

0 Like 0 Dislike

Dori Macchioni

Problem with OpenSource HubZero install

I have gone step-by-step through the system administrator documentation to install my own hub but am stuck on section 1.21.3. When I click the link to launch the workspace, I get the error: “500 – No such session: 0”

During installation I received no errors and everything appeared to install correctly. I have several users on my hub and all of them receive this error. I found the information in the knowledge base to change the permissions on /var/log/mw and /var/log/mw/sessions so that is correct. The only thing I thought might be wrong are a few lines in the /var/myhub/hubconfiguration.php file: var $ipDBDriver = ‘mysql’; var $ipDBHost = ‘db.nanohub.org’; var $ipDBPort = ; var $ipDBUsername = ‘geodb’; var $ipDBPassword = ‘ge0dbhub’; var $ipDBDatabase = ‘network’; var $ipDBPrefix = ;

Are these correct or should they be changed to match my hub? If these are correct then I am at a loss for what could be wrong. Any help is greatly appreciated.

Report abuse

4 Responses

  1. 0 Like 0 Dislike

    John B Rosheck

    There are several things to take a look at. To start with, make sure that the vncproxy process is running: ps axuwww | grep vncproxy and restart it if it isn’t by running : /etc/init.d/vncproxy restart

    Then try rerunning the tests in sections 1.14 and 1.15 of the documentation: http://hubzero.org/documentation/0.9.0/installation/Setup.maxwell_service http://hubzero.org/documentation/0.9.0/installation/Setup.maxwell_client

    Lastly, log on to the backend (administrator) interface and under the components pulldown select tools then click on the parameters button. Double check the middleware settings, in particular those for the DB user, password and DB name.

    If none of these solves your problem, please open a ticket and attach the following files: /var/log/mw/master /var/log/mw/service.log /var/log/mw/vncproxy.log

    Reply Report abuse

    Please login to answer the question.

  2. 0 Like 0 Dislike

    Alisa Neeman

    Another thing to check is that /tmp is writeable. Maxwell uses /tmp like a proc file. Also a heads up that in Hubzero 1.0.0 most paths that used to use mw directory such as /var/log/mw now use the name hubzero instead, e.g. /var/log/hubzero

    Reply Report abuse

    Please login to answer the question.

  3. 0 Like 0 Dislike

    Alisa Neeman

    Another thing you can check is whether /usr/lib/hubzero/bin/expire-sessions.py is running. You can try starting it yourself. Also, expire-sessions.py logs to /var/log/hubzero/expire.log and you can check it to make sure that it was able to connect to the database and so on.

    Reply Report abuse

    Please login to answer the question.

  4. 0 Like 0 Dislike

    Alisa Neeman

    In the HUb-from-scratch 1.0 it can happen simply because a user has exceeded their storage quota. If you look at /var/log/hubzero/service.log and you see the entry “Unable to setup user X in session Y” that tells you that /usr/lib/hubzero/maxwell_service was unable to create the directory to run the session in.

    Reply Report abuse

    Please login to answer the question.

  • Copyright © 2022 Hubzero
  • Powered by Hubzero®