From: Joshua D. Drake <jd@commandprompt.com>
To: Sidar López Cruz <sidarlopez@hotmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Ubuntu: Start and Stop
Date: Fri, 31 Mar 2006 08:07:51 -0800
Message-ID: <442D53D7.2040301@commandprompt.com> (raw)
In-Reply-To: <BAY23-F400F67896D1B2BED63C46CED60@phx.gbl>
References: <BAY23-F400F67896D1B2BED63C46CED60@phx.gbl>
Sidar López Cruz wrote:
> How to start and stop automatically PostgreSQL over Ubuntu when
> postgres user have password.
> I'd try with su - postgres but this fails because it request me the
> password
You would be better served to use #ubuntu on chat.us.freenode.net.
However in answer to your question... use:
sudo su -
Which will ask you for your standard user password. Then:
/etc/init.d/postgresql (or /etc/init.d/postgresql8) stop/start
Sincerely,
Joshua D. Drake
>
> Please help....
>
> _________________________________________________________________
> Charla con tus amigos en línea mediante MSN Messenger:
> http://messenger.latam.msn.com/
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
>
--
=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: jd@commandprompt.com, sidarlopez@hotmail.com
Subject: Re: Ubuntu: Start and Stop
In-Reply-To: <442D53D7.2040301@commandprompt.com>
References: <BAY23-F400F67896D1B2BED63C46CED60@phx.gbl> <442D53D7.2040301@commandprompt.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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