<div dir="ltr">It would seem that you're either trying to bind the services to an address that's not available on the server, or you're trying to bind them to a port that's already in use. I would suggest shutting the services down, checking that they're not running (using ps), killing any that may be running, checking via netstat whether any of the ports concerned are in use and verifying that the addresses you're trying to bind to actually exist on your server, then starting them up again.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On 12 February 2013 10:42, Sujay M <span dir="ltr"><<a href="mailto:sujay.m17@gmail.com" target="_blank">sujay.m17@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>My account-server configuration (Similarly other servers on 6010, 6011)<br><br>root@vm0:~# cat /etc/swift/account-server.conf <br>[DEFAULT]<br>bind_ip = 10.0.2.16<br>bind_port = 6012<br>devices = /mnt<br>
mount_check = false<br>disable_fallocate = true<br>user = ubuntu<br>eventlet_debug = true<br><br>[pipeline:main]<br>pipeline = account-server<br><br>[app:account-server]<br>use = egg:swift#account<br><br>[account-replicator]<br>
vm_test_mode = yes<br><br>[account-auditor]<br><br>[account-reaper]<br><br><br></div>Output of netstat -pl<br><br>Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name<br>tcp 0 0 *:ssh *:* LISTEN 135/sshd <br>
tcp6 0 0 [::]:ssh [::]:* LISTEN 135/sshd <br>udp 0 0 *:bootpc *:* 184/dhclient3 <br>Active UNIX domain sockets (only servers)<br>
Proto RefCnt Flags Type State I-Node PID/Program name Path<br>unix 2 [ ACC ] STREAM LISTENING 12674 1/init @/com/ubuntu/upstart<br>unix 2 [ ACC ] SEQPACKET LISTENING 14327 143/udevd /run/udev/control<br>
<br><div class="gmail_extra"><br></div><div class="gmail_extra">ouput of ps -Al<br><br>root@vm0:~# ps -Al<br>F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD<br>4 S 0 1 0 0 80 0 - 6083 poll_s ? 00:00:00 init<br>
1 S 0 70 1 0 80 0 - 3797 poll_s ? 00:00:00 upstart-socket<br>1 S 0 117 1 0 80 0 - 4308 poll_s ? 00:00:00 upstart-udev-b<br>4 S 0 135 1 0 80 0 - 12489 poll_s ? 00:00:00 sshd<br>
5 S 0 143 1 0 80 0 - 5334 ep_pol ? 00:00:00 udevd<br>5 S 101 151 1 0 80 0 - 45982 poll_s ? 00:00:00 rsyslogd<br>1 S 0 184 1 0 80 0 - 1816 poll_s ? 00:00:00 dhclient3<br>
4 S 0 229 1 0 80 0 - 3188 n_tty_ lxc/tty4 00:00:00 getty<br>4 S 0 240 1 0 80 0 - 3188 n_tty_ lxc/tty2 00:00:00 getty<br>4 S 0 241 1 0 80 0 - 3188 n_tty_ lxc/tty3 00:00:00 getty<br>
1 S 0 249 1 0 80 0 - 4778 hrtime ? 00:00:00 cron<br>4 S 0 307 1 0 80 0 - 13613 wait lxc/console 00:00:00 login<br>4 S 0 309 1 0 80 0 - 3188 n_tty_ lxc/tty1 00:00:00 getty<br>
5 S 0 387 143 0 80 0 - 5333 ep_pol ? 00:00:00 udevd<br>5 S 0 388 143 0 80 0 - 5333 ep_pol ? 00:00:00 udevd<br>4 S 1000 400 307 0 80 0 - 4525 wait lxc/console 00:00:00 bash<br>
4 S 0 430 400 0 80 0 - 9075 poll_s lxc/console 00:00:00 sudo<br>4 S 0 431 430 0 80 0 - 4525 wait lxc/console 00:00:00 bash<br>4 S 1000 443 1 2 80 0 - 18943 poll_s ? 00:00:04 swift-containe<br>
4 S 1000 444 1 0 80 0 - 18435 poll_s ? 00:00:00 swift-account-<br>4 S 1000 445 1 2 80 0 - 188691 poll_s ? 00:00:04 swift-object-r<br>4 S 1000 446 1 2 80 0 - 18932 poll_s ? 00:00:05 swift-containe<br>
4 S 1000 447 1 0 80 0 - 17677 poll_s ? 00:00:00 swift-object-a<br>4 S 1000 448 1 0 80 0 - 18434 poll_s ? 00:00:00 swift-containe<br>4 S 1000 451 1 0 80 0 - 18559 poll_s ? 00:00:00 swift-account-<br>
4 S 1000 452 1 4 80 0 - 20978 poll_s ? 00:00:10 swift-containe<br>4 S 1000 453 1 2 80 0 - 18898 poll_s ? 00:00:05 swift-account-<br>4 S 1000 454 1 0 80 0 - 17673 poll_s ? 00:00:00 swift-object-u<br>
1 S 1000 496 447 0 80 0 - 17715 poll_s ? 00:00:00 swift-object-a<br>4 R 0 540 431 0 80 0 - 1712 - lxc/console 00:00:00 ps<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 12 February 2013 14:06, Razique Mahroua <span dir="ltr"><<a href="mailto:razique.mahroua@gmail.com" target="_blank">razique.mahroua@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">Hi, <div>it's like the address you are trying to bind to either doesn't exist or the ports are already assigned.</div>
<div>Can you provide us more infos on the setup?</div><div>thanks </div><div><br><div>
<span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:'Lucida Grande';word-spacing:0px"><span style="font-weight:normal;font-family:Helvetica"><b style="color:rgb(19,112,138)">Razique Mahroua</b></span><span style="font-weight:normal;font-family:Helvetica;color:rgb(19,112,138)"><b> - </b></span><span style="font-family:Helvetica"><span style="font-weight:normal;font-family:Helvetica"><b style="color:rgb(19,112,138)">Nuage & Co</b></span><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px;font-size:medium"><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="border-collapse:separate;font-variant:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><div style="font-style:normal;font-size:medium;font-family:Helvetica;font-weight:normal">
<font color="#13708a"><a href="mailto:razique.mahroua@gmail.com" target="_blank">razique.mahroua@gmail.com</a></font></div><div style="font-style:normal;font-size:medium;font-family:Helvetica"><font color="#13708a">Tel : <a href="tel:%2B33%209%2072%2037%2094%2015" value="+33972379415" target="_blank">+33 9 72 37 94 15</a></font></div>
</span></span></span></span></span><br><span><img src="cid:A291A72D-4527-46F1-AFB4-62F5A5F22455@fabrique.lan" height="112" width="125"></span>
</div>
<br><div><div>Le 12 févr. 2013 à 09:30, Sujay M <<a href="mailto:sujay.m17@gmail.com" target="_blank">sujay.m17@gmail.com</a>> a écrit :</div><br><blockquote type="cite"><div><div class="h5"><div><div><div dir="ltr">
Hi all,<br>
<br>When i try to start the storage node I'm getting this error. Please help me resolve it<br>root@vm2:~# swift-init all restart<br>Signal container-updater pid: 298 signal: 15<br>Signal account-auditor pid: 301 signal: 15<br>
Signal object-replicator pid: 297 signal: 15<br>No proxy-server running<br>Signal container-replicator pid: 295 signal: 15<br>Signal object-auditor pid: 302 signal: 15<br>No object-expirer running<br>Signal container-auditor pid: 294 signal: 15<br>
Signal container-server pid: 530 signal: 15<br>No container-server running<br>Signal account-server pid: 531 signal: 15<br>No account-server running<br>Signal account-reaper pid: 304 signal: 15<br>Signal container-sync pid: 448 signal: 15<br>
Signal account-replicator pid: 305 signal: 15<br>Signal object-updater pid: 296 signal: 15<br>Signal object-server pid: 532 signal: 15<br>No object-server running<br>container-updater (298) appears to have stopped<br>
account-replicator (305) appears to have stopped<br>container-sync (448) appears to have stopped<br>object-updater (296) appears to have stopped<br>object-replicator (297) appears to have stopped<br>container-replicator (295) appears to have stopped<br>
account-reaper (304) appears to have stopped<br>container-auditor (294) appears to have stopped<br>object-auditor (302) appears to have stopped<br>account-auditor (301) appears to have stopped<br>Starting container-updater...(/etc/swift/container-server.conf)<br>
Starting account-auditor...(/etc/swift/account-server.conf)<br>Starting object-replicator...(/etc/swift/object-server.conf)<br>Unable to locate config for proxy-server<br>Starting container-replicator...(/etc/swift/container-server.conf)<br>
Starting object-auditor...(/etc/swift/object-server.conf)<br>Unable to locate config for object-expirer<br>Starting container-auditor...(/etc/swift/container-server.conf)<br>Starting container-server...(/etc/swift/container-server.conf)<br>
Starting account-server...(/etc/swift/account-server.conf)<br>Starting account-reaper...(/etc/swift/account-server.conf)<br>Starting container-sync...(/etc/swift/container-server.conf)<br>Starting account-replicator...(/etc/swift/account-server.conf)<br>
Starting object-updater...(/etc/swift/object-server.conf)<br>Starting object-server...(/etc/swift/object-server.conf)<br>Traceback (most recent call last):<br> File "/usr/bin/swift-container-server", line 22, in <module><br>
run_wsgi(conf_file, 'container-server', default_port=6001, **options)<br> File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 117, in run_wsgi<br> sock = get_socket(conf, default_port=kwargs.get('default_port', 8080))<br>
File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 73, in get_socket<br> family=address_family)<br> File "/usr/lib/python2.7/dist-packages/eventlet/convenience.py", line 38, in listen<br>
sock.bind(addr)<br> File "/usr/lib/python2.7/socket.py", line 224, in meth<br> return getattr(self._sock,name)(*args)<br>socket.error: [Errno 99] Cannot assign requested address<br><br>Traceback (most recent call last):<br>
File "/usr/bin/swift-account-server", line 22, in <module><br> run_wsgi(conf_file, 'account-server', default_port=6002, **options)<br> File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 117, in run_wsgi<br>
sock = get_socket(conf, default_port=kwargs.get('default_port', 8080))<br> File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 73, in get_socket<br> family=address_family)<br> File "/usr/lib/python2.7/dist-packages/eventlet/convenience.py", line 38, in listen<br>
sock.bind(addr)<br> File "/usr/lib/python2.7/socket.py", line 224, in meth<br> return getattr(self._sock,name)(*args)<br>socket.error: [Errno 99] Cannot assign requested address<br><br>Traceback (most recent call last):<br>
File "/usr/bin/swift-object-server", line 22, in <module><br> run_wsgi(conf_file, 'object-server', default_port=6000, **options)<br> File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 117, in run_wsgi<br>
sock = get_socket(conf, default_port=kwargs.get('default_port', 8080))<br> File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 73, in get_socket<br> family=address_family)<br> File "/usr/lib/python2.7/dist-packages/eventlet/convenience.py", line 38, in listen<br>
sock.bind(addr)<br> File "/usr/lib/python2.7/socket.py", line 224, in meth<br> return getattr(self._sock,name)(*args)<br>socket.error: [Errno 99] Cannot assign requested address<br><br clear="all"><br>-- <br>
<div dir="ltr">Best Regards,<br><br>Sujay M<br>Final year B.Tech<br>Computer Engineering<br>NITK Surathkal<br><br>contact: <a href="tel:%2B918971897571" value="+918971897571" target="_blank">+918971897571</a><br></div>
</div></div></div></div></div>
_______________________________________________<br>Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>Post to : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</blockquote></div><br></div></div></blockquote></div><div class="im"><br><br clear="all"><br>-- <br><div dir="ltr">Best Regards,<br><br>Sujay M<br>Final year B.Tech<br>Computer Engineering<br>NITK Surathkal<br><br>contact: <a href="tel:%2B918971897571" value="+918971897571" target="_blank">+918971897571</a><br>
</div>
</div></div></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jesse Pretorius<br>mobile: +27 83 680 5492<br>email: <a href="mailto:jesse.pretorius@gmail.com" target="_blank">jesse.pretorius@gmail.com</a><br>skype: jesse.pretorius
</div>