Two problems in installation

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Two problems in installation

Adam Fullerton
I am running into 2 problems that may or may not be related while trying to install Dspace on a Ubuntu OS laptop. I am following the directions on https://wiki.duraspace.org/display/DSPACE/Installing+DSpace+1.7+on+Ubuntu

1) I am running the command "sudo ant fresh_install" and getting the following 2 errors.

Unable to locate tools.jar. Expected to find it in /usr/local/java/jre1.7.0_03/lib/tools.jar

And the second error,

Error:
- org.postgresql.util.PSQLException: FATAL: password authentication failed for user "dspace"

I went into the dspace.cfg file and changed the default password to the password I set when setting up. I restarted tomcat and postgresql and the whole machine but I am still getting a return of the password for the default "dspace" password. I look back in the config file and it has the correct password there. 

I would really appreciate some help on these two issues. Thank you!

Adam Fullerton, MLIS
Electronic/Technical Services Librarian &
Assistant Professor
Morningside College
1501 Morningside Ave
Sioux City, IA 51106

Phone: 712-274-5247
Fax: 712-274-5224 attn: Fullerton

Being a librarian is not a job...it's a lifestyle.



------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
DSpace-tech mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Two problems in installation

Tim Donohue-3

Adam,


On 2/21/2012 11:14 AM, Adam Fullerton wrote:
> I am running into 2 problems that may or may not be related while trying
> to install Dspace on a Ubuntu OS laptop. I am following the directions
> on https://wiki.duraspace.org/display/DSPACE/Installing+DSpace+1.7+on+Ubuntu
>
> 1) I am running the command "sudo ant fresh_install" and getting the
> following 2 errors.
>
> Unable to locate tools.jar. Expected to find it in
> /usr/local/java/jre1.7.0_03/lib/tools.jar

This first error looks related to your earlier email about JAVA_HOME
issues?  It's looking for 'tools.jar' which exists in the JDK (but it's
trying to find it in the JRE).


> And the second error,
>
> Error:
> - org.postgresql.util.PSQLException: FATAL: password authentication
> failed for user "dspace"
>
> I went into the dspace.cfg file and changed the default password to the
> password I set when setting up. I restarted tomcat and postgresql and
> the whole machine but I am still getting a return of the password for
> the default "dspace" password. I look back in the config file and it has
> the correct password there.

Are you editing the correct dspace.cfg file?  By default, when running
'ant fresh_install', the 'ant' command is always going to use the
dspace.cfg settings in the /target/dspace-[version]-build/config/dspace.cfg

Another option is that you can tell 'ant' exactly which dspace.cfg you
want it to use.  For example:

sudo ant -Dconfig=[full-path-to-dspace.cfg] fresh_install

This command tells 'ant' you specifically want it to use the settings in
that given dspace.cfg file.

- Tim

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
DSpace-tech mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Two problems in installation

इन्‍दु भूषण Indu Bhushan
In reply to this post by Adam Fullerton

Dear Sir,
 
Please check that tools.jar is exist at following location or not
 /usr/local/java/jre1.7.0_03/lib/tools.jar
Then check what path you given for java.
 
Please check dspace.cfg for database password you have given for dspace postgres database.
 
With regards
 
Indu Bhushan
Library, RRCAT
Indore
 
On Tue, Feb 21, 2012 at 10:44 PM, Adam Fullerton <[hidden email]> wrote:
I am running into 2 problems that may or may not be related while trying to install Dspace on a Ubuntu OS laptop. I am following the directions on https://wiki.duraspace.org/display/DSPACE/Installing+DSpace+1.7+on+Ubuntu

1) I am running the command "sudo ant fresh_install" and getting the following 2 errors.

Unable to locate tools.jar. Expected to find it in /usr/local/java/jre1.7.0_03/lib/tools.jar

And the second error,

Error:
- org.postgresql.util.PSQLException: FATAL: password authentication failed for user "dspace"

I went into the dspace.cfg file and changed the default password to the password I set when setting up. I restarted tomcat and postgresql and the whole machine but I am still getting a return of the password for the default "dspace" password. I look back in the config file and it has the correct password there. 

I would really appreciate some help on these two issues. Thank you!

Adam Fullerton, MLIS
Electronic/Technical Services Librarian &
Assistant Professor
Morningside College
1501 Morningside Ave
Sioux City, IA 51106

Phone: 712-274-5247
Fax: 712-274-5224 attn: Fullerton

Being a librarian is not a job...it's a lifestyle.



------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
DSpace-tech mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspace-tech



------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
DSpace-tech mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
Loading...