[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-general
Subject:    Re: [GENERAL] Solaris 10 problem
From:       Jim Nasby <decibel () decibel ! org>
Date:       2006-11-30 21:49:14
Message-ID: 3DFFDBB0-725D-48B6-A1B6-EDFF9DB82885 () decibel ! org
[Download RAW message or body]

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@decibel.org]
> Sent: Tue 11/28/2006 1:06 AM
> To: Doron Baranes
> Cc: pgsql-general@postgresql.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@nasby.net
> EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)
>
>
>

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



---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic