<html><body><div style="color:#000; background-color:#fff; font-family:bookman old style, new york, times, serif;font-size:12pt"><div class="yiv5564111656im" style="font-size: 16px;"><div style="background-color: transparent;">root@arun-Aspire-5742:~# swift-ring-builder /etc/swift/account.builder</div><div>/etc/swift/account.builder, build version 1</div><div>262144 partitions, 3.000000 replicas, 1 regions, 1 zones, 1 devices, 0.00 balance</div><div>The minimum number of hours before a partition can be reassigned is 24</div></div><div style="font-size: 16px;">Devices:    id  region  zone      ip address  port  replication ip  replication port      name weight partitions balance meta</div><div class="yiv5564111656im" style="font-size: 16px;"><div>             0       1     1       10.0.2.15  6000    
   10.0.2.15              6000        d1 100.00     786432    0.00 </div><div><br></div></div><div style="font-size: 16px; background-color: transparent;">root@arun-Aspire-5742:~# curl -v -H 'X-Storage-Token: AUTH_tk06aa273c010b4e7d886b7ec78fbef396'<a rel="nofollow" target="_blank" href="http://10.0.2.15:6000/v1/AUTH_prag2648/">http://10.0.2.15:6000/v1/AUTH_prag2648/</a></div><div style="font-size: 16px;">* About to connect() to 10.0.2.15 port 6000 (#0)</div><div style="font-size: 16px;">*   Trying 10.0.2.15... Connection timed out</div><div class="yiv5564111656im" style="font-size: 16px;"><div>* couldn't connect to host</div><div>* Closing connection #0</div><div></div><div>curl: (7) couldn't connect to host</div><div style="font-size: 12pt;"><br></div></div><div style="font-size: 16px;">/etc/swift/account-server.conf file says:</div><div style="font-size:
 16px;"><br></div><div style="font-size: 16px;">[DEFAULT]</div><div style="font-size: 16px;"># bind_ip = 0.0.0.0</div><div style="font-size: 16px;"># bind_port = 6002</div><div style="font-size: 16px;"># bind_timeout = 30</div><div style="font-size: 16px;"># backlog = 4096</div><div style="font-size: 16px;"># user = swift</div><div style="font-size: 16px;"># swift_dir = /etc/swift</div><div style="font-size: 16px;"># devices = /srv/node</div><div style="font-size: 16px;"># mount_check = true</div><div style="font-size: 16px;"># disable_fallocate = false</div><div><span style="font-size: 16px;">....</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'bookman old style', 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'bookman old style', 'new york', times, serif; background-color: transparent; font-style:
 normal;">root@arun-Aspire-5742:~# curl -v -H 'X-Storage-Token: AUTH_tk06aa273c010b4e7d886b7ec78fbef396' http://10.0.2.15:6002/v1/AUTH_prag2648/</div><div>* About to connect() to 10.0.2.15 port 6002 (#0)</div><div>*   Trying 10.0.2.15... Connection timed out</div><div>* couldn't connect to host</div><div>* Closing connection #0</div><div><span></span></div><div>curl: (7) couldn't connect to host</div><div style="font-family: 'bookman old style', 'new york', times, serif; font-size: 12pt;"><br></div><div style="font-family: 'bookman old style', 'new york', times, serif; font-size: 12pt;"><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: 'bookman old style', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span
 style="font-weight:bold;">From:</span></b> Clay Gerrard <clay.gerrard@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> pragya jain <prag_2648@yahoo.co.in> <br> <b><span style="font-weight: bold;">Sent:</span></b> Saturday, 31 August 2013 12:49 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: Fw: problem in creating account in swift<br> </font> </div> <div class="y_msg_container"><br><div id="yiv5564111656"><div dir="ltr"><div>ok, so you're getting the exact same error the proxy is - unable to connect.  I'm sure that is in the log - can you check?</div><div><br></div>By default the account server's listen on 6002:<div>
