Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Become the sakai user
    • sudo su - sakai
    • (warning) if you are not in the sudo list but have root access use: "su - sakai"
  • Make sure that sakai is not running. If it is running follow the steps in section Need To Stop Sakai
  • Now we can start sakai
    • cd /ucd/opt/sakai/bin
    • ./start.sh ; tail -f /ucd/pkg/apache-tomcat/logs/catalina.out
      • This will start sakai and output the log file in the current shell. It usually takes anywhere from 40 seconds up to a couple of minutes to fully start sakai. Once it has started, the last few lines in the output log should look like:
        Code Block
        ...
        INFO: init: default: formView path:  (2007-03-02 10:14:56,195 main_org.sakaiproject.spring.util.SpringTool)
        Mar 2, 2007 10:14:56 AM org.apache.coyote.http11.Http11BaseProtocol start
        INFO: Starting Coyote HTTP/1.1 on http-8080
        Mar 2, 2007 10:14:56 AM org.apache.coyote.http11.Http11BaseProtocol start
        INFO: Starting Coyote HTTP/1.1 on http-8443
        Mar 2, 2007 10:14:56 AM org.apache.jk.common.ChannelSocket init
        INFO: JK: ajp13 listening on /0.0.0.0:8009
        Mar 2, 2007 10:14:56 AM org.apache.jk.server.JkMain start
        INFO: Jk running ID=0 time=0/80  config=null
        Mar 2, 2007 10:14:56 AM org.apache.catalina.storeconfig.StoreLoader load
        INFO: Find registry server-registry.xml at classpath resource
        Mar 2, 2007 10:14:56 AM org.apache.catalina.startup.Catalina start
        INFO: Server startup in 53601 ms
        
  • During the startup, you may see a few WARNING and ERROR messages. The following WARNING and ERROR messages can be ignored:
    • Code Block
      WARNING: A docBase /local/d01/ucd/pkg/apache-tomcat/webapps/sakai-wsrp-producer 
      inside the host appBase has been specified, and will be ignored
      
    • Code Block
      SEVERE: Error starting static Resources
      java.lang.IllegalArgumentException: Document base /ucd/pkg/apache-tomcat/webapps/sakai-wsrp-producer 
      does not exist or is not a readable directory
      ...
      
  • Any other ERROR message needs to be address.

...

  • Become the sakai user
    • sudo su - sakai
    • (warning) if you are not in the sudo list but have root access use: "su - sakai"
  • First, check the process list if it is running by executing:
    • ps ax | grep java | grep /ucd/pkg/apache-tomcat
  • Then to stop it execute:
    • cd /ucd/opt/sakai/bin
    • ./stop.sh
  • Check again if it is still running. Sometimes, it does not stop with the above command. If it's still running, execute:
    • kill -9 PID
      • or:
    • killall -9 java