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 1t0IKp-00AaZz-Px for pgsql-general@arkaria.postgresql.org; Mon, 14 Oct 2024 10:29:55 +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 1t0IKo-00CUwE-1W for pgsql-general@arkaria.postgresql.org; Mon, 14 Oct 2024 10:29:54 +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 1t0IKn-00CUw6-Fj for pgsql-general@lists.postgresql.org; Mon, 14 Oct 2024 10:29:54 +0000 Received: from mout-u-107.mailbox.org ([80.241.59.207]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t0IKj-000op7-Ku for pgsql-general@lists.postgresql.org; Mon, 14 Oct 2024 10:29:52 +0000 Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4XRtlD2Yjkz9sT3; Mon, 14 Oct 2024 12:29:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ewie.name; s=MBO0001; t=1728901784; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zk5h+mXXCh4G0FqlMH+Sxwq7JBVuncD/T8mOGAXvtKc=; b=CR1q0tdYryj0QROK8OKcpetdFFew6mF/qJXkNcpyuLNQSacMVMt68JhaULrNMUVUSi3pq5 oYFhurvKfBxeI36F1kYq1FVYUy8PWKW2o6oKxAJ1wKwyKpL3DbFhhc0XhKaxxjKXmj4Av7 hvOR4AiCcl+OlXV4H+i6nyMBt0cZnzl3CUg7qEdfsEO+sIHLT/Axbxr8tBpxuTlUXBMWVE B/XTFOzpsrXeOaHSKxg1ybzRReveB+XCJEUggi8p+fnQFqysfJXnaJzlbqdPnHVDNamjLD 7A9d3KF6J5lmpCoH0XyCcWX2B6I4JS3aHGVMMmJ8xoW0AfmHlgJlfi9E/VeZnA== Date: Mon, 14 Oct 2024 12:29:41 +0200 From: Erik Wienhold To: =?utf-8?B?5ZC0IOWFtumUrg==?= Cc: Adrian Klaver , "pgsql-general@lists.postgresql.org" Subject: Re: Hello, how should I fix it? Message-ID: <527f46ef-5162-4864-821c-826e862a20b8@ewie.name> 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 Please do not top post. Inline or bottom posting is preferred here. https://wiki.postgresql.org/wiki/Mailing_Lists#Email_etiquette_mechanics On 2024-10-14 06:21 +0200, 吴 其键 wrote: > I am running in Kali NetHunter chroot, using the official Kali apt > repository to install PostgreSQL 16.4. I'm not familiar with Kali or NetHunter. It looks like you need to build a custom kernel. The NetHunter docs explicitly mention setting CONFIG_SYSVIPC=y: https://www.kali.org/docs/nethunter/nethunter-kernel-2-config-1/#general Android did not support SysV IPC in the past. Don't know if that's still the case for newer versions. > From: Erik Wienhold > 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