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 

Initdb Failed during the windows 2000 installation  XML

Forum Index » Advanced Server
Author Message
Asanka_P2

New member

Joined: 8 Aug 2007 03:45:59
Messages: 1
Offline

when i am installing EDB on my windows 2000 server (service pack 4), it fails during the installation.
when i check the log file it gives following error.

(Aug 8, 2007 1:12:05 PM), Install, com.enterprisedb.isaction.InitDBFailAction, err, An error occurred and product installation failed. Look at the log file C:\EnterpriseDB\8.2\log.txt for details.
(Aug 8, 2007 1:12:05 PM), Install, com.enterprisedb.isaction.InitDBFailAction, err, ProductException: (error code = 601; message="Initdb Failed"; additional data = [Contents of data folder [C:\EnterpriseDB\8.2\data] are invalid.])
STACK_TRACE: 12
ProductException: (error code = 601; message="Initdb Failed"; additional data = [Contents of data folder [C:\EnterpriseDB\8.2\data] are invalid.])
at com.enterprisedb.isaction.InitDBFailAction.install(InitDBFailAction.java:75)
at com.installshield.product.service.product.PureJavaProductServiceImpl.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)



Please help me.
Anonymous



I also have exactly the same error messages, but I am using WinXP. Therefore, I think no_local_logon is irrelevant.

And the file EnterpriceDB\8.2\install_logs says:
initdb: "mc2.D" is not a valid server encoding name

I tried both "default charset" and UTF8
Anonymous



Solved immediately after posting...

The problem is that I had a = in the password. Seems the EnterpriseDB installer used = as delimiter.

Don't use punctuation marks in the password
bill_s

New member

Joined: 14 May 2008 20:38:28
Messages: 9
Offline

I get the same 601 error, but with this in the stderr file

The program "edb-postgres" is needed by initdb but was not found in the
same directory as "C:/EnterpriseDB/8.2/dbserver/bin/initdb".
Check your installation.

Any clues?

Thanks
Muhammad_F

Senior member
[Avatar]

Joined: 25 May 2005 15:59:57
Messages: 107
Offline

Hi Bill,

Have you tried using the -use_local_logon option?
Jarod_W

New member

Joined: 19 May 2008 10:25:11
Messages: 2
Offline

I am having this problem too, however I am running Debian testing (lenny). Here is the contents of my log.txt:

(May 19, 2008 9:17:22 AM), Install, com.enterprisedb.isaction.InitDBFailAction, err, An error occurred and product installation failed. Look at the log file /opt/EnterpriseDB/8.2/log.txt for details.
(May 19, 2008 9:17:22 AM), Install, com.enterprisedb.isaction.InitDBFailAction, err, ProductException: (error code = 601; message="Initdb Failed"; additional data = [Contents of data folder [/opt/EnterpriseDB/8.2/data] are invalid.])
STACK_TRACE: 12
ProductException: (error code = 601; message="Initdb Failed"; additional data = [Contents of data folder [/opt/EnterpriseDB/8.2/data] are invalid.])
at com.enterprisedb.isaction.InitDBFailAction.install(InitDBFailAction.java:75)
at com.installshield.product.service.product.PureJavaProductServiceImpl.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)

Should I try the use_local_logon option as well?
ashaar

Member
[Avatar]

Joined: 28 Mar 2008 08:00:06
Messages: 88
Location: East Brunswick, NJ
Offline

Hi Jarod,

Can you please send us the install_logs folder? you can find it under the install location.

Please also let us know the product version that you tried to install (looking at the log it seems you are using 8.2?)

Thanks,
Ashaar
[WWW]
Jarod_W

New member

Joined: 19 May 2008 10:25:11
Messages: 2
Offline

hanks ashaar, looking in the install_logs directory, I found this entry in the file initdb_stderr.txt:
/opt/EnterpriseDB/8.2/dbserver/bin/initdb: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory

I then installed that library and restarted the install process, and it stalled at the same spot again, this time complaining about this library:

