> createdb: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5433" failed: No such file or directory > Is the server running locally and accepting connections on that socket?
As the error states, there is no server running on that socket and port. Have you actually started the server?
This is almost guaranteed to not be a postgres bug, I recommend posting on the pgsql-general mailinglist for assistance.