I am also facing similar problem. I am using Apache server and fedora 2.6.30 kernel. I am trying to open a shared memory in my cgi-c program and display the information on the web page. When I run my cgi application in browser it is not able to open the shared memory segment ( This shared memory is created by another process). Could anyone suggest a solution for this problem ?