<font size=2 face="sans-serif">Since Keystone moved to running under httpd,
it uses port 5000 by default. Seems like something is already running on
port 5000 on your machine.</font>
<br><font size=2 face="sans-serif">You can try finding the process running
on port 5000 by doing: </font><font size=1 face="Consolas">netstat -plten
|grep java</font><font size=2 face="sans-serif"> and then killing it, the
PID should be one of th columns.<br>
</font>
<br><font size=1 face="Arial">Regards,</font>
<br>
<br><font size=3 color=#8f8f8f face="Arial"><b>Steve Martinelli</b></font><font size=1 face="Arial"><br>
Software Developer - Openstack<br>
Keystone Core Member</font>
<table width=680 style="border-collapse:collapse;">
<tr height=8>
<td width=680 colspan=2 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<hr>
<tr valign=top height=8>
<td width=420 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 color=#4181c0 face="Arial"><b>Phone:</b></font><font size=1 color=#5f5f5f face="Arial">
1-905-413-2851</font><font size=1 color=#4181c0 face="Arial"><b><br>
E-mail:</b></font><font size=1 color=#5f5f5f face="Arial"> </font><a href=mailto:stevemar@ca.ibm.com target=_blank><font size=1 color=#5f5f5f face="Arial"><u>stevemar@ca.ibm.com</u></font></a>
<td width=259 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<div align=right><font size=1 color=#5f5f5f face="Arial">8200 Warden Ave<br>
Markham, ON L6G 1C7<br>
Canada</font></div></table>
<br>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:
</font><font size=1 face="sans-serif">"Joe Jiang"
<ifzing@126.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif">openstack-dev@lists.openstack.org,
</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:
</font><font size=1 face="sans-serif">07/16/2014 07:37 AM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:
</font><font size=1 face="sans-serif">[openstack-dev]
[devstack][keystone] (98)Address already in use: make_sock: could not bind
to address [::]:5000 & 0.0.0.0:5000</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=1 face="Arial">Hi all, </font>
<br>
<br><font size=1 face="Arial">When I just set up my develope environment
use devstack at CentOS 6.5, </font>
<br><font size=1 face="Arial">that fetch devstack source via github.com
and checkout stable/icehouse branch.</font>
<br><font size=1 face="Arial">and bellow[1] is the error log fragment.</font>
<br><font size=1 face="Arial">I'm not sure if I am ok to ask my question
in this mail list or not,</font>
<br><font size=1 face="Arial">because I search all of the web and still
not resolve it.</font>
<br><font size=1 face="Arial">Anyway, I need you help. and, your help is
a highly appreciated.</font>
<br>
<br><font size=1 face="Arial">Thanks.</font>
<br><font size=1 face="Arial">Joe.</font>
<br>
<br><font size=1 face="Arial">2014-07-16 11:08:53.282 | + sudo sed '/^Listen/s/^.*$/Listen
0.0.0.0:80/' -i /etc/httpd/conf/httpd.conf</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.295 | + sudo rm -f '/var/log/httpd/horizon_*'</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.310 | + sudo sh -c 'sed
-e "</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.310 |
s,%USER%,stack,g;</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.310 |
s,%GROUP%,stack,g;</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.310 |
s,%HORIZON_DIR%,/opt/stack/horizon,g;</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.310 |
s,%APACHE_NAME%,httpd,g;</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.310 |
s,%DEST%,/opt/stack,g;</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.310 |
s,%HORIZON_REQUIRE%,,g;</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.310 | "
/home/devstack/files/apache-horizon.template >/etc/httpd/conf.d/horizon.conf'</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.321 | + start_horizon</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.321 | + restart_apache_server</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.321 | + restart_service
httpd</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.321 | + is_ubuntu</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.321 | + [[ -z rpm ]]</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.322 | + '[' rpm = deb
']'</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.322 | + sudo /sbin/service
httpd restart</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.361 | Stopping httpd:
[FAILED]</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.532 | Starting httpd:
httpd: Could not reliably determine the server's fully qualified domain
name, using 127.0.0.1 for ServerName</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.533 | (98)Address already
in use: make_sock: could not bind to address [::]:5000</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.533 | (98)Address already
in use: make_sock: could not bind to address 0.0.0.0:5000</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.533 | no listening sockets
available, shutting down</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.533 | Unable to open
logs</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.547 |
[FAILED]</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.549 | + exit_trap</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.549 | + local r=1</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.549 | ++ jobs -p</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.550 | + jobs=</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.550 | + [[ -n '' ]]</font>
<br><font size=1 face="Arial">2014-07-16 11:08:53.550 | + exit 1</font>
<br><font size=1 face="Arial">[stack@stack devstack]$</font>
<br><font size=3 face="sans-serif"><br>
</font><tt><font size=2>_______________________________________________<br>
OpenStack-dev mailing list<br>
OpenStack-dev@lists.openstack.org<br>
</font></tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"><tt><font size=2>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</font></tt></a><tt><font size=2><br>
</font></tt>
<br>