0
votes

When start postgresql it gives an error sudo service postgresql start on Digitalocean

Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 225.
The PostgreSQL server failed to start. Please check the log output.

When I check logs tail -f /var/log/postgresql/postgresql-9.3-main.log it an empty and no error in it.

How to fix it?

May be this could help you : askubuntu.com/questions/331896/…shrishyl47