title: How to create this file "/var/run/postgresql/.s.PGSQL.5432"?
body: <p>By mistake, I deleted the <code>.s.PGSQL.5432</code> file in folder <code>/var/run/postgresql</code></p>
  
  <p>because of that , I cant able to add server in pgAdmin , Instead i am getting error like below</p>
  
  <pre><code>An error has occurred:
  
  Error connecting to the server: could not connect to server:
  No such file or directory
  Is the server running locally and accepting 
  connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
  </code></pre>
  
  <p>please, someone help me to resolve this problem</p>