Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

This is the Sakai a.k.a SmartSite troubleshooting guide. If you need more information please contact Thomas Amsler tpamsler@ucdavis.edu

Need To Start Sakai

  • 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:
        ...
        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:
    • WARNING: A docBase /local/d01/ucd/pkg/apache-tomcat/webapps/sakai-wsrp-producer 
      inside the host appBase has been specified, and will be ignored
      
    • 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.

Need To Stop Sakai

  • 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
  • No labels