Re: Cobbler0.6.3 WebUI error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@hpmgmt cobbler]# ls -l /etc/cobbler/auth.conf
-rw-rw---- 1 apache root 39 Nov  8 13:22 /etc/cobbler/auth.conf
[root@hpmgmt cobbler]# getenforce
Disabled
[root@hpmgmt cobbler]# grep -i xml /var/lib/cobbler/settings
xmlrpc_port: 25151
xmlrpc_rw_enabled: 1
xmlrpc_rw_port: 25152
[root@hpmgmt cobbler]# cat /etc/cobbler/auth.conf
[xmlrpc_service_users]
admin = cobbler
[root@hpmgmt cobbler]# cat /var/www/cgi-bin/cobbler/.htpasswd
cobbler:Cobbler WebUI Authentication:01966586b5ea70fb0905caee0468d29a
[root@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@xxxxxxxxxx [mailto:et-mgmt-tools-bounces@xxxxxxxxxx] On Behalf Of Michael DeHaan
Sent: Friday, November 09, 2007 2:32 PM
To: Fedora/Linux Management Tools
Subject: Re:  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@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@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@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@xxxxxx
Red Hat Certified Engineer

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux