httpd error
Hi all
Having a bit of an issue with Apache installed through cPanel. I'm working on a fresh build of cPanel on a blank install of Centos x64 6.5 and have followed the installation instructions through (including any existing yum installations which could conflict) and passed the initial setup and creation of the first user account when I realised that httpd isn't starting and that I haven't come across this error before. This is from the error_log file:
[Sat Nov 15 18:33:11 2014] [alert] (EAI 3)Temporary failure in name resolution: mod_unique_id: unable to find IPv4 address
I also get the same message returned on the WHM Restart Apache page. My httpd.conf file is as generated and un-modified, all I have set are the initial settings in WHM with my 2 IP's and their corresponding nameservers and hostname.
If there's anyore information you need from my system please let me know and I'll post up the results as quickly as I can. All help will be greatly appreciated. Thank you.
Spadge
-
check your /etc/hosts file & correct the error cat /etc/hosts 0 -
]check your /etc/hosts file & correct the error cat /etc/hosts
Thank you very much for the quick reply. I tried this last night but still didn't get it working before I went to bed, so thought I'd have more luck checking it out with fresh eyes. This morning I backed up and renamed my /etc/hosts and after confirming I had selected the correct ns in WHM, regenerated it (IP Address and VPS hostname edited to hide details) [PHP] 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 xx.xx.xxx.IP1 vps.mydomain.suffix vps [/PHP] httpd however has found another issue with a module called up in httpd.conf but as I previously said I haven't edited this and have set cPanel up as a new installation several times on several different versions of CentOS and have never came across this before. [PHP]httpd: Syntax error on line 30 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/mod_bwlimited.so into server: /usr/local/apache/modules/mod_bwlimited.so: cannot open shared object file: No such file or directory[/PHP] If anyone can shed any more light on the situation it would be greatly appreciated. I take it I would be better off trying to find and install the modules rather than simply commenting out the calls to them in httpd? Thanks again Spadge0 -
Re-built apache with EasyApache and the errors have now gone, fingers crossed this should be it! :) Thanks again for the help dalem. 0 -
]Re-built apache with EasyApache and the errors have now gone, fingers crossed this should be it! :) Thanks again for the help dalem.
I am happy to see the issue is now resolved. Thank you for updating us with the outcome.0
Please sign in to leave a comment.
Comments
4 comments