<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Shashi,</div><div><br></div><div>The first thing I would do to troubleshoot this is stop every swift service you have started up. </div><div><br></div><div>1. Problem #1 relates to proxy-server not able to bind to 8080. So I would run a "sudo netstat -tnpl"  to make sure that is actually not being used by any other app you might lreaday have running. If nothing is using that 8080 port, then try "swift-init proxy-server start" and see if you still get the error (try it running as the swift user and also as root) </div><div><br></div><div>2. The 1.3 dev docs provide a setup using swauth for authentication, therefore there is no reason to run devauth. Unless you decided to use devauth instead of swauth.</div><div><br></div><div><br></div><div><blockquote type="cite">swift@test3:~$ startmain <br>WARNING: Unable to increase file descriptor limit.  Running as non-root?<br>Starting proxy-server...(/etc/swift/proxy-server.conf)<br>Starting container-server...(/etc/swift/container-server/1.conf)<br>Starting container-server...(/etc/swift/container-server/2.conf)<br>Starting container-server...(/etc/swift/container-server/3.conf)<br>Starting container-server...(/etc/swift/container-server/4.conf)<br>Starting account-server...(/etc/swift/account-server/1.conf)<br>Starting account-server...(/etc/swift/account-server/2.conf)<br>Starting account-server...(/etc/swift/account-server/3.conf)<br>Starting account-server...(/etc/swift/account-server/4.conf)<br>Starting object-server...(/etc/swift/object-server/1.conf)<br>Starting object-server...(/etc/swift/object-server/2.conf)<br>Starting object-server...(/etc/swift/object-server/3.conf)<br>Starting object-server...(/etc/swift/object-server/4.conf)<br>Traceback (most recent call last):<br>  File "/usr/local/bin/swift-proxy-server", line 7, in <module><br>    execfile(__file__)<br>  File "/home/swift/swift/trunk/bin/swift-proxy-server", line 22, in <module><br>    run_wsgi(conf_file, 'proxy-server', default_port=8080, **options)<br>  File "/home/swift/swift/trunk/swift/common/wsgi.py", line 123, in run_wsgi<br>    sock = get_socket(conf, default_port=kwargs.get('default_port', 8080))<br>  File "/home/swift/swift/trunk/swift/common/wsgi.py", line 89, in get_socket<br>    bind_addr)<br>Exception: Could not bind to <a href="http://0.0.0.0:8080">0.0.0.0:8080</a> after trying for 30 seconds<br><br>WARNING: Unable to increase file descriptor limit.  Running as non-root?<br>Starting auth-server...(/etc/swift/auth-server.conf)<br>Traceback (most recent call last):<br>  File "/usr/local/bin/swift-auth-server", line 5, in <module><br>    pkg_resources.run_script('swift==1.3-dev', 'swift-auth-server')<br>  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 461, in run_script<br>    self.require(requires)[0].run_script(script_name, ns)<br>  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1188, in run_script<br>    raise ResolutionError("No script named %r" % script_name)<br>pkg_resources.ResolutionError: No script named 'swift-auth-server'<br><br>swift@test3:~$ </blockquote><br></div><div><br></div><br><div apple-content-edited="true"><br></div><div apple-content-edited="true"> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="font-size: 12px; ">Marcelo </div></div><div style="font-size: 12px; "><span class="Apple-style-span" style="font-size: medium; "><a href="http://www.zeroaccess.org/">http://www.zeroaccess.org/</a></span></div></div> </div><div apple-content-edited="true">btorch @ IRC#openstack</div><div apple-content-edited="true"><br></div><br><div><div>On Mar 31, 2011, at 4:33 AM, shashidhar v wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">HI,<br><br>I am trying to install and test the Swift tool by following the SAIO <br>I have set up the repos and downloaded the code as per the steps given in SAIO <br><br>swift@test3:~/swift$ cd ~/swift/trunk; sudo python setup.py develop<br> running develop<br>running egg_info<br>creating swift.egg-info<br>writing swift.egg-info/PKG-INFO<br>writing top-level names to swift.egg-info/top_level.txt<br>writing dependency_links to swift.egg-info/dependency_links.txt<br> writing entry points to swift.egg-info/entry_points.txt<br>writing manifest file 'swift.egg-info/SOURCES.txt'<br>reading manifest file 'swift.egg-info/SOURCES.txt'<br>reading manifest template 'MANIFEST.in'<br> warning: no files found matching 'ChangeLog'<br>writing manifest file 'swift.egg-info/SOURCES.txt'<br>running build_ext<br>Creating /usr/local/lib/python2.6/dist-packages/swift.egg-link (link to .)<br>Removing swift 1.3-dev from easy-install.pth file<br> Adding swift 1.3-dev to easy-install.pth file<br>Installing st script to /usr/local/bin<br>Installing swift-account-auditor script to /usr/local/bin<br>Installing swift-account-audit script to /usr/local/bin<br>Installing swift-account-reaper script to /usr/local/bin<br> Installing swift-account-replicator script to /usr/local/bin<br>Installing swift-account-server script to /usr/local/bin<br>Installing swift-container-auditor script to /usr/local/bin<br>Installing swift-container-replicator script to /usr/local/bin<br> Installing swift-container-server script to /usr/local/bin<br>Installing swift-container-updater script to /usr/local/bin<br>Installing swift-drive-audit script to /usr/local/bin<br>Installing swift-get-nodes script to /usr/local/bin<br> Installing swift-init script to /usr/local/bin<br>Installing swift-object-auditor script to /usr/local/bin<br>Installing swift-object-info script to /usr/local/bin<br>Installing swift-object-replicator script to /usr/local/bin<br> Installing swift-object-server script to /usr/local/bin<br>Installing swift-object-updater script to /usr/local/bin<br>Installing swift-proxy-server script to /usr/local/bin<br>Installing swift-ring-builder script to /usr/local/bin<br> Installing swift-stats-populate script to /usr/local/bin<br>Installing swift-stats-report script to /usr/local/bin<br>Installing swift-bench script to /usr/local/bin<br>Installing swift-log-uploader script to /usr/local/bin<br> Installing swift-log-stats-collector script to /usr/local/bin<br>Installing swift-account-stats-logger script to /usr/local/bin<br>Installing swauth-add-account script to /usr/local/bin<br>Installing swauth-add-user script to /usr/local/bin<br> Installing swauth-cleanup-tokens script to /usr/local/bin<br>Installing swauth-delete-account script to /usr/local/bin<br>Installing swauth-delete-user script to /usr/local/bin<br>Installing swauth-list script to /usr/local/bin<br> Installing swauth-prep script to /usr/local/bin<br>Installing swauth-set-account-service script to /usr/local/bin<br><br>Installed /home/swift/swift/trunk<br>Processing dependencies for swift==1.3-dev<br>Finished processing dependencies for swift==1.3-dev<br> swift@test3:~/swift/trunk$ <br><br><br>swift@test3:~$ startmain <br>WARNING: Unable to increase file descriptor limit.  Running as non-root?<br>Starting proxy-server...(/etc/swift/proxy-server.conf)<br>Starting container-server...(/etc/swift/container-server/1.conf)<br> Starting container-server...(/etc/swift/container-server/2.conf)<br>Starting container-server...(/etc/swift/container-server/3.conf)<br>Starting container-server...(/etc/swift/container-server/4.conf)<br>Starting account-server...(/etc/swift/account-server/1.conf)<br> Starting account-server...(/etc/swift/account-server/2.conf)<br>Starting account-server...(/etc/swift/account-server/3.conf)<br>Starting account-server...(/etc/swift/account-server/4.conf)<br>Starting object-server...(/etc/swift/object-server/1.conf)<br> Starting object-server...(/etc/swift/object-server/2.conf)<br>Starting object-server...(/etc/swift/object-server/3.conf)<br>Starting object-server...(/etc/swift/object-server/4.conf)<br>Traceback (most recent call last):<br>   File "/usr/local/bin/swift-proxy-server", line 7, in <module><br>    execfile(__file__)<br>  File "/home/swift/swift/trunk/bin/swift-proxy-server", line 22, in <module><br>    run_wsgi(conf_file, 'proxy-server', default_port=8080, **options)<br>   File "/home/swift/swift/trunk/swift/common/wsgi.py", line 123, in run_wsgi<br>    sock = get_socket(conf, default_port=kwargs.get('default_port', 8080))<br>  File "/home/swift/swift/trunk/swift/common/wsgi.py", line 89, in get_socket<br>     bind_addr)<br>Exception: Could not bind to <a href="http://0.0.0.0:8080">0.0.0.0:8080</a> after trying for 30 seconds<br><br>WARNING: Unable to increase file descriptor limit.  Running as non-root?<br>Starting auth-server...(/etc/swift/auth-server.conf)<br> Traceback (most recent call last):<br>  File "/usr/local/bin/swift-auth-server", line 5, in <module><br>    pkg_resources.run_script('swift==1.3-dev', 'swift-auth-server')<br>  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 461, in run_script<br>     self.require(requires)[0].run_script(script_name, ns)<br>  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1188, in run_script<br>    raise ResolutionError("No script named %r" % script_name)<br> pkg_resources.ResolutionError: No script named 'swift-auth-server'<br><br>swift@test3:~$ <br><br>Kindly help me to resolve the above error <br><br>Thanks & Regards,<br>shashi <br><br> _______________________________________________<br>Openstack-operators mailing list<br><a href="mailto:Openstack-operators@lists.openstack.org">Openstack-operators@lists.openstack.org</a><br>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators<br></blockquote></div><br></body></html>