SAIO testing: could not bind to 127.0...6010
Hey fellas,
i finnaly installed swift on a single server using Swift all in one. walking threw the final round, testing if its working correctly, then i got an error after curl...:
curl -v -H 'X-Auth-Token: token-from-x-auth-token-above>' url-from-x-storage-url-above>
-bash: syntax error near unexpected token `newline'
so i checked out the troubleshooting with
swift-object-server /etc/swift/object-server/1.conf
and became the following reply
Traceback (most recent call last): File "/usr/local/bin/swift-object-server", line 7, in <module> execfile(__file__)
File "/root/swift/bin/swift-object-server", line 27, in <module> **options))
File "/root/swift/swift/common/wsgi.py", line 431, in run_wsgi sock = get_socket(conf)
File "/root/swift/swift/common/wsgi.py", line 177, in get_socket bind_addr[0], bind_addr[1], bind_timeout))
Exception: Could not bind to 127.0.0.1:6010 after trying for 30 seconds
this port wasnt shown in netstat -plnt but with lson -i :6010
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME swift-obj 8299 root 4u IPv4 107922 0t0 TCP localhost.localdomain:6010 (LISTEN) swift-obj 8380 root 4u IPv4 107922 0t0 TCP localhost.localdomain:6010 (LISTEN)
seems like the object server got trouble with using this port, which it created itself.. any ideas how to fix this?
do i have to change the port in the config files to solve this? i used a gparted partition and changed it to a xfs filesystem and followed the guide. its a single partition called /dev/sda5 as FS
thx, mickey