FAQ
Hello:
I'm using:

uname -a:
SunOS ns2 5.5.1 Generic_103640-27 sun4u sparc SUNW,Ultra-1

Installation goes fine, but:

[7]ns2:/usr/local/pgsql>id
uid=65541(pgsql) gid=65536(pgsql)
[8]ns2:/usr/local/pgsql>postmaster -i
IpcMemoryCreate: shmget failed (Invalid argument) key=5432001,
size=1073152, permission=600
FATAL 1: ShmemCreate: cannot create region

truss reveals:

truss postmaster -i:
[...]
open("/usr/local/pgsql/data/base/template1/pg_class", O_RDONLY) = 3
lseek(3, 0, SEEK_CUR) = 0
close(3) = 0
open("/usr/local/pgsql/data/PG_VERSION", O_RDONLY) = 3
read(3, " 6 . 5\n", 4) = 4
close(3) = 0
stat("/usr/local/pgsql/bin/postgres", 0xEFFFF948) = 0
getuid() = 65541 [65541]
open("/etc/netconfig", O_RDONLY) = 3
fstat(3, 0xEFFFF2C0) = 0
brk(0x00271CB0) = 0
brk(0x00275CB0) = 0
ioctl(3, TCGETA, 0xEFFFF24C) Err#25 ENOTTY
read(3, " #\n # T h e " N e t".., 8192) = 1064
read(3, 0x00271CBC, 8192) = 0
lseek(3, 0, SEEK_CUR) = 1064
lseek(3, 0, SEEK_SET) = 0
read(3, " #\n # T h e " N e t".., 8192) = 1064
read(3, 0x00271CBC, 8192) = 0
lseek(3, 0, SEEK_CUR) = 1064
close(3) = 0
open("/dev/tcp", O_RDWR) = 3
ioctl(3, I_PUSH, "sockmod") = 0
ioctl(3, I_STR, 0xEFFFF8C0) = 0
ioctl(3, I_SETCLTIME, 0xEFFFF974) = 0
ioctl(3, I_SWROPT, 0x00000002) = 0
sigfillset(0xEF69692C) = 0
sigprocmask(SIG_SETMASK, 0xEFFFF964, 0xEFFFF954) = 0
ioctl(3, I_STR, 0xEFFFF7D8) = 0
sigprocmask(SIG_SETMASK, 0xEFFFF954, 0xEFFFF930) = 0
sigprocmask(SIG_BLOCK, 0xEFFFF8D0, 0xEFFFF944) = 0
ioctl(3, I_STR, 0xEFFFF8D0) = 0
sigprocmask(SIG_SETMASK, 0xEFFFF944, 0x00000000) = 0
sigprocmask(SIG_BLOCK, 0xEFFFF778, 0xEFFFF7F0) = 0
ioctl(3, I_STR, 0xEFFFF778) = 0
sigprocmask(SIG_SETMASK, 0xEFFFF7F0, 0x00000000) = 0
sigprocmask(SIG_BLOCK, 0xEFFFF900, 0xEFFFF994) = 0
ioctl(3, I_STR, 0xEFFFF900) = 0
sigprocmask(SIG_SETMASK, 0xEFFFF994, 0x00000000) = 0
open("/dev/ticotsord", O_RDWR) = 4
ioctl(4, I_PUSH, "sockmod") = 0
ioctl(4, I_STR, 0xEFFFF8C0) = 0
ioctl(4, I_SETCLTIME, 0xEFFFF974) = 0
ioctl(4, I_SWROPT, 0x00000002) = 0
sigprocmask(SIG_SETMASK, 0xEFFFF964, 0xEFFFF954) = 0
ioctl(4, I_STR, 0xEFFFF7D8) = 0
sigprocmask(SIG_SETMASK, 0xEFFFF954, 0xEFFFF930) = 0
sigprocmask(SIG_BLOCK, 0xEFFFF8D0, 0xEFFFF944) = 0
ioctl(4, I_STR, 0xEFFFF8D0) = 0
sigprocmask(SIG_SETMASK, 0xEFFFF944, 0x00000000) = 0
ioctl(4, (('S'<<8)|242), 0xEFFFFA6A) = 0
stat("/tmp/.s.PGSQL.5432", 0xEFFFF804) = 0
sigprocmask(SIG_BLOCK, 0xEFFFF778, 0xEFFFF7F0) = 0
ioctl(4, I_STR, 0xEFFFF778) = 0
sigprocmask(SIG_SETMASK, 0xEFFFF7F0, 0x00000000) = 0
sigprocmask(SIG_BLOCK, 0xEFFFF900, 0xEFFFF994) = 0
ioctl(4, I_STR, 0xEFFFF900) = 0
sigprocmask(SIG_SETMASK, 0xEFFFF994, 0x00000000) = 0
chmod("/tmp/.s.PGSQL.5432", 0777) = 0
shmget(5432010, 120, 0700|IPC_CREAT) = 900
shmat(900, 0, 0) = 0xEF7A0000
shmget(5432001, 1073152, 0600|IPC_CREAT) Err#22 EINVAL
IpcMemoryCreate: shmget failed (Invalid argument) key=5432001,
size=1073152, permission=600write(2, " I p c M e m o r y C r e".., 91)
= 91

write(2, "\n", 1) = 1
FATAL 1: ShmemCreate: cannot create region
write(2, " F A T A L 1 : S h".., 44) = 44
shmdt(0xEF7A0000) = 0
shmctl(900, 10, 0) = 0
unlink("/tmp/.s.PGSQL.5432") = 0
lseek(0, 0, SEEK_CUR) = 71606
_exit(0)

Any ideas?

Thanks in advance and regards!

Fernando P. Schapachnik
Administración de la red
VIA Net Works Argentina SA
Diagonal Roque Sáenz Peña 971, 4º y 5º piso.
1035 - Capital Federal, Argentina.
(54-11) 4323-3333
http://www.via-net-works.net.ar

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppgsql-ports @
categoriespostgresql
postedJul 16, '99 at 3:55p
activeJul 16, '99 at 3:55p
posts1
users1
websitepostgresql.org
irc#postgresql

1 user in discussion

Fernando Schapachnik: 1 post

People

Translate

site design / logo © 2022 Grokbase