Search Postgresql Archives

Re: Solaris 10 problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux