Comment 1 for bug 1557337

Revision history for this message
Kalaswan Datta (kalaswan-datta) wrote :

If the command "swift-init main restart" is executed, then the Code error is shown on screen.
=======================================================
[root@Liberty1 ~(keystone_admin)]# swift-init main restart
Signal proxy-server pid: 14330 signal: 15
Signal container-server pid: 14331 signal: 15
No container-server running
Signal account-server pid: 14332 signal: 15
No account-server running
Signal object-server pid: 14333 signal: 15
No object-server running
proxy-server (14330) appears to have stopped
Starting proxy-server...(/etc/swift/proxy-server.conf)
Starting container-server...(/etc/swift/container-server.conf)
Starting account-server...(/etc/swift/account-server.conf)
Starting object-server...(/etc/swift/object-server.conf)
Traceback (most recent call last):
  File "/usr/bin/swift-container-server", line 23, in <module>
    sys.exit(run_wsgi(conf_file, 'container-server', **options))
  File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 878, in run_wsgi
    error_msg = strategy.bind_ports()
  File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 480, in bind_ports
    self.sock = get_socket(self.conf)
  File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 201, in get_socket
    bind_addr[0], bind_addr[1], bind_timeout))
Exception: Could not bind to 192.168.52.131:6001 after trying for 30 seconds

Traceback (most recent call last):
  File "/usr/bin/swift-account-server", line 23, in <module>
    sys.exit(run_wsgi(conf_file, 'account-server', **options))
  File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 878, in run_wsgi
    error_msg = strategy.bind_ports()
  File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 480, in bind_ports
    self.sock = get_socket(self.conf)
  File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 201, in get_socket
    bind_addr[0], bind_addr[1], bind_timeout))
Exception: Could not bind to 192.168.52.131:6002 after trying for 30 seconds

Traceback (most recent call last):
  File "/usr/bin/swift-object-server", line 27, in <module>
    **options))
  File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 878, in run_wsgi
    error_msg = strategy.bind_ports()
  File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 480, in bind_ports
    self.sock = get_socket(self.conf)
  File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 201, in get_socket
    bind_addr[0], bind_addr[1], bind_timeout))
Exception: Could not bind to 192.168.52.131:6000 after trying for 30 seconds
======================================================================