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
======================================================================
If the command "swift-init main restart" is executed, then the Code error is shown on screen. ======= ======= ======= ======= ======= ======= ====== ..(/etc/ swift/proxy- server. conf) server. ..(/etc/ swift/container -server. conf) server. ..(/etc/ swift/account- server. conf) server. ..(/etc/ swift/object- server. conf) swift-container -server" , line 23, in <module> exit(run_ wsgi(conf_ file, 'container-server', **options)) python2. 7/site- packages/ swift/common/ wsgi.py" , line 878, in run_wsgi bind_ports( ) python2. 7/site- packages/ swift/common/ wsgi.py" , line 480, in bind_ports self.conf) python2. 7/site- packages/ swift/common/ wsgi.py" , line 201, in get_socket
=======
[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.
Starting container-
Starting account-
Starting object-
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/lib/
error_msg = strategy.
File "/usr/lib/
self.sock = get_socket(
File "/usr/lib/
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): swift-account- server" , line 23, in <module> exit(run_ wsgi(conf_ file, 'account-server', **options)) python2. 7/site- packages/ swift/common/ wsgi.py" , line 878, in run_wsgi bind_ports( ) python2. 7/site- packages/ swift/common/ wsgi.py" , line 480, in bind_ports self.conf) python2. 7/site- packages/ swift/common/ wsgi.py" , line 201, in get_socket
File "/usr/bin/
sys.
File "/usr/lib/
error_msg = strategy.
File "/usr/lib/
self.sock = get_socket(
File "/usr/lib/
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): swift-object- server" , line 27, in <module> python2. 7/site- packages/ swift/common/ wsgi.py" , line 878, in run_wsgi bind_ports( ) python2. 7/site- packages/ swift/common/ wsgi.py" , line 480, in bind_ports self.conf) python2. 7/site- packages/ swift/common/ wsgi.py" , line 201, in get_socket ======= ======= ======= ======= ======= ======= ======= ======= =======
File "/usr/bin/
**options))
File "/usr/lib/
error_msg = strategy.
File "/usr/lib/
self.sock = get_socket(
File "/usr/lib/
bind_addr[0], bind_addr[1], bind_timeout))
Exception: Could not bind to 192.168.52.131:6000 after trying for 30 seconds
=======