Swift could not start

asked 2016-06-21 00:07:17 -0500

Ghada gravatar image

While installing Swift all in one on my machine (ubuntu), I got an error on the last step. Swift starts normally after executing the command 'startmain'.

Then, I got this error :

Traceback (most recent call last): File "/usr/local/bin/swift-container-server", line 6, in <module> exec(compile(open(__file__).read(), __file__, 'exec')) File "/home/osboxes/swift/bin/swift-container-server", line 23, in <module> sys.exit(run_wsgi(conf_file, 'container-server', **options)) File "/home/osboxes/swift/swift/common/wsgi.py", line 887, in run_wsgi error_msg = strategy.bind_ports() File "/home/osboxes/swift/swift/common/wsgi.py", line 490, in bind_ports drop_privileges(self.conf.get('user', 'swift')) File "/home/osboxes/swift/swift/common/utils.py", line 1824, in drop_privileges user = pwd.getpwnam(user) KeyError: 'getpwnam(): name not found: <your-user-name>'

Can I anyone help me to solve this issue ??

Thank you,

edit retag flag offensive close merge delete


you might not configure IP,port and user in [default] section in (/etc/swift/container-server.conf)

hk gravatar imagehk ( 2016-06-24 01:18:29 -0500 )edit