I'm running CentOS 6, and lately I'm having trouble with the server not being able to load external data after it's rebooted.
In the PHP configuration, I have fopen URI enabled, and it works, but as soon as I reboot the machine, the page that uses that function is unable to load any data, which persists even days after the machine has been rebooted. The function magically works again if I issue "sudo service httpd restart"
Does anyone have any ideas as to how to fix this?
Could just be a timing issue, that when it goes to load the data while booting, some other function is not yet ready that prevents this. Have you checked the logs for errors ? May need to manipulate the order of the start-up scripts.
Quick Google search finds: http://lists.centos.org/pipermail/centos/2005-December/015516.html and https://stackoverflow.com/questions/3164634/centos-init-scripts-dependecies
Little hard to be exact without more info.