Hi Hilton,
Thanks for your quick reply. Actually, I have configured it using the
following command-
#Adding user
adduser tomcat7 dspace
adduser dspace tomcat7
#Setting permission
chown dspace:dspace -R /usr/local/dspace
chmod 0775 -R /usr/local/dspace
#Creating administrator account
usr/local/dspace/bin/dspace create-administrator
#setting up webapps
cd /var/lib/tomcat7/webapps
ln -sv /usr/local/dspace/webapps/oai
ln -sv /usr/local/dspace/webapps/sword
ln -sv /usr/local/dspace/webapps/solr
rm -rvf /var/lib/tomcat7/webapps/ROOT
ln -sv /usr/local/dspace/webapps/xmlui ROOT
I have installed dspace many times by using this way. Never face any
problem in dspace version up to 4.1 but this time it doesn't work. I don't
think it is only directory issue.
On Mon, Sep 29, 2014 at 1:08 PM, Hilton Gibson <[email protected]>
wrote:
> Hi Atur
>
> That step expects that you followed all the instructions and installed
> DSpace into "/home/dspace" not "/usr/local/dspace".
> There are several reasons for "/home/dspace", the main one being;
> "/home/dspace" is mounted on a separate partition as per best sys adm
> practice for easy backup setup etc..
> See:
> http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Ubuntu/S03/Disk_Partitioning
> And:
> http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Ubuntu/S03/DSpace_User
>
> So the webapps are in "/usr/local/dspace", whereas they are expected to be
> in "/home/dspace" for it to work.
> There are many ways to work around this, however I specifically choose
> "/home/dspace" as the default installation location, for reasons mentioned
> above, and so that a DSpace rebuild did not require the manual copying of
> webapps all the time.
>
> My advice is to follow the steps as presented, then it is certain to work.
>
> Others on the list may have a better suggestion.
>
> This problem is one of the reasons I proposed:
> http://wiki.lib.sun.ac.za/index.php/SUNScholar/Reference_Architecture and
> http://wiki.lib.sun.ac.za/index.php/SUNScholar/Software_Release_Cadence
>
> Cheers
>
> hg
>
>
> *Hilton Gibson*
> Ubuntu Linux Systems Administrator
> JS Gericke Library
> Room 1025C
> Stellenbosch University
> Private Bag X5036
> Stellenbosch
> 7599
> South Africa
>
> Tel: +27 21 808 4100 | Cell: +27 84 646 4758
>
> On 29 September 2014 08:44, Md. Ataur Rahman <[email protected]> wrote:
>
>> Hi
>>
>> I've installed dspace-4.2-src-release on my debian wheeze machine using
>> xmlui on tomcat7 and postgresql9. Everything happened fine. But when I
>> have tried to run the webapps through my browser it doesn't show anything.
>> I have configured the webapps by using this guide-
>>
>> http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_DSpace/S08
>>
>> The configuration of host and url is as follows--
>>
>> # DSpace installation directory
>> #dspace.dir = /dspace
>> dspace.dir = /usr/local/dspace
>>
>> # DSpace host name - should match base URL. Do not include port number.
>> #dspace.hostname = localhost
>> dspace.hostname = localhost
>>
>> # DSpace base host URL. Include port number etc.
>> #dspace.baseUrl = http://localhost:8080
>> dspace.baseUrl = http://localhost:8080
>>
>> # DSpace base URL. Include port number etc., but NOT trailing slash
>> # Change to xmlui if you wish to use the xmlui as the default, or remove
>> # "/jspui" and set webapp of your choice as the "ROOT" webapp in
>> # the servlet engine.
>> #dspace.url = http://localhost:8080/xmlui
>> dspace.baseUrl = http://localhost:8080
>>
>>
>> Any idea will be highly appreciated
>>
>>
>> ataur
>>
>>
>> ------------------------------------------------------------------------------
>> Slashdot TV. Videos for Nerds. Stuff that Matters.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
>> _______________________________________________
>> DSpace-tech mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>> List Etiquette:
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>
>
------------------------------------------------------------------------------
Slashdot TV. Videos for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette