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 1t01Ru-0098we-SY for pgsql-general@arkaria.postgresql.org; Sun, 13 Oct 2024 16:28:07 +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 1t01Rr-005Vm5-AS for pgsql-general@arkaria.postgresql.org; Sun, 13 Oct 2024 16:28:03 +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 1t01Rq-005Vlu-NO for pgsql-general@lists.postgresql.org; Sun, 13 Oct 2024 16:28:03 +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 1t01Rk-000hCX-9F for pgsql-general@lists.postgresql.org; Sun, 13 Oct 2024 16:28:01 +0000 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (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 4XRQkq5fd8z9sSP; Sun, 13 Oct 2024 18:27:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ewie.name; s=MBO0001; t=1728836868; 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=arW8wREj2eHj/zsL6lf9Lv+V/uBcAn/KvP9c6izzvBE=; b=yYtBDzma7bp9kDS8YSybB0zrIZxIThFyyqVUb21NUP5wWF7qgB4sNn6TmXQT3ZFZRDSrm6 fSPQcG39KPzigJV5Fe2hhdNfQJAJ6gJ6AHqAgM0PcoV3eSphm35xj6UHH7LuDXsTX/7tlJ A8ACI8tBJ5op2opBaRxx9K/ddSsnrOd5RmCBBC9OF8nvMi8tI5N3GXvDL0bk0IWxx7bTi2 WocFh+HCsiiKixzcYd9H7WPIVKqAmSSjSz4FzXuXAn/9eBiKP47RWZThlmdWCGXHIAbqhC P0AYrnfnucGc9g2bEtkHJ3PlO7XzUGqZMvFvhOF8fmJvh0L8jvXcbY6lwryp9g== Date: Sun, 13 Oct 2024 18:27:45 +0200 From: Erik Wienhold To: Adrian Klaver Cc: =?utf-8?B?5ZC0IOWFtumUrg==?= , "pgsql-general@lists.postgresql.org" Subject: Re: Hello, how should I fix it? Message-ID: <6b9a0083-cbb9-45f7-bdf8-f116940a7889@ewie.name> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Rspamd-Queue-Id: 4XRQkq5fd8z9sSP List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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