create_postgres_db.sh: Permission denied
ERROR: PostgresQL user 'nagiosxi' was not created - exiting.
ERROR: Nagios XI database was not setup properly - exiting.
I can't find anything about this from googling around. Can anyone tell me what might be causing this?
I was installing as root and did experience a couple of issues with the hostname being set incorrectly but I resolved those through editing the hosts file and httpd.conf file. Should I start over at step 1 and go through it all again?