Page 1 of 1

Message Queues in Cent OS

Posted: 2007/07/27 18:33:09
by centosnewbie
Not sure if this is the right place to be asking this question but since I could not find another suitable forum here goes.

I have been trying to compile code to use mq_open on Cent OS and it always returns -1 with errno set to EINVAL. I see a similar issue with sem_close. All other semaphore functions work but sem_close fails. The main page mentions that the function is optional but I do find it in the header file but it always returns -1.
I seem to be passing the correct arguments but I still seem to get the same result. Has anyone else faced a similar issue?

I can paste the code here if needed. Any pointers would be greatly appreciated.

thanx

Re: Message Queues in Cent OS

Posted: 2007/12/07 21:57:43
by rosenzw
I am seeing this too. Any progress on this issue?

Re: Message Queues in Cent OS

Posted: 2008/01/21 06:18:22
by BASHCuresCancer
Can you try disabling SELinux? Can you post your code? Or at least a portion of it that reproduces the problem?