PostgreSQL on the remote server.

Hi,

When trying to configure communication with the PostgreSQL on the remote server, Virtualmin doesn't allow to set password until the "/usr/local/pgsql/data/pg_hba.conf" file doesn't exist locally. It is defined in the Webmin->PostgreSQL Database Server->Module Config->System configuration. If this file doesn't exist Virtualmin complains about PostgreSQL's database initialization:

The PostgreSQL host configuration file /usr/local/pgsql/data/pg_hba.conf was not found on
your system, indicating that the database has not been initialized yet. Click the button
below to setup PostgreSQL with the command /usr/local/etc/rc.d/postgresql initdb.

Simple touch of this file is enough to make the module working correctly. Nontheless it's a bit annoying.

Status: 
Closed (fixed)

Comments

Thanks, I'll fix that in the 1.500 Webmin release.

Automatically closed -- issue fixed for 2 weeks with no activity.