Обсуждение: Installation problem

Поиск
Список
Период
Сортировка

Installation problem

От
SHAJI K K
Дата:
Hi

 I installed the postgresql 7.1.3 using the cygwin setup program.
The setup.exe version is 2.125.2.10.
When i tried to run "initidb" to create the database i got the following
error

"The input file '/usr/share/postgresql/template1.bki' needed by  does not
belong to PostgreSQL 7.1.2.  Check your installation or specify the
correct path using the -L option."

Why this happened and how can i correct this and run postgresql.


regards
Shaji K.K


Re: Installation problem

От
"Henshall, Stuart - WCP"
Дата:
Did you install with the same user as you are now trying to run initdb with?
Is the template1.bki where it thinks it is?
- Stuart

-----Original Message-----
From: SHAJI K K [mailto:KKSHAJI@nestec.net]
Sent: 12 December 2001 11:06
To: pgsql-cygwin@postgresql.org
Subject: [CYGWIN] Installation problem


Hi

 I installed the postgresql 7.1.3 using the cygwin setup program.
The setup.exe version is 2.125.2.10.
When i tried to run "initidb" to create the database i got the following
error

"The input file '/usr/share/postgresql/template1.bki' needed by  does not
belong to PostgreSQL 7.1.2.  Check your installation or specify the
correct path using the -L option."

Why this happened and how can i correct this and run postgresql.


regards
Shaji K.K


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Re: Installation problem

От
Anil Jangam
Дата:
Hi,

I have a problem in creating the user on the command prompt. The default
user is 'administrator' and when I run commands 'useradd' or 'addusr', it
doesn't work with the bash error message, 'command not found'.

How do I create a user or is it okay if I populate all my database with
'administrator' as a user??

-anil.


> -----Original Message-----
> From: Henshall, Stuart - WCP
> [mailto:SHenshall@westcountrypublications.co.uk]
> Sent: Wednesday, December 12, 2001 5:43 PM
> To: 'SHAJI K K'; pgsql-cygwin@postgresql.org
> Subject: Re: [CYGWIN] Installation problem
>
>
> Did you install with the same user as you are now trying to
> run initdb with?
> Is the template1.bki where it thinks it is?
> - Stuart
>
> -----Original Message-----
> From: SHAJI K K [mailto:KKSHAJI@nestec.net]
> Sent: 12 December 2001 11:06
> To: pgsql-cygwin@postgresql.org
> Subject: [CYGWIN] Installation problem
>
>

Re: Installation problem

От
Jason Tishler
Дата:
Anil,

On Wed, Dec 12, 2001 at 06:36:19PM +0530, Anil Jangam wrote:
> I have a problem in creating the user on the command prompt. The default
> user is 'administrator' and when I run commands 'useradd' or 'addusr', it
> doesn't work with the bash error message, 'command not found'.
>
> How do I create a user

Did you forget to read the README?

    /usr/doc/Cygwin/postgresql-7.1.3.README

> or is it okay if I populate all my database with
> 'administrator' as a user??

Yes, if this is just for casual (i.e., not production) use.

Jason

Re: Installation problem

От
Jason Tishler
Дата:
Frans,

I presume that you meant to reply to the list too...

On Fri, Dec 14, 2001 at 09:08:28AM +0700, Frans Thamura wrote:
> Hi All,
> is there a way, so i just install psql windows without compiling???

If by "psql windows" you mean Win32 psql, then no.  If you mean Cygwin
psql, then yes -- just install PostgreSQL 7.1.3 via Cygwin's setup.exe.

Jason