PgSQL 7.3: /opt/pgsql/bin/postgres: Execute permission denied. - Mailing list pgsql-sql

From Zengfa Gao
Subject PgSQL 7.3: /opt/pgsql/bin/postgres: Execute permission denied.
Date
Msg-id 20030108174331.55544.qmail@web41015.mail.yahoo.com
Whole thread Raw
List pgsql-sql
Hi,

I download PgSQL source, compiled it, then try to
start pgsql, I got:


# su postgres -c '/opt/pgsql/bin/initdb
--pgdata=/var/opt/pgsql/data'
The program    '/opt/pgsql/bin/postgres'
needed by initdb does not belong to PostgreSQL version
7.3, or
there may be a configuration problem.

This was the error message issued by that program:
/opt/pgsql/bin/initdb[135]: /opt/pgsql/bin/postgres:
Execute permission denied.

I check the permission of postgres:
# ls -l /opt/pgsql/bin/postgres
-rwxr-xr-x   1 root       bin        2994176 Jan  8
09:53 /opt/pgsql/bin/postgres

But same code works fine on my another HPUX 11.11
system. File permission is same.

Does anyone have some ideas?

Thanks!

Zengfa

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


pgsql-sql by date:

Previous
From: "Josh Berkus"
Date:
Subject: Re: Crosstab-style query in pure SQL
Next
From: Wei Weng
Date:
Subject: Postgresql Bug List?