Hi,

I have been stuggling in installing dspace on Ubuntu 8.10 with 
dspace-1.5.1, PostgreSQL8.3, Apache Ant version 1.7.1, 
apache-maven-2.0.10, apache-tomcat-6.0.18 with no luck.

I notice in many instruction mention that after installing PostgreSQL, 
created a Unix user (name it dspace).  One needs to create a database user 
and database.  In this step, one has to become 'postgres' and issue a 
command to create a user:
   createuser -U postgres -d -A -P dspace
This could be done with no problem and I answer 'no' when asked:
   Shall the new role be allowed to create more new roles? (y/n)

As postgres, I tried to create a database:
   createdb -U dspace -E UNICODE dspace

But the command returned an error message:
createdb: could not connect to database postgres: FATAL:  Ident 
authentication failed for user "dspace"

It is possible to create the database when I 'sudo su dspace'.  This can 
even be done without specifying '-U dspace' in the command line.

Is there anything wrong in this step ?  I did do further to install the 
package, but finally failed.

--
Panyarak

On Fri, 27 Mar 2009, Ma, Wenling wrote:

> Hello everyone,
> I have successfully installed DSpace(version dspace-1.5.1, 
PostgreSQL8.3, apache-ant-1.7.1, apache-maven-2.0.10, apache-tomcat-6.0.18).

-- 
This message has been scanned for viruses and
dangerous content by MailScanner.


------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to