Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gHvMg-0001nF-Nz for pgsql-general@arkaria.postgresql.org; Wed, 31 Oct 2018 18:37:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gHvMf-0006zb-0h for pgsql-general@arkaria.postgresql.org; Wed, 31 Oct 2018 18:37:13 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gHvMe-0006zU-Lh for pgsql-general@lists.postgresql.org; Wed, 31 Oct 2018 18:37:12 +0000 Received: from lungold.riddles.org.uk ([82.68.208.19]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gHvMb-0006Il-CI for pgsql-general@postgresql.org; Wed, 31 Oct 2018 18:37:11 +0000 Received: from [192.168.127.1] (port=34065 helo=caithnard.riddles.org.uk) by lungold.riddles.org.uk with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88 (FreeBSD)) (envelope-from ) id 1gHvMX-000FT9-M7; Wed, 31 Oct 2018 18:37:05 +0000 Received: from [127.0.0.1] (port=25914 helo=caithnard.riddles.org.uk) by caithnard.riddles.org.uk with esmtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1gHvMW-0005Q7-VZ; Wed, 31 Oct 2018 18:37:05 +0000 From: Andrew Gierth To: Rich Shepard Cc: pgsql-general@postgresql.org Subject: Re: Broken postgres links need to find callers In-Reply-To: (Rich Shepard's message of "Wed, 31 Oct 2018 10:18:50 -0700 (PDT)") Message-ID: <87k1ly55pu.fsf@news-spur.riddles.org.uk> References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) Date: Wed, 31 Oct 2018 18:37:04 +0000 MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk >>>>> "Rich" == Rich Shepard writes: Rich> I managed to mess up postgresql-10.3 on this Slackware-14.2 Rich> desktop server/workstation. It worked OK until I tried adding Rich> access to an another application. Rich> waiting for server to start....2018-10-31 10:02:01.312 PDT [1285] FATAL: Rich> could not open directory "/usr/share/postgresql-10.2/timezonesets": No such Rich> file or directory 2018-10-31 10:02:01.312 PDT [1285] HINT: This may indicate Rich> an incomplete PostgreSQL installation, or that the file Rich> "/usr/lib/postgresql/10.3/bin/postgres" has been moved away from its proper Rich> location. Is there a pg_config binary in /usr/lib/postgresql/10.3/bin/ and if so, what is the output of /usr/lib/postgresql/10.3/bin/pg_config --sharedir Also what is the output of /usr/lib/postgresql/10.3/bin/postgres -V The most plausible explanation I can see for what you're seeing there is that what you have as /usr/lib/postgresql/10.3/bin/postgres is not actually the 10.3 binary but rather the 10.2 one. There should be no symlinks involved there - the path that is reported in the error message is the one that the postgres binary actually did try to open. -- Andrew (irc:RhodiumToad)