[et-mgmt-tools] Cobbler0.6.3 WebUI error

Michael DeHaan mdehaan at redhat.com
Fri Nov 9 21:13:29 UTC 2007


Caetano, Greg wrote:
> Sorry if that was unclear...
>
> When I click on the "Settings" link the XMLRPC error message appears. It also appears if I try to click on any link except "DOCS"
>
> cobblerd and httpd have been restarted
>   

I've seen this working on a RHEL 5.1 system already (other than mine), 
so I am not entirely sure what's up.

The tail of /var/log/cobbler/cobblerd.log or /var/log/cobbler/webui.log 
might yield something relevant.

(Actually permissons of webui.log could be causing problems 
also...should also be writeable by Apache, and if neccessary, SELinux tagged
appropriately)

Other than that and the instructions on the Wiki I don't have a lot of 
ideas without taking a closer look at the box.

--Michael

> -----Original Message-----
> From: et-mgmt-tools-bounces at redhat.com [mailto:et-mgmt-tools-bounces at redhat.com] On Behalf Of Michael DeHaan
> Sent: Friday, November 09, 2007 2:58 PM
> To: Fedora/Linux Management Tools
> Subject: Re: [et-mgmt-tools] Cobbler0.6.3 WebUI error
>
> Caetano, Greg wrote:
>   
>> I think I've got it all... But still no luck... I can log into the WebUI just cant get any data returned...
>>
>>     
>
> Ok...
>
> What do you mean by 'no data returned' ? The XMLRPC error message still?
>
> Is cobblerd running and have you restarted it?
>
>   
>> [root at hpmgmt cobbler]# ls -l /etc/cobbler/auth.conf
>> -rw-rw---- 1 apache root 39 Nov  8 13:22 /etc/cobbler/auth.conf
>> [root at hpmgmt cobbler]# getenforce Disabled [root at hpmgmt cobbler]# grep
>> -i xml /var/lib/cobbler/settings
>> xmlrpc_port: 25151
>> xmlrpc_rw_enabled: 1
>> xmlrpc_rw_port: 25152
>> [root at hpmgmt cobbler]# cat /etc/cobbler/auth.conf
>> [xmlrpc_service_users] admin = cobbler [root at hpmgmt cobbler]# cat
>> /var/www/cgi-bin/cobbler/.htpasswd
>> cobbler:Cobbler WebUI Authentication:01966586b5ea70fb0905caee0468d29a
>> [root at hpmgmt cobbler]# ls -la /var/www/cgi-bin/cobbler total 36
>> drwxr-xr-x 2 apache apache 4096 Nov  8 13:05 .
>> drwxr-xr-x 3 root   root   4096 Nov  8 13:05 ..
>> -rwxr-xr-x 1 apache apache 4272 Sep 20 14:49 findks.cgi
>> -rw-rw---- 1 apache apache  149 Oct 30 16:24 .htaccess
>> -rw-rw---- 1 apache apache   70 Nov  8 13:30 .htpasswd
>> -rwxr-xr-x 1 apache apache 1872 Sep 20 14:49 nopxe.cgi -rwxr-xr-x 1
>> apache apache 2952 Oct 29 15:39 webui.cgi
>>
>> -----Original Message-----
>> From: et-mgmt-tools-bounces at redhat.com
>> [mailto:et-mgmt-tools-bounces at redhat.com] On Behalf Of Michael DeHaan
>> Sent: Friday, November 09, 2007 2:32 PM
>> To: Fedora/Linux Management Tools
>> Subject: Re: [et-mgmt-tools] Cobbler0.6.3 WebUI error
>>
>> Caetano, Greg wrote:
>>
>>     
>>> I have just installed cobbler 0.6.3 on a RHEL5.1 system using "rpmbuild --rebuild" from the src rpm.
>>>
>>> I believe I have made the appropriate changes to the cobbler settings
>>> file to enable the WebUI xml requests, however I'm seeing the
>>> following errors in the logs files
>>>
>>> [root at hpmgmt httpd]# tail ssl_access_log
>>> 192.168.0.1 - - [09/Nov/2007:14:13:26 -0600] "GET
>>> /cgi-bin/cobbler/webui.cgi HTTP/1.1" 401 479
>>> 192.168.0.1 - cobbler [09/Nov/2007:14:13:35 -0600] "GET
>>> /cgi-bin/cobbler/webui.cgi HTTP/1.1" 200 2319
>>> 192.168.0.1 - - [09/Nov/2007:14:13:35 -0600] "GET
>>> /cobbler/webui/style.css HTTP/1.1" 200 3566
>>> 192.168.0.1 - - [09/Nov/2007:14:13:35 -0600] "GET
>>> /cobbler/webui/cobblerweb.css HTTP/1.1" 200 659
>>> 192.168.0.1 - - [09/Nov/2007:14:13:35 -0600] "GET
>>> /cobbler/webui/cobbler.js HTTP/1.1" 200 5960
>>> 192.168.0.1 - - [09/Nov/2007:14:13:35 -0600] "GET
>>> /cobbler/webui/logo-cobbler.png HTTP/1.1" 200 15085
>>> 192.168.0.1 - - [09/Nov/2007:14:13:35 -0600] "GET
>>> /cobbler/webui/icon_16_sync.png HTTP/1.1" 200 541
>>> 192.168.0.1 - cobbler [09/Nov/2007:14:13:38 -0600] "GET
>>> /cgi-bin/cobbler/webui.cgi/settings_view HTTP/1.1" 200 2414
>>>
>>> [root at hpmgmt httpd]# tail ssl_request_log
>>> [09/Nov/2007:14:13:26 -0600] 192.168.0.1 TLSv1 DHE-RSA-AES256-SHA
>>> "GET /cgi-bin/cobbler/webui.cgi HTTP/1.1" 479
>>> [09/Nov/2007:14:13:35 -0600] 192.168.0.1 TLSv1 DHE-RSA-AES256-SHA
>>> "GET /cgi-bin/cobbler/webui.cgi HTTP/1.1" 2319
>>> [09/Nov/2007:14:13:35 -0600] 192.168.0.1 TLSv1 DHE-RSA-AES256-SHA
>>> "GET /cobbler/webui/style.css HTTP/1.1" 3566
>>> [09/Nov/2007:14:13:35 -0600] 192.168.0.1 TLSv1 DHE-RSA-AES256-SHA
>>> "GET /cobbler/webui/cobblerweb.css HTTP/1.1" 659
>>> [09/Nov/2007:14:13:35 -0600] 192.168.0.1 TLSv1 DHE-RSA-AES256-SHA
>>> "GET /cobbler/webui/cobbler.js HTTP/1.1" 5960
>>> [09/Nov/2007:14:13:35 -0600] 192.168.0.1 TLSv1 DHE-RSA-AES256-SHA
>>> "GET /cobbler/webui/logo-cobbler.png HTTP/1.1" 15085
>>> [09/Nov/2007:14:13:35 -0600] 192.168.0.1 TLSv1 DHE-RSA-AES256-SHA
>>> "GET /cobbler/webui/icon_16_sync.png HTTP/1.1" 541
>>> [09/Nov/2007:14:13:38 -0600] 192.168.0.1 TLSv1 DHE-RSA-AES256-SHA
>>> "GET /cgi-bin/cobbler/webui.cgi/settings_view HTTP/1.1" 2414
>>> [09/Nov/2007:14:17:23 -0600] 192.168.0.1 TLSv1 DHE-RSA-AES256-SHA
>>> "GET /cgi-bin/cobbler/webui.cgi/settings_view HTTP/1.1" 2414
>>>
>>> [root at hpmgmt httpd]# tail ssl_error_log [Fri Nov 09 14:12:37 2007]
>>> [warn] RSA server certificate is a CA certificate (BasicConstraints:
>>> CA == TRUE !?) [Fri Nov 09 14:12:37 2007] [warn] RSA server certificate CommonName (CN) `localhost.localdomain' does NOT match server name!?
>>> [Fri Nov 09 14:12:37 2007] [warn] RSA server certificate is a CA
>>> certificate (BasicConstraints: CA == TRUE !?) [Fri Nov 09 14:12:37 2007] [warn] RSA server certificate CommonName (CN) `localhost.localdomain' does NOT match server name!?
>>> [Fri Nov 09 14:13:35 2007] [error] [client 192.168.0.1] ('admin',
>>> 'cobbler') [Fri Nov 09 14:13:39 2007] [error] [client 192.168.0.1]
>>> ('admin', 'cobbler'), referer:
>>> https://192.168.0.1/cgi-bin/cobbler/webui.cgi
>>> [Fri Nov 09 14:17:23 2007] [error] [client 192.168.0.1] ('admin',
>>> 'cobbler'), referer: https://192.168.0.1/cgi-bin/cobbler/webui.cgi
>>>
>>> The UI displays: XMLRPC Authentication Error. See Apache logs for details.
>>>
>>> Pointers?
>>>
>>> Thanks
>>> greg
>>>
>>> Greg Caetano
>>> greg.caetano at hp.com
>>> Red Hat Certified Engineer
>>>
>>> _______________________________________________
>>> et-mgmt-tools mailing list
>>> et-mgmt-tools at redhat.com
>>> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>>>
>>>
>>>       
>> The UI error is probably because the Web UI can't read /etc/cobbler/auth.conf ... I've recently added some chmod instructions to the Wiki.
>> Look over all the install instructions on the Wiki again and maybe you can find what you missed.
>>
>> The localdomain stuff appears to be noise, probably from Apache webserver using self signed certificates.
>>
>> --Michael
>>
>>
>> _______________________________________________
>> et-mgmt-tools mailing list
>> et-mgmt-tools at redhat.com
>> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>>
>> _______________________________________________
>> et-mgmt-tools mailing list
>> et-mgmt-tools at redhat.com
>> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>>
>>     
>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools at redhat.com
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools at redhat.com
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>   




More information about the et-mgmt-tools mailing list