pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PostgreSQL not starting after changing Hostname
4+ messages / 3 participants
[nested] [flat]

* PostgreSQL not starting after changing Hostname
@ 2002-07-17 19:54 Josue Camargo <josue.camargo@tec.com.mx>
  2002-07-18 00:34 ` Re: PostgreSQL not starting after changing Hostname Lee Harr <missive@frontiernet.net>
  2002-07-18 12:20 ` Re: PostgreSQL not starting after changing Hostname Gareth Kirwan <gbjk@thermeoneurope.com>
  0 siblings, 2 replies; 4+ messages in thread

From: josue.camargo@tec.com.mx @ 2002-07-17 19:54 UTC (permalink / raw)
  To: pgsql-admin

Hi everybody,

I'm quite a new guy on the Linux World and I have a tremendous problem
with ProstgreSQL, the problem is that after changing the name of the
host (via Network Manager in KDE) and restarting the server, the
PosgreSQL (and other things like XWindow) stopped working.

I tried to restore the original name via changing the "/etc/hosts" and
"/etc/sysconfig/network" files and running the "/bin/hostname -s"
command but it didn't resolve my problem.

The server is running Linux RedHat 7.2 and PostgreSQL 7.2

Any ideas?



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

* Re: PostgreSQL not starting after changing Hostname
  2002-07-17 19:54 PostgreSQL not starting after changing Hostname Josue Camargo <josue.camargo@tec.com.mx>
@ 2002-07-18 00:34 ` Lee Harr <missive@frontiernet.net>
  1 sibling, 0 replies; 4+ messages in thread

From: Lee Harr @ 2002-07-18 00:34 UTC (permalink / raw)
  To: pgsql-admin

> I'm quite a new guy on the Linux World and I have a tremendous problem
> with ProstgreSQL, the problem is that after changing the name of the
> host (via Network Manager in KDE) and restarting the server, the
> PosgreSQL (and other things like XWindow) stopped working.
> 
> I tried to restore the original name via changing the "/etc/hosts" and
> "/etc/sysconfig/network" files and running the "/bin/hostname -s"
> command but it didn't resolve my problem.
> 
> The server is running Linux RedHat 7.2 and PostgreSQL 7.2
> 


Try starting Postgres from the command line so you can see what
the error is.

Sounds like you have the hostname thing set up ok, but just to 
be sure, are you able to (for instance) ping yourself by
hostname, ie:

ping myhostname





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

* Re: PostgreSQL not starting after changing Hostname
  2002-07-17 19:54 PostgreSQL not starting after changing Hostname Josue Camargo <josue.camargo@tec.com.mx>
@ 2002-07-18 12:20 ` Gareth Kirwan <gbjk@thermeoneurope.com>
  1 sibling, 0 replies; 4+ messages in thread

From: Gareth Kirwan @ 2002-07-18 12:20 UTC (permalink / raw)
  To: Josue Camargo <josue.camargo@tec.com.mx>; pgsql-admin

The Postgresql start up script is in /etc/rc.d/init.d/postgresql

if you strace service postgresql start you might see why it won't start.

It won't have anything to do with the hba.conf yet - but it may later (once
the daemon is actually up and running )

Gareth

-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Josue Camargo
Sent: 17 July 2002 20:55
To: pgsql-admin@postgresql.org
Subject: [ADMIN] PostgreSQL not starting after changing Hostname


Hi everybody,

I'm quite a new guy on the Linux World and I have a tremendous problem
with ProstgreSQL, the problem is that after changing the name of the
host (via Network Manager in KDE) and restarting the server, the
PosgreSQL (and other things like XWindow) stopped working.

I tried to restore the original name via changing the "/etc/hosts" and
"/etc/sysconfig/network" files and running the "/bin/hostname -s"
command but it didn't resolve my problem.

The server is running Linux RedHat 7.2 and PostgreSQL 7.2

Any ideas?

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html





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

* Re: PostgreSQL not starting after changing Hostname
@ 2002-07-18 12:25 Gareth Kirwan <gbjk@thermeoneurope.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Gareth Kirwan @ 2002-07-18 12:25 UTC (permalink / raw)
  To: Elielson Fontanezi <ElielsonF@prodam.sp.gov.br>; josue.camargo@tec.com.mx; +Cc: pgsql-admin

No

-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Elielson Fontanezi
Sent: 18 July 2002 13:28
To: 'josue.camargo@tec.com.mx'
Cc: Pgsql-Admin (E-mail)
Subject: RES: [ADMIN] PostgreSQL not starting after changing Hostname


Maybe you have to recompile the postgres files with the new hostname!

-----Mensagem original-----
De: josue.camargo@tec.com.mx [mailto:josue.camargo@tec.com.mx]
Enviada em: quarta-feira, 17 de julho de 2002 16:55
Para: pgsql-admin@postgresql.org
Assunto: [ADMIN] PostgreSQL not starting after changing Hostname


Hi everybody,

I'm quite a new guy on the Linux World and I have a tremendous problem
with ProstgreSQL, the problem is that after changing the name of the
host (via Network Manager in KDE) and restarting the server, the
PosgreSQL (and other things like XWindow) stopped working.

I tried to restore the original name via changing the "/etc/hosts" and
"/etc/sysconfig/network" files and running the "/bin/hostname -s"
command but it didn't resolve my problem.

The server is running Linux RedHat 7.2 and PostgreSQL 7.2

Any ideas?

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html





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


end of thread, other threads:[~2002-07-18 12:25 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-07-17 19:54 PostgreSQL not starting after changing Hostname Josue Camargo <josue.camargo@tec.com.mx>
2002-07-18 00:34 ` Lee Harr <missive@frontiernet.net>
2002-07-18 12:20 ` Gareth Kirwan <gbjk@thermeoneurope.com>
2002-07-18 12:25 Re: PostgreSQL not starting after changing Hostname Gareth Kirwan <gbjk@thermeoneurope.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