>Hi Tim, there is a file named httpd.conf which is in the directory /etc/httpd/conf. Look at the 'ServerName' in that. If you are declaring the ServerName somewhere else, then probably the ServerName in this file ought to be commented out.
Hi Bob, It's commented out in /etc/httpd/conf/httpd.conf [root@VIRTCENT14 conf.d]# grep -i servername ../conf/httpd.conf # ServerName gives the name and port that the server uses to identify itself. #ServerName www.example.com:80 # ServerName directive. # with the URL of http://servername/server-status # http://servername/server-info (requires that mod_info.c be loaded). # ServerName dummy-host.example.com [root@VIRTCENT14 conf.d]# So it shouldn't be fighting. And I changed the setting in cobbler.conf as per your suggestion ServerName cobbler.example.com:80 And James koan seems to be complaining about the way I'm passing that value to it [root@LCENT01:~] #koan --virt --server=cobbler --profile=rhel62-i386 --virt-name=vm01 --virt-auto-boot=0 usage: koan [options] koan: error: --virt-auto-boot option does not take a value Nothing happens in the error logs when I try to koan up the new virtual host. But I see this in the cobbler logs on the cobbler server Sun Jul 8 12:05:48 2012 - INFO | REMOTE get_profile_as_rendered; user(?); name(rhel62-i386) Sun Jul 8 12:05:49 2012 - INFO | REMOTE generate_kickstart; user(?) Sun Jul 8 12:05:49 2012 - INFO | generate_kickstart And this is what I see in the access logs 192.168.1.22 - - [08/Jul/2012:12:05:48 -0400] "POST /cobbler_api HTTP/1.0" 200 129 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)" 192.168.1.22 - - [08/Jul/2012:12:05:48 -0400] "POST /cobbler_api HTTP/1.0" 200 12313 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)" 192.168.1.22 - - [08/Jul/2012:12:05:48 -0400] "GET /cblr/svc/op/ks/profile/rhel62-i386 HTTP/1.1" 200 2734 "-" "Python-urllib/2.4" Thanks again for the input you guys. Looking forward to get this working. However if it's a bug in the current version that's causing me to have the --autostart failure maybe I ought to try downgrading to an earlier version? Unless of course I can figure out how to get the --virt-auto-boot subcommand correctly specified. Tim On Sun, Jul 8, 2012 at 11:27 AM, Bob Cochran <[email protected]> wrote: > On 7/8/12 10:59 AM, Tim Dunphy wrote: > >> >> >> Same thing. and as to the ServerName directive, looks like the only place >> I actually have that set is in cobbler.conf >> >> [root@VIRTCENT14 conf.d]# grep -i servername * >> cobbler.conf:ServerName cobbler.example.com <http://cobbler.example.com> >> ssl.conf:#ServerName www.example.com:443 <http://www.example.com:443> >> >> Hi Tim, there is a file named httpd.conf which is in the directory > /etc/httpd/conf. Look at the 'ServerName' in that. If you are declaring the > ServerName somewhere else, then probably the ServerName in this file ought > to be commented out. > > If cobbler.conf in /etc/httpd/conf.d contains the ServerName, then it > should be coded as: > > ServerName cobbler.example.com:80 > > In your example above the port number is missing. > > Also have you looked over your access and error logs? Located in > /var/log/httpd. They often let you know what the true problem is: > > [root@cobbler1 httpd]# ls -al > total 1248 > drwx------. 3 root root 4096 Jul 8 07:11 . > drwxr-xr-x. 7 root root 4096 Jul 8 07:11 .. > -rw-r--r--. 1 root root 0 Jul 8 07:11 access_log > -rw-r--r--. 1 root root 1220933 Jul 8 07:08 access_log-20120708 > drwxrwxr-x. 2 root root 4096 Jul 3 16:41 cobbler > -rw-r--r--. 1 root root 486 Jul 8 07:11 error_log > -rw-r--r--. 1 root root 19509 Jul 8 07:11 error_log-20120708 > -rw-r--r--. 1 root root 0 Jul 3 15:06 ssl_access_log > -rw-r--r--. 1 root root 246 Jul 8 07:11 ssl_error_log > -rw-r--r--. 1 root root 3936 Jul 8 07:08 ssl_error_log-20120708 > -rw-r--r--. 1 root root 0 Jul 3 15:06 ssl_request_log > [root@cobbler1 httpd]# pwd > /var/log/httpd > > > Bob > > ______________________________**_________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/**mailman/listinfo/cobbler<https://fedorahosted.org/mailman/listinfo/cobbler> > -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
_______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
