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:[EMAIL PROTECTED]
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                                            [EMAIL PROTECTED]
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)




--
Jim Nasby                                            [EMAIL PROTECTED]
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)



---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply via email to