Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We currently have memcached running on CentOS.

None of our PHP applications can connect, have tried multiple applications trying to establish access.

The most informative PHP error we get is:

"Memcache::get() [function.Memcache-get]: Server (tcp 11211) failed with: Permission denied (13) in /var/www/.."

memcached 1.4.5

PECL 2.25

We can telnet and it works.

IP tables is full access from lo to lo.

We've tried this on two different servers with both compiled version and the rpm in CentOS 5.5 and get the same result.

Is there anything fairly obvious that we are missing?

share|improve this question

is selinux on?


You can disable it for testing via

setenforce 0
share|improve this answer
Yes, thank you. That turned out to be what it was. – DMClark May 26 '10 at 10:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.