On 10/31/18 12:14 PM, Rich Shepard wrote:
> On Wed, 31 Oct 2018, Adrian Klaver wrote:
>
>> listen_addresses = ''
>
> Adrian,
>
> #listen_addresses = ''
>
> $ pg_ctl start -D /var/lib/pgsql/10.3/data/
> waiting for server to start....2018-10-31 12:12:39.530 PDT [4398]
> FATAL: could not open directory
> "/usr/share/postgresql-10.2/timezonesets": No such file or directory
> 2018-10-31 12:12:39.530 PDT [4398] HINT: This may indicate an
> incomplete PostgreSQL installation, or that the file
> "/usr/lib/postgresql/10.3/bin/postgres" has been moved away from its
> proper location.
> stopped waiting
> pg_ctl: could not start server
What does:
pg_ctl --version
show?
>
> listen_addresses = ''
>
> $ pg_ctl start -D /var/lib/pgsql/10.3/data/
> waiting for server to start....2018-10-31 12:13:28.141 PDT [4413]
> FATAL: could not open directory
> "/usr/share/postgresql-10.2/timezonesets": No such file or directory
> 2018-10-31 12:13:28.141 PDT [4413] HINT: This may indicate an
> incomplete PostgreSQL installation, or that the file
> "/usr/lib/postgresql/10.3/bin/postgres" has been moved away from its
> proper location.
> stopped waiting
> pg_ctl: could not start server
So it seems listen_addresses is not the issue at this point.
So when you added the new application did you make any other changes?
At this point you need to get back to two discreet Postgres installs
10.2 and 10.3.
1) Remove all the symlinks you made.
2) In the 10.3/ verify that the programs in bin/ are actually the 10.3
ones using prgm_name --version.
3) Try pg_ctl start.
>
> Thanks,
>
> Rich
>
>
--
Adrian Klaver
adrian.klaver@aklaver.com