2008-05-19 11:30:46 EDT FATAL: could not load library "/opt/EnterpriseDB/8.2/dbserver/lib/pgxml.so": libxslt.so.1: cannot open shared object file: No such file or directory

So I installed it and everything went smoothly. Thanks for pointing my attention to that log file!
ashaar

Member
[Avatar]

Joined: 28 Mar 2008 08:00:06
Messages: 88
Location: East Brunswick, NJ
Offline


Glad to hear that.

Our latest installers are now more intelligent, they check for the missing libraries before the installation process starts and let you know of any missing dependencies.
[WWW]
bill_s

New member

Joined: 14 May 2008 20:38:28
Messages: 9
Offline

ashaar,

When I run the install program directly from windows by double-clicking the installation program, I get error in the "log.txt" file:

(May 20, 2008 8:22:17 AM), Install, com.enterprisedb.isaction.InitDBFailAction, err, An error occurred and product installation failed. Look at the log file C:\EnterpriseDB\8.22\log.txt for details.
(May 20, 2008 8:22:17 AM), Install, com.enterprisedb.isaction.InitDBFailAction, err, ProductException: (error code = 601; message="Initdb Failed"; additional data = [Contents of data folder [C:\EnterpriseDB\8.22\data] are invalid.])
STACK_TRACE: 12
ProductException: (error code = 601; message="Initdb Failed"; additional data = [Contents of data folder [C:\EnterpriseDB\8.22\data] are invalid.])
at com.enterprisedb.isaction.InitDBFailAction.install(InitDBFailAction.java:75)
at com.installshield.product.service.product.PureJavaProductServiceImpl.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)

And a return dialog that reads: "Error looking up account name: 1332."

The /install_logs contain:

initstdout.txt is null

initdb_stderr.txt:

The program "edb-postgres" is needed by initdb but was not found in the
same directory as "C:/EnterpriseDB/8.22/dbserver/bin/initdb".
Check your installation.

initerr.txt:

CPAU V01.10.00cpp Joe Richards (joe@joeware.net) October 2004

initout.txt:

Adjusting rights for current user to impersonate(required for Windows 2000 based systems)...
Granting SeTcbPrivilege to BSITERPSERVER\Administrator ... successful
Calling initdb as user enterprisedb...
Process Created...

The command completed successfully.

Done!

===========================================================================================

When I attempt to instal using "edb-windows_82412.exe -use_local_logon" I get the following in the "log.txt" file:

(May 20, 2008 9:03:23 AM), Install, com.enterprisedb.isaction.InitDBFailAction, err, An error occurred and product installation failed. Look at the log file C:\EnterpriseDB\8.2\log.txt for details.
(May 20, 2008 9:03:23 AM), Install, com.enterprisedb.isaction.InitDBFailAction, err, ProductException: (error code = 601; message="Initdb Failed"; additional data = [Contents of data folder [C:\EnterpriseDB\8.2\data] are invalid.])
STACK_TRACE: 12
ProductException: (error code = 601; message="Initdb Failed"; additional data = [Contents of data folder [C:\EnterpriseDB\8.2\data] are invalid.])
at com.enterprisedb.isaction.InitDBFailAction.install(InitDBFailAction.java:75)
at com.installshield.product.service.product.PureJavaProductServiceImpl.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)

And a return dialog that reads: "Error looking up account name: 1332."

In the /install_logs files contain:

initerr.txt

CPAU V01.10.00cpp Joe Richards (joe@joeware.net) October 2004

Error: Couldn't create Process: (1326) Logon failure: unknown user name or bad password.

initout.txt:

Adjusting rights for current user to impersonate(required for Windows 2000 based systems)...
Granting SeTcbPrivilege to BSITERPSERVER\Administrator ... successful
Calling initdb as user enterprisedb...

The command did not complete successfully.

Done!

Any ideas?

Thanks

Bill S.
ashaar

Member
[Avatar]

Joined: 28 Mar 2008 08:00:06
Messages: 88
Location: East Brunswick, NJ
Offline

Hi Bill,

