From: | Erik Wienhold <ewie(at)ewie(dot)name> |
---|---|
To: | 吴 其键 <wqj0(at)outlook(dot)com> |
Cc: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Hello, how should I fix it? |
Date: | 2024-10-14 10:29:41 |
Message-ID: | 527f46ef-5162-4864-821c-826e862a20b8@ewie.name |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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 <ewie(at)ewie(dot)name>
> 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
From | Date | Subject | |
---|---|---|---|
Next Message | Vijaykumar Jain | 2024-10-14 11:00:37 | how to use trace_lock_oidmin config correctly |
Previous Message | Marc SCHAEFER | 2024-10-14 07:30:07 | Re: Naive question about multithreading/multicore |