Rate This Document
Findability
Accuracy
Completeness
Readability

"General socket error (Permission denied)" Displayed During the OceanBase Cluster Startup

Symptom

During the HAProxy service deployment, the HAProxy service fails to be connected. The following error is displayed when you view the HAProxy status:

General socket error (Permission denied)

Key Process and Cause Analysis

HAProxy cannot be connected to other ports.

Conclusion and Solution

Run the following command to allow the HAProxy process to connect to any IP address and port:

getsebool haproxy_connect_any
setsebool -P haproxy_connect_any 1