Message Queues in Cent OS

If it doesn't fit in another category, ask it here.
Post Reply
centosnewbie
Posts: 1
Joined: 2007/07/27 18:26:43

Message Queues in Cent OS

Post by centosnewbie » 2007/07/27 18:33:09

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

rosenzw
Posts: 1
Joined: 2007/12/07 21:55:39
Contact:

Re: Message Queues in Cent OS

Post by rosenzw » 2007/12/07 21:57:43

I am seeing this too. Any progress on this issue?

BASHCuresCancer
Posts: 1
Joined: 2008/01/21 06:16:40

Re: Message Queues in Cent OS

Post by BASHCuresCancer » 2008/01/21 06:18:22

Can you try disabling SELinux? Can you post your code? Or at least a portion of it that reproduces the problem?

Post Reply

Return to “CentOS 4 - Miscellaneous Questions”