| Author |
Message |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 21 Sep 2009 18:35:12
|
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
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 22 Sep 2009 16:20:16
|
Vibhor_K
Senior member
![[Avatar]](/images/avatar/6b1086f5fb6b725a975602564298d4b9.jpg)
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
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 22 Sep 2009 17:13:38
|
Miguel _V
Member
Joined: 21 Sep 2009 13:11:34
Messages: 11
Offline
|
hi,
in this link http://www.enterprisedb.com/products/download.do
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 22 Sep 2009 17:26:55
|
Miguel _V
Member
Joined: 21 Sep 2009 13:11:34
Messages: 11
Offline
|
hi
ok, forget it.
just wanted to try.
thanks
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 23 Sep 2009 03:49:20
|
Vibhor_K
Senior member
![[Avatar]](/images/avatar/6b1086f5fb6b725a975602564298d4b9.jpg)
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
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 23 Sep 2009 07:16:52
|
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.
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 23 Sep 2009 08:29:26
|
Vibhor_K
Senior member
![[Avatar]](/images/avatar/6b1086f5fb6b725a975602564298d4b9.jpg)
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
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 23 Sep 2009 10:57:06
|
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.
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 24 Sep 2009 05:55:40
|
Vibhor_K
Senior member
![[Avatar]](/images/avatar/6b1086f5fb6b725a975602564298d4b9.jpg)
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
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 24 Sep 2009 09:35:35
|
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
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 24 Sep 2009 09:49:04
|
Vibhor_K
Senior member
![[Avatar]](/images/avatar/6b1086f5fb6b725a975602564298d4b9.jpg)
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
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 24 Sep 2009 11:14:09
|
Miguel _V
Member
Joined: 21 Sep 2009 13:11:34
Messages: 11
Offline
|
hi,
give me this message:
bash: ./initdb: cannot executed binary files
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 25 Sep 2009 06:09:51
|
Vibhor_K
Senior member
![[Avatar]](/images/avatar/6b1086f5fb6b725a975602564298d4b9.jpg)
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
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 25 Sep 2009 11:14:30
|
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?
....
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 25 Sep 2009 16:14:59
|
Vibhor_K
Senior member
![[Avatar]](/images/avatar/6b1086f5fb6b725a975602564298d4b9.jpg)
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
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 29 Sep 2009 06:47:16
|
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!
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 29 Sep 2009 09:54:37
|
Vibhor_K
Senior member
![[Avatar]](/images/avatar/6b1086f5fb6b725a975602564298d4b9.jpg)
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
|
|
|
 |
|
|