pg.ddx.io pgsql-students@postgresql.org mailing list archive
help / color / mirror / Atom feedCluster restart
4+ messages / 3 participants
[nested] [flat]
* Cluster restart
@ 2013-07-01 20:47 Hombakazi Cynthia Jozela <hombakazij@yahoo.com>
2013-07-01 23:10 ` Re: Cluster restart Josh Berkus <josh@agliodbs.com>
2013-07-02 07:41 ` Re: Cluster restart Magnus Hagander <magnus@hagander.net>
0 siblings, 2 replies; 4+ messages in thread
From: Hombakazi Cynthia Jozela @ 2013-07-01 20:47 UTC (permalink / raw)
To: pgsql-students
I am new in Postgresql, and as a start,I just I attended a short postgresql course from EnterpriseDB, but unfortunately I did not know Linux at all as I have been on windows , but I had no choice as it was rendered using Linux, so I am just testing my knowledge as I will be taking an online course very soon and I am stuck.
I wanted to restart postgres cluster after I made changes on postgresql.conf, a propt for the postgres password appears, i provide it and i know its correct I even reserted it but i get the message that "sorry, try again" . What could I possible be doing wrong?
this is what I did:
[postgres@localhost ~]$ vi /opt/PostgreSQL/9.2/data/postgresql.conf to change conf file and I successfully did it
then
[postgres@localhost ~]$ /opt/PostgreSQL/9.2/scripts/serverctl.sh restart
then it says
[sudo] password for postgres:
I could not move on from here.
Ngejane Hombakazi
0728178913
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Cluster restart
2013-07-01 20:47 Cluster restart Hombakazi Cynthia Jozela <hombakazij@yahoo.com>
@ 2013-07-01 23:10 ` Josh Berkus <josh@agliodbs.com>
2013-07-02 04:47 ` Re: Cluster restart Hombakazi Cynthia Jozela <hombakazij@yahoo.com>
1 sibling, 1 reply; 4+ messages in thread
From: Josh Berkus @ 2013-07-01 23:10 UTC (permalink / raw)
To: pgsql-students
On 07/01/2013 01:47 PM, Hombakazi Cynthia Jozela wrote:
> I am new in Postgresql, and as a start,I just I attended a short postgresql course from EnterpriseDB, but unfortunately I did not know Linux at all as I have been on windows , but I had no choice as it was rendered using Linux, so I am just testing my knowledge as I will be taking an online course very soon and I am stuck.
>
> I wanted to restart postgres cluster after I made changes on postgresql.conf, a propt for the postgres password appears, i provide it and i know its correct I even reserted it but i get the message that "sorry, try again" . What could I possible be doing wrong?
>
>
> this is what I did:
> [postgres@localhost ~]$ vi /opt/PostgreSQL/9.2/data/postgresql.conf to change conf file and I successfully did it
>
> then
>
> [postgres@localhost ~]$ /opt/PostgreSQL/9.2/scripts/serverctl.sh restart
Which Linux are you on? How did you install PostgreSQL?
--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com
--
Sent via pgsql-students mailing list (pgsql-students@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-students
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Cluster restart
2013-07-01 20:47 Cluster restart Hombakazi Cynthia Jozela <hombakazij@yahoo.com>
2013-07-01 23:10 ` Re: Cluster restart Josh Berkus <josh@agliodbs.com>
@ 2013-07-02 04:47 ` Hombakazi Cynthia Jozela <hombakazij@yahoo.com>
0 siblings, 0 replies; 4+ messages in thread
From: Hombakazi Cynthia Jozela @ 2013-07-02 04:47 UTC (permalink / raw)
To: Josh Berkus <josh@agliodbs.com>; pgsql-students
I am on ubuntu linux, and i installed using one-click installer version 9.2.
Ngejane Hombakazi
0728178913
________________________________
From: Josh Berkus <josh@agliodbs.com>
To: pgsql-students@postgresql.org
Sent: Tuesday, July 2, 2013 1:10 AM
Subject: Re: [pgsql-students] Cluster restart
On 07/01/2013 01:47 PM, Hombakazi Cynthia Jozela wrote:
> I am new in Postgresql, and as a start,I just I attended a short postgresql course from EnterpriseDB, but unfortunately I did not know Linux at all as I have been on windows , but I had no choice as it was rendered using Linux, so I am just testing my knowledge as I will be taking an online course very soon and I am stuck.
>
> I wanted to restart postgres cluster after I made changes on postgresql.conf, a propt for the postgres password appears, i provide it and i know its correct I even reserted it but i get the message that "sorry, try again" . What could I possible be doing wrong?
>
>
> this is what I did:
> [postgres@localhost ~]$ vi /opt/PostgreSQL/9.2/data/postgresql.conf to change conf file and I successfully did it
>
> then
>
> [postgres@localhost ~]$ /opt/PostgreSQL/9.2/scripts/serverctl.sh restart
Which Linux are you on? How did you install PostgreSQL?
--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com
--
Sent via pgsql-students mailing list (pgsql-students@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-students
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Cluster restart
2013-07-01 20:47 Cluster restart Hombakazi Cynthia Jozela <hombakazij@yahoo.com>
@ 2013-07-02 07:41 ` Magnus Hagander <magnus@hagander.net>
1 sibling, 0 replies; 4+ messages in thread
From: Magnus Hagander @ 2013-07-02 07:41 UTC (permalink / raw)
To: Hombakazi Cynthia Jozela <hombakazij@yahoo.com>; +Cc: pgsql-students
On Mon, Jul 1, 2013 at 10:47 PM, Hombakazi Cynthia Jozela
<hombakazij@yahoo.com> wrote:
> I am new in Postgresql, and as a start,I just I attended a short postgresql
> course from EnterpriseDB, but unfortunately I did not know Linux at all as I
> have been on windows , but I had no choice as it was rendered using Linux,
> so I am just testing my knowledge as I will be taking an online course very
> soon and I am stuck.
>
> I wanted to restart postgres cluster after I made changes on
> postgresql.conf, a propt for the postgres password appears, i provide it and
> i know its correct I even reserted it but i get the message that "sorry, try
> again" . What could I possible be doing wrong?
>
> this is what I did:
> [postgres@localhost ~]$ vi /opt/PostgreSQL/9.2/data/postgresql.conf to
> change conf file and I successfully did it
>
> then
>
> [postgres@localhost ~]$ /opt/PostgreSQL/9.2/scripts/serverctl.sh restart
>
> then it says
> [sudo] password for postgres:
>
>
> I could not move on from here.
First, I'd strongly recommend that you use the packaged versions when
you are on a supported platform such as Ubuntu - they tend to
integrate a lot better than the oneclick ones. See
http://www.postgresql.org/download/linux/ubuntu/ for the recommended
installation methods.
Second, it looks like that command is designed to be run either as
root or as your own account, bt you're running it as user "postgres".
Try running it under the correct user account. (But that's is all
guessing as it's a non-standard install)
--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/
--
Sent via pgsql-students mailing list (pgsql-students@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-students
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2013-07-02 07:41 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-07-01 20:47 Cluster restart Hombakazi Cynthia Jozela <hombakazij@yahoo.com>
2013-07-01 23:10 ` Josh Berkus <josh@agliodbs.com>
2013-07-02 04:47 ` Hombakazi Cynthia Jozela <hombakazij@yahoo.com>
2013-07-02 07:41 ` Magnus Hagander <magnus@hagander.net>
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