Thread: Solaris 10 problem
Hi, 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. any ideas please, 10x ahead DoronB
One suggestion would be to not cross post to admin and general and answer the question sent back to you on the admin list, but that's just me. On Mon, Nov 27, 2006 at 04:59:22PM +0200, Doron Baranes wrote: > > Hi, > > 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. > > any ideas please, > > 10x ahead > DoronB > > ---------------------------(end of broadcast)--------------------------- > TIP 9: In versions below 8.0, the planner will ignore your desire to > choose an index scan if your joining column's datatypes do not > match --
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)
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 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)
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)