hi guys.
i have so far set up 2 different servers using centos 5.9, and 5.10. both of which have similar issues.
the first was set up at my office. it is an hp proliant micro server, with 8GB ram and a dual core amd turion 2 neo.
the second is a very basic "muck around" server that was set up, in part, to investigate the issues with the first. it has 2.5GB of ram, and a 3.2GHZ p4 with HT.
both of them have the same basic issues, in that with drupal installed (they are intended as development servers), memcached and varnish are not visible to the sites installed on them. we have tried disabling iptables, we have checked just about every config file and option that we can find, to no avail. these services are accessible through telnet however when using the 127.0.0.1 or localhost address, and varnish can be accessed by its own content and admin ports, but it doesnt host pages from apache (again, connected by 127.0.0.1 or localhost), and mysql is also visible to the localhost, in both cases.
any help would be greatly appreciated.
[SOLVED] certain loopback processes not visible to sites
Re: certain loopback processes not visible to sites
Is selinux enabled? You can check by running `getenforce`. If so, then put it into permissive mode by running `setenforce 0` and retry your tests. If they work then your requests are being blocked by selinux and you may need to look at the various selinux booleans - try `getsebool -a | grep http` for a list and look especially at httpd_can_network_connect_db and httpd_can_network_connect. To turn those on you need to run e.g. `setsebool -P htpd_can_network_connect_db 1`
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: certain loopback processes not visible to sites
thank you so much. problems solvedTrevorH wrote:Is selinux enabled? You can check by running `getenforce`. If so, then put it into permissive mode by running `setenforce 0` and retry your tests. If they work then your requests are being blocked by selinux and you may need to look at the various selinux booleans - try `getsebool -a | grep http` for a list and look especially at httpd_can_network_connect_db and httpd_can_network_connect. To turn those on you need to run e.g. `setsebool -P htpd_can_network_connect_db 1`
i wish there was a thanks button.