[Deploying Sakai] sakai installation problem

Tapas Mishra mightydreams at gmail.com
Wed Jul 7 23:19:21 PDT 2010


I tried three methods.
1) Installing a binary did not worked.
2) Installing from source did not worke
3) svn co for a stable branch may be in this one I messed up but
finally did not worked.
So any more guesses


On Wed, Jul 7, 2010 at 6:02 PM, Jean-Francois Leveque
<jean-francois.leveque at upmc.fr> wrote:
> Hi,
>
> I haven't checked the way you change ports.
>
> Step 10 seems wrong because I think you shouldn't build the Sakai source
> within Tomcat. Please check the documentation regarding this and tell us if
> there's anything missing.
>
> It seems you're not building the binaries from the source.
>
> You may be mixing the install from binaries with the install from source.
>
> http://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Binary+Install+(2.7)
> has differing steps from
> http://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Source+Install+(2.7)
>
> Please choose one or the other.
>
> Tapas Mishra a écrit :
>>
>> Hi,
>> I was not able to get Sakai up and running as you said in previous
>> messages.
>>
>> I have described all steps see if you find any mistake in any of them.
>>
>> I am using Ubuntu 10.04 and I do not have a GUI to the said machine
>> just an SSH console on LAN.
>>
>> Step 1)
>> I downloaded apache-tomcat-5.5.29 in /root/lmses/test/
>>
>> Step 2 ) extracted and went to following
>> /root/lmses/test/apache-tomcat-5.5.29/conf
>>
>> Step 3) Downloaded sakai-2.7  binary
>>
>> Step 4) verified Java 1.6 is installed and JAVA_HOME is set in
>> /root/.bashrc
>>
>> export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.20
>> java -version gives following output
>>
>> java version "1.6.0_20"
>> Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
>> Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
>>
>> Step 6)
>> Checked page
>>
>> http://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Binary+Install+(2.7)
>>
>> there is a section
>> Specify an HTTP Proxy (optional)
>> I am in a network which has a proxy
>> you have not mentioned where can I find the variable
>> -Dhttp.proxyHost=cache.some.domain
>> -Dhttp.proxyPort=8080
>>
>> which file can I find them.
>>
>> Step 7) Opened /root/lmses/test/apache-tomcat-5.5.29/conf/server.xml
>> and changed value of following
>> Server port="9005"
>>
>> Connector port="9090"
>>  redirectPort="9443"
>>
>> there was one more line where following  Connector port was mentioned
>> as 8009 so changed to
>>  <Connector port="9009"
>>              enableLookups="false" redirectPort="9443" protocol="AJP/1.3"
>> />
>>
>> Step 8) In another file  in same directory server-minimal.xml
>>
>> Changed
>> Server port="9005"
>>
>>
>> Connector port="9090"
>>
>> there is one more line where following was mentioned as 8009
>> <Connector port="9009" protocol="AJP/1.3" />
>>
>> Step 9) I checked on LAN http://192.168.1.5:9090
>> Got a Tomcat welcome page
>>
>>
>> Step 10) executed
>> svn co https://source.sakaiproject.org/svn/sakai/tags/sakai-2.7.0 sakai
>> from tomcat root
>> /root/lmses/test/apache-tomcat-5.5.29/
>>
>> Now I have the full directory structures
>>
>> access        blog       content-review
>> framework-shared-deploy  login        osp        presence    roster
>>  taggable        warehouse
>> alias         calendar   core-deploy                gradebook
>>     mailarchive  pack-demo  providers   rwiki        textarea
>> was
>> announcement  chat       courier                    help
>>     master       podcasts   reference   sections     tool
>> web
>> archive       citations  dav                        jstl-shared-deploy
>>     memory       pom.xml    reports     site         user
>> webservices
>> assignment    config     ECLv2-header-template.txt  kernel-deploy
>>     message      portal     reset-pass  site-manage  usermembership
>> authz         content    ECLv2.txt                  linktool
>>     metaobj      postem     rights      syllabus     velocity
>>
>>
>>
>> otherwise the binary files were not having them.
>>
>> Step 11) Checked if sakai.properties exist
>>
>> find ./ -name sakai.properties
>>
>>
>>
>> /providers/cm-authz-integration-test/src/test/resources/enrollment-only-configuration/sakai.properties
>>
>> ./providers/cm-authz-integration-test/src/test/resources/default/sakai.properties
>> ./reference/docs/sakai.properties
>> ./reference/demo/sakai.properties
>>
>>
>> Step 12) Changed /reference/docs/sakai.properties and copied it to
>> /root/lmses/test/apache-tomcat-5.5.29/sakai/sakai.properties
>>
>> ( I see a directory named portal in here)
>> but when I checked
>>
>> http://192.168.1.5:9090
>>
>> the server which has above line for sakai is not having a monitor
>> attached so is locahost correct for that or should  I replace it with
>> IP of remote server.
>> serverName is localhost
>>
>> Step 13 ) I checked http://192.168.1.5:9090/portal
>> the url was not found
>>
>> what mistake did I did in above.
>>
>>
>>
>> --
>> _______________________________________________
>> production mailing list
>> production at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/production
>>
>> TO UNSUBSCRIBE: send email to
>> production-unsubscribe at collab.sakaiproject.org with a subject of
>> "unsubscribe"
>
> --
> Jean-Francois Leveque
> Sakai CTO
> University Pierre and Marie Curie
> France
>



-- 
Tapas
http://mightydreams.blogspot.com
http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers


More information about the production mailing list