Can you try deleting the 'enterprisedb' user before trying to install with "-use_local_logon". This user will get recreated as part of the installation process.

Thanks,
--AKS
[WWW]
bill_s

New member

Joined: 14 May 2008 20:38:28
Messages: 9
Offline

ashaar,


Its seems to have gotten a little further in that I now get this directory:

C:\EnterpriseDB\8.2\jre1.5

However, I still get these errors:


log.txt:

(May 20, 2008 9:25:56 AM), Install, com.enterprisedb.isaction.InitDBFailAction, err, An error occurred and product installation failed. Look at the log file C:\EnterpriseDB\8.2\log.txt for details.
(May 20, 2008 9:25:56 AM), Install, com.enterprisedb.isaction.InitDBFailAction, err, ProductException: (error code = 601; message="Initdb Failed"; additional data = [Contents of data folder [C:\EnterpriseDB\8.2\data] are invalid.])
STACK_TRACE: 12
ProductException: (error code = 601; message="Initdb Failed"; additional data = [Contents of data folder [C:\EnterpriseDB\8.2\data] are invalid.])
at com.enterprisedb.isaction.InitDBFailAction.install(InitDBFailAction.java:75)
at com.installshield.product.service.product.PureJavaProductServiceImpl.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)



initerr.txt:

CPAU V01.10.00cpp Joe Richards (joe@joeware.net) October 2004

Error: Couldn't create Process: (1326) Logon failure: unknown user name or bad password.

initout.txt:

Adjusting rights for current user to impersonate(required for Windows 2000 based systems)...
Granting SeTcbPrivilege to BSITERPSERVER\Administrator ... successful
Calling initdb as user enterprisedb...

The command did not complete successfully.

Done!

=======================================

Next?

Bill
ashaar

Member
[Avatar]

Joined: 28 Mar 2008 08:00:06
Messages: 88
Location: East Brunswick, NJ
Offline

Bill,

It seems that you are encountering an installer bug that is now fixed in our 8.3 release. Can you try out the latest postgres plus 8.3 installers available at the following location? In the mean time I'll get someone from our support team to take a look at the issue.

http://www.enterprisedb.com/products/download.do

Thanks,
--AKS

This message was edited 1 time. Last update was at 20 May 2008 12:44:35

[WWW]
bill_s

New member

Joined: 14 May 2008 20:38:28
Messages: 9
Offline

Ashar,

OK. I am using EnterpriseDB to support Compiere. They recommended EnterpriseDB 8.2. Are you aware of any issues that might arise from running this data base version? I had originally download the 83 version, but abandoned attempting to install it when the I noted the that the install instructions from Compiere specifically referenced 82. I also note that the program name seemed to be different; i.e. pgplus rather than enterpriseDB. Are you aware of any issues in this regard?

One note, while I was waiting for your response, I tried deleting the enterprisedb login and rerunning directly from windows. I got these new messages:

In initdb_stderr.txt

The program "edb-postgres" is needed by initdb but was not found in the
same directory as "C:/EnterpriseDB/8.2/dbserver/bin/initdb".
Check your installation.

In initout.txt:

Adjusting rights for current user to impersonate(required for Windows 2000 based systems)...
Granting SeTcbPrivilege to BSITERPSERVER\Administrator ... successful
Calling initdb as user enterprisedb...
Process Created...

The command completed successfully.

Done!

And in initerr.txt

CPAU V01.10.00cpp Joe Richards (joe@joeware.net) October 2004


Thanks

Bill
bill_s

New member

Joined: 14 May 2008 20:38:28
Messages: 9
Offline

Ashar,

When installing 8.3, same deal. Passwords. (I ran it both ways).

Is there anything that EnterpriseDB does that would be incompatible withe Windows 2003 "strong passwords"? Is the "Joe Richards" logon using strong passwords?

Bill

bill_s

New member

Joined: 14 May 2008 20:38:28
Messages: 9
Offline

Ashar,

I typed a "quick reply" but it left the thread, so I'm reposting here.