<a rel="nofollow" target="_blank" href="http://docs.openstack.org/developer/swift/deployment_guide.html#account-server-configuration">http://docs.openstack.org/developer/swift/deployment_guide.html#account-server-configuration</a><br></div><div><br></div>
<div>not 6000 - so your ring is pointing your proxy at the wrong place (or your account server is listening on the wrong port, however you want to look at it)</div><div><br></div><div>Can you connect to the account server on 6002?</div>
<div><br></div><div>Here's how you remove/add a server from the ring:</div><div><a rel="nofollow" target="_blank" href="http://docs.openstack.org/developer/swift/admin_guide.html">http://docs.openstack.org/developer/swift/admin_guide.html</a><br><div>
<br></div><div><br></div></div></div><div class="yiv5564111656gmail_extra"><br><br><div class="yiv5564111656gmail_quote">On Fri, Aug 30, 2013 at 11:43 PM, pragya jain <span dir="ltr"><<a rel="nofollow" ymailto="mailto:prag_2648@yahoo.co.in" target="_blank" href="mailto:prag_2648@yahoo.co.in">prag_2648@yahoo.co.in</a>></span> wrote:<br>
<blockquote class="yiv5564111656gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size: 12pt; font-family: 'bookman old style', 'new york', times, serif;"><div>hello sir,</div><div><br></div>
<div style="font-style:normal;font-size:16px;background-color:transparent;">I run the following commands:</div><div class="yiv5564111656im"><div style="font-style:normal;font-size:16px;background-color:transparent;">
<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;">root@arun-Aspire-5742:~# swift-ring-builder /etc/swift/account.builder</div>
<div>/etc/swift/account.builder, build version 1</div><div>262144 partitions, 3.000000 replicas, 1 regions, 1 zones, 1 devices, 0.00 balance</div><div>The minimum number of hours before a
 partition can be reassigned is 24</div></div><div>Devices:    id  region  zone      ip address  port  replication ip  replication port      name weight partitions balance meta</div><div class="yiv5564111656im"><div>             0       1     1       10.0.2.15  6000       10.0.2.15              6000        d1 100.00     786432    0.00 </div>
