[Spacewalk-list] Migrated postgresql database to separate box, but rhn-search doesn't know about it
Ian Forde
ianforde at gmail.com
Wed Jul 18 23:19:02 UTC 2012
On Wed, Jul 18, 2012 at 4:04 PM, Coy Hile <coy.hile at coyhile.com> wrote:
>
> Can you please paste the content of your xinetd work-around for posterity?
>
Absolutely. Here goes...
filename: /etc/xinetd.d/postgresql-tcp
service postgresql-tcp
{
disable = no
type = UNLISTED
socket_type = stream
protocol = tcp
wait = no
user = root
bind = 0.0.0.0
port = 5432
only_from = 0.0.0.0
redirect = **DBHOST** 5432
}
Where "**DBHOST**" is the IP address of your Spacewalk database
server. Also note that I called the file postgresql-tcp rather than
postgresql. This is so that it can be managed via chkconfig without
conflicting with postgresql itself (which was on the box earlier
before I did the migration).
Hope that helps!
-I
More information about the Spacewalk-list
mailing list