In my previous post I typed 'pg_hba.conf' incorrectly.

On 4/23/08, majid kalkatechi <[EMAIL PROTECTED]> wrote:
> hi,
> I think this authentication error, is caused by postgresql. If you are
> using linux, make sure that username and password, provided in
> dspace.cfg is correct. If it is, then make sure that authentication
> type in pg_hba.cong is md5. you can find pg_hba in the data directory
> of postgresql.
>
> On 4/22/08, Hossein Hamam <[EMAIL PROTECTED]> wrote:
> > Dear All,
> > upon issuing the below command, we got the following result.
> > What is this error and how can I solve it?
> > ant fresh_install
> > Buildfile: build.xml
> >
> > init_installation:
> >     [mkdir] Created dir: /dspace/bin
> >     [mkdir] Created dir: /dspace/config
> >     [mkdir] Created dir: /dspace/lib
> >     [mkdir] Created dir: /dspace/webapps
> >     [mkdir] Created dir: /dspace/assetstore
> >     [mkdir] Created dir: /dspace/handle-server
> >     [mkdir] Created dir: /dspace/search
> >     [mkdir] Created dir: /dspace/log
> >     [mkdir] Created dir: /dspace/upload
> >     [mkdir] Created dir: /dspace/reports
> >
> > init_configs:
> >      [copy] Copying 42 files to /dspace/config
> >
> > setup_database:
> >      [java] 2008-04-22 19:11:26,686 INFO
> > org.dspace.core.ConfigurationManager @ Loading system provided config
> > property (-Ddspace.configuration): config/dspace.cfg
> >      [java] 2008-04-22 19:11:26,697 INFO
> > org.dspace.core.ConfigurationManager @ Using default log4j provided log
> > configuration,if uninitended, check your dspace.cfg for (log.init.config)
> >      [java] 2008-04-22 19:11:26,697 INFO
> > org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
> >      [java] 2008-04-22 19:11:26,842 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(ConnectionFact
> > oryImpl.java:275)
> >      [java]     at
> >
> org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFa
> > ctoryImpl.java:94)
> >      [java]     at
> >
> org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:
> > 65)
> >      [java]     at
> >
> org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.
> > java:116)
> >      [java]     at
> >
> org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.
> > java:30)
> >      [java]     at
> > org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24)
> >      [java]     at org.postgresql.Driver.makeConnection(Driver.java:369)
> >      [java]     at org.postgresql.Driver.connect(Driver.java:245)
> >      [java]     at
> > java.sql.DriverManager.getConnection(DriverManager.java:582)
> >      [java]     at
> > java.sql.DriverManager.getConnection(DriverManager.java:185)
> >      [java]     at
> >
> org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(Driv
> > erManagerConnectionFactory.java:48)
> >      [java]     at
> >
> org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnect
> > ionFactory.java:290)
> >      [java]     at
> >
> org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPoo
> > l.java:840)
> >      [java]     at
> > org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:175)
> >      [java]     at
> > java.sql.DriverManager.getConnection(DriverManager.java:582)
> >      [java]     at
> > java.sql.DriverManager.getConnection(DriverManager.java:207)
> >      [java]     at
> >
> org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:
> > 514)
> >      [java]     at
> > org.dspace.storage.rdbms.DatabaseManager.loadSql(DatabaseManager.java:869)
> >      [java]     at
> >
> org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:100
> > )
> >
> > BUILD FAILED
> >
> /web/dspace-1.5.0-release/dspace/target/dspace-1.5.0-build.dir/build.xml:380
> > : Java returned: 1
> >
> >
> > ----------------------------------------------------------------
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> > Don't miss this year's exciting event. There's still time to save $100.
> > Use priority code J8TL2D2.
> >
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> > _______________________________________________
> > DSpace-tech mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >
>

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to