Just a suggestion - since httpd.conf probably has ServerName commented out, rather than editing the file, just create a new file in /etc/httpd/conf.d which contains the ServerName directive. (Kind of like cobbler.conf in that same directory.) It's a cleaner way to isolate your localizations from the standard distro. In httpd.conf you'll see an "Include conf.d/*.conf" if it's set up this way.
/a On 02/26/2011 11:32 PM, petermity wrote: > Gunnar Thielebein <[email protected]> wrote: > >> On 02/26/2011 07:59 AM, petermity wrote: >>> Gunnar Thielebein <[email protected]> wrote: >>> >>>> You only need an additional FQDN entry of your hostname in /etc/hosts to >>>> get rid >>>> of this error message: >>>> >>>> 127.0.0.1 hostname.fqdn hostname localhost >>> Thanks - but what would the domain be, when there is no domain? It's on a >>> standalone switch, not connected to any other network. I tried >>> hostname.localdomain but that made no difference. >> you can take your familyname the name of the switch as a domain name... >> suggestion: "hosts.lan" Just be a little creative ;-) > Thanks, but no matter how I set it, the httpd complaint still occurs (even > when that complaint now mentions the new hostname like "hosts.lan" instead > of 127.0.0.1). So I'll just edit the httpd.conf to get around this. > >>>> On 02/25/2011 06:20 AM, petermity wrote: >>>>> After setting up Cobbler 2.0.10, during system startup, or if I >>>>> restart httpd manually, I get: >>>>> >>>>> Starting httpd: httpd: Could not reliably determine the server's >>>>> fully qualified domain name, using 127.0.0.1 for ServerName >>>>> >>>>> I fixed it manually by setting /etc/httpd/conf/httpd.conf >>>>> ServerName to the IP of eth0, but is this something that >>>>> Cobbler's system setup could take care of, or that "cobbler >>>>> check" should at least report? (I didn't notice it at first). >>>>> >>>>> This PC is dedicated to Cobbler use and is on no network (just >>>>> connected to a switch to build targets). > > _______________________________________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/cobbler > > _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
