Consultor Eletrônico



Kbase P41202: Socket creation in 4GL fails as non-root user.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

FACT(s) (Environment):

Unix

SYMPTOM(s):

Socket creation in 4GL fails as non-root user

Using ENABLE-CONNECTIONS in 4GL

Return value is NO

System user is not root

CAUSE:

A port number below 1024 was used, like in lRetVal = hServerSocket:ENABLE-CONNECTIONS( "-H localhost -S 102").
On Unix port numbers below 1024 cannot be served by unpriviledged processes, and only priviledged processes (such as those started by the root user) can use them.

FIX:

Specify a port number larger than 1024 for your socket.