LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

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


Hii....

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

ant fresh_install
compile:

install_code:

build_wars:

init_configs:

setup_database:
[java] 2009-02-25 04:43:53,351 INFO org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
[java] 2009-02-25 04:43:53,372 INFO org.dspace.core.ConfigurationManager @ DSpace logging installed using log4j.properties
[java] 2009-02-25 04:43:53,463 FATAL org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:
[java] org.postgresql.util.PSQLException: FATAL: Ident authentication failed for user "dspace"
[java] at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(postgresql-jdbc-8.1.407.jar.so)
[java] at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(postgresql-jdbc-8.1.407.jar.so)
[java] at org.postgresql.core.ConnectionFactory.openConnection(postgresql-jdbc-8.1.407.jar.so)
[java] at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(postgresql-jdbc-8.1.407.jar.so)
[java] at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(postgresql-jdbc-8.1.407.jar.so)
[java] at org.postgresql.jdbc3.Jdbc3Connection.<init>(postgresql-jdbc-8.1.407.jar.so)
[java] at org.postgresql.Driver.makeConnection(postgresql-jdbc-8.1.407.jar.so)
[java] at org.postgresql.Driver.connect(postgresql-jdbc-8.1.407.jar.so)
[java] at java.sql.DriverManager.getConnection(libgcj.so.7rh)
[java] at java.sql.DriverManager.getConnection(libgcj.so.7rh)
[java] at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFacto ry.java:48)
[java] at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
[java] at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:840)
[java] at org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:175)
[java] at java.sql.DriverManager.getConnection(libgcj.so.7rh)
[java] at java.sql.DriverManager.getConnection(libgcj.so.7rh)
[java] at org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:718)
[java] at org.dspace.storage.rdbms.DatabaseManager.loadSql(DatabaseManager.java:1062)
[java] at org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:71)

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


Help me out guys....!!!
 
Old 03-17-2009, 03: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 127.0.0.1/32 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
at gnu.java.lang.MainThread.run(libgcj.so.7rh)
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 java.net.URLClassLoader.findClass(libgcj.so.7rh)
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at gnu.java.lang.MainThread.run(libgcj.so.7rh)
 
  


Reply


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 10:21 AM
Anyone Using DSpace..? crash_override_me Linux - Software 2 06-08-2007 02:59 PM
Error when building Diomedes Linux - Software 5 10-04-2006 01:18 AM
Error when building kdemultimedia. RoaCh Of DisCor Linux - Software 1 10-14-2004 12:59 PM
Pango Building Error lasindi Linux - Software 1 06-14-2004 03:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:17 AM.

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