<div dir="ltr">Hi <br><br>1) swift_hash_path_suffix *must be* consistently on all nodes in the cluster. <br>2) force killing all swift daemons and then start again. <br><br>+Hugo Kuo+<br><a href="mailto:hugo@swiftstack.com">hugo@swiftstack.com</a><br>
<a href="mailto:tonytkdk@gmail.com">tonytkdk@gmail.com</a><br>+886 935004793<br><br><br>2013/8/23 pragya jain <<a href="mailto:prag_2648@yahoo.co.in">prag_2648@yahoo.co.in</a>><br>><br>> hello sir!<br>><br>
> I tried the commands again.<br>><br>><br>> root@arun-Aspire-5742:~# sudo swift-init proxy start<br>> Starting proxy-server...(/etc/swift/proxy-server.conf)<br>> root@arun-Aspire-5742:~# sudo useradd swift<br>
> useradd: user 'swift' already exists<br>><br>> root@arun-Aspire-5742:~# sudo swift-init account start<br>> Starting account-server...(/etc/swift/account-server.conf)<br>> root@arun-Aspire-5742:~# sudo swift-init proxy restart<br>
> Signal proxy-server pid: 2514 signal: 15<br>> proxy-server (2514) appears to have stopped<br>> Starting proxy-server...(/etc/swift/proxy-server.conf)<br>><br>> root@arun-Aspire-5742:~# sudo swift-init proxy restart<br>
> Signal proxy-server pid: 3008 signal: 15<br>> proxy-server (3008) appears to have stopped<br>> Starting proxy-server...(/etc/swift/proxy-server.conf)<br>> root@arun-Aspire-5742:~# curl -v -H 'X-Auth-User:prag_2648:pragya' -H 'X-Auth-Key:pj2648' <a href="http://localhost/auth/v1.0/">http://localhost/auth/v1.0/</a><br>
><br>> * About to connect() to localhost port 80 (#0)<br>> * Trying 127.0.0.1... Connection refused<br>> * couldn't connect to host<br>> * Closing connection #0<br>> curl: (7) couldn't connect to host<br>
><br>> again, the same problem is coming.<br>> But if I am giving the command<br>> sudo swift-init proxy start<br>> It shows proxy server is running<br>><br>> root@arun-Aspire-5742:~# sudo swift-init proxy startproxy-server running (3024 - /etc/swift/proxy-server.conf)<br>
> proxy-server already started...<br>> root@arun-Aspire-5742:~# curl -v -H 'X-Auth-User:prag_2648:pragya' -H 'X-Auth-Key:pj2648' <a href="http://localhost/auth/v1.0/">http://localhost/auth/v1.0/</a><br>
><br>> * About to connect() to localhost port 80 (#0)<br>> * Trying 127.0.0.1... Connection refused<br>> * couldn't connect to host<br>> * Closing connection #0<br>> curl: (7) couldn't connect to host<br>
><br>> Please help me in this regard.<br>><br>> ---<br>><br>> Thanks<br>> Pragya Jain<br>><br>> ----- Forwarded Message -----<br>> From: pragya jain <<a href="mailto:prag_2648@yahoo.co.in">prag_2648@yahoo.co.in</a>><br>
> To: "<a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>" <<a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>><br>> Sent: Thursday, 22 August 2013 1:47 PM<br>
> Subject: problem in setting up TempAuth authentication and authrization with swift<br>><br>> hello all<br>><br>> I am configuring swift on my PC on Ubuntu 12.04.<br>><br>> after configuring logging to a single, local file, I have to configure proxy server.<br>
> I changed the swift_hash_path_suffix using the command<br>> root@arun-Aspire-5742:~# vi /etc/swift/swift.conf<br>><br>> Then, start proxy server process<br>> root@arun-Aspire-5742:~# sudo swift-init proxy start<br>
> Starting proxy-server...(/etc/swift/proxy-server.conf)<br>><br>> now, I have to set up TempAuth authentication and authrization with swift<br>> For this, I run following commands:<br>> root@arun-Aspire-5742:~# sudo swift-init account start<br>
> Starting account-server...(/etc/swift/account-server.conf)<br>> root@arun-Aspire-5742:~# sudo swift-init proxy restart<br>> Signal proxy-server pid: 2485 signal: 15<br>> proxy-server (2485) appears to have stopped<br>
> Starting proxy-server...(/etc/swift/proxy-server.conf)<br>> root@arun-Aspire-5742:~# curl -v -H 'X-Auth-User:prag_2648' -H 'X-Auth-Key:pj2648' <a href="http://localhost/auth/v1.0/">http://localhost/auth/v1.0/</a><br>
> * About to connect() to localhost port 80 (#0)<br>> * Trying 127.0.0.1... Connection refused * couldn't connect to host<br>> * Closing connection #0 curl: (7) couldn't connect to host<br>><br>> But, it shows an error in connecting to host.<br>
><br>> Please help me in this regard.<br>><br>> ---<br>> Thanks<br>><br>> Pragya Jain<br>><br>><br>><br>> _______________________________________________<br>> Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
> Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>> Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
><br></div>