Starting PostgreSQL 10 database server * Error: /usr/lib/postgresql/10/bin/pg_ctl /usr/lib/postgresql/10/bin/pg_ctl start -D /var/lib/postgresql/10/main -l /var/log/postgresql/postgresql-10-main.log -s -o -c config_file="/etc/postgresql/10/main/postgresql.conf" exited with status 1:
2020-03-13 18:01:15.189 HKT [344] LOG: could not create IPv6 socket for address "::1": Permission denied
2020-03-13 18:01:15.189 HKT [344] LOG: could not create IPv4 socket for address "127.0.0.1": Permission denied
2020-03-13 18:01:15.189 HKT [344] WARNING: could not create listen socket for "localhost"
2020-03-13 18:01:15.189 HKT [344] FATAL: could not create any TCP/IP sockets
2020-03-13 18:01:15.189 HKT [344] LOG: database system is shut down
pg_ctl: could not start server
Examine the log output.
[fail]
root@e41801b31c12:/etc/init.d# ./postgresql start