As the title says I can’t manage to start postgresql daemon on the server.
I followed all the advices and instructions of previous users listed in the related page. I also checked that locales are working properly but i still get the
"could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket “/tmp/.s.PGSQL.5432” error.
I KNOW it’s because postgresql’s daemon is not starting: if i run
ps auwx | grep post
it shows clearly that postgresql isn’t working. And it doesn’t start even if I run from root service start! Don’t know what to do!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Looks like it is starting but then crashing shortly afterwards. Try checking its error log to see what’s going on.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.