shmget() failed: Function not implemented

duzap

Verified User
Joined
Nov 14, 2008
Messages
41
I am using FreeBSD 7.1 and I am receving the following error in many places:
shmget() failed: Function not implemented
Failed to start up concurrent users module!

for example:
Code:
# ./build update_versions
shmget() failed:  Function not implemented
Failed to start up concurrent users module!
shmget() failed:  Function not implemented
Failed to start up concurrent users module!
another example:
Code:
# php -v
shmget() failed:  Function not implemented
Failed to start up concurrent users module!
PHP 5.2.9 (cli) (built: Apr 14 2009 13:46:01)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
    with XCache v1.2.2, Copyright (c) 2005-2007, by mOo
    with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
    with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
what could be the problem and how can I solve it?

p.s: my apache error log is also full with this error message.
 
Last edited:

elvandar

Verified User
Joined
May 14, 2007
Messages
49
I have never seen this message, are you using a GENERIC kernel or did you make a custom one? The latter might be the problem in that case.

My machine works fine with this uname -a output...

FreeBSD xxxx 7.1-STABLE FreeBSD 7.1-STABLE #4 r186904: Thu Jan 8 19:11:44 CET 2009 root@xxxx:/usr/obj/usr/src/sys/XXXX i386

(The r number comes via SVN, I host a local copy, you are not expected to have that value as well :))
 

dalibor

New member
Joined
Mar 24, 2010
Messages
1
Location
Slovenia
Do you use FreeBSD jail? If so try to set security.jail.sysvipc_allowed to 1 on root machine.

Greetings,
D.
 

StenvenBex

New member
Joined
Apr 15, 2011
Messages
10
You removed SVSv IPC from your kernel. You need to enable it again

Have you compiled a custom kernel? That could be the reason...:)
 
Top