Shashank Teotia wrote:
> The root does not have the permission to execute a createdb command.
> for that login as $su - postgres (password: mypassword)
>
> Moreover, form the beg. :
> 1. /etc/rc.d/init.d/postgresql start
> 2. initdb (path for ur dbase)
When postgres is started as a service like this it always put database location
somewhere in /var. I hate loosing flexibility of database location. That's the
precise reason I don't use postgres as service but starts it by hand.
> 3. su - postgres
> 4. postmaster -p 5432 [-D (path)] -i
This is manual way of starting postmaster and You may not wish to start postgres
as service if you are doing this. And you don't need postgres running for
invokin initdb. The complete command may look like this.
$ nohup postmaster -D <databas location> -p <port number> -i -F >>~/pm.log 2>&1 &
Shridhar
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help