RE: Cobbler0.6.3 WebUI error

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

 



AH....
webui.log is pointing to a connection refused message...

[root@hpmgmt cobbler]# cat cobblerd.log
2007-11-09 15:20:29,273 - cobbler.cobblerd - DEBUG - started
2007-11-09 15:20:30,816 - cobbler.cobblerd - INFO - XMLRPC running on 25151
2007-11-09 15:20:30,817 - cobbler.cobblerd - INFO - XMLRPC (read-write variant) running on 25152
2007-11-09 15:20:30,968 - cobbler.cobblerd - INFO - syslog running on 25150
2007-11-09 15:20:30,968 - cobbler.cobblerd - INFO - publishing avahi service
2007-11-09 15:20:31,314 - cobbler.cobblerd - INFO - avahi service terminated

[root@hpmgmt cobbler]# cat webui.log
2007-11-09 15:22:23,141 - cobbler.webui - INFO - login failed for: admin
2007-11-09 15:22:23,149 - cobbler.webui - INFO - Exception occured: socket.error
2007-11-09 15:22:23,149 - cobbler.webui - INFO - Exception value: (111, 'Connection refused')
2007-11-09 15:22:23,152 - cobbler.webui - INFO - Exception Info:
  File "/usr/lib/python2.4/site-packages/cobbler/webui/CobblerWeb.py", line 92, in __xmlrpc_setup
    self.token = self.remote.login( self.username, self.password )
   File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__
    return self.__send(self.__name, args)
   File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request
    verbose=self.__verbose
   File "/usr/lib/python2.4/xmlrpclib.py", line 1129, in request
    self.send_content(h, request_body)
   File "/usr/lib/python2.4/xmlrpclib.py", line 1243, in send_content
    connection.endheaders()
   File "/usr/lib/python2.4/httplib.py", line 798, in endheaders
    self._send_output()
   File "/usr/lib/python2.4/httplib.py", line 679, in _send_output
    self.send(msg)
   File "/usr/lib/python2.4/httplib.py", line 646, in send
    self.connect()
   File "/usr/lib/python2.4/httplib.py", line 630, in connect
    raise socket.error, msg
[root@hpmgmt cobbler]# netstat -atnp | grep 251
tcp        0      0 127.0.0.1:25152             0.0.0.0:*                   LISTEN      5749/python
tcp        0      0 0.0.0.0:25151               0.0.0.0:*                   LISTEN      5750/python


-----Original Message-----
From: et-mgmt-tools-bounces@xxxxxxxxxx [mailto:et-mgmt-tools-bounces@xxxxxxxxxx] On Behalf Of Michael DeHaan
Sent: Friday, November 09, 2007 3:13 PM
To: Fedora/Linux Management Tools
Subject: Re:  Cobbler0.6.3 WebUI error

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@xxxxxxxxxx
> [mailto:et-mgmt-tools-bounces@xxxxxxxxxx] On Behalf Of Michael DeHaan
> Sent: Friday, November 09, 2007 2:58 PM
> To: Fedora/Linux Management Tools
> Subject: Re:  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@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
>
> _______________________________________________
> 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