Bug 440475 - ipa_webgui does not start after initial installation
Summary: ipa_webgui does not start after initial installation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: freeIPA
Classification: Retired
Component: WebUI
Version: 1.0
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks: freeipa10 453489
TreeView+ depends on / blocked
 
Reported: 2008-04-03 18:02 UTC by Rob Crittenden
Modified: 2015-01-04 23:31 UTC (History)
3 users (show)

Fixed In Version: freeipa-2.0.0-1.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
move ipa.conf creation earlier in installation (1.56 KB, patch)
2008-04-03 19:26 UTC, Rob Crittenden
no flags Details | Diff

Description Rob Crittenden 2008-04-03 18:02:36 UTC
After installation ipa_webgui does not start. It errors out with this in
/var/log/ipaerror.log:

ERROR:root:failed to start web gui: IPA server not found in DNS, in the config
file (/etc/ipa/ipa.conf) or on the command line.
  File "/usr/sbin/ipa_webgui", line 178, in <module>
    main()

  File "/usr/sbin/ipa_webgui", line 173, in main
    from ipagui.controllers import Root

  File "/usr/share/ipa/ipagui/controllers.py", line 34, in <module>
    from subcontrollers.user import UserController

  File "/usr/share/ipa/ipagui/subcontrollers/user.py", line 32, in <module>
    from ipacontroller import IPAController

  File "/usr/share/ipa/ipagui/subcontrollers/ipacontroller.py", line 35, in <module>
    ipa.config.init_config()

  File "/usr/lib/python2.5/site-packages/ipa/config.py", line 151, in init_config
    raise IPAConfigError("IPA server not found in DNS, in the config file
(/etc/ipa/ipa.conf) or on the command line.")

I wonder if this is a timing issue, that we aren't writing /etc/ipa/ipa.conf
until after we start the UI.

Comment 1 Rob Crittenden 2008-04-03 19:26:24 UTC
Created attachment 300316 [details]
move ipa.conf creation earlier in installation

Comment 2 Rob Crittenden 2008-04-03 21:36:25 UTC
committed as changeset 769

Comment 4 Jenny Severance 2008-11-25 16:26:52 UTC
fix verified:

ipa_webgui running directly after installation.

[root@jennyv4 log]# ps -ef | grep ipa
root     12238     1  0 01:18 ?        00:00:00 ipa_kpasswd
apache   12365     1  0 01:19 ?        00:00:01 /usr/bin/python -E /usr/sbin/ipa_webgui


Note You need to log in before you can comment on or make changes to this bug.