<div><br></div></div><div style="font-style:normal;font-size:16px;background-color:transparent;">root@arun-Aspire-5742:~# curl -v -H 'X-Storage-Token: AUTH_tk06aa273c010b4e7d886b7ec78fbef396' <a rel="nofollow" target="_blank"  href="http://10.0.2.15:6000/v1/AUTH_prag2648/">http://10.0.2.15:6000/v1/AUTH_prag2648/</a></div>
<div>* About to connect() to 10.0.2.15 port 6000 (#0)</div><div>*   Trying 10.0.2.15... Connection
 timed out</div><div class="yiv5564111656im"><div>* couldn't connect to host</div><div>* Closing connection #0</div><div><span></span></div><div>curl: (7) couldn't connect to host</div><div style="font-size:12pt;">
<br></div></div><div>/etc/swift/account-server.conf file says:</div><div><br></div><div>[DEFAULT]</div><div># bind_ip = 0.0.0.0</div><div># bind_port = 6002</div><div># bind_timeout = 30</div><div># backlog = 4096</div><div>
# user = swift</div><div># swift_dir = /etc/swift</div><div># devices = /srv/node</div><div># mount_check = true</div><div># disable_fallocate = false</div><div>....</div><div><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;">
I am working on single node.</div><div style="font-style:normal;font-size:16px;background-color:transparent;"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;">
----</div><div style="font-style:normal;font-size:16px;background-color:transparent;"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;">
Pragya Jain</div><div style="font-style:normal;font-size:16px;background-color:transparent;">Delhi, India</div><div style="font-size:12pt;">
<blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px;">  <div style="font-size:12pt;"> <div style="font-size:12pt;">
 <div dir="ltr"> <hr size="1">  <font face="Arial"><div class="yiv5564111656im"> <b><span style="font-weight:bold;">From:</span></b> Clay Gerrard <<a rel="nofollow" ymailto="mailto:clay.gerrard@gmail.com" target="_blank" href="mailto:clay.gerrard@gmail.com">clay.gerrard@gmail.com</a>><br>
 <b><span style="font-weight:bold;">To:</span></b> pragya jain <<a rel="nofollow" ymailto="mailto:prag_2648@yahoo.co.in" target="_blank" href="mailto:prag_2648@yahoo.co.in">prag_2648@yahoo.co.in</a>> <br> </div><b><span style="font-weight:bold;">Sent:</span></b> Saturday, 31 August 2013 11:22 AM<div>
<div class="yiv5564111656h5"><br> <b><span style="font-weight:bold;">Subject:</span></b> Re: Fw: problem in creating account in swift<br> </div></div></font> </div><div><div class="yiv5564111656h5"> <div><br><div><div dir="ltr">Right so the service seems to start, but then the proxy can't seem to talk to it.  Maybe the proxy is looking in the wrong place?  You said you can't connect to the account-server on <a rel="nofollow" target="_blank"  href="http://10.0.2.15:6000/">10.0.2.15:6000</a> earlier - which is where the ring seems to indicate the proxy should be looking for it - can you connect now?  What port does the account server(s) config file *say* they're listening on?  After you start them - are they listening there?   What is the topology of your cluster - is it just the one node?<div>

<br></div><div>I really could guess about *why* that is happening all day, but the proxy logs would just tell us.  Can you read /var/log/syslog?</div><div><br></div><div>Where are you located?  Maybe we could find you some real over the shoulder help?</div>

<div><br></div></div><div><br><br><div>On Fri, Aug 30, 2013 at 10:05 PM, pragya jain <span dir="ltr"><<a rel="nofollow" ymailto="mailto:prag_2648@yahoo.co.in" target="_blank" href="mailto:prag_2648@yahoo.co.in">prag_2648@yahoo.co.in</a>></span> wrote:<br>

<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size:12pt;"><div style="font-size:12pt;"><span>hello sir,</span></div>

<div style="background-color:transparent;"><span><br></span></div><div style="font-size:medium;background-color:transparent;">I start all services using the command:</div><div style="font-size:medium;background-color:transparent;">

<br></div><div style="background-color:transparent;">root@arun-Aspire-5742:~# sudo swift-init all start</div><div style="font-size:medium;background-color:transparent;">Starting container-updater...(/etc/swift/container-server.conf)</div>

<div style="font-size:medium;background-color:transparent;">Starting account-auditor...(/etc/swift/account-server.conf)</div><div style="font-size:medium;background-color:transparent;">Starting object-replicator...(/etc/swift/object-server.conf)</div>

<div style="font-size:medium;background-color:transparent;">Starting proxy-server...(/etc/swift/proxy-server.conf)</div><div style="font-size:medium;background-color:transparent;">Starting container-replicator...(/etc/swift/container-server.conf)</div>

<div style="font-size:medium;background-color:transparent;">Starting object-auditor...(/etc/swift/object-server.conf)</div><div style="font-size:medium;background-color:transparent;">Unable to locate config for object-expirer</div>

<div style="font-size:medium;background-color:transparent;">Starting container-auditor...(/etc/swift/container-server.conf)</div><div style="font-size:medium;background-color:transparent;">Starting container-server...(/etc/swift/container-server.conf)</div>

<div style="font-size:medium;background-color:transparent;">Starting account-server...(/etc/swift/account-server.conf)</div><div style="font-size:medium;background-color:transparent;">Starting
 account-reaper...(/etc/swift/account-server.conf)</div><div style="font-size:medium;background-color:transparent;">Starting container-sync...(/etc/swift/container-server.conf)</div><div style="font-size:medium;background-color:transparent;">

Starting account-replicator...(/etc/swift/account-server.conf)</div><div style="font-size:medium;background-color:transparent;">Starting object-updater...(/etc/swift/object-server.conf)</div><div style="font-size:medium;background-color:transparent;">

Starting object-server...(/etc/swift/object-server.conf)</div><div style="font-size:medium;background-color:transparent;"><br></div><div style="background-color:transparent;">root@arun-Aspire-5742:~# sudo apt-get install rsync</div>

<div style="font-size:medium;background-color:transparent;">Reading package lists... Done</div><div style="font-size:medium;background-color:transparent;">Building dependency tree       </div><div style="font-size:medium;background-color:transparent;">

Reading state information... Done</div><div style="font-size:medium;background-color:transparent;">rsync is already the newest version.</div><div style="font-size:medium;background-color:transparent;">0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.</div>

<div style="font-size:medium;background-color:transparent;"><span></span></div><div style="font-size:medium;background-color:transparent;">root@arun-Aspire-5742:~# vi /etc/default/rsync</div><div style="font-size:12pt;"><br>

</div><div style="font-size:12pt;">set rsync_enable = true</div><div style="font-size:12pt;"><br></div><div style="background-color:transparent;">then,</div><div style="background-color:transparent;"><br></div><div style="font-size:medium;background-color:transparent;">

root@arun-Aspire-5742:~# service rsync start</div><div style="font-size:medium;background-color:transparent;"> *
 Starting rsync daemon rsync                                           [ OK ] </div><div style="font-size:medium;"><br></div><div><span></span></div><div style="font-size:16px;"><div>root@arun-Aspire-5742:~# curl -v -H 'X-Auth-User:prag2648:pragya' -H 'X-Auth-key:pj2648' <a rel="nofollow" target="_blank" href="http://localhost/auth/v1.0/">http://localhost/auth/v1.0/</a></div>

<div>* About to connect() to localhost port 80 (#0)</div><div><div>*   Trying 127.0.0.1... Connection refused</div><div>* couldn't connect to host</div><div>* Closing connection #0</div><div>curl: (7) couldn't connect to host</div>

</div><div>root@arun-Aspire-5742:~# curl -v -H 'X-Auth-User:prag2648:pragya' -H 'X-Auth-key:pj2648' <a rel="nofollow" target="_blank"  href="http://localhost:8080/auth/v1.0/">http://localhost:8080/auth/v1.0/</a></div>
<div>
<div>* About to connect() to localhost port 8080 (#0)</div><div>*   Trying 127.0.0.1... connected</div><div>> GET /auth/v1.0/ HTTP/1.1</div><div>> User-Agent: curl/7.22.0
 (i686-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/<a rel="nofollow" target="_blank"  href="http://1.2.3.4/">1.2.3.4</a> libidn/1.23 librtmp/2.3</div><div>> Host: localhost:8080</div><div>> Accept: */*</div><div>
> X-Auth-User:prag2648:pragya</div>
</div><div>> X-Auth-key:pj2648</div><div><div>> </div><div>< HTTP/1.1 200 OK</div><div>< X-Storage-Url: <a rel="nofollow" target="_blank"  href="http://localhost:8080/v1/AUTH_prag2648">http://localhost:8080/v1/AUTH_prag2648</a></div>

</div><div>< X-Auth-Token: AUTH_tk06aa273c010b4e7d886b7ec78fbef396</div><div>< Content-Type: text/html; charset=UTF-8</div><div>< X-Storage-Token: AUTH_tk06aa273c010b4e7d886b7ec78fbef396</div><div>< Content-Length: 0</div>

<div>< X-Trans-Id: tx44b17cb561a84a34bee95-00522171e4</div><div>< Date: Sat, 31 Aug 2013 04:32:36 GMT</div><div>< </div><div><div><div>* Connection #0 to host localhost left intact</div><div>* Closing connection #0</div>

</div><div>root@arun-Aspire-5742:~# curl -v -H 'X-Storage-Token: AUTH_tk06aa273c010b4e7d886b7ec78fbef396' <a rel="nofollow" target="_blank"  href="http://127.0.0.1/v1/AUTH_prag2648/">http://127.0.0.1/v1/AUTH_prag2648/</a></div>
<div>
<div>* About to
 connect() to 127.0.0.1 port 80 (#0)</div><div>*   Trying 127.0.0.1... Connection refused</div><div>* couldn't connect to host</div><div>* Closing connection #0</div><div>curl: (7) couldn't connect to host</div></div>

<div>root@arun-Aspire-5742:~# curl -v -H 'X-Storage-Token: AUTH_tk06aa273c010b4e7d886b7ec78fbef396' <a rel="nofollow" target="_blank" href="http://localhost/v1/AUTH_prag2648/">http://localhost/v1/AUTH_prag2648/</a></div>
<div>* About to connect() to localhost port 80 (#0)</div>
<div><div>*   Trying 127.0.0.1... Connection refused</div><div>* couldn't connect to host</div><div>* Closing connection #0</div><div>curl: (7) couldn't connect to host</div></div><div>root@arun-Aspire-5742:~# curl -v -H 'X-Storage-Token: AUTH_tk06aa273c010b4e7d886b7ec78fbef396' <a rel="nofollow" target="_blank"  href="http://localhost:8080/v1/AUTH_prag2648/">http://localhost:8080/v1/AUTH_prag2648/</a></div>

<div><div>* About to connect() to localhost port 8080 (#0)</div><div>*   Trying 127.0.0.1... connected</div><div>> GET /v1/AUTH_prag2648/ HTTP/1.1</div></div><div><div>> User-Agent: curl/7.22.0 (i686-pc-linux-gnu) libcurl/7.22.0
 OpenSSL/1.0.1 zlib/<a rel="nofollow" target="_blank"  href="http://1.2.3.4/">1.2.3.4</a> libidn/1.23 librtmp/2.3</div><div>> Host: localhost:8080</div><div>> Accept: */*</div></div><div>> X-Storage-Token: AUTH_tk06aa273c010b4e7d886b7ec78fbef396</div>

<div><div>> </div><div>< HTTP/1.1 503 Internal Server Error</div><div>< Content-Length: 118</div><div>< Content-Type: text/html; charset=UTF-8</div></div><div>< X-Trans-Id: txbe793299553c42f2820dc-005221728d</div>

<div>< Date: Sat, 31 Aug 2013 04:35:26 GMT</div><div><div>< </div><div>* Connection #0 to host localhost left intact</div><div>* Closing connection #0</div><div><html><h1>Service Unavailable</h1><p>The server is currently unavailable. Please try again at a later time.</p></html>root@arun-Aspire-5742:~#</div>

</div></div></div><div><br><blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px;">  <div style="font-size:12pt;">
 <div style="font-size:12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial"><div> <b><span style="font-weight:bold;">From:</span></b> Clay Gerrard <<a rel="nofollow" ymailto="mailto:clay.gerrard@gmail.com" target="_blank" href="mailto:clay.gerrard@gmail.com">clay.gerrard@gmail.com</a>><br>

 <b><span style="font-weight:bold;">To:</span></b> pragya jain <<a rel="nofollow" ymailto="mailto:prag_2648@yahoo.co.in" target="_blank" href="mailto:prag_2648@yahoo.co.in">prag_2648@yahoo.co.in</a>> <br> </div><b><span style="font-weight:bold;">Sent:</span></b> Friday, 30 August 2013 8:14 PM<br>

 <b><span style="font-weight:bold;">Subject:</span></b> Re: Fw: problem in creating account in swift<br> </font> </div><div><div> <div><br><div><div dir="ltr">yeah sorry on the ring-builder command, i'm going from memory... so... the account server isn't running - any idea why?  can you start it?<div>

<br></div><div>swift-container-server /etc/swift/container-server.conf</div>
<div><br></div><div>^ on the 10.0.2.15 host</div></div><div><br><br><div>On Fri, Aug 30, 2013 at 12:29 AM, pragya jain <span dir="ltr"><<a rel="nofollow" ymailto="mailto:prag_2648@yahoo.co.in" target="_blank" href="mailto:prag_2648@yahoo.co.in">prag_2648@yahoo.co.in</a>></span> wrote:<br>


<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size:12pt;"><div style="font-size:12pt;">
<span></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;"><br><blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px;">
  <div style="font-size:12pt;"> <div style="font-size:12pt;"><div> <div dir="ltr">
 ----- Forwarded Message -----<br>
  <font face="Arial"> <b><span style="font-weight:bold;">From:</span></b> pragya jain <<a rel="nofollow" ymailto="mailto:prag_2648@yahoo.co.in" target="_blank" href="mailto:prag_2648@yahoo.co.in">prag_2648@yahoo.co.in</a>><br> <b><span style="font-weight:bold;">To:</span></b> Clay Gerrard <<a rel="nofollow" ymailto="mailto:clay.gerrard@gmail.com" target="_blank" href="mailto:clay.gerrard@gmail.com">clay.gerrard@gmail.com</a>> <br>


 <b><span style="font-weight:bold;">Sent:</span></b> Friday, 30 August 2013 12:54 PM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: problem in creating account in swift<br> </font> </div> </div><div><br><div>


<div><div><div style="font-size:12pt;"><div>hello sir,</div><div><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;">

this shows problem:</div></div></div></div></div></div></div></div></blockquote></div><div style="background-color:transparent;">root@arun-Aspire-5742:~# swift-ring-builder /etc/swift/account.builder</div><blockquote style="border-left-width:2px;border-left-style:solid;border-left-color:rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px;">


<div><div><div><div><div>
<div style="background-color:transparent;"><div style="background-color:transparent;">/etc/swift/account.builder, build version 1</div><div style="background-color:transparent;">262144 partitions, 3.000000 replicas, 1 regions, 1 zones, 1 devices, 0.00 balance</div>


<div style="background-color:transparent;">The minimum number of hours before a partition can be reassigned is 24</div><div style="background-color:transparent;">Devices:    id  region  zone      ip address  port  replication ip  replic</div>


<div style="background-color:transparent;"><div style="background-color:transparent;">port      name weight partitions balance meta</div><div style="background-color:transparent;">             0       1     1       10.0.2.15  6000       10.0.2.15              6000        d1 100.00     786432    0.00 </div>


<div><br></div></div></div><div><div><div style="font-style:normal;font-size:16px;background-color:transparent;">root@arun-Aspire-5742:~# swift-ring-builder /etc/swift/account.ring.gz</div>
<div style="font-size:12pt;">Traceback (most recent call last):</div><div style="font-size:12pt;">
  File "/usr/local/bin/swift-ring-builder", line 5, in <module></div><div style="font-size:12pt;">    pkg_resources.run_script('swift==1.9.2', 'swift-ring-builder')</div>
<div style="font-size:12pt;">  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 499, in run_script</div><div style="font-size:12pt;">
   
 self.require(requires)[0].run_script(script_name, ns)</div><div style="font-size:12pt;">  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1235, in run_script</div>
<div style="font-size:12pt;">    execfile(script_filename, namespace, namespace)</div><div style="font-size:12pt;">
  File "/usr/local/lib/python2.7/dist-packages/swift-1.9.2-py2.7.egg/EGG-INFO/scripts/swift-ring-builder", line 808, in <module></div><div style="font-size:12pt;">
    builder = RingBuilder.load(argv[1])</div><div style="font-size:12pt;">  File
 "/usr/local/lib/python2.7/dist-packages/swift-1.9.2-py2.7.egg/swift/common/ring/builder.py", line 993, in load</div><div style="font-size:12pt;">
    builder = pickle.load(open(builder_file, 'rb'))</div><div style="font-size:12pt;">cPickle.UnpicklingError: invalid load key, ''.</div>
<div style="font-size:12pt;">root@arun-Aspire-5742:~# curl http://<ip>:<port></div><div style="font-size:12pt;">
-su: syntax error near unexpected token `newline'</div><div style="font-size:12pt;">root@arun-Aspire-5742:~# curl <a rel="nofollow" target="_blank"  href="http://10.0.2.15:6000/">http://10.0.2.15:6000</a></div>
<div style="font-size:12pt;"><span></span></div><div style="font-size:12pt;">curl: (7) couldn't connect to
 host</div><div style="font-size:12pt;"><br></div><div style="font-size:12pt;">Please help</div>
<div style="font-size:12pt;"><br><blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px;">  <div style="font-size:12pt;">
 <div style="font-size:12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Clay Gerrard <<a rel="nofollow" ymailto="mailto:clay.gerrard@gmail.com" target="_blank" href="mailto:clay.gerrard@gmail.com">clay.gerrard@gmail.com</a>><br>


 <b><span style="font-weight:bold;">To:</span></b> pragya jain <<a rel="nofollow" ymailto="mailto:prag_2648@yahoo.co.in" target="_blank" href="mailto:prag_2648@yahoo.co.in">prag_2648@yahoo.co.in</a>> <br> <b><span style="font-weight:bold;">Sent:</span></b> Friday, 30 August 2013 12:35 PM<br>


 <b><span style="font-weight:bold;">Subject:</span></b> Re: problem in creating account in swift<br> </font> </div> <div><br><div><div dir="ltr">swift-ring-builder /etc/swift/account.ring.gz<div><br></div><div>and then</div>


<div><br></div><div>curl http://<ip>:<port></div><div><br></div><div>you can also check the proxy logs - it should have the backend requests there you could still the urls from them and make sure they match what's in the ring.</div>



<div><br></div><div>-Clay</div></div><div><br><br><div>On Thu, Aug 29, 2013 at 10:38 PM, pragya jain <span dir="ltr"><<a rel="nofollow" ymailto="mailto:prag_2648@yahoo.co.in" target="_blank" href="mailto:prag_2648@yahoo.co.in">prag_2648@yahoo.co.in</a>></span> wrote:<br>



<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size:12pt;"><div><span>hello sir,</span></div>
<div style="font-style:normal;font-size:16px;background-color:transparent;">
<span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;"><span>Please help me to know how to check port of account server and how can I connect to them directly.</span></div>
<div><br><blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px;">  <div style="font-size:12pt;"> <div style="font-size:12pt;">
 <div dir="ltr"> <hr size="1"> 
 <font face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Clay Gerrard <<a rel="nofollow" ymailto="mailto:clay.gerrard@gmail.com" target="_blank" href="mailto:clay.gerrard@gmail.com">clay.gerrard@gmail.com</a>><br> <b><span style="font-weight:bold;">To:</span></b> pragya jain <<a rel="nofollow" ymailto="mailto:prag_2648@yahoo.co.in" target="_blank" href="mailto:prag_2648@yahoo.co.in">prag_2648@yahoo.co.in</a>> <br>



 <b><span style="font-weight:bold;">Sent:</span></b> Thursday, 29 August 2013 8:59 PM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: problem in creating account in swift<br> </font> </div><div><div>
 <div><br><div><div dir="ltr">Probably something in the rings, maybe the wrong ports for the account servers?  Or maybe something in the account server config - what port are they on?  can you connect to them directly?  The proxy log lines would say exactly what caused the 503 - can see anything in /var/log/syslog - or maybe /var/log/swift ?</div>




<div><br><br><div>On Thu, Aug 29, 2013 at 7:01 AM, pragya jain <span dir="ltr"><<a rel="nofollow" ymailto="mailto:prag_2648@yahoo.co.in" target="_blank" href="mailto:prag_2648@yahoo.co.in">prag_2648@yahoo.co.in</a>></span> wrote:<br>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size:12pt;"><div style="font-size:12pt;"><span>hello sir,</span></div>

<div style="background-color:transparent;"><span><br></span></div><div style="font-size:medium;">connection is established successfully. But, when I try to create an account, I face the problem.</div><div style="font-size:medium;">




<br></div><div style="background-color:transparent;">root@arun-Aspire-5742:~# sudo swift-init account start</div><div style="font-size:medium;">Starting account-server...(/etc/swift/account-server.conf)</div><div style="font-size:medium;">




root@arun-Aspire-5742:~# sudo swift-init proxy start</div><div style="font-size:medium;">Starting proxy-server...(/etc/swift/proxy-server.conf)</div><div style="font-size:medium;">root@arun-Aspire-5742:~# curl -v -H 'X-Auth-User:prag2648:pragya' -H 'X-Auth-Key:pj2648'
 <a rel="nofollow" target="_blank"  href="http://localhost:8080/auth/v1.0/">http://localhost:8080/auth/v1.0/</a></div><div style="font-size:medium;">* About to connect() to localhost port 8080 (#0)</div><div style="font-size:medium;">



*   Trying 127.0.0.1... connected</div>
<div style="font-size:medium;">> GET /auth/v1.0/ HTTP/1.1</div><div style="font-size:medium;">> User-Agent: curl/7.22.0 (i686-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/<a rel="nofollow" target="_blank"  href="http://1.2.3.4/">1.2.3.4</a> libidn/1.23 librtmp/2.3</div>




<div style="font-size:medium;">> Host: localhost:8080</div><div style="font-size:medium;">> Accept: */*</div><div style="font-size:medium;">> X-Auth-User:prag2648:pragya</div><div style="font-size:medium;">> X-Auth-Key:pj2648</div>




<div style="font-size:medium;">> </div><div style="font-size:medium;">< HTTP/1.1 200 OK</div><div style="font-size:medium;">< X-Storage-Url: <a rel="nofollow" target="_blank"  href="http://localhost:8080/v1/AUTH_prag2648">http://localhost:8080/v1/AUTH_prag2648</a></div>




<div style="font-size:medium;">< X-Auth-Token:
 AUTH_tk3867b7599d5346559ee0baaa09e0f40d</div><div style="font-size:medium;">< Content-Type: text/html; charset=UTF-8</div><div style="font-size:medium;">< X-Storage-Token: AUTH_tk3867b7599d5346559ee0baaa09e0f40d</div>




<div style="font-size:medium;">< Content-Length: 0</div><div style="font-size:medium;">< X-Trans-Id: txe2ab76a7617e40399f456-00521f3d16</div><div style="font-size:medium;">< Date: Thu, 29 Aug 2013 12:22:46 GMT</div>




<div style="font-size:medium;">< </div><div style="font-size:medium;">* Connection #0 to host localhost left intact</div><div style="font-size:medium;">* Closing connection #0</div><div style="font-size:medium;">root@arun-Aspire-5742:~# python</div>




<div style="font-size:medium;">Python 2.7.3 (default, Apr 10 2013, 05:46:21) </div><div style="font-size:medium;">[GCC 4.6.3] on linux2</div><div style="font-size:medium;">Type "help", "copyright", "credits" or "license" for more
 information.</div><div style="font-size:medium;"><div>>>> import swift.common.memcached as memcached</div><div>>>> memcache = memcached.MemcacheRing(['127.0.0.1:11211'])</div><div>>>> print memcache.get('AUTH_/user/prag2648:pragya')</div>




<div>AUTH_tk3867b7599d5346559ee0baaa09e0f40d</div><div>>>> print memcache.get('AUTH_/token/AUTH_tk3867b7599d5346559ee0baaa09e0f40d')</div><div>[1377865366.826027, 'prag2648,prag2648:pragya,.reseller_admin,AUTH_prag2648']</div>




<div>>>> </div><div><div>root@arun-Aspire-5742:~# curl -v -H 'X-Storage-Token:AUTH_tk3867b7599d5346559ee0baaa09e0f40d' <a rel="nofollow" target="_blank"  href="http://127.0.0.1/v1/Auth_prag2648/">http://127.0.0.1/v1/Auth_prag2648/</a></div>




<div>* About to connect() to 127.0.0.1 port 80 (#0)</div><div>*   Trying 127.0.0.1... Connection refused</div><div>* couldn't connect to host</div><div>* Closing connection #0</div><div>curl: (7) couldn't connect to host</div>




<div><div>root@arun-Aspire-5742:~# curl -v -H
 'X-Storage-Token:AUTH_tk3867b7599d5346559ee0baaa09e0f40d' <a rel="nofollow" target="_blank"  href="http://localhost:8080/v1/AUTH_prag2648/">http://localhost:8080/v1/AUTH_prag2648/</a></div><div>* About to connect() to localhost port 8080 (#0)</div>




<div>*   Trying 127.0.0.1... connected</div><div>> GET /v1/AUTH_prag2648/ HTTP/1.1</div><div>> User-Agent: curl/7.22.0 (i686-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/</div></div></div></div><div style="font-size:16px;">




<div>1.2.3.4 libidn/1.23 librtmp/2.3</div><div>> Host: localhost:8080</div><div>> Accept: */*</div><div>> X-Storage-Token:AUTH_tk3867b7599d5346559ee0baaa09e0f40d</div><div>> </div><div>< HTTP/1.1 503 Internal Server Error</div>




<div>< Content-Length: 118</div><div>< Content-Type: text/html; charset=UTF-8</div><div>< X-Trans-Id: txd6fd9eead36e4b74b0869-00521f3efe</div><div>< Date: Thu, 29 Aug 2013 12:30:55 GMT</div><div>< </div><div>




* Connection #0 to host localhost left intact</div><div>* Closing connection
 #0</div><div><html><h1>Service Unavailable</h1><p>The server is currently unavailable. Please try again at a later time.</p></html>root@arun-Aspire-5742:~# </div><div><br></div><div>Please help me in this regard.</div>




<div><br></div><div>---</div><div><br></div><div>Pragya Jain</div></div></div></div></blockquote></div><br></div></div><br><br></div> </div></div></div> </div> </blockquote></div>   </div></div></blockquote></div><br></div>


</div><br><br></div> </div> </div> </blockquote></div>   </div></div></div></div><br><br></div> </div> </div> </blockquote>   </div></div></blockquote></div><br></div></div><br><br></div> </div></div></div> </div> </blockquote>

</div>   </div></div></blockquote></div><br></div></div><br><br></div> </div></div></div> </div> </blockquote></div>   </div></div></blockquote></div><br></div></div><br><br></div> </div> </div> </blockquote></div>   </div></body></html>