Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

problem in setting up TempAuth authentication and authrization with swift

I am configuring swift on my PC on Ubuntu 12.04.

after configuring logging to a single, local file, I have to configure proxy server I changed the swift_hash_path_suffix using the command root@arun-Aspire-5742:~# vi /etc/swift/swift.conf

Then, start proxy server process root@arun-Aspire-5742:~# sudo swift-init proxy start Starting proxy-server...(/etc/swift/proxy-server.conf)

now, I have to set up TempAuth authentication and authrization with swift For this, I run following commands:

root@arun-Aspire-5742:~# sudo swift-init account start Starting account-server...(/etc/swift/account-server.conf) root@arun-Aspire-5742:~# sudo swift-init proxy restart Signal proxy-server pid: 2485 signal: 15 proxy-server (2485) appears to have stopped Starting proxy-server...(/etc/swift/proxy-server.conf)

root@arun-Aspire-5742:~# curl -v -H 'X-Auth-User:prag_2648' -H 'X-Auth-Key:pj2648' http://localhost/auth/v1.0/ * About to connect() to localhost port 80 (#0) * Trying 127.0.0.1... Connection refused * couldn't connect to host * Closing connection #0 curl: (7) couldn't connect to host

But, it shows an error in connecting to host.

Please help me in this regard.

problem in setting up TempAuth authentication and authrization with swift

I am configuring swift on my PC on Ubuntu 12.04.

after configuring logging to a single, local file, I have to configure proxy server I changed the swift_hash_path_suffix using the command root@arun-Aspire-5742:~# vi /etc/swift/swift.conf

Then, start proxy server process root@arun-Aspire-5742:~# sudo swift-init proxy start Starting proxy-server...(/etc/swift/proxy-server.conf)

now, I have to set up TempAuth authentication and authrization with swift For this, I run following commands:

root@arun-Aspire-5742:~# sudo swift-init account start Starting account-server...(/etc/swift/account-server.conf) root@arun-Aspire-5742:~# sudo swift-init proxy restart Signal proxy-server pid: 2485 signal: 15 proxy-server (2485) appears to have stopped Starting proxy-server...(/etc/swift/proxy-server.conf)

root@arun-Aspire-5742:~# curl -v -H 'X-Auth-User:prag_2648' -H 'X-Auth-Key:pj2648' http://localhost/auth/v1.0/ * About to connect() to localhost port 80 (#0) * Trying 127.0.0.1... Connection refused * couldn't connect to host * Closing connection #0 curl: (7) couldn't connect to host

But, it shows an error in connecting to host.

Please help me in this regard.