I ran the 8.3 install both ways and got the same results. Passwords. Is the ENtpriseDB installer incompatible with Windows 2003 strong passwords?

Bill
bill_s

New member

Joined: 14 May 2008 20:38:28
Messages: 9
Offline

Ashar,

I typed a "quick reply" but it left the thread, so I'm reposting here.

I ran the 8.3 install both ways and got the same results. Passwords. Is the ENtpriseDB installer incompatible with Windows 2003 strong passwords?

Bill
ashaar

Member
[Avatar]

Joined: 28 Mar 2008 08:00:06
Messages: 88
Location: East Brunswick, NJ
Offline

Bill,

Windows 2003 strong passwords shouldn't cause a problem as long as the password you set for the 'enterprisedb' user complies to the strong passwords policy.

Ashaar
[WWW]
ashaar

Member
[Avatar]

Joined: 28 Mar 2008 08:00:06
Messages: 88
Location: East Brunswick, NJ
Offline

Bill,

Can you also try this installer on a windows xp machine?

Thanks
[WWW]
bill_s

New member

Joined: 14 May 2008 20:38:28
Messages: 9
Offline

Ashaar,

I actually tried the XP install last night before seeing this message from you, so we're on the same page! The XP install worked without any issues. I used the command line option and it worked fine. I used the exact same install set that I have been using for the Windows 2003 Server install.

While this is a step forward, it is imperative that I host the database on a Server asset. So, here are some particulars regarding the install so far.

1) I am running the Win2003 Server as the Primary Domain Controller in my lab. My intent is to run this system in an environment isolated from the rest of the company's network (except for Internet access). Not sure if this makes any difference, but thought I'd add the information.

2) When I look at the account that EDB is setting up in AD, I've noticed that, in the "Log on as a service" section of the "Domain Security Settings" panel, an account is referenced as "*S-1-5-21-998401285-416900288-3195713710-1122" as part of the EDB set up. Nothing is established in the "Domain Controller Security Settings" panel. Should not this service reference the "entepriseDB" lggon instead?

3) When running the install directly from windows, I get:

initdb_stderr.txt

The program "edb-postgres" is needed by initdb but was not found in the
same directory as "C:/EnterpriseDB/8.2/dbserver/bin/initdb".
Check your installation.

initout.txt

Adjusting rights for current user to impersonate(required for Windows 2000 based systems)...
Granting SeTcbPrivilege to BSITERPSERVER\Administrator ... successful
Calling initdb as user enterprisedb...
Process Created...

The command completed successfully.

Done!

Then, is stops, with the 1332 diaglog as the final output.These are somewhat different than when run from the commandline, where the process addressed in initout fails (see previous post for details).

Anything you can do to help me out is appreciated. I am under the gun to complete the establishment of the test environment by Friday, so that the project's evaluation team can begin to review "Compiere" and I am of the opinion that using EDB is a superior choice to Oracle.

Thanks for your help

Bill S





ashaar

Member
[Avatar]

Joined: 28 Mar 2008 08:00:06
Messages: 88
Location: East Brunswick, NJ
Offline

Hi Bill,

Please try this...

- Create the enterprisedb user manually and allow "Log on Locally" and "Log on as a service" for 'enterprisedb' user. This can be done from control panel-> Administrative Tools -> Local Security Policy
- Run the installer using -use_local_logon

Please let me know how it goes.

Thanks
[WWW]
bill_s

New member

Joined: 14 May 2008 20:38:28
Messages: 9
Offline

Ashaar,

Well, I tried this also, but, no soap. Sorry, but I'm going to have to jump ship. I've installed the Oracle 10.g without a hitch. I am also a veteran of MS Sql, MySql, Sybase, DB2, IMS, etc. and can tell you that this issue with your installer is going to be a problem for you going forward for Windows installs. There is an obvious issue with the way you handle security/permissions in your install script that is not very intuitive in the Windows realm.

However as an open source guy, I am looking forward to demo'ing your product as a replacement for MySql in my current LAMP development environment. Your developers desktop is looks great.

Anyway, sorry, but also thanks for the help.

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