Centos 6.2 installationApache error..
bishoptf last edited by
I’ve looked and looked and done this more than once on centos 5.x machines, but I am having an issue getting centos 6.2 up and working…all of the packages are downloading fine but I get an error when it gets to setting up and starting Apache Web Server…Iptables and selinux turned off…
- Setting up fog user…Exists
- Setting up and starting MySql…OK
- Backing up user reports…OK
- Setting up and starting Apache Web Server…Failed! (2)
Not sure what the error (2) means I have looked at the functions script and it looks straight forward, just not sure what the deal is…any suggestions would be great, thanks!
********Solved, geez you can waste more time on the simple things…so it was my hostname wasn’t set for some reason, fixed that and we are good to go…
service httpd restart
Stopping httpd: [ OK ]
Starting httpd: httpd: apr_sockaddr_info_get() failed for xxxx.xxx
httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
Matthew Carter last edited by
Check /etc/hosts for your hostname.
Check /etc/httpd/conf/httpd.conf or other apache conf file for this directive:
Check /etc/sysconfig/network for the :
HOSTNAME= xxxxxx directive
Somewhere you haven’t defined your machines hostname and apache is saying, “ok fine, we’re ‘localhost’ then . . .”