Dear AKHRZ
opened the /var/lib/pgsql/data/pg_hba.conf configuration file, and at the
end of the file I commented out the following lines:(Just type as it is)
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 trust
# IPv6 local connections:
host all all ::1/128 trust
and added the following lines below that
host dspace dspace 127.0.0.1/32 md5
local dspace postgres trust
local template1 postgres trust
local template1 dspace trust
start PostgreSQL
# /etc/init.d/postgresql start
Please let me know your feedback.
On Mon, Nov 2, 2009 at 7:21 PM, AKHRZ <[email protected]> wrote:
> I'm having trouble installing dspace 1.5 on Ubuntu 8.10
> I have been following the following guide:
>
> http://wiki.dspace.org/index.php/Installing_DSpace_1.5_on_Ubuntu_8.10_Server
>
> Everything works out smoothly until I execute [ ant fresh_install ].
>
> I also followed the the common problems at
>
> http://www.dspace.org/1_5_1Documentation/ch03.html#docbook-install.html-problemsbut
> I cant get a successful build.
>
> Where am I going wrong?
>
> Here is the log of the errors:
>
> dsp...@biblio-main:~/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-11-02 14:21:16,895 INFO
> org.dspace.core.ConfigurationManager @ Loading system provided config
> property (-Ddspace.configuration): config/dspace.cfg
> [java] 2009-11-02 14:21:16,905 INFO
> org.dspace.core.ConfigurationManager @ Using default log4j provided log
> configuration,if uninitended, check your dspace.cfg for (log.init.config)
> [java] 2009-11-02 14:21:16,906 INFO
> org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
> [java] 2009-11-02 14:21:17,001 FATAL
> org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:
> [java] org.postgresql.util.PSQLException: Connection refused. Check
> that the hostname and port are correct and that the postmaster is accepting
> TCP/IP connections.
> [java] at
> org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:122)
> [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)
> [java] Caused by: java.net.ConnectException: Connection refused
> [java] at java.net.PlainSocketImpl.socketConnect(Native Method)
> [java] at
> java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
> [java] at
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
> [java] at
> java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
> [java] at
> java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
> [java] at java.net.Socket.connect(Socket.java:519)
> [java] at java.net.Socket.connect(Socket.java:469)
> [java] at java.net.Socket.<init>(Socket.java:366)
> [java] at java.net.Socket.<init>(Socket.java:180)
> [java] at org.postgresql.core.PGStream.<init>(PGStream.java:60)
> [java] at
> org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:77)
> [java] ... 17 more
>
> BUILD FAILED
> /home/dspace/dspace-1.5.2-src-release/dspace/target/dspace-1.5.2-build.dir/build.xml:585:
> Java returned: 1
>
> Total time: 0 seconds
> dsp...@biblio-main
> :~/dspace-1.5.2-src-release/dspace/target/dspace-1.5.2-build.dir$
>
>
>
>
>
> ------------------------------------------------------------------------------
> 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
@@@@@@@@@@@@@@@@@@@@@@@@@@
------------------------------------------------------------------------------
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