Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

mq_open fails with errno EEXIST(17)

807575Mar 14 2007 — edited Mar 14 2007
Hi All,
I have code like below:

const int MQ_OPEN_FLAGS = O_RDWR;
mQueueId = ::mq_open (pName,
MQ_OPEN_FLAGS);

In this case, mq_open is returning errno 17.

I cant understnd the reason of this error as we are tryng to open an exisiting mq. In what situation errno 17 can be returned if called this way(to open existing MQ)?

Thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 11 2007
Added on Mar 14 2007
1 comment
694 views