<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<br>Thanks for your reply,<br>Here is the output:<br><br>netstat -tanpu | grep LISTEN<br>tcp        0      0 0.0.0.0:4369            0.0.0.0:*               LISTEN      13837/epmd      <br>tcp        0      0 0.0.0.0:45746           0.0.0.0:*               LISTEN      2104/rpc.statd  <br>tcp        0      0 0.0.0.0:756             0.0.0.0:*               LISTEN      3123/ypbind     <br>tcp        0      0 0.0.0.0:53              0.0.0.0:*               LISTEN      9033/dnsmasq    <br>tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      16165/sshd      <br>tcp        0      0 0.0.0.0:16509           0.0.0.0:*               LISTEN      4267/libvirtd   <br>tcp        0      0 0.0.0.0:38465           0.0.0.0:*               LISTEN      4577/glusterfs  <br>tcp        0      0 0.0.0.0:38466           0.0.0.0:*               LISTEN      4577/glusterfs  <br>tcp        0      0 0.0.0.0:38467           0.0.0.0:*               LISTEN      4577/glusterfs  <br>tcp        0      0 0.0.0.0:56196           0.0.0.0:*               LISTEN      15134/beam.smp  <br>tcp        0      0 0.0.0.0:24007           0.0.0.0:*               LISTEN      3053/glusterd   <br>tcp        0      0 0.0.0.0:50503           0.0.0.0:*               LISTEN      -               <br>tcp        0      0 0.0.0.0:8649            0.0.0.0:*               LISTEN      4081/gmond      <br>tcp        0      0 0.0.0.0:24009           0.0.0.0:*               LISTEN      4572/glusterfsd <br>tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN      4916/mysqld     <br>tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      2093/rpcbind    <br>tcp6       0      0 :::53                   :::*                    LISTEN      9033/dnsmasq    <br>tcp6       0      0 :::22                   :::*                    LISTEN      16165/sshd      <br>tcp6       0      0 :::51129                :::*                    LISTEN      2104/rpc.statd  <br>tcp6       0      0 :::16509                :::*                    LISTEN      4267/libvirtd   <br>tcp6       0      0 :::5672                 :::*                    LISTEN      15134/beam.smp  <br>tcp6       0      0 :::54121                :::*                    LISTEN      -               <br>tcp6       0      0 :::111                  :::*                    LISTEN      2093/rpcbind    <br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Subject: Re: [Openstack] error in nova-network start-up<br>From: razique.mahroua@gmail.com<br>Date: Wed, 24 Apr 2013 11:37:15 +0200<br>CC: openstack@lists.launchpad.net<br>To: arindam@live.com<br><br>Hi Arindam, <div>looks like the port you are trying to bind the process to is already used, can you run : </div><div>$ netstat -tanpu | grep LISTEN</div><div>and paste the output?</div><div>thanks!</div><div><br></div><div><br><div>
<span class="ecxApple-style-span" style="color:rgb(0, 0, 0);font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;border-collapse:separate;font-family:'Lucida Grande';border-spacing:0px;"><span class="ecxApple-style-span" style="font-weight:normal;font-family:Helvetica;"><b style="color:rgb(19, 112, 138);">Razique Mahroua</b></span><span class="ecxApple-style-span" style="font-weight:normal;font-family:Helvetica;color:rgb(19, 112, 138);"><b> - </b></span><span class="ecxApple-style-span" style="font-family:Helvetica;"><span class="ecxApple-style-span" style="font-weight:normal;font-family:Helvetica;"><b style="color:rgb(19, 112, 138);">Nuage & Co</b></span><span class="ecxApple-style-span" style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;border-spacing:0px;font-size:medium;"><span class="ecxApple-style-span" style="color:rgb(0, 0, 0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;border-collapse:separate;border-spacing:0px;"><span class="ecxApple-style-span" style="border-collapse:separate;font-variant:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;border-spacing:0px;"><div style="font-weight:normal;color:rgb(0, 0, 0);font-family:Helvetica;font-size:medium;font-style:normal;"><font class="ecxApple-style-span" color="#13708a"><a href="mailto:razique.mahroua@gmail.com">razique.mahroua@gmail.com</a></font></div><div style="color:rgb(0, 0, 0);font-family:Helvetica;font-size:medium;font-style:normal;"><font class="ecxApple-style-span" color="#13708a">Tel : +33 9 72 37 94 15</font></div></span></span></span></span></span><br class="ecxApple-interchange-newline" style="color:rgb(0, 0, 0);font-family:Arial;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;"><span><img id="ecxc6fe2235-4f51-4ced-8a77-3e4e1ec33d02" src="cid:0A2450C8-6A0D-42D0-8035-743CAD564432@fabrique.lan" height="125" width="125"></span>
</div>
<br><div><div>Le 24 avr. 2013 à 11:13, Arindam Choudhury <<a href="mailto:arindam@live.com">arindam@live.com</a>> a écrit :</div><br class="ecxApple-interchange-newline"><blockquote><div class="ecxhmmessage" style="font-size:12pt;font-family:Calibri;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;"><div dir="ltr">Hi,<br><br>When I try to start the nova-network, I am getting this error:<br><br>2013-04-24 11:12:30.926 10327 AUDIT nova.compute.resource_tracker [-] Auditing locally available compute resources<br>2013-04-24 11:12:31.064 10327 AUDIT nova.compute.resource_tracker [-] Free ram (MB): 7472<br>2013-04-24 11:12:31.064 10327 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 18<br>2013-04-24 11:12:31.064 10327 AUDIT nova.compute.resource_tracker [-] Free VCPUS: 8<br>2013-04-24 11:12:31.183 10327 INFO nova.compute.resource_tracker [-] Compute_service record updated for aopcso1:<a href="http://aopcso1.uab.es" target="_blank">aopcso1.uab.es</a><br>root@aopcso1:/etc/nova# cat /var/log/nova/nova-network.log<span class="ecxApple-converted-space"> </span><br>2013-04-24 11:12:22.140 11502 INFO nova.manager [-] Skipping periodic task _periodic_update_dns because its interval is negative<br>2013-04-24 11:12:22.141 11502 INFO nova.network.driver [-] Loading network driver 'nova.network.linux_net'<br>2013-04-24 11:12:22.147 11502 AUDIT nova.service [-] Starting network node (version 2013.1)<br>2013-04-24 11:12:23.590 11502 CRITICAL nova [-] Unexpected error while running command.<br>Command: sudo nova-rootwrap /etc/nova/rootwrap.conf env CONFIG_FILE=["/etc/nova/nova.conf"] NETWORK_ID=1 dnsmasq --strict-order --bind-interfaces --conf-file= --domain='novalocal' --pid-file=/var/lib/nova/networks/nova-br100.pid --listen-address=192.168.100.1 --except-interface=lo --dhcp-range=set:private,192.168.100.2,static,255.255.255.0,120s --dhcp-lease-max=256 --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro<br>Exit code: 2<br>Stdout: ''<br>Stderr: "2013-04-24 11:12:23.481 INFO nova.manager [req-fb46a0ad-b4fa-41d9-8b1b-f1eb0170a93a None None] Skipping periodic task _periodic_update_dns because its interval is negative\n2013-04-24 11:12:23.482 INFO nova.network.driver [req-fb46a0ad-b4fa-41d9-8b1b-f1eb0170a93a None None] Loading network driver 'nova.network.linux_net'\n\ndnsmasq: failed to create listening socket for 192.168.100.1: La direcci\xc3\xb3n ya se est\xc3\xa1 usando\n"<br>2013-04-24 11:12:23.590 11502 TRACE nova Traceback (most recent call last):<br>2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/bin/nova-network", line 54, in <module><br>2013-04-24 11:12:23.590 11502 TRACE nova     service.wait()<br>2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 689, in wait<br>2013-04-24 11:12:23.590 11502 TRACE nova     _launcher.wait()<br>2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 209, in wait<br>2013-04-24 11:12:23.590 11502 TRACE nova     super(ServiceLauncher, self).wait()<br>2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 179, in wait<br>2013-04-24 11:12:23.590 11502 TRACE nova     service.wait()<br>2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 168, in wait<br>2013-04-24 11:12:23.590 11502 TRACE nova     return self._exit_event.wait()<br>2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait<br>2013-04-24 11:12:23.590 11502 TRACE nova     return hubs.get_hub().switch()<br>2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 187, in switch<br>2013-04-24 11:12:23.590 11502 TRACE nova     return self.greenlet.switch()<br>2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 194, in main<br>2013-04-24 11:12:23.590 11502 TRACE nova     result = function(*args, **kwargs)<br>2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 147, in run_server<br>2013-04-24 11:12:23.590 11502 TRACE nova     server.start()<br>2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 429, in start<br>2013-04-24 11:12:23.590 11502 TRACE nova     self.manager.init_host()<br>2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 1602, in init_host<br>2013-04-24 11:12:23.590 11502 TRACE nova     super(FlatDHCPManager, self).init_host()<br>2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 345, in init_host<br>2013-04-24 11:12:23.590 11502 TRACE nova     self._setup_network_on_host(ctxt, network)<br>2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 1617, in _setup_network_on_host<br>2013-04-24 11:12:23.590 11502 TRACE nova     self.driver.update_dhcp(elevated, dev, network)<br>2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/network/linux_net.py", line 938, in update_dhcp<br>2013-04-24 11:12:23.590 11502 TRACE nova     restart_dhcp(context, dev, network_ref)<br>2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py", line 242, in inner<br>2013-04-24 11:12:23.590 11502 TRACE nova     retval = f(*args, **kwargs)<br>2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/network/linux_net.py", line 1049, in restart_dhcp<br>2013-04-24 11:12:23.590 11502 TRACE nova     _execute(*cmd, run_as_root=True)<br>2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/network/linux_net.py", line 1142, in _execute<br>2013-04-24 11:12:23.590 11502 TRACE nova     return utils.execute(*cmd, **kwargs)<br>2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 239, in execute<br>2013-04-24 11:12:23.590 11502 TRACE nova     cmd=' '.join(cmd))<br>2013-04-24 11:12:23.590 11502 TRACE nova ProcessExecutionError: Unexpected error while running command.<br>2013-04-24 11:12:23.590 11502 TRACE nova Command: sudo nova-rootwrap /etc/nova/rootwrap.conf env CONFIG_FILE=["/etc/nova/nova.conf"] NETWORK_ID=1 dnsmasq --strict-order --bind-interfaces --conf-file= --domain='novalocal' --pid-file=/var/lib/nova/networks/nova-br100.pid --listen-address=192.168.100.1 --except-interface=lo --dhcp-range=set:private,192.168.100.2,static,255.255.255.0,120s --dhcp-lease-max=256 --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro<br>2013-04-24 11:12:23.590 11502 TRACE nova Exit code: 2<br>2013-04-24 11:12:23.590 11502 TRACE nova Stdout: ''<br>2013-04-24 11:12:23.590 11502 TRACE nova Stderr: "2013-04-24 11:12:23.481 INFO nova.manager [req-fb46a0ad-b4fa-41d9-8b1b-f1eb0170a93a None None] Skipping periodic task _periodic_update_dns because its interval is negative\n2013-04-24 11:12:23.482 INFO nova.network.driver [req-fb46a0ad-b4fa-41d9-8b1b-f1eb0170a93a None None] Loading network driver 'nova.network.linux_net'\n\ndnsmasq: failed to create listening socket for 192.168.100.1: La direcci\xc3\xb3n ya se est\xc3\xa1 usando\n"<br>2013-04-24 11:12:23.590 11502 TRACE nova<span class="ecxApple-converted-space"> </span><br><br>Any help will be highly appreciated.<br>Thanks<br></div>_______________________________________________<br>Mailing list:<span class="ecxApple-converted-space"> </span><a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>Post to     :<span class="ecxApple-converted-space"> </span><a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe :<span class="ecxApple-converted-space"> </span><a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>More help   :<span class="ecxApple-converted-space"> </span><a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br></div></blockquote></div><br></div></div>                                       </div></body>
</html>