Public bug reported:
Appeared on up to date ubuntu oneiric 32bit.
postgres 9.1 was running on port 5433, as there was an old postgres 8.4
listening on port 5432. After I purged postgres 8.4 via aptitude, I changed in
/etc/postgresql/9.1/main/postgresql.conf the line
port = 5433 # (change requires restart)
to
port = 5432 # (change requires restart)
As the line itself states, I tried
/etc/init.d/postgresql restart
but that wouldn't make postgres listen on the new port 5432, it kept on
listening on port 5433.
I had to stop and start postgres via
/etc/init.d/postgresql stop
/etc/init.d/postgresql start
to apply the new port setting.
In my opinion, either the hint in postgresql.conf should be altered to
"#(change requires stop & start)" or the init.d script should reload the
settings upon restart correctly.
Thanks for Your work!
** Affects: postgresql-9.1 (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
Appeared on up to date ubuntu oneiric 32bit.
- postgres 9.1 was running on port 5433, as there was an old postgres 8.4
- listening on port 5432. After I purged postgres 8.4 via aptitude, I
- changed in /etc/postgresql/9.1/main/postgresql.conf the line
+ postgres 9.1 was running on port 5433, as there was an old postgres 8.4
listening on port 5432. After I purged postgres 8.4 via aptitude, I changed in
+ /etc/postgresql/9.1/main/postgresql.conf the line
port = 5433 # (change requires restart)
to
port = 5432 # (change requires restart)
As the line itself states, I tried
/etc/init.d/postgresql restart
but that wouldn't make postgres listen on the new port 5432, it kept on
listening on port 5433.
I had to stop and start postgres via
/etc/init.d/postgresql stop
/etc/init.d/postgresql start
to apply the new port setting.
In my opinion, either the hint in postgresql.conf should be altered to
"#(change requires stop & start)" or the init.d script should reload the
settings upon restart correctly.
Thanks for Your work!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/902808
Title:
Restart doesn't update new port setting
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postgresql-9.1/+bug/902808/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs