[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: postgresql-install problem!



jramon wrote:
  >I have install postgresql-6.5 in a Debian 2.2.17  : 
  >
  >- /etc/rc2.d/S20postgresql start up postmaster
  >- A system user, with appropiate permission, have run initdb OK
  >
  >When this user try to run createdb, system say:
  >
  >"Could not execv /usr/lib/postgresql/bin/createdb "
  >
  >where is the mistake!
 
What are the permissions of that file? and of /usr/lib/postgresql/bin/?
It sounds as though something has happened to one of them.

As a work-around you can create databases inside PostgresSQL with the
command

  CREATE DATABASE databasename


-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "But without faith it is impossible to please him; for 
      he that cometh to God must believe that he is, and 
      that he is a rewarder of them that diligently seek 
      him."       Hebrews 11:6 




Reply to: