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 code 601 while installing 8.3R2AS on RHEL5.4  XML

Forum Index » Advanced Server
Author Message
Kermit_Short

New member

Joined: 24/11/2009 14:43:27
Messages: 2
Offline

Sorry, could a mod please move this post to the One click install forum?

Hello, I'm trying to evaluate this product but when I installed it, I got the following:

k_short@ddb:/usr/local/PostgresPlus/8.3R2AS$ cat log.txt
(Nov 24, 2009 12:33:54 PM), Install, com.enterprisedb.isaction.InitDBFailAction, err, An error occurred and product installation failed. Look at the log file /usr/local/PostgresPlus/8.3R2AS/log.txt for details.
(Nov 24, 2009 12:33:54 PM), Install, com.enterprisedb.isaction.InitDBFailAction, err, ProductException: (error code = 601; message="Initdb Failed"; additional data = [Contents of data folder [/usr/local/PostgresPlus/8.3R2AS/data] are invalid.])
STACK_TRACE: 13
ProductException: (error code = 601; message="Initdb Failed"; additional data = [Contents of data folder [/usr/local/PostgresPlus/8.3R2AS/data] are invalid.])
at com.enterprisedb.isaction.InitDBFailAction.install(InitDBFailAction.java:10
at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(Unknown Source)
at com.ibm.wizard.platform.linux.LinuxProductServiceImpl.installProductAction(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(Unknown Source)
at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)

This message was edited 1 time. Last update was at 24/11/2009 14:52:17

raghu_r

Member

Joined: 28/01/2009 23:23:25
Messages: 51
Offline

Try to install the PostgresPlus Advanced server manually using below steps:-

(1) Execute the following to launch the installer in console mode

<PPAS Installer> -console -extractall

(2) Above command will extract all binaries in your default location

(i.e /opt/PostgresPlus/8.3R2AS/)

(3). Create the data directory in the location i.e /opt/PostgresPlus/8.3R2AS/.and it must be empty and provide full access to the user "enterprisedb".

(4). Run Command Prompt as user "enterprisedb" and execute the following to initialize the data directory:

<EnterpriseDB Installation Directory>\dbserver\bin>./initdb -D <Path to the data directory>

(5). After initializing the database, use pg_ctl.exe or edb-postmaster.exe to start the database server.

pg_ctl -D <data directory path> start


--
Thanks & Regards
Raghu
[Email]
Kermit_Short

New member

Joined: 24/11/2009 14:43:27
Messages: 2
Offline

I think I found the problem...I wasn't very thorough in my examination of the install destination directory, and I didn't see all of the installation logs. As it turns out, One of the initdb logs is complaining about the enterprisedb home directory. The server is bound to an NIS domain automounting home directories via NFS. These NFS Exports are root squashed. When the account creation process took place, the default home directory couldn't be created, and thus didn't exist.
sam_jass

Member

Joined: 22/10/2009 01:22:55
Messages: 41
Offline

Raghu..

You can't directly suggest about "extractall" option as it is not going to create network directory under $EDBHOME, which is required when you try to update PPAS.

Also there is a install logs created which clearly shows where is the exact issue.

--
Thans
Sam Jas
Grega_B

New member
[Avatar]

Joined: 06/02/2010 21:49:26
Messages: 1
Offline

Just another note on this one... I got the same error several times during several subsequent installation attempts and I couldn't, for the hell of me, find out what the problem might have been.

By method of elimination, I regressed down to the default installation options and I was still receiving it (almost began fearing the dreaded installation progress bar approaching 50%, ). initdb log just kept saying there was a syntax error in the script (unexpected end of file while looking for matching `'').

Then it finally dawned on me. I use pwgen(1) to create passwords, specifically, "pwgen -cnys", which will also include special symbols in the password, and the symbol it incidentally picked for the database administrator account in my case was an apostrophe...

All went well as soon as I replaced it with something different.

Grega Bremec
Softergee d.o.o.
Slovenia
scottiebo

Senior member
[Avatar]

Joined: 23/10/2005 21:05:02
Messages: 197
Offline

We've seen this issue with automounting homedirs before and the new installers will be going through this test cycle for the 8.4 release (when it comes out). In the meantime, I'll see if I can get a developer to post the manual instructions on installing the 'edbnetwork' directory up here so that you can fall back on the 'extractall'


--Scottie
 
Forum Index » Advanced Server
Go to:   
Powered by JForum 2.1.8 © JForum Team