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.
You can try finding the process running on port 5000 by doing: netstat -plten |grep java and then killing it, the PID should be one of th columns.

Regards,

Steve Martinelli
Software Developer - Openstack
Keystone Core Member

Phone: 1-905-413-2851
E-mail:
steve...@ca.ibm.com
8200 Warden Ave
Markham, ON L6G 1C7
Canada





From:        "Joe Jiang" <ifz...@126.com>
To:        openstack-dev@lists.openstack.org,
Date:        07/16/2014 07:37 AM
Subject:        [openstack-dev] [devstack][keystone] (98)Address already in use: make_sock: could not bind to address [::]:5000 & 0.0.0.0:5000




Hi all,

When I just set up my develope environment use devstack at CentOS 6.5,
that fetch devstack source via github.com and checkout stable/icehouse branch.
and bellow[1] is the error log fragment.
I'm not sure if I am ok to ask my question in this mail list or not,
because I search all of the web and still not resolve it.
Anyway, I need you help. and, your help is a highly appreciated.

Thanks.
Joe.

2014-07-16 11:08:53.282 | + sudo sed '/^Listen/s/^.*$/Listen 0.0.0.0:80/' -i /etc/httpd/conf/httpd.conf
2014-07-16 11:08:53.295 | + sudo rm -f '/var/log/httpd/horizon_*'
2014-07-16 11:08:53.310 | + sudo sh -c 'sed -e "
2014-07-16 11:08:53.310 |         s,%USER%,stack,g;
2014-07-16 11:08:53.310 |         s,%GROUP%,stack,g;
2014-07-16 11:08:53.310 |         s,%HORIZON_DIR%,/opt/stack/horizon,g;
2014-07-16 11:08:53.310 |         s,%APACHE_NAME%,httpd,g;
2014-07-16 11:08:53.310 |         s,%DEST%,/opt/stack,g;
2014-07-16 11:08:53.310 |         s,%HORIZON_REQUIRE%,,g;
2014-07-16 11:08:53.310 |     " /home/devstack/files/apache-horizon.template >/etc/httpd/conf.d/horizon.conf'
2014-07-16 11:08:53.321 | + start_horizon
2014-07-16 11:08:53.321 | + restart_apache_server
2014-07-16 11:08:53.321 | + restart_service httpd
2014-07-16 11:08:53.321 | + is_ubuntu
2014-07-16 11:08:53.321 | + [[ -z rpm ]]
2014-07-16 11:08:53.322 | + '[' rpm = deb ']'
2014-07-16 11:08:53.322 | + sudo /sbin/service httpd restart
2014-07-16 11:08:53.361 | Stopping httpd:                  [FAILED]
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
2014-07-16 11:08:53.533 | (98)Address already in use: make_sock: could not bind to address [::]:5000
2014-07-16 11:08:53.533 | (98)Address already in use: make_sock: could not bind to address 0.0.0.0:5000
2014-07-16 11:08:53.533 | no listening sockets available, shutting down
2014-07-16 11:08:53.533 | Unable to open logs
2014-07-16 11:08:53.547 |                                  [FAILED]
2014-07-16 11:08:53.549 | + exit_trap
2014-07-16 11:08:53.549 | + local r=1
2014-07-16 11:08:53.549 | ++ jobs -p
2014-07-16 11:08:53.550 | + jobs=
2014-07-16 11:08:53.550 | + [[ -n '' ]]
2014-07-16 11:08:53.550 | + exit 1
[stack@stack devstack]$

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to