pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
re-install postgresql
2+ messages / 2 participants
[nested] [flat]

* re-install postgresql
@ 2003-11-22 05:56 Ashok Chauhan <ashok@kalculate.com>
  2003-11-23 04:45 ` Re: re-install postgresql Rajesh Kumar Mallah <mallah@trade-india.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Ashok Chauhan @ 2003-11-22 05:56 UTC (permalink / raw)
  To: pgsql-admin



help me

i re - install the postgresql but it not start, gives following errors:
1)	initiliazing database 			[FAILED]
2)	postgresql service			[FAILED]

it gives a message in /var/log/message:- "session closed for user
postgres"

pls help me.




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: re-install postgresql
  2003-11-22 05:56 re-install postgresql Ashok Chauhan <ashok@kalculate.com>
@ 2003-11-23 04:45 ` Rajesh Kumar Mallah <mallah@trade-india.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Rajesh Kumar Mallah @ 2003-11-23 04:45 UTC (permalink / raw)
  To: Ashok Chauhan <ashok@kalculate.com>; +Cc: pgsql-admin


Dear ashok,


Looks like you installed pgsql from the RPMS.

I feel the /etc/rc.d/init.d/postgresql script should be more verbose to
tell about the exact problem.

In any case the sure shot method of initialising and starting the postmaster
is to follow the instruction that comes in the INSTALL file of source
code.

You may do the following.

# su - postgres
# touch /var/log/pgsql
# chown postgres:  /var/log/pgsql
$ initdb /path/to/folder/to/store/data
$ pg_ctl -l /var/log/pgsql -D /path/to/folder/to/store/data start

check in /var/log/pgsql for errors.

Hope it will help.


Regds
mallah.

Ashok Chauhan wrote:

>help me
>
>i re - install the postgresql but it not start, gives following errors:
>1)	initiliazing database 			[FAILED]
>2)	postgresql service			[FAILED]
>
>it gives a message in /var/log/message:- "session closed for user
>postgres"
>
>pls help me.
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 9: the planner will ignore your desire to choose an index scan if your
>      joining column's datatypes do not match
>
>  
>





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-11-23 04:45 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-11-22 05:56 re-install postgresql Ashok Chauhan <ashok@kalculate.com>
2003-11-23 04:45 ` Rajesh Kumar Mallah <mallah@trade-india.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox