Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t0OQr-00BBLf-L1 for pgsql-general@arkaria.postgresql.org; Mon, 14 Oct 2024 17:00:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1t0OQq-00FAJW-0q for pgsql-general@arkaria.postgresql.org; Mon, 14 Oct 2024 17:00:32 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t0OQp-00FAJO-Ln for pgsql-general@lists.postgresql.org; Mon, 14 Oct 2024 17:00:32 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t0OQn-000raH-6U for pgsql-general@lists.postgresql.org; Mon, 14 Oct 2024 17:00:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2024011501; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-ID:Content-Description; bh=ObIXfvbdg9pZ5mBN7U9IMLvYFumWqS398TQ6K85cOzk=; b=d/5OkEPTW+rYt1wuEz7fIGx7+u +GVy5vTE5GLQv1gH3DmaiynXr4UBg60RuzxDm/l0edt1+44NeDy4eeXFtTIaNrtm4F8AWuv/NocHS CowrBro1FX5ppEoNcYRkoudU2SXL6tsmsVjk1eUqMkLplOwrlz3AS9S+OLbSJDrVgzi0+iBUMI9kH toI1rpeIt/b1rQDGMCRduhTy8ZXeequciHPJEeUdYKzASotMzY1IyDy2FdHkCwnLanlf3BBTGtnfv UKf1/kHK0vHHj+BJc70KVWo4URNg2CRddU/NSIbFuBK60Yht7YGW4qbavhkD15P05QYsk0yurTr1l mqk2YGQA==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1t0OQi-000eGr-0T; Mon, 14 Oct 2024 13:00:24 -0400 Date: Mon, 14 Oct 2024 13:00:24 -0400 From: Bruce Momjian To: =?utf-8?B?5ZC0IOWFtumUrg==?= Cc: Erik Wienhold , Adrian Klaver , "pgsql-general@lists.postgresql.org" Subject: Re: Hello, how should I fix it? Message-ID: References: <6b9a0083-cbb9-45f7-bdf8-f116940a7889@ewie.name> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Oct 14, 2024 at 04:21:11AM +0000, 吴 其键 wrote: > I am running in Kali NetHunter chroot, using the official Kali apt repository > to install PostgreSQL 16.4. The error is pretty clear that that configuation, either the operating system or chroot, does not support shared memory. --------------------------------------------------------------------------- > > 获取Outlook for Android > ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ > From: Erik Wienhold > Sent: Monday, October 14, 2024 12:27:45 AM > To: Adrian Klaver > Cc: 吴其键 ; pgsql-general@lists.postgresql.org > > Subject: Re: Hello, how should I fix it? > > On 2024-10-13 18:04 +0200, Adrian Klaver wrote: > > On 10/13/24 05:57, 吴其键 wrote: > > > service postgresql start > > > Starting PostgreSQL 16 database server: mainError: > > > /usr/lib/postgresql/16/bin/pg_ctl /usr/lib/postgresql/16/bin/pg_ctl > > > start -D /var/lib/postgresql/16/main -l > > > /var/log/postgresql/postgresql-16-main.log -s -o -c > > > config_file="/etc/postgresql/16/main/postgresql.conf" exited with > > > status 1: > > > 2024-10-13 12:55:21.553 UTC [16727] FATAL: could not create shared > > > memory segment: Function not implemented > > > 2024-10-13 12:55:21.553 UTC [16727] DETAIL: Failed system call was > > > shmget(key=6644951, size=56, 03600). > > > 2024-10-13 12:55:21.553 UTC [16727] LOG: database system is shut down > > > pg_ctl: could not start server > > > Examine the log output. ... failed! > > > failed! > > > > > > > Need more information: > > > > 1) Exact Postgres version, so 16.x. > > > > 2) OS and version. > > Also good to know if this is running in a virtualized environment that > does not allow or support SysV IPC. > > > 3) Where did you get the Postgres package from? > > -- > Erik -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com When a patient asks the doctor, "Am I going to die?", he means "Am I going to die soon?"