Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-17-2009, 01:58 AM   #1
Soby Thomas
LQ Newbie
Registered: Jul 2008
Location: India
Posts: 28

Rep: Reputation: 15
Error in building Dspace...need help.....


I have followed the installation steps provided in dspace site and i get the following error when i build dspace.

ant fresh_install




[java] 2009-02-25 04:43:53,351 INFO @ Initializing Database
[java] 2009-02-25 04:43:53,372 INFO org.dspace.core.ConfigurationManager @ DSpace logging installed using
[java] 2009-02-25 04:43:53,463 FATAL @ Caught exception:
[java] org.postgresql.util.PSQLException: FATAL: Ident authentication failed for user "dspace"
[java] at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(
[java] at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(
[java] at org.postgresql.core.ConnectionFactory.openConnection(
[java] at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(
[java] at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(
[java] at org.postgresql.jdbc3.Jdbc3Connection.<init>(
[java] at org.postgresql.Driver.makeConnection(
[java] at org.postgresql.Driver.connect(
[java] at java.sql.DriverManager.getConnection(
[java] at java.sql.DriverManager.getConnection(
[java] at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFacto
[java] at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(
[java] at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(
[java] at org.apache.commons.dbcp.PoolingDriver.connect(
[java] at java.sql.DriverManager.getConnection(
[java] at java.sql.DriverManager.getConnection(
[java] at
[java] at
[java] at

/dspace/build.xml:293:Java returned: 1

Help me out guys....!!!
Old 03-17-2009, 02:29 AM   #2
Soby Thomas
LQ Newbie
Registered: Jul 2008
Location: India
Posts: 28

Original Poster
Rep: Reputation: 15
Hello guys....i solved the above problem by editing the pg_hab.conf and commenting out the line host all all ident sameuser

and i was able to build the dspace successfully.

But...i got error when i gave this command

[dspace@localhost ~]$ /dspace/bin/create-administrator
Exception in thread "main" java.lang.NoClassDefFoundError: org.dspace.administer.CreateAdministrator
Caused by: java.lang.ClassNotFoundException: org.dspace.administer.CreateAdministrator not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./,file:/dspace/lib/activation.jar,file:/dspace/lib/bcmail-jdk14-135.jar,file:/dspace/lib/bcprov-jdk14-135.jar,file:/dspace/lib/commons-cli.jar,file:/dspace/lib/commons-codec-1.3.jar,file:/dspace/lib/commons-collections.jar,file:/dspace/lib/commons-dbcp.jar,file:/dspace/lib/commons-fileupload.jar,file:/dspace/lib/commons-io.jar,file:/dspace/lib/commons-lang-2.1.jar,file:/dspace/lib/commons-pool.jar,file:/dspace/lib/fontbox.jar,file:/dspace/lib/handle.jar,file:/dspace/lib/jakarta-poi.jar,file:/dspace/lib/jargon.jar,file:/dspace/lib/jaxen.jar,file:/dspace/lib/jdom.jar,file:/dspace/lib/jena.jar,file:/dspace/lib/jstl.jar,file:/dspace/lib/log4j.jar,file:/dspace/lib/lucene.jar,file:/dspace/lib/mail.jar,file:/dspace/lib/mets.jar,file:/dspace/lib/oaicat.jar,file:/dspace/lib/oro.jar,file:/dspace/lib/PDFBox.jar,file:/dspace/lib/postgresql-jdbc-8.1.407.jar,file:/dspace/lib/rome.jar,file:/dspace/lib/serializer.jar,file:/dspace/lib/servlet.jar,file:/dspace/lib/standard.jar,file:/dspace/lib/tm-extractors.jar,file:/dspace/lib/xalan.jar,file:/dspace/lib/xercesImpl.jar,file:/dspace/lib/xml-apis.jar,file:/dspace/config/], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at gnu.gcj.runtime.SystemClassLoader.findClass(
at java.lang.ClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when building the breves Pengye Programming 3 09-09-2008 09:21 AM
Anyone Using DSpace..? crash_override_me Linux - Software 2 06-08-2007 01:59 PM
Error when building Diomedes Linux - Software 5 10-04-2006 12:18 AM
Error when building kdemultimedia. RoaCh Of DisCor Linux - Software 1 10-14-2004 11:59 AM
Pango Building Error lasindi Linux - Software 1 06-14-2004 02:35 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration