I have already looked at similar posts in this forum related to bad interpreter and denied permissions, and was unable to find a solution to this problem.
I have a vps Linux x64 (v2.6.18; CentOS 6.7). I am working on a particular project (OpenClinica) for a client and I need to install Postgresql version 8.4 (old version, I know) directly from a .bin file. The file looks like
postgresql-8.4.1-1-linux-x64.bin. As far as I understood, this
.bin file creates some
.sh files on
I was also told that this file works OK and has already successfully performed installations of Postgres on many other Linux (CentOS) systems running OpenClinica.
When I run it as root at the command line typing this
./postgresql* --mode text
I get the frustrating message below.
Error: Error running /tmp/postgresql_installer/getlocales.sh : /bin/sh: /tmp/postgresql_installer/getlocales.sh: /bin/sh: bad interpreter: Permission denied
What I have already checked (looking in this and other forums)
the first line of
there is a link
sh -> bash*at
root@vps [/bin]# ls -l sh lrwxrwxrwx 1 root root 4 Nov 14 12:29 sh -> bash*
chmod xpermission to
postgres*.binbefore I ran it.
I have even tried to run
~/with no success.