Drunk on Thanksgiving
November 24, 2011Do Not Order from 9GreenBox on Amazon!
November 26, 2011Today I was messing around with some of the settings on my CentOS6 Server in order to setup more VirtualHost site directories and every time I went to restart my httpd service I kept getting a warning that said,
[warn] module dnssd_module is already loaded, skipping
The reason I kept getting this warning is because I added,
Include "/etc/httpd/conf.d/*.conf"
to the end of my httpd.conf file in order to use all of the *.conf VirtualHost setup files in the conf.d directory. What I DIDN’T notice was that the httpd.conf file already had an Include inference listed at line 221 right under the all of the LoadModule settings. It specifically stated,
Include "conf.d/*.conf"
In turn, every time I tried to reload the httpd service, it was accessing the *.conf files multiple times thus returning the warning. It was a simple mistake that I had overlooked which caused me about an hour of trying to figure out what I missed in the httpd.conf file which kept tripping this warning. I have been setting up web servers for years but just recently started doing it on my own Linux server instead of using a hosting company and still have a lot to learn. I wanted to post this in case any of you run into the same issue. Be sure to check your httpd.conf file for a secondary instance of Include and luckily it’s an easy fix. Most of the web servers I’ve setup at my home office were on windows and I made the smart decision to finally begin porting over and learning Linux top to bottom. Feel free to leave comments below if you’ve ever had any similar embarrassing issues or if you possibly need help figuring out an issue you’re stuck on. I’d be happy to try to help!
1 Comment
I was trying to remember what version of Linux you use, now I know so I can get it installed and the external/internal IP redirection setup for you to access it…
I’ve got so many things like this that has happened it’s ridiculous, but I applaud you learning Linux. I’ve been wanting to but just never have the time, guess it’s time to step up as well… I was just sucked into getting Active Directory working 100% on Windows Server boxes, as it makes learning the hundred billion other server products MS has so much easier