- Edited
Now with the correct name in the pgsql_install.sh
Postgresql 11.0 installation is successful but the service won't start.
Log tab:
-bash: /www/server/pgsql/bin/postgres: No such file or directory
-bash: /www/server/pgsql/bin/postgres: No such file or directory
-bash: /www/server/pgsql/bin/postgres: No such file or directory
-bash: /www/server/pgsql/bin/postgres: No such file or directory
2020-07-24 00:29:19.845 GMT [25006] LOG: skipping missing configuration file "/www/server/pgsql/data/postgresql.auto.conf"
2020-07-24 00:29:19.846 GMT [25006] FATAL: "/www/server/pgsql/data" is not a valid data directory
2020-07-24 00:29:19.846 GMT [25006] DETAIL: File "/www/server/pgsql/data/PG_VERSION" is missing.
2020-07-24 00:31:17.360 GMT [25499] LOG: skipping missing configuration file "/www/server/pgsql/data/postgresql.auto.conf"
2020-07-24 00:31:17.361 GMT [25499] FATAL: "/www/server/pgsql/data" is not a valid data directory
2020-07-24 00:31:17.361 GMT [25499] DETAIL: File "/www/server/pgsql/data/PG_VERSION" is missing.
Removing the parameters--with-uuid=ossp
, the installation is successful and everything works fine.