Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Permission Denied error during socket connect()

306 views
Skip to first unread message

graham....@efsllc.com

unread,
Feb 2, 2015, 7:34:10 PM2/2/15
to
I have a socket client written in RPG using C socket functions that returns a "Permission Denied" error 3401 on just a single server IP. It works correctly on several other servers hosting the same app, but not on this single server.

Also, the exact same program written entirely in C will work fine on this server.

Has anyone else run into this issue?

CRPence

unread,
Feb 3, 2015, 10:58:25 AM2/3/15
to
FWiW, the errno 3401 [aka EACCES] equates to the msg CPE3401; the
symptom msgCPE3401 with the token Socket did not yield any hits for an
APAR in a web search so the unstated version\release is not a concern.

As a /permission/ error, the likelihood is that the condition will be
logged as an Authority Failure (AF) audit entry [given the *AUTFAIL
auditing is in effect when the issue is reproduced]. A review of the
information provided in the T-AF journal entry should reveal the
resource to which there is insufficient authority for the failing [but
unstated which] API request. HTH.

--
Regards, Chuck
0 new messages