EnterpriseDB: The Enterprise Postgres Company Postgres Plus Forums: The PostgreSQL Open Source Database from EnterpriseDB
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 

error when install in solaris  XML

Forum Index » PostgreSQL Installers for Windows, Linux and OS X
Author Message
Miguel _V

Member

Joined: 21 Sep 2009 13:11:34
Messages: 11
Offline

hi

my environment is:
solaris x86-64


when i install give this message:

<install-path>dbserver/bin/initdb: syntax error at line 1: '(' unexpected.

Anybody know what happen?

miguel
Vibhor_K

Senior member
[Avatar]

Joined: 3 Jul 2009 09:46:15
Messages: 444
Offline

Which Version of PostgreSQL are you installing on Solaris x86-64 and from which website?

EnterpriseDB does not provide installer for Solaris.

This message was edited 2 times. Last update was at 22 Sep 2009 16:37:15


Thanks & Regards,
Vibhor Kumar
Blog:http://vibhork.blogspot.com
[Email] [WWW]
Miguel _V

Member

Joined: 21 Sep 2009 13:11:34
Messages: 11
Offline

hi,

in this link http://www.enterprisedb.com/products/download.do

Miguel _V

Member

Joined: 21 Sep 2009 13:11:34
Messages: 11
Offline

hi

ok, forget it.

just wanted to try.

thanks
Vibhor_K

Senior member
[Avatar]

Joined: 3 Jul 2009 09:46:15
Messages: 444
Offline

Since, postgreSQL 8.4 Installer is not available on EnterpriseDB downloads, therefore you can try PostgreSQL 8.4 downloads from following link:
http://www.postgresql.org/ftp/binary/v8.4.1/solaris/

Let me know if you still face same problem.

Thanks & Regards,
Vibhor Kumar
Blog:http://vibhork.blogspot.com
[Email] [WWW]
Miguel _V

Member

Joined: 21 Sep 2009 13:11:34
Messages: 11
Offline

hi Vibhor_K

thanks for your answer.

" PostgreSQL 8.4 installr is not available on EnterpriseDB downloads ... " - yes i know but version 8.3 is available and i just wanted to test in Solaris.
Vibhor_K

Senior member
[Avatar]

Joined: 3 Jul 2009 09:46:15
Messages: 444
Offline

Hi,

Are you talking about Postgres Plus Advanced Server or PostgreSQL 8.3? If you are talking about PostgreSQL 8.3 installer for Solaris, then it's not available on EnterpriseDB Downloads. However I can see Postgres Plus Advanced Server 8.3 Installer on EnterpriseDB Downloads.

Also, Postgres Plus Advanced Server is different than PostgreSQL and I think this thread is for PostgreSQL Installers.

However, I would be happy to resolve your issue, if you could let me know which Product and Version are you installing.

Thanks

Thanks & Regards,
Vibhor Kumar
Blog:http://vibhork.blogspot.com
[Email] [WWW]
Miguel _V

Member

Joined: 21 Sep 2009 13:11:34
Messages: 11
Offline

hi Vibhor_K, thanks again for your answer.

uppps ... yes I talk to Postgres Plus Advenced Server.

i try install Postgres Plus Advanced Server 8.3 R2 in Solaris 10 x86-64.

Vibhor_K

Senior member
[Avatar]

Joined: 3 Jul 2009 09:46:15
Messages: 444
Offline

Hi

Thanks for information.

I tried the installation of PPAS 8.3R2 on My Solaris solaris x86-64. it worked fine. I have gone through the shell on which I have executed the initdb command.

In my environment, it is Bash shell on which I have executed the command initdb command.

Please share the output of following command:
echo $SHELL
ps |grep $$|awk '{print $4}'

Thanks

Thanks & Regards,
Vibhor Kumar
Blog:http://vibhork.blogspot.com
[Email] [WWW]
Miguel _V

Member

Joined: 21 Sep 2009 13:11:34
Messages: 11
Offline

hi

the result of the comand is.

$ echo $SHELL
/bin/sh


$ ps |grep $$|awk '{print $4}'
sh


Vibhor_K

Senior member
[Avatar]

Joined: 3 Jul 2009 09:46:15
Messages: 444
Offline

Thanks For the information.

Please execute following command on your shell and try to execute initdb.

/bin/bash
EDB_HOME/dbserver/bin/initdb -D <data directory location>



Thanks & Regards,
Vibhor Kumar
Blog:http://vibhork.blogspot.com
[Email] [WWW]
Miguel _V

Member

Joined: 21 Sep 2009 13:11:34
Messages: 11
Offline

hi,

give me this message:

bash: ./initdb: cannot executed binary files
Vibhor_K

Senior member
[Avatar]

Joined: 3 Jul 2009 09:46:15
Messages: 444
Offline


Are you trying to execute the initdb as Owner of Binaries? By default it would enterprisedb or edb.
Also, please send the output of following:

cd <EDB_HOME>/dbserver/bin
ls -ltr

Thanks

Thanks & Regards,
Vibhor Kumar
Blog:http://vibhork.blogspot.com
[Email] [WWW]
Miguel _V

Member

Joined: 21 Sep 2009 13:11:34
Messages: 11
Offline

hi Vibhor_K,

1 - when i run the installer file give this message again:

<EDB_HOME>/dbserver/bin/initdb: syntax error at line 1: `(' unexpected

2 - i'm run in bash shell.

3 - when i run <EDB_HOME>/dbserver/bin/initdb -D <data/directory/location> give this message:

bash: ./initdb: cannot execute binary file

4 - y run whit "enterprisedb" user whit permission to group "postgres"

5 - the result of comand "ls -ltr" is:
....
-rwxr-xr-x 1 enterprisedb postgres 109552 ago 17 15:19 initdb
....


any idea?

....



Vibhor_K

Senior member
[Avatar]

Joined: 3 Jul 2009 09:46:15
Messages: 444
Offline

Output of ls -ltr shows that Owner of binaries is enterprisedb. So, please login as enterprisedb and execute the following command:
1. cd <EDB_HOME>/bin
and execute initdb command as follows:
$bash
$./initdb -D <data directory>

Thanks

Thanks & Regards,
Vibhor Kumar
Blog:http://vibhork.blogspot.com
[Email] [WWW]
Miguel _V

Member

Joined: 21 Sep 2009 13:11:34
Messages: 11
Offline

hi Vibhor_K,

i'm sorry not reply to last post but i have a lot of work.

well,

1 - i execute the command in bash with the owner of binaries files and the message is the same - bash: ./initdb: cannot execute binary file

i do not understand why!


Vibhor_K

Senior member
[Avatar]

Joined: 3 Jul 2009 09:46:15
Messages: 444
Offline

It more like a corrupted binaries which got downloaded.

Please try to uninstall the current running Postgres Plus Advanced Server and Reinstall it after downloading fresh installer for Solaris from our website.

Thanks & Regards,

Thanks & Regards,
Vibhor Kumar
Blog:http://vibhork.blogspot.com
[Email] [WWW]
 
Forum Index » PostgreSQL Installers for Windows, Linux and OS X
Go to:   
Powered by JForum 2.1.8 © JForum Team