Thread: could not create shared memory segment: Function not implemented

could not create shared memory segment: Function not implemented

From
Randy Yates
Date:
I'm installing 7.4.6 source under Windows 2000/cygwin and can't seem
to get the initdb step no matter what. The following is what I get.
The archive answers on this are either incomplete or unclear. Can
someone please help?

--Randy



$ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
The files belonging to this database system will be owned by user "yates".
This user must also own the server process.

The database cluster will be initialized with locale C.

creating directory /usr/local/pgsql/data... ok
creating directory /usr/local/pgsql/data/base... ok
creating directory /usr/local/pgsql/data/global... ok
creating directory /usr/local/pgsql/data/pg_xlog... ok
creating directory /usr/local/pgsql/data/pg_clog... ok
selecting default max_connections... 10
selecting default shared_buffers... 50
creating configuration files... ok
creating template1 database in /usr/local/pgsql/data/base/1... FATAL:  could not create shared memory segment: Function
notimplemented 
DETAIL:  Failed system call was shmget(key=1, size=1081344, 03600).

initdb: failed
initdb: removing data directory "/usr/local/pgsql/data"

yates@leibniz ~
$ ps
      PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
I    1264       1    1264       1264  con  400 22:03:23 /usr/bin/bash
     1500    1264    1500       1496  con  400 22:03:53 /usr/bin/xterm
      508    1500     508        812    0  400 22:03:53 /usr/bin/bash
     1540    1264    1540       1560  con  400 22:03:55 /usr/bin/xterm
     1556    1540    1556       1536    1  400 22:03:55 /usr/bin/bash
I     984    1556     984       1192    1  400 09:04:03 /usr/bin/less
     1644     508    1644       1676    0  400 10:28:32 /usr/sbin/cygserver
     1664     508    1664       1712    0  400 10:29:58 /usr/bin/ps

yates@leibniz ~
--
%  Randy Yates                  % "She's sweet on Wagner-I think she'd die for Beethoven.
%% Fuquay-Varina, NC            %  She love the way Puccini lays down a tune, and
%%% 919-577-9882                %  Verdi's always creepin' from her room."
%%%% <yates@ieee.org>           % "Rockaria", *A New World Record*, ELO
http://home.earthlink.net/~yatescr


Re: could not create shared memory segment: Function not

From
Randy Yates
Date:
Harshah Sagar <Harshah.Sagar@tnarobag.com> writes:

> remove all file from the cygwin/tmp dir.Hope this helps.
>
> regards
> Harshah Sagar

No change. There was a bunch of junk there, but removing it
changed nothing in the behaviour of the initdb step.
--
%  Randy Yates                  % "The dreamer, the unwoken fool -
%% Fuquay-Varina, NC            %  in dreams, no pain will kiss the brow..."
%%% 919-577-9882                %
%%%% <yates@ieee.org>           % 'Eldorado Overture', *Eldorado*, ELO
http://home.earthlink.net/~yatescr


Re: could not create shared memory segment: Function not

From
"Mike G."
Date:
I never had much luck installing from source either(last tried on 7.4.3).  I would get the same error on XP Pro.  The
binarieswork fine though.   

Did you use the customized cygwin build script included with the source or just did a ./configure, make ?

Mike


On Sun, Jan 16, 2005 at 05:03:58PM -0500, Randy Yates wrote:
> Harshah Sagar <Harshah.Sagar@tnarobag.com> writes:
>
> > remove all file from the cygwin/tmp dir.Hope this helps.
> >
> > regards
> > Harshah Sagar
>
> No change. There was a bunch of junk there, but removing it
> changed nothing in the behaviour of the initdb step.
> --
> %  Randy Yates                  % "The dreamer, the unwoken fool -
> %% Fuquay-Varina, NC            %  in dreams, no pain will kiss the brow..."
> %%% 919-577-9882                %
> %%%% <yates@ieee.org>           % 'Eldorado Overture', *Eldorado*, ELO
> http://home.earthlink.net/~yatescr
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
>       joining column's datatypes do not match

Re: could not create shared memory segment: Function not

From
Randy Yates
Date:
"Mike G." <mike@thegodshalls.com> writes:
Hi Mike,

Cygwin's been installed for a few months. I downloaded the 7.4.6 source and
am doing a full source build/install (./configure, make, make install, etc.)
under cygwin.

--Randy



> I never had much luck installing from source either(last tried on 7.4.3).  I would get the same error on XP Pro.  The
binarieswork fine though.   
>
> Did you use the customized cygwin build script included with the source or just did a ./configure, make ?
>
> Mike
>
>
> On Sun, Jan 16, 2005 at 05:03:58PM -0500, Randy Yates wrote:
>> Harshah Sagar <Harshah.Sagar@tnarobag.com> writes:
>>
>> > remove all file from the cygwin/tmp dir.Hope this helps.
>> >
>> > regards
>> > Harshah Sagar
>>
>> No change. There was a bunch of junk there, but removing it
>> changed nothing in the behaviour of the initdb step.
>> --
>> %  Randy Yates                  % "The dreamer, the unwoken fool -
>> %% Fuquay-Varina, NC            %  in dreams, no pain will kiss the brow..."
>> %%% 919-577-9882                %
>> %%%% <yates@ieee.org>           % 'Eldorado Overture', *Eldorado*, ELO
>> http://home.earthlink.net/~yatescr
>>
>>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 9: the planner will ignore your desire to choose an index scan if your
>>       joining column's datatypes do not match
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
>                http://www.postgresql.org/docs/faqs/FAQ.html

--
%  Randy Yates                  % "I met someone who looks alot like you,
%% Fuquay-Varina, NC            %             she does the things you do,
%%% 919-577-9882                %                     but she is an IBM."
%%%% <yates@ieee.org>           %        'Yours Truly, 2095', *Time*, ELO
http://home.earthlink.net/~yatescr