[Openstack] Unable to start swift-proxy
n the documentation is has been asked to start the proxy-server in swift using service proxy-server start, which I believe should be service swift-proxy start, since the former one gives an unknown service error. However, even if I try starting using the latter command I get a start: Job failed to start error and if I start using /usr/bin/swift-proxy-server /etc/swift/proxy-server.conf I get an error message as follows: Traceback (most recent call last): File /usr/bin/swift-proxy-server, line 22, in module run_wsgi(conf_file, 'proxy-server', default_port=8080, **options) File /usr/lib/python2.7/dist-packages/swift/common/wsgi.py, line 119, in run_wsgi init_request_processor(conf_file, app_section, *args, **kwargs) File /usr/lib/python2.7/dist-packages/swift/common/wsgi.py, line 246, in init_request_processor app = loadapp('config:%s' % conf_file, global_conf={'log_name': log_name}) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 247, in loadapp return loadobj(APP, uri, name=name, **kw) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 271, in loadobj global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 296, in loadcontext global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 320, in _loadconfig return loader.get_context(object_type, name, global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 450, in get_context global_additions=global_additions) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 562, in _pipeline_app_context for name in pipeline[:-1]] File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 408, in get_context object_type, name=name) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 587, in find_config_section self.filename))LookupError: No section 'swift-proxy' (prefixed by 'filter') found in config /etc/swift/proxy-server.conf My /etc/swift/proxy-server.conf is herehttp://pastebin.ubuntu.com/5780257/ . Thanks! -- Thanks and regards, Jobin Raju George Third Year, Information Technology College of Engineering Pune Alternate e-mail: georgejr10...@coep.ac.in ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Unable to start swift-proxy
Try removing swift-proxy from line 11 and see if that works. Perhaps you meant to reference catch_errors there instead (that filter does not appear to be used)? On Wed, Jun 19, 2013 at 8:27 AM, Jobin Raju George jobin...@gmail.com wrote: n the documentation is has been asked to start the proxy-server in swift using service proxy-server start, which I believe should be service swift-proxy start, since the former one gives an unknown service error. However, even if I try starting using the latter command I get a start: Job failed to start error and if I start using /usr/bin/swift-proxy-server /etc/swift/proxy-server.conf I get an error message as follows: Traceback (most recent call last): File /usr/bin/swift-proxy-server, line 22, in module run_wsgi(conf_file, 'proxy-server', default_port=8080, **options) File /usr/lib/python2.7/dist-packages/swift/common/wsgi.py, line 119, in run_wsgi init_request_processor(conf_file, app_section, *args, **kwargs) File /usr/lib/python2.7/dist-packages/swift/common/wsgi.py, line 246, in init_request_processor app = loadapp('config:%s' % conf_file, global_conf={'log_name': log_name}) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 247, in loadapp return loadobj(APP, uri, name=name, **kw) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 271, in loadobj global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 296, in loadcontext global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 320, in _loadconfig return loader.get_context(object_type, name, global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 450, in get_context global_additions=global_additions) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 562, in _pipeline_app_context for name in pipeline[:-1]] File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 408, in get_context object_type, name=name) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 587, in find_config_section self.filename)) LookupError: No section 'swift-proxy' (prefixed by 'filter') found in config /etc/swift/proxy-server.conf My /etc/swift/proxy-server.conf is here. Thanks! -- Thanks and regards, Jobin Raju George Third Year, Information Technology College of Engineering Pune Alternate e-mail: georgejr10...@coep.ac.in ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] Unable to start swift proxy service
Hello, I installed swift on Ubuntu 12.04 AMD64 following this howto: http://docs.openstack.org/developer/swift/howto_installmultinode.html However, although the storage nodes work fine, I can't start the proxy node : Feb 5 18:00:06 srv13 proxy-server UNCAUGHT EXCEPTION Traceback (most recent call last): File /usr/bin/swift-proxy-server, line 22, in module run_wsgi(conf_file, 'proxy-server', default_port=8080, **options) File /usr/lib/python2.7/dist-packages/swift/common/wsgi.py, line 125, in run_wsgi capture_stdio(logger) File /usr/lib/python2.7/dist-packages/swift/common/utils.py, line 499, in capture_stdio with open(os.devnull, 'r+b') as nullfile: IOError: [Errno 13] Permission denied: '/dev/null' /dev# ll null crw-r--r-- 1 root root 1, 3 Jan 25 17:43 null Any idea ? Thanks, -- Guillaume Hilt ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Unable to start swift proxy service
On 2/5/13 9:04 AM, Guillaume Hilt wrote: Hello, I installed swift on Ubuntu 12.04 AMD64 following this howto: http://docs.openstack.org/developer/swift/howto_installmultinode.html However, although the storage nodes work fine, I can't start the proxy node : Feb 5 18:00:06 srv13 proxy-server UNCAUGHT EXCEPTION Traceback (most recent call last): File /usr/bin/swift-proxy-server, line 22, in module run_wsgi(conf_file, 'proxy-server', default_port=8080, **options) File /usr/lib/python2.7/dist-packages/swift/common/wsgi.py, line 125, in run_wsgi capture_stdio(logger) File /usr/lib/python2.7/dist-packages/swift/common/utils.py, line 499, in capture_stdio with open(os.devnull, 'r+b') as nullfile: IOError: [Errno 13] Permission denied: '/dev/null' /dev# ll null crw-r--r-- 1 root root 1, 3 Jan 25 17:43 null Looks like something screwed up the permissions on your /dev/null. It should be world-writable (mode 0666). ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp