[Openstack] Unable to start swift proxy service

2013-02-05 Thread Guillaume Hilt

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

2013-02-05 Thread Samuel Merritt

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