Hi,

Funnily enough, I just solved this (again) for my own installation five
minutes ago.

I did it this way:

1) change the ownership of all tomcat5.5 directories to dspace user
recursively (chown -R)
2) edit the /etc/init.d/tomcat5.5 script so the process owner is dspace
instead of tomcat55
3) append these lines to /etc/profile and after that log out and login
again:

JAVA_HOME=/usr/lib/jvm/java-6-sun
PATH=$PATH:/usr/lib/jvm/java-6-sun/bin
JAVA_OPTS="-Xmx512M -Xms64M -Dfile.encoding=UTF-8"
export JAVA_HOME PATH JAVA_OPTS

4) after login kill (kill -9) every java process running (if dspace is the
only java software running)
5) run usr/share/tomcat5.5/bin/startup.sh as user dspace

caveat: I have not yet tested how Tomcat starts up when the server restarts
or one invokes the /etc/init.d/tomcat5.5 script.

Hope this helps,

T


2008/2/20, Bin Zhang <[EMAIL PROTECTED]>:

> I downloaded DSpace 1.4.2, and am trying to install it on a Linux Ubuntu
> 7.10 (gutsy) machine.  I followed instructions here:
> http://wiki.dspace.org/index.php/Installing_DSpace_1.4_on_Ubuntu_7.04
>
> I was able to build dspace with no errors, however, Tomcat wouldn't
> start.  If I change the TOMCAT_USER back to tomcat55 and change the
> owner of /var/[cache|lib|log]/tomcat5.5 back to tomcat55, Tomcat can
> start, but dspace still doesn't work.
>
> I installed sun-java6-jdk and dependent packages.  Also tried
> sun-java5-jdk, but that didn't make a difference.
>
> Can someone help me?
>
> Thanks!
>
>
>
> ---
> Bin Zhang, Digital Information Services Librarian
> Library Systems & Information Technology Services
> California State University, Sacramento
> 2000 State University Drive, East, Sacramento, CA 95819-6039
> +1 916 278-5664 (office); +1 916 278-3891 (fax)
> [EMAIL PROTECTED]
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>



-- 
-- 
Timo Aalto
Librarian
University of Helsinki Kumpula Science Library
Gustav Hällströminkatu 2 (Po.Box 64)
00014 University of Helsinki
Finland
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to