[openstack-dev] [devstack][keystone] (98)Address already in use: make_sock: could not bind to address [::]:5000 & 0.0.0.0:5000

Brian Haley brian.haley at hp.com
Wed Jul 16 14:43:06 UTC 2014


On 07/16/2014 07:34 AM, Joe Jiang wrote:
> 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.

I tripped over a similar issue with Horizon yesterday and found this bug:

https://bugs.launchpad.net/devstack/+bug/1340660

The error I saw was with port 80, so I was able to disable Horizon to get around
it, and I didn't see anything obvious in the apache error logs to explain it.

-Brian


> 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 at stack devstack]$
> 
> 
> 
> 
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 




More information about the OpenStack-dev mailing list