Skip to content

Instantly share code, notes, and snippets.

View akdmjeau-eng's full-sized avatar
💭
I Love kali linux

Jesus Enrique Herrera Bautista akdmjeau-eng

💭
I Love kali linux
View GitHub Profile
@akdmjeau-eng
akdmjeau-eng / psql
Created March 4, 2026 21:10 — forked from hernandez87v/psql
PostgresSQL - createuser: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory Is the server running locally and accepting connections on that socket?
# createuser: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
# Is the server running locally and accepting connections on that socket?
# List clusters running on device
pg_lsclusters
# It will likely show Status down
# Restart pg_ctlclusters
#format is pg_ctlcluster <version> <cluster> <action>
sudo pg_ctlcluster <version> main start