Re: Solaris 10 problem

From: Jim Nasby <decibel(at)decibel(dot)org>
To: Doron Baranes <doron(dot)baranes(at)dbnet(dot)co(dot)il>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Solaris 10 problem
Date: 2006-11-30 21:49:14
Message-ID: 3DFFDBB0-725D-48B6-A1B6-EDFF9DB82885@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Nov 27, 2006, at 11:19 PM, Doron Baranes wrote:
> This is exactly what i am doing.
>
> Sun Microsystems Inc. SunOS 5.10 Generic January 2005
> You have new mail.
> # su - postgres
> Sun Microsystems Inc. SunOS 5.10 Generic January 2005
> -bash-3.00$ id
> uid=49500(postgres) gid=65434(postgres)
> -bash-3.00$ initdb -D /var/lib/pgsql/data
> -bash: /usr/bin/initdb: Invalid argument

Hmm... I think that's actually bash generating the error. It seems to
be unhappy with initdb for some unknown reason. It might be worth
trying with another shell (I think solaris installs ksh or csh by
default).

> permissions on /usr/bin/initdb is
> -r-xr-xr-x 1 root bin 56276 Jul 12 19:26 /usr/bin/initdb
>
> permissions on the /var/lib/pgsql/data
> drwx------ 2 postgres postgres 512 Nov 27 15:43 data
>
> 10x 4 the help
> Doron
>
> -----Original Message-----
> From: Jim Nasby [mailto:decibel(at)decibel(dot)org]
> Sent: Tue 11/28/2006 1:06 AM
> To: Doron Baranes
> Cc: pgsql-general(at)postgresql(dot)org
> Subject: Re: Solaris 10 problem
>
> On Nov 27, 2006, at 8:59 AM, Doron Baranes wrote:
>> I installed postgres 814 on solaris 10 using the following packages
>> SUNWpostgr-libs-8.1.4-x86.tar.gz
>> SUNWpostgr-8.1.4-x86.tar.gz
>> SUNWpostgr-server-8.1.4-x86.tar.gz
>> SUNWpostgr-server-data-8.1.4-x86.tar.gz
>> SUNWpostgr-contrib-8.1.4-x86.tar.gz
>> SUNWpostgr-devel-8.1.4-x86.tar.gz
>> SUNWpostgr-docs-8.1.4-x86.tar.gz
>> SUNWpostgr-jdbc-8.1.4-x86.tar.gz
>> SUNWpostgr-tcl-8.1.4-x86.tar.gz
>> SUNWpostgr-pl-8.1.4-x86.tar.gz
>>
>> and no error occured.
>>
>> when i try to run initdb i get Invalid Argument.
>
> What's the *exact* error you got, and how *exactly* did you invoke
> initdb?
> --
> Jim Nasby jim(at)nasby(dot)net
> EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)
>
>
>

--
Jim Nasby jim(at)nasby(dot)net
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John McCawley 2006-11-30 21:56:43 Re: Separation of clients' data within a database
Previous Message Jim Nasby 2006-11-30 21:45:00 Re: PostgreSQL doesn't accept connections when Windows