| From: | "Chris Travers" <chris(at)travelamericas(dot)com> |
|---|---|
| To: | "Zengfa Gao" <zfgao(at)yahoo(dot)com>, <pgsql-sql(at)postgresql(dot)org> |
| Subject: | Re: PgSQL 7.3: /opt/pgsql/bin/postgres: Execute permission denied. |
| Date: | 2003-01-13 20:18:23 |
| Message-ID: | 02d901c2bb40$ecc10910$6e723b9d@redmond.corp.microsoft.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
Try running the initdb program first.
Best Wishes,
Chris Travers
----- Original Message -----
From: "Zengfa Gao" <zfgao(at)yahoo(dot)com>
To: <pgsql-sql(at)postgresql(dot)org>
Sent: Wednesday, January 08, 2003 9:43 AM
Subject: [SQL] PgSQL 7.3: /opt/pgsql/bin/postgres: Execute permission
denied.
> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | J Greenbaum | 2003-01-13 20:25:47 | assigning values to array elements |
| Previous Message | dev | 2003-01-13 19:30:25 | Re: Crosstab-style query in pure SQL |