salve...ho un piccolo problema! ho installato postgresql ma nn appena provo a creare una tabella mi spunta il seguente errore

createdb test
createdb: impossibile connettersi al database postgres: could not connect to server: Nessun file o directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

che devo fare???
grazie per le vostre risposte