On Wed, Oct 28, 2009 at 4:01 PM, SANDEEP BHAVSAR
<[email protected]>wrote:

> I think i use the same password ( same as the dspace user's UNIX password).
> But what is the solution now . Please Help !!!!
>
>
> 2009/10/28 Claudia Jürgen <[email protected]>
>
>> Hello Sandeep,
>>
>> this depends on what you have done during Step 3 of the installation, see
>> section 3.2.3 of the manual:
>> ________________________________________
>>
>> 3. Database Setup
>>
>> Postgres:
>>
>> a. A PostgreSQL 8.1-404 jdbc3 driver is configure as part of the default
>> DSpace build. You no longer need to
>> copy any postgres jars to get postgres installed.
>>
>> b. Create a dspace database, owned by the dspace PostgreSQL user:
>>
>> createuser -U postgres -d -A -P dspace
>>                                ^
>>                                the db user
>>
>> createdb -U dspace -E UNICODE dspace
>>                              ^
>>                              the database name
>>
>> Enter a password for the DSpace database. (This isn't the same as the
>> dspace user's UNIX password.)
>> __________________________________________
>>
>>
>> So how did you name the user under which the db was created?
>>
>> How did you name the database?
>>
>> What password did you enter?
>>
>> You should use these values in the dspace.cfg
>>
>>
>> Hope that helps
>>
>> Claudia Jürgen
>>
>>
>> SANDEEP BHAVSAR schrieb:
>>
>>> Respected Claudia Juergen
>>>
>>> Please have  a look at my Database Settings
>>>
>>> ##### Database settings #####
>>> # Database name ("oracle", or "postgres")
>>> db.name = postgres
>>> #db.name = postgres
>>> #db.name = oracle
>>> # URL for connecting to database
>>>
>>> db.url = jdbc:postgresql://localhost:5432/dspace
>>> #db.url = jdbc:postgresql://localhost:5432/dspace
>>> # JDBC Driver
>>> db.driver = org.postgresql.Driver
>>> #db.driver = org.postgresql.Driver
>>> # Database username and password
>>> db.username = dspace
>>> db.password = dspace
>>> #db.username = dspace
>>> #db.password = dspace
>>>
>>> I tried with your settings also but facing the same error.
>>>
>>> Thanks and Regards
>>>
>>> 2009/10/28 Claudia Jürgen <[email protected]>
>>>
>>>  Hello Sandeep,
>>>>
>>>> check your dspace configuration and make sure you got the database
>>>> settings
>>>> (database name, database user, database user password) right, they are
>>>> in
>>>> the following section of dspace.cfg:
>>>>
>>>> ##### Database settings #####
>>>>
>>>> # Database name ("oracle", or "postgres")
>>>> db.name = ${default.db.name}
>>>> #db.name = postgres
>>>> #db.name = oracle
>>>>
>>>> # URL for connecting to database
>>>> db.url = ${default.db.url}
>>>> #db.url = jdbc:postgresql://localhost:5432/dspace
>>>>
>>>> # JDBC Driver
>>>> db.driver = ${default.db.driver}
>>>> #db.driver = org.postgresql.Driver
>>>>
>>>> # Database username and password
>>>> db.username = ${default.db.username}
>>>> db.password = ${default.db.password}
>>>> #db.username = dspace
>>>> #db.password = dspace
>>>>
>>>> Hope that helps
>>>>
>>>> Claudia Jürgen
>>>>
>>>>
>>>>
>>>>
>>>> SANDEEP BHAVSAR schrieb:
>>>>
>>>>  Respected All
>>>>>
>>>>> Please help me in solving this error !!
>>>>>
>>>>>
>>>>> dsp...@sbhavsar-server:~/
>>>>> dspace-1.5.2-src-release/dspace/target/dspace-1.5.2-build.dir$ ant
>>>>> fresh_install
>>>>> Buildfile: build.xml
>>>>>
>>>>> init_installation:
>>>>>
>>>>> init_configs:
>>>>>
>>>>> setup_database:
>>>>>    [java] 2009-10-27 15:51:16,778 INFO
>>>>> org.dspace.core.ConfigurationManager @ Loading system provided config
>>>>> property (-Ddspace.configuration): config/dspace.cfg
>>>>>    [java] 2009-10-27 15:51:16,814 INFO
>>>>> org.dspace.core.ConfigurationManager @ Using default log4j provided log
>>>>> configuration,if uninitended, check your dspace.cfg for
>>>>> (log.init.config)
>>>>>    [java] 2009-10-27 15:51:16,815 INFO
>>>>> org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
>>>>>    [java] 2009-10-27 15:51:17,368 FATAL
>>>>> org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:
>>>>>    [java] org.postgresql.util.PSQLException: FATAL: password
>>>>> authentication failed for user "dspace"
>>>>>    [java]     at
>>>>>
>>>>>
>>>>> org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:275)
>>>>>    [java]     at
>>>>>
>>>>>
>>>>> org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.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(DriverManagerConnectionFactory.java:65)
>>>>>    [java]     at
>>>>>
>>>>>
>>>>> org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)
>>>>>    [java]     at
>>>>>
>>>>>
>>>>> org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:974)
>>>>>    [java]     at
>>>>> org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:176)
>>>>>    [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:550)
>>>>>    [java]     at
>>>>>
>>>>> org.dspace.storage.rdbms.DatabaseManager.loadSql(DatabaseManager.java:923)
>>>>>    [java]     at
>>>>>
>>>>>
>>>>> org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:100)
>>>>>
>>>>> BUILD FAILED
>>>>>
>>>>>
>>>>> /home/dspace/dspace-1.5.2-src-release/dspace/target/dspace-1.5.2-build.dir/build.xml:585:
>>>>> Java returned: 1
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>>>>> is the only developer event you need to attend this year. Jumpstart
>>>>> your
>>>>> developing skills, take BlackBerry mobile applications to market and
>>>>> stay
>>>>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>>>>> http://p.sf.net/sfu/devconference
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> _______________________________________________
>>>>> DSpace-tech mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>>>>
>>>>>
>>>
>>>
>
>
> --
> Thanks and Regards
>
> Sandeep Bhavsar
> Librarian
> Dr.V.N.Bedekar Institute of Management Studies
> Thane(W) 400601
> MUMBAI. INDIA
> @@@@@@@@@@@@@@@@@@@@@@@@@@
> email    : [email protected]
> Mob     : 9987049099
> elibrary :http://www.vpmthane.org/im/elib/main.htm
> @@@@@@@@@@@@@@@@@@@@@@@@@@
>



-- 
Thanks and Regards

Sandeep Bhavsar
Librarian
Dr.V.N.Bedekar Institute of Management Studies
Thane(W) 400601
MUMBAI. INDIA
@@@@@@@@@@@@@@@@@@@@@@@@@@
email    : [email protected]
Mob     : 9987049099
elibrary :http://www.vpmthane.org/im/elib/main.htm
@@@@@@@@@@@@@@@@@@@@@@@@@@
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
  • [Dspac... SANDEEP BHAVSAR
    • R... Claudia Jürgen
      • ... SANDEEP BHAVSAR
        • ... Claudia Jürgen
          • ... SANDEEP BHAVSAR
    • R... Mark H. Wood
      • ... Patrick Etienne
        • ... Sean Carte
    • [... SANDEEP BHAVSAR
      • ... Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]

Reply via email to