Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hmGEJ-0006cy-T1 for pgsql-general@arkaria.postgresql.org; Sat, 13 Jul 2019 11:30:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hmGEI-0003lg-7S for pgsql-general@arkaria.postgresql.org; Sat, 13 Jul 2019 11:30:14 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hmGEH-0003bd-J8 for pgsql-general@lists.postgresql.org; Sat, 13 Jul 2019 11:30:13 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hmGEC-00028X-Vw for pgsql-general@postgresql.org; Sat, 13 Jul 2019 11:30:12 +0000 Received: by mail-wm1-x344.google.com with SMTP id s15so11062175wmj.3 for ; Sat, 13 Jul 2019 04:30:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=Yve2DYSZo9mYPvD4uYpXyH1ioCv/5alZb0zQLEeAK7o=; b=twgxeW1Y7LoZKr8gsQp77UZZL9tYRLRybHAgvU4Ne6zYwQwOo8NlfgUgQmWYmVWeRr dTUlwez36ETXvnz8ewALZOvkvo+PJF6I9MdRYP7p/6g2VHiOALYA456NcPv4LvgiXmS0 8faXAUdiIXOGYB0+nQj+zN2oA1syaxcq8aTgnLLkpwGjrShFHMR/xOHMjzBnft8S6WG6 Dd1z97pCZvrG1UGZoMiMObiCGQ2tlFXtHW2gY9TKga0/s/uooZDvtl7uvABM+4mma90O zSXIRmHnNVWE7LDnRKiR+gferzqu7PlhXUUlI/2ZVnFzBrHxCp1m/puKdv1fqA4wNc0I fg5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=Yve2DYSZo9mYPvD4uYpXyH1ioCv/5alZb0zQLEeAK7o=; b=P5kwYYVpaDUCSiuOkUKSjy5j5D6mxdtkJrl/0u9Fu0yvXViVHZR+gNRrILpGmqAeYu sq/wYPkpX00Oip2kkXOey2BRY1RY8WUMjIHEXxjKD8Ccf3POMr280nLvi2AXaIFOnDsg xOORMUBIvjUcBCZKxvELIshaSdjOGQ7D+LwysaT0emSiErzMuytcodLYz5deK/SuDbtS vAoRg7QcIpxaFpJhZngla9HyK9KH00DWu7e/tc5RiUlldlN3ejeGCxS2rqKhlveKl9DC aIy5VZ0JG47zcVIvFI1V4/67RC740SgvswVlSL1PvosZX1x0DXkX/ZipUJY9SQh0ykJS Vqqw== X-Gm-Message-State: APjAAAW4S0WaHdgkTbPSAP322p9u8suMaTVQ39JbJqRVMdtqhU58k6f4 2cPcziIssr6Cm9dYHgMyFLc= X-Google-Smtp-Source: APXvYqzQXu8vDrlDOSILjJRce5ODcaSg1XdXH589Km8hK6Oun4c0W1HD1sKdxLYXCtCTbDEbViGk2Q== X-Received: by 2002:a1c:9813:: with SMTP id a19mr14218722wme.11.1563017406796; Sat, 13 Jul 2019 04:30:06 -0700 (PDT) Received: from localhost.localdomain (217-149-172-30.nat.highway.telekom.at. [217.149.172.30]) by smtp.gmail.com with ESMTPSA id i66sm18024096wmi.11.2019.07.13.04.30.03 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 13 Jul 2019 04:30:06 -0700 (PDT) Message-ID: <5580d9b85babc6d531cb8aa8a44cae1d2d2ab836.camel@cybertec.at> Subject: Re: Issue: Creating Symlink for data directory of postgresql in CentOS7 From: Laurenz Albe To: "Chatterjee, Shibayan" , "pgsql-general@postgresql.org" Date: Sat, 13 Jul 2019 13:30:01 +0200 In-Reply-To: <0c92d81eb54c4fc3b6c82beab07115d2@level3.com> References: <480fa09c6fba11c2b79724d3b5ffdd385822a295.camel@cybertec.at> <0c92d81eb54c4fc3b6c82beab07115d2@level3.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Fri, 2019-07-12 at 18:08 +0000, Chatterjee, Shibayan wrote: > > Jul 12 10:00:51 postgresql-check-db-dir: "/data/postgresql/data" is missing or empty. > > Jul 12 10:00:51 postgresql-check-db-dir: Use "postgresql-setup initdb" to initialize the database cluster. > > Jul 12 10:00:51 postgresql-check-db-dir: See /usr/share/doc/postgresql-9.2.24/README.rpm-dist for more information. > > For sure there's all the necessary files in '/data/postgresql/data'. > The startup process cannot read it, because of sym link. Well, where is the source for this fabled "postgresql-check-db-dir"? Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com