Fixed
Created: Aug 22, 2013
Updated: Mar 11, 2016
Resolved Date: Nov 19, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.10
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Userspace
Problem Description
======================
[ovirt-engine] redo engine-setup failed because httpd service stop failed
root@localhost:~# engine-setup
Welcome to oVirt Engine setup utility
oVirt Engine uses httpd to proxy requests to the application server.
It looks like the httpd installed locally is being actively used.
The installer can override current configuration .
Alternatively you can use JBoss directly (on ports higher than 1024)
Do you wish to override current httpd configuration and restart the service? ['yes'| 'no'] [yes] : yes
HTTP Port [80] :
Error: TCP Port 80 is already open by httpd (pid: 8183)
Please choose a different port.
HTTP Port [80] :
Keyboard interrupt caught.
Please check log file /var/log/ovirt-engine/engine-setup_2013_08_23_03_50_49.log for more information
root@localhost:~#
Expected Behavior
======================
it works well
Observed Behavior
======================
None
Logs
======================
/var/log/ovirt-engine/engine-setup_2013_08_23_03_50_49.log
--------------
2013-08-23 03:50:50::DEBUG::common_utils::411::root:: stderr =
2013-08-23 03:50:50::DEBUG::common_utils::412::root:: retcode = 3
2013-08-23 03:50:50::DEBUG::engine-setup::1633::root:: going over group PORTS
2013-08-23 03:50:50::INFO::engine-setup::1642::root:: Comparing pre-conditions; condition: 'True', and match: 'True'
2013-08-23 03:50:51::INFO::engine_validators::200::root:: validateOverrideHttpdConfAndChangePortsAccordingly yes as part of ['yes', 'no']
2013-08-23 03:50:51::INFO::engine_validators::183::root:: Validating yes as part of ['yes', 'no']
2013-08-23 03:50:51::DEBUG::engine_validators::208::root:: stopping httpd service
2013-08-23 03:50:51::DEBUG::common_utils::1199::root:: stopping apache2
2013-08-23 03:50:51::DEBUG::common_utils::1236::root:: executing action apache2 on service stop
2013-08-23 03:50:51::DEBUG::common_utils::372::root:: Executing command --> '/sbin/service apache2 stop'
2013-08-23 03:50:51::DEBUG::common_utils::410::root:: output = failed
2013-08-23 03:50:51::DEBUG::common_utils::411::root:: stderr = AH00526: Syntax error on line 116 of /etc/apache2/extra/httpd-ssl.conf:
SSLCertificateKeyFile: file '/etc/pki/ovirt-engine/keys/apache.key.nopass' does not exist or is empty
.......................
2013-08-23 03:50:52::DEBUG::common_utils::411::root:: stderr =
2013-08-23 03:50:52::DEBUG::common_utils::412::root:: retcode = 0
2013-08-23 03:50:52::DEBUG::common_utils::352::root:: TCP port 80 is open by process httpd, PID 8163
2013-08-23 03:50:52::DEBUG::common_utils::352::root:: TCP port 80 is open by process httpd, PID 8183
2013-08-23 03:50:52::WARNING::engine_validators::84::root:: Error: TCP Port 80 is already open by httpd (pid: 8183)
2013-08-23 03:50:56::ERROR::engine-setup::1675::root:: keyboard interrupt caught
2013-08-23 03:50:56::DEBUG::engine-setup::2006::root:: *** The following params were used as user input:
2013-08-23 03:50:56::DEBUG::engine-setup::2011::root:: override-httpd-config: yes
2013-08-23 03:50:56::ERROR::engine-setup::2423::root:: Traceback (most recent call last):
File "/usr/bin/engine-setup", line 2417, in <module>
main(confFile)
File "/usr/bin/engine-setup", line 2155, in main
_handleParams(configFile)
File "/usr/bin/engine-setup", line 1690, in _handleParams
_handleInteractiveParams()
File "/usr/bin/engine-setup", line 1676, in _handleInteractiveParams
raise Exception(output_messages.ERR_EXP_KEYBOARD_INTERRUPT)
Exception: Keyboard interrupt caught.
run 'killall httpd' before redo 'engine-setup'
1. /home/wgao/source_code/ovp/wrlinux-x/wrlinux/configure --enable-board=intel-xeon-core --enable-rootfs=ovp-ovirt-engine --enable-addons=wr-ovp --with-package=wrs-kvm-helper --enable-parallel-pkgbuilds=4 --enable-jobs=8 --with-layer=wr-intel-support --with-rcpl-version=0
2. deploy images to usb and startup board from usb disk.
3. engine-setup
4. engine-cleanup
5. engine-setup.
Check the behaving and logs.