public inbox for [email protected]  
help / color / mirror / Atom feed
Re: Hello, how should I fix it?
4+ messages / 4 participants
[nested] [flat]

* Re: Hello, how should I fix it?
@ 2024-10-13 16:04  Adrian Klaver <[email protected]>
  0 siblings, 1 reply; 4+ messages in thread

From: Adrian Klaver @ 2024-10-13 16:04 UTC (permalink / raw)
  To: 吴 其键 <[email protected]>; [email protected] <[email protected]>

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.

3) Where did you get the Postgres package from?

> 获取Outlook for Android <https://aka.ms/AAb9ysg;

-- 
Adrian Klaver
[email protected]







^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Hello, how should I fix it?
@ 2024-10-13 16:27  Erik Wienhold <[email protected]>
  parent: Adrian Klaver <[email protected]>
  0 siblings, 1 reply; 4+ messages in thread

From: Erik Wienhold @ 2024-10-13 16:27 UTC (permalink / raw)
  To: Adrian Klaver <[email protected]>; +Cc: 吴 其键 <[email protected]>; [email protected] <[email protected]>

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






^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Hello, how should I fix it?
@ 2024-10-14 04:21  =?gb2312?B?zuIgxuS8/A==?= <[email protected]>
  parent: Erik Wienhold <[email protected]>
  0 siblings, 1 reply; 4+ messages in thread

From: =?gb2312?B?zuIgxuS8/A==?= @ 2024-10-14 04:21 UTC (permalink / raw)
  To: Erik Wienhold <[email protected]>; Adrian Klaver <[email protected]>; +Cc: [email protected] <[email protected]>

I am running in Kali NetHunter chroot, using the official Kali apt repository to install PostgreSQL 16.4.

获取Outlook for Android<https://aka.ms/AAb9ysg;
________________________________
From: Erik Wienhold <[email protected]>
Sent: Monday, October 14, 2024 12:27:45 AM
To: Adrian Klaver <[email protected]>
Cc: 吴 其键 <[email protected]>; [email protected] <[email protected]>
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


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Hello, how should I fix it?
@ 2024-10-14 17:00  Bruce Momjian <[email protected]>
  parent: =?gb2312?B?zuIgxuS8/A==?= <[email protected]>
  0 siblings, 0 replies; 4+ messages in thread

From: Bruce Momjian @ 2024-10-14 17:00 UTC (permalink / raw)
  To: 吴 其键 <[email protected]>; +Cc: Erik Wienhold <[email protected]>; Adrian Klaver <[email protected]>; [email protected] <[email protected]>

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 <[email protected]>
> Sent: Monday, October 14, 2024 12:27:45 AM
> To: Adrian Klaver <[email protected]>
> Cc: 吴其键 <[email protected]>; [email protected]
> <[email protected]>
> 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  <[email protected]>        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?"






^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2024-10-14 17:00 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-10-13 16:04 Re: Hello, how should I fix it? Adrian Klaver <[email protected]>
2024-10-13 16:27 ` Erik Wienhold <[email protected]>
2024-10-14 04:21   ` =?gb2312?B?zuIgxuS8/A==?= <[email protected]>
2024-10-14 17:00     ` Bruce Momjian <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox