[Openstack-operators] failed to run the auth-server deamon for SAIO setup

shashidhar v shashidhar.velagandula at gmail.com
Thu Mar 31 09:33:00 UTC 2011


HI,

I am trying to install and test the Swift tool by following the SAIO
I have set up the repos and downloaded the code as per the steps given in
SAIO

swift at test3:~/swift$ cd ~/swift/trunk; sudo python setup.py develop
running develop
running egg_info
creating swift.egg-info
writing swift.egg-info/PKG-INFO
writing top-level names to swift.egg-info/top_level.txt
writing dependency_links to swift.egg-info/dependency_links.txt
writing entry points to swift.egg-info/entry_points.txt
writing manifest file 'swift.egg-info/SOURCES.txt'
reading manifest file 'swift.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'ChangeLog'
writing manifest file 'swift.egg-info/SOURCES.txt'
running build_ext
Creating /usr/local/lib/python2.6/dist-packages/swift.egg-link (link to .)
Removing swift 1.3-dev from easy-install.pth file
Adding swift 1.3-dev to easy-install.pth file
Installing st script to /usr/local/bin
Installing swift-account-auditor script to /usr/local/bin
Installing swift-account-audit script to /usr/local/bin
Installing swift-account-reaper script to /usr/local/bin
Installing swift-account-replicator script to /usr/local/bin
Installing swift-account-server script to /usr/local/bin
Installing swift-container-auditor script to /usr/local/bin
Installing swift-container-replicator script to /usr/local/bin
Installing swift-container-server script to /usr/local/bin
Installing swift-container-updater script to /usr/local/bin
Installing swift-drive-audit script to /usr/local/bin
Installing swift-get-nodes script to /usr/local/bin
Installing swift-init script to /usr/local/bin
Installing swift-object-auditor script to /usr/local/bin
Installing swift-object-info script to /usr/local/bin
Installing swift-object-replicator script to /usr/local/bin
Installing swift-object-server script to /usr/local/bin
Installing swift-object-updater script to /usr/local/bin
Installing swift-proxy-server script to /usr/local/bin
Installing swift-ring-builder script to /usr/local/bin
Installing swift-stats-populate script to /usr/local/bin
Installing swift-stats-report script to /usr/local/bin
Installing swift-bench script to /usr/local/bin
Installing swift-log-uploader script to /usr/local/bin
Installing swift-log-stats-collector script to /usr/local/bin
Installing swift-account-stats-logger script to /usr/local/bin
Installing swauth-add-account script to /usr/local/bin
Installing swauth-add-user script to /usr/local/bin
Installing swauth-cleanup-tokens script to /usr/local/bin
Installing swauth-delete-account script to /usr/local/bin
Installing swauth-delete-user script to /usr/local/bin
Installing swauth-list script to /usr/local/bin
Installing swauth-prep script to /usr/local/bin
Installing swauth-set-account-service script to /usr/local/bin

Installed /home/swift/swift/trunk
Processing dependencies for swift==1.3-dev
Finished processing dependencies for swift==1.3-dev
swift at test3:~/swift/trunk$


swift at test3:~$ startmain
WARNING: Unable to increase file descriptor limit.  Running as non-root?
Starting proxy-server...(/etc/swift/proxy-server.conf)
Starting container-server...(/etc/swift/container-server/1.conf)
Starting container-server...(/etc/swift/container-server/2.conf)
Starting container-server...(/etc/swift/container-server/3.conf)
Starting container-server...(/etc/swift/container-server/4.conf)
Starting account-server...(/etc/swift/account-server/1.conf)
Starting account-server...(/etc/swift/account-server/2.conf)
Starting account-server...(/etc/swift/account-server/3.conf)
Starting account-server...(/etc/swift/account-server/4.conf)
Starting object-server...(/etc/swift/object-server/1.conf)
Starting object-server...(/etc/swift/object-server/2.conf)
Starting object-server...(/etc/swift/object-server/3.conf)
Starting object-server...(/etc/swift/object-server/4.conf)
Traceback (most recent call last):
  File "/usr/local/bin/swift-proxy-server", line 7, in <module>
    execfile(__file__)
  File "/home/swift/swift/trunk/bin/swift-proxy-server", line 22, in
<module>
    run_wsgi(conf_file, 'proxy-server', default_port=8080, **options)
  File "/home/swift/swift/trunk/swift/common/wsgi.py", line 123, in run_wsgi
    sock = get_socket(conf, default_port=kwargs.get('default_port', 8080))
  File "/home/swift/swift/trunk/swift/common/wsgi.py", line 89, in
get_socket
    bind_addr)
Exception: Could not bind to 0.0.0.0:8080 after trying for 30 seconds

WARNING: Unable to increase file descriptor limit.  Running as non-root?
Starting auth-server...(/etc/swift/auth-server.conf)
Traceback (most recent call last):
  File "/usr/local/bin/swift-auth-server", line 5, in <module>
    pkg_resources.run_script('swift==1.3-dev', 'swift-auth-server')
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 461, in
run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1188, in
run_script
    raise ResolutionError("No script named %r" % script_name)
pkg_resources.ResolutionError: No script named 'swift-auth-server'

swift at test3:~$

Kindly help me to resolve the above error

Thanks & Regards,
shashi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20110331/ed4e8a23/attachment-0002.html>


More information about the Openstack-operators mailing list