Trove and panko port conflict
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trove Integration |
New
|
Undecided
|
Unassigned |
Bug Description
I use RDO installed Trove and panko,When I restart httpd,found someting:
# systemctl restart httpd
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
# systemctl status httpd.service
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/
Drop-In: /usr/lib/
Active: failed (Result: exit-code) since Fri 2017-07-21 15:51:25 CST; 28s ago
Process: 5892 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 5889 ExecStart=
Process: 5781 ExecStartPre=
Process: 5757 ExecStartPre=
Main PID: 5889 (code=exited, status=1/FAILURE)
Jul 21 15:51:25 ocata01 httpd[5889]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:8779
Jul 21 15:51:25 ocata01 httpd[5889]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:8779
Jul 21 15:51:25 ocata01 httpd[5889]: no listening sockets available, shutting down
Jul 21 15:51:25 ocata01 httpd[5889]: AH00015: Unable to open logs
Jul 21 15:51:25 ocata01 systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jul 21 15:51:25 ocata01 kill[5892]: kill: cannot find process ""
Jul 21 15:51:25 ocata01 systemd[1]: httpd.service: control process exited, code=exited status=1
Jul 21 15:51:25 ocata01 systemd[1]: Failed to start The Apache HTTP Server.
Jul 21 15:51:25 ocata01 systemd[1]: Unit httpd.service entered failed state.
Jul 21 15:51:25 ocata01 systemd[1]: httpd.service failed.
# netstat -tnlp|grep 8779
tcp 0 0 0.0.0.0:8779 0.0.0.0:* LISTEN 5706/python2
# ps -ef|grep 5706
trove 5706 1 2 15:50 ? 00:00:02 /usr/bin/python2 /usr/bin/trove-api
trove 5728 5706 0 15:50 ? 00:00:00 /usr/bin/python2 /usr/bin/trove-api
trove 5729 5706 0 15:50 ? 00:00:00 /usr/bin/python2 /usr/bin/trove-api
trove 5730 5706 0 15:50 ? 00:00:00 /usr/bin/python2 /usr/bin/trove-api
trove 5731 5706 0 15:50 ? 00:00:00 /usr/bin/python2 /usr/bin/trove-api
trove 5732 5706 0 15:50 ? 00:00:00 /usr/bin/python2 /usr/bin/trove-api
trove 5733 5706 0 15:50 ? 00:00:00 /usr/bin/python2 /usr/bin/trove-api
trove 5734 5706 0 15:50 ? 00:00:00 /usr/bin/python2 /usr/bin/trove-api
trove 5735 5706 0 15:50 ? 00:00:00 /usr/bin/python2 /usr/bin/trove-api
root 6149 1694 0 15:52 pts/0 00:00:00 grep --color=auto 5706
when i stoped trove-api,i can restart httpd success
# systemctl stop openstack-
# systemctl restart httpd
# systemctl status httpd|grep Active
Active: active (running) since Fri 2017-07-21 15:53:57 CST; 53s ago
# netstat -tnlp|grep 8779
tcp6 0 0 :::8779 :::* LISTEN 6467/httpd
why httpd used 8779 port ?
# egrep -r 8779 /etc/httpd/*
/etc/httpd/
/etc/httpd/
I found panko used port 8779.
# openstack endpoint list |grep 8779
| 13ba084cba874ae
| 26287563c191453
| 48e0a4321cb3429
| 56253953e767431
| 7f5296b6a3974fe
| 9dde838a68254dc
Duplicate of Bug : #1691283 /review. openstack. org/#/c/ 471551/
Fix merged at https:/