[Freeipa-users] ipa-finduser problem

Konstantin Kozlov kozlov at spbcas.ru
Fri Jul 9 05:27:29 UTC 2010


As you use python 2.4 it is probably CentOS 5.

Check if you have SPICE libs installed:
tclspice-20-3.el5
qspice-libs-0.3.0-39.el5_4.3
qspice-0.3.0-39.el5_4.3
In CentOS rpm dependencies were
broken sometime ago when I tried to install FreeIPA.

Best regards,

Kostya


On Thu, 08 Jul 2010 11:48:01 -0400
Rob Crittenden <rcritten at redhat.com> wrote:

> Shan Kumaraswamy wrote:
> > Dear All,
> > FreeIPA ipa_webgui not starting
> >  
> > Please find the below error message:
> >  
> > [root at saprhds001 ~]# /usr/sbin/ipactl restart
> > Shutting down ipa_webgui:                                  [FAILED]
> > Shutting down ipa_kpasswd:                                 [  OK  ]
> > Stopping httpd:                                            [  OK  ]
> > Stopping Kerberos 5 KDC:                                   [  OK  ]
> > Shutting down dirsrv:
> >     MYDOMAIN-COM...                                        [  OK  ]
> > Shutting down ntpd:                                        [  OK  ]
> > Starting dirsrv:
> >     MYDOMAIN-COM...                                        [  OK  ]
> > Starting ntpd:                                             [  OK  ]
> > Starting Kerberos 5 KDC:                                   [  OK  ]
> > Starting ipa_kpasswd:                                      [  OK  ]
> > Starting ipa_webgui:                                       [  OK  ]
> > Starting httpd:                                            [  OK  ]
> > [root at saprhds001 ~]# tail -f /var/log/ipa_error.log
> >   File "/usr/lib/python2.4/site-packages/pkg_resources.py", line
> > 2479, in ? working_set.require(__requires__)
> >   File "/usr/lib/python2.4/site-packages/pkg_resources.py", line
> > 585, in require
> >     needed = self.resolve(parse_requirements(requirements))
> >   File "/usr/lib/python2.4/site-packages/pkg_resources.py", line
> > 483, in resolve
> >     raise DistributionNotFound(req)  # XXX put more info here
> >  
> > Please help me to fix this issue.
> 
> Do you have any more context on this? Does it say anywhere what is
> not being found?
> 
> What is your distribution and where did you get the packages?
> 
> We've gotten reports of people trying to build ipa in CentOS and
> having problems like this related to python-cheetah. I've never seen
> a resolution nor have I been able to duplicate the problem so I'm not
> sure what the next step is, other than verifying that you have
> python-cheetah installed.
> 
> rob
> > 
> > On Thu, Jul 8, 2010 at 4:43 PM, Shan Kumaraswamy
> > <shan.sysadm at gmail.com <mailto:shan.sysadm at gmail.com>> wrote:
> > 
> >     Dear All,
> > 
> >     [root at saprhds001 sbin]# kinit admin
> >     Password for admin at MYDOMAIN.COM <mailto:admin at MYDOMAIN.COM>:
> >     [root at saprhds001 sbin]# klist
> >     Ticket cache: FILE:/tmp/krb5cc_0
> >     Default principal: admin at MYDOMAIN.COM
> > <mailto:admin at MYDOMAIN.COM> Valid starting     Expires
> > Service principal 07/08/10 16:37:47  07/09/10 16:37:43 
> >     krbtgt/BMIBANK.COM at MYDOMAIN.COM
> > <mailto:krbtgt/BMIBANK.COM at MYDOMAIN.COM>
> > 
> >     Kerberos 4 ticket cache: /tmp/tkt0
> >     klist: You have no tickets cached
> >     [root at saprhds001 sbin]# /usr/sbin/ipa-finduser admin
> >     There was a problem importing one of the required Python
> > modules. The error was:
> >         No module named kerberos
> > 
> >     And when I try to restart the ipa server, the ipa_webgui
> > service is not shouting down and web server not working. Please
> > advice me what went wrong?
> >      
> >      
> >      
> >     -- 
> >     Thanks & Regards
> >     Shan Kumaraswamy
> > 
> > 
> > 
> > 
> > -- 
> > Thanks & Regards
> > Shan Kumaraswamy
> > 
> > 
> > ------------------------------------------------------------------------
> > 
> > _______________________________________________
> > Freeipa-users mailing list
> > Freeipa-users at redhat.com
> > https://www.redhat.com/mailman/listinfo/freeipa-users
> 
> _______________________________________________
> Freeipa-users mailing list
> Freeipa-users at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-users




More information about the Freeipa-users mailing list