Did you start the postmaster with the '-i' option? The error you are getting simply looks as though this option isnt on.
'$ pg_ctl -o -i start'. FYI: '-i' activates listening over TCP/IP -b On Mon, 2003-02-03 at 12:11, Sangyoon Oh wrote: > Hi, > > I am trying to install Torque with Postgres. I just simply follow the > tutorial on the web and build torque itself was successful. But, when I > tried to build Database on the Postgres, I've got this error. > > =================================================================== > [ohsangy@sangay torque-3.0]$ ant -f build-torque.xml create-db > Buildfile: build-torque.xml > > create-db: > [torque-data-model] Generating to file > /home/ohsangy/torque-3.0/src/sql/create-db.sql > [torque-data-model] Resolver: used database.dtd from > org.apache.torque.engine.database.transform package > [torque-data-model] Resolver: used > http://jakarta.apache.org/turbine/dtd/database_3_0_1.dtd > [echo] > [echo] Executing the create-db.sql script ... > [echo] > > BUILD FAILED > file:/home/ohsangy/torque-3.0/build-torque.xml:302: Connection refused. > Check that the hostname and port are correct and that the postmaster is > accepting TCP/IP connections. > > Total time: 5 seconds > ================================================================= > > And this is my build.properties file > > ================================================================= > torque.project = bookstore > > torque.database = postgresql > > torque.database.createUrl = jdbc:postgresql://127.0.0.1 > torque.database.buildUrl = jdbc:postgresql://127.0.0.1/bookstore > torque.database.url = jdbc:postgresql://127.0.0.1/bookstore > torque.database.driver = org.postgresql.Driver > torque.database.user = postgres > torque.database.password = > torque.database.host = 127.0.0.1 > > torque.sameJavaName = false > > =============================================================== > > Postgres is installed /usr/local/pgsql. 'postgres' is the owner of it > and I did not set the password for any user. > > > I do not know whether URLs or user account on postgres cause an error. > I appreciate in advance for answers. > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
