EcoStruxure IT forum
Schneider Electric support forum about installation and configuration for DCIM including EcoStruxure IT Expert, IT Advisor, Data Center Expert, and NetBotz
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:00 PM . Last Modified: 2024-04-04 02:42 AM
Hello,
I try to install EcoStruxure IT Gateway 1.4.0.68 on a Dell PowerEdge R410 whi has Windows Server 2008 R2 (64 bit) running with 64 Meg of Ram.
I run under user "phe" with admin rights.
I started the launch with "run as adminstrator".
At the end of the install process (after the unzip/unpacking and at the end of the "real" installing) it returns following error :
There has been an error.
Unknown error while running C:\Program Files\ExoStruxureITGateway\1.4 /scripts/install.bat "C:\Program Files\ExoStruxureITGateway\1.4.0" C:\Programdata" "C:\Users\Phe\AppData\Local\Temp" ExoStruxureITGateway 1.4.0 "Schneider Electric" 5432 8005 433 psql.exe keytool.exe 32761 prodCloud 0 0 false 4.3.2 1_4_0 dcos.dmp 1.0.0
The application will exit now
Who can help?
Thank you
Patrick
(CID:134028992)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:04 PM . Last Modified: 2024-04-04 02:40 AM
Dear Patrick Hesters,
Many thanks for the detailed logs 😀.
As a result of the analysis, it turned out that the gateway software can not be installed because of this error:
initdb: could not execute command ""C:/Program Files/EcoStruxureITGateway/1.4.0/pgsql/bin/postgres.exe" --boot -x1 -F ": No error
initdb: removing data directory "C:/ProgramData/EcoStruxureITGateway/1.4.0/data"
""initdb.exe failed.""
In turn, the above error is not a problem for your server OS. This error occurs because of insufficient administrative privileges of the Phe user, on behalf of which you start the installation process of the gateway software.
Therefore, the installation of the gateway software must be performed on behalf of the user as a minimum with local Administrator rights or this user must be a member of the Administrators Group.
If your user Phe is only a member of the Power Users Group (for installing regular programs), then this will not be enough, because during the installation of the gateway software, system services are created and started.
Please verify the privileges of your Windows OS user Phe.
With respect.
P.S.: do not forget to return everything back for the four Dell Systems Management services 😀.
(CID:134032106)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:00 PM . Last Modified: 2024-04-04 02:42 AM
Dear Patrick Hesters,
Please, see the solution from the similar topic for this error:
From your comment:
In the task manager, I ended the task on Postgre SQL before but I still have the same message
What is this another PostgreSQL process? Does it use any other software on your PC? To check and normal installation of the gateway software on the PC there should be no other PostgreSQL services.
Try and report the result.
With respect.
(CID:134029035)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:00 PM . Last Modified: 2024-04-04 02:42 AM
I have looked at the installed and running services and processes. Tere is nothing of sql on that machine running.
I attached msinfo32 :
KR,
Patrick
(CID:134029083)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:00 PM . Last Modified: 2024-04-04 02:42 AM
Dear Patrick Hesters,
Unfortunately, the information provided by you is useless.
In order to get a complete list of services running on your Windows server, execute the following command from cmd with the administrator rights:
sc query > run_services.txt
Then, analyze the run_services.txt text file for the running PostgreSQL services.
Try and report the result.
With respect.
(CID:134029086)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:00 PM . Last Modified: 2024-04-04 02:42 AM
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:01 PM . Last Modified: 2024-04-04 02:41 AM
Dear Patrick Hesters,
It seems to me, that not everything is as simple and trivial...
Carefully study your runnning_services.txt file:
SERVICE_NAME: dcevt64
DISPLAY_NAME: DSM SA Event Manager
TYPE : 10 WIN32_OWN_PROCESS
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, ACCEPTS_PRESHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
SERVICE_NAME: dcstor64
DISPLAY_NAME: DSM SA Data Manager
TYPE : 10 WIN32_OWN_PROCESS
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, ACCEPTS_PRESHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
SERVICE_NAME: omsad
DISPLAY_NAME: DSM SA Shared Services
TYPE : 10 WIN32_OWN_PROCESS
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
SERVICE_NAME: Server Administrator
DISPLAY_NAME: DSM SA Connection Service
TYPE : 10 WIN32_OWN_PROCESS
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
All the above services are running on your server belongs to software Systems Management Event Manager from Dell Inc.
Therefore, I recommend that you temporarily stop all the above listed services and then try again to install the EcoStruxure IT Gateway software:
net stop "Server Administrator"
net stop omsad
net stop dcevt64
net stop dcstor64
I hope that this will help you. Try and report the result please.
With respect.
(CID:134029151)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:01 PM . Last Modified: 2024-04-04 02:41 AM
I have stopped all the mentionned services.
The last one, "DCSTOR64" was not possible to stop.
Afterwards, I tried to install Ecostruxure Gateway, but it stills fails, with the same error message.
(CID:134029171)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:01 PM . Last Modified: 2024-04-04 02:41 AM
Ok, then switch all four of the above services to manual startup and reboot your server (if possible). It is very important to try installing EcoStruxure IT Gateway software without running DSM software services.
Try and report the result please.
With respect.
(CID:134029200)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:01 PM . Last Modified: 2024-04-04 02:41 AM
Hi Spezialist,
I am not more on site.
I go back on thursday. i will continu than.
This will be my first try.
I keep you informed.
Thanks!
Patrick
(CID:134029351)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:01 PM . Last Modified: 2024-04-04 02:41 AM
Ok, in any case, thanks for the feedback 😀.
(CID:134029368)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:01 PM . Last Modified: 2024-04-04 02:41 AM
Hello Spezialist,
I was able to do the requested actions this morning.
I have rebooted the server, and I have checked (and stopped, switched to stop and disable, if they were running) the processes.
I got the same error during the install.
I rebooted the server and I checked DSM SA services : they were all stopped.
Then I did again an install of EcostruxureITGateway-1.4.0-windows.68.exe (run as admin) : still the same error ! ☹️ ☹️ ☹️
(CID:134029681)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:01 PM . Last Modified: 2024-04-04 02:41 AM
Dear Patrick Hesters,
Ok, then show us the screenshot above the above error, please.
And additionally, if it is possible, you must also have a log-file of the unsuccessful installation of the gateway software, which should be on path C:\Program Files\EcoStruxureITGateway\1.4.0\install.log.
With respect.
(CID:134029712)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:01 PM . Last Modified: 2024-04-04 02:41 AM
Dear Spezilalist,
I add hereby the running services (sc2.txt) screenprint of the error, and the directory EcoStruxureITGateway/1.4.0 : where no install.log file can be found ☹️
(CID:134029754)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:01 PM . Last Modified: 2024-04-04 02:41 AM
Dear Patrick Hesters,
Please find below the specified log-files in the temporary directory of the Phe user under C:\Users\Phe\AppData\Local\Temp:
postinstall.log
result_msg.log
result_val.log
With respect.
(CID:134029780)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:02 PM . Last Modified: 2024-04-04 02:41 AM
I don't find these files.
I get :
I attach also bitrock_installer.log
Hope this helps.
KR,
Patrick
(CID:134029807)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:02 PM . Last Modified: 2024-04-04 02:41 AM
Ok, try again install EcoStruxure IT Gateway software.
When the window with the above error appears, do not click the Ok button. Go to the above paths and copy the above logs (four log-files) to the safe place. Then you can press the Ok button so that the installer rolls everything back.
Try it, please.
(CID:134029822)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:02 PM . Last Modified: 2024-04-04 02:41 AM
OK, I will do this. (But it will be on Thursday).
(I give you a day rest . . . 😉)
Kr,
(CID:134029991)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:02 PM . Last Modified: 2024-04-04 02:41 AM
Dear Patrick Hesters,
The bitrock_installer.log file you found is exactly what you need, that is, it is the log file of your unsuccessful gateway software installation. Unfortunately, after analyzing this log file, I still can not say what is the reason for the unsuccessful installation?
Therefore, I highly recommend uninstalling the gateway software after its unsuccessful installation (if applicable) and reboot server. Then go to the web-page https://support.microsoft.com/en-us/help/310099/description-of-the-portqry-exe-command-line-utility and download either Portqry.exe or PortQueryUI tool for MS Windows.
Then, using the above utility, make sure that on your server three below the specified network ports no other software is listening:
dbPort = 5432 shutdownPort = 8005 httpsPort = 443
Be sure to check this and let us know the result.
With respect.
P.S.: I today tried a clean installation above the specified gateway software on a virtual machine VMware with OS MS Windows Server 2008 R2 (64 bit): the installation was completely successful. I.e., I could not repeat your error...
(CID:134030396)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:02 PM . Last Modified: 2024-04-04 02:41 AM
Hi Spezialist,
Thanks for your suggestion.
I will do this actions tomorrow (when I am in front of the server).
But : You ask me to "uninstall" EcoStruxureGateway. In fact, it was never installed. The only actions it did was "unpacking", and it started the forst actions of the install, or am I wrong?
How can I "uninstall" something that is not correctly installed?
I did only a "delete" of directory "Ecostruxure" and all the files in it.
Should I do more/other things? Please instruct me.
I would like to do a clean install of W2K8R2 also, but I do not have the install media . . (licences I have)
If you are an employee of SE, can you share the install media with me by "box"?
Many thanks,
Patrick
(CID:134030534)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:02 PM . Last Modified: 2024-04-04 02:41 AM
Dear Patrick Hesters,
I did only a "delete" of directory "Ecostruxure" and all the files in it.
Should I do more/other things? Please instruct me.
That's right you did.
I would like to do a clean install of W2K8R2 also, but I do not have the install media . . (licences I have)
Be sure that with a clean installation of the OS, the gateway software will also be installed without problems 😀. That is, this is the problem of your server OS.
If you are an employee of SE, can you share the install media with me by "box"?
No, I'm not an SE employee and I do not have the install media you need.
I think you still need to find out why you have the above error on your server. Therefore, I will wait for news from you.
With respect.
(CID:134030538)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:02 PM . Last Modified: 2024-04-04 02:41 AM
Dear Spezialist,
OK. We will go to find out the real cause of the problem. . 😉
Tomorrow you will have the information about the ports.
KR,
(CID:134030597)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:02 PM . Last Modified: 2024-04-04 02:41 AM
Hi Spezialist,
Here the results of the actions :
I did again an install and toke a printscreen of the directory temp for the requested log files (when the error popup is visible)
Afterwards, I deleted the EcostruxureGateway directory completly, and I rebooted the server.
Then I ran PortQuery :
For me, it looks ok. For you?
KR,
Patrick
(CID:134031255)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:03 PM . Last Modified: 2024-04-04 02:41 AM
Dear Patrick Hesters,
Thanks for the info.
Yes, you are right, everything looks just perfect, but it does not work ☹️.
Give me some more time to analyze.
With respect.
(CID:134031267)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:03 PM . Last Modified: 2024-04-04 02:41 AM
Dear Patrick Hesters,
Try this method of finding a problem under MS Windows.
Try this and report the result, please.
With respect.
(CID:134031466)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:03 PM . Last Modified: 2024-04-04 02:41 AM
Hi,
I did what you suggested.
there are 2 error
Error 1: No solution available ?
Error 2: No solution available ?
KR,
Patrick
(CID:134031519)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:03 PM . Last Modified: 2024-04-04 02:40 AM
I opened the "more" section in the problem report :
I copied all the descriptions to the clipboard :
========================
Source
Driver software installation
Summary
Installed generic driver software
Date
5/12/2012 11:38
Status
No solution available
Description
Windows installed driver software that supports the basic features of your Standard VGA Graphics Adapter. Its manufacturer may provide software that enables additional features.
Problem signature
Problem Event Name: PnPGenericDriverFound
Architecture: x64
Hardware Id: PCI\VEN_102B&DEV_0532&SUBSYS_028C1028&REV_0A
OS Version: 6.1.7600.2.0.0.274.10
Locale ID: 2067
====================
Source
Driver software installation
Summary
Installed generic driver software
Date
5/12/2012 11:39
Status
No solution available
Description
Windows installed driver software that supports the basic features of your USB Input Device. Its manufacturer may provide software that enables additional features.
Problem signature
Problem Event Name: PnPRequestAdditionalSoftware
Architecture: x64
Hardware Id: USB\VID_0624&PID_0248&REV_0000&MI_00
OS Version: 6.1.0.0
Install Language: 0409
Inf name: input.inf
Driver date and version: *
OS Version: 6.1.7600.2.0.0.274.10
Locale ID: 2067
============================
Source
Driver software installation
Summary
Installed generic driver software
Date
5/12/2012 11:39
Status
No solution available
Description
Windows installed driver software that supports the basic features of your USB Input Device. Its manufacturer may provide software that enables additional features.
Problem signature
Problem Event Name: PnPRequestAdditionalSoftware
Architecture: x64
Hardware Id: USB\VID_0624&PID_0248&REV_0000&MI_01
OS Version: 6.1.0.0
Install Language: 0409
Inf name: input.inf
Driver date and version: *
OS Version: 6.1.7600.2.0.0.274.10
Locale ID: 2067
=========================
Source
Driver software installation
Summary
Installed generic driver software
Date
5/12/2012 11:39
Status
No solution available
Description
Windows installed driver software that supports the basic features of your USB Input Device. Its manufacturer may provide software that enables additional features.
Problem signature
Problem Event Name: PnPRequestAdditionalSoftware
Architecture: x64
Hardware Id: USB\VID_0624&PID_0294&REV_0100&MI_00
OS Version: 6.1.0.0
Install Language: 0409
Inf name: input.inf
Driver date and version: *
OS Version: 6.1.7600.2.0.0.274.10
Locale ID: 2067
=================
Source
Driver software installation
Summary
Installed generic driver software
Date
5/12/2012 11:39
Status
No solution available
Description
Windows installed driver software that supports the basic features of your USB Input Device. Its manufacturer may provide software that enables additional features.
Problem signature
Problem Event Name: PnPRequestAdditionalSoftware
Architecture: x64
Hardware Id: USB\VID_0624&PID_0294&REV_0100&MI_01
OS Version: 6.1.0.0
Install Language: 0409
Inf name: input.inf
Driver date and version: *
OS Version: 6.1.7600.2.0.0.274.10
Locale ID: 2067
==============================
Source
Driver software installation
Summary
Installed generic driver software
Date
5/12/2012 11:39
Status
No solution available
Description
Windows installed driver software that supports the basic features of your HID-compliant device. Its manufacturer may provide software that enables additional features.
Problem signature
Problem Event Name: PnPRequestAdditionalSoftware
Architecture: x64
Hardware Id: HID\VID_0624&PID_0294&REV_0100&MI_01&Col03
OS Version: 6.1.0.0
Install Language: 0409
Inf name: input.inf
Driver date and version: *
OS Version: 6.1.7600.2.0.0.274.10
Locale ID: 2067
(CID:134031533)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:03 PM . Last Modified: 2024-04-04 02:40 AM
Dear Patrick Hesters,
The above errors are very old and have nothing to do with your problem.
Try second method of finding a problem under MS Windows.
What errors and critical events can you find here?
Remember, we are only interested in recent events during recent days.
With respect.
(CID:134031576)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:03 PM . Last Modified: 2024-04-04 02:40 AM
OK, my fault, I did not notified that these were very old msgs.
I think we are more lucky now :
PS : I have cleared the logging on sept 10 th, at +/- 12u.
I see a wrong string msg in the application log, +/- time when i tried to install EcoStruxure Gateway :
Log Name: Application
Source: Microsoft-Windows-LoadPerf
Date: 11/09/2018 12:59:20
Event ID: 3002
Task Category: None
Level: Error
Keywords:
User: SYSTEM
Computer: EAA-demo
Description:
The performance counter explain text string value in the registry is not formatted correctly. The malformed string is _. The first DWORD in the Data section contains the index value to the malformed string while the second and third DWORDs in the Data section contain the last valid index values.
Event Xml:
Setup log : nothing special
Stystem log :
SNMP issue ?
KR,
Patrick
PS : tomorrow I will not be able to do more tests. It will be for monday.
(CID:134031646)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:03 PM . Last Modified: 2024-04-04 02:40 AM
After i sended y the information above, i tried again an installation of EcoStruxureGateway (on 16u46).
I got agian the error, and i clicked OK.
Then i went again to the windows evnet loggings, and i passed them all 1 by 1 to verify is an entry was written at time +/- 16u46;
NO LUCK. in none of ALL the "chapters" (also in the wondows branche). . .
So for me the error during the installation is not "seen" as a "windows event" to be logged.
Patrick
(CID:134031660)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:03 PM . Last Modified: 2024-04-04 02:40 AM
Dear Patrick Hesters,
Ok, then let's try the last way 😀 to find out the cause of your problem.
To do this, you must again install the gateway software. After the installation fails, go to the C:\Program Files\EcoStruxureITGateway\1.4.0\scripts\ directory and open the install.bat file using the MS Notepad. In the beginning of this batch file, change the line:
@echo off
to line:
@echo on
Save and close this batch file. Then run cmd as administrator and execute this command:
"C:\Program Files\EcoStruxureITGateway\1.4.0\scripts\install.bat" "C:\Program Files\EcoStruxureITGateway\1.4.0" "C:\ProgramData" "C:\Users\Phe\AppData\Local\Temp" EcoStruxureITGateway 1.4.0 "Schneider Electric" 5432 8005 443 psql.exe keytool.exe 32761 prodCloud 0 0 false 3.4.2 1_4_0 dcos.dmp 1.0.0
What result will you get?
Try this, please report the result.
With respect.
(CID:134031972)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:04 PM . Last Modified: 2024-04-04 02:40 AM
Dear spezialist,
I have done what you have asked.
Now I got postinstall.log, result_msg.log, result_val.log.
postinstall.logresult_msg.logresult_val.log
There were also 3 dd_vcredist_amd64_20180914*.log files.
(dd_vcredist_amd64_20180914132626.log, dd_vcredist_amd64_20180914132626_0_vcRuntimeMinimum_x64.log, dd_vcredist_amd64_20180914132626_1_vcRuntimeAdditional.log).
dd_vcredist_amd64_20180914132626.logdd_vcredist_amd64_20180914132626_0_vcRuntimeMinimum_x64.logdd_vcredist_amd64_20180914132626_1_vcRuntimeAdditional_x64.log
result of the @echo on :
C:\>"C:\Program Files\EcoStruxureITGateway\1.4.0\scripts\install.bat" "C:\Progra
m Files\EcoStruxureITGateway\1.4.0" "C:\ProgramData" "C:\Users\Phe\AppData\Local
\Temp" EcoStruxureITGateway 1.4.0 "Schneider Electric" 5432 8005 443 psql.exe ke
ytool.exe 32761 prodCloud 0 0 false 3.4.2 1_4_0 dcos.dmp 1.0.0
C:\>setlocal ENABLEDELAYEDEXPANSION
C:\>SET installdir=C:\Program Files\EcoStruxureITGateway\1.4.0
C:\>SET windows_folder_common_appdata=C:\ProgramData
C:\>SET system_temp_directory=C:\Users\Phe\AppData\Local\Temp
C:\>SET product_shortname=EcoStruxureITGateway
C:\>SET product_version=1.4.0
C:\>SET product_vendor=Schneider Electric
C:\>SET dbPort=5432
C:\>SET shutdownPort=8005
C:\>SET httpsPort=443
C:\>SHIFT
C:\>SHIFT
C:\>SHIFT
C:\>SHIFT
C:\>SHIFT
C:\>SHIFT
C:\>SHIFT
C:\>SHIFT
C:\>SHIFT
C:\>SET pgclient_exe=psql.exe
C:\>SET keytool_exe=keytool.exe
C:\>SET jvmMx=32761
C:\>SET SPRING_PROFILE=prodCloud
C:\>SET rmiRegistryPort=0
C:\>SET rmiServerPort=0
C:\>SET oldInstallUpgrade=false
C:\>SET liquibaseCoreVersion=3.4.2
C:\>SET product_version_underscore=1_4_0
C:\>SHIFT
C:\>SHIFT
C:\>SHIFT
C:\>SET dump_file=dcos.dmp
C:\>SET oldVersion=1.0.0
C:\>SET jvmParams=
C:\>SET pgctl_exe_fullpath=C:\Program Files\EcoStruxureITGateway\1.4.0\pgsql\bin
\pg_ctl.exe
C:\>SET pgclient_exe_fullpath=C:\Program Files\EcoStruxureITGateway\1.4.0\pgsql\
bin\psql.exe
C:\>SET app_data_dir=C:\ProgramData\EcoStruxureITGateway\1.4.0
C:\>SET pg_data_dir=C:\ProgramData\EcoStruxureITGateway\1.4.0\data
C:\>SET conf_dir=C:\ProgramData\EcoStruxureITGateway\1.4.0\conf
C:\>SET tomcat8_exe_fullpath=C:\Program Files\EcoStruxureITGateway\1.4.0\apache-
tomcat\bin\tomcat8.exe
C:\>SET keytool_exe_fullpath=C:\Program Files\EcoStruxureITGateway\1.4.0\jre\bin
\keytool.exe
C:\>SET java_exe_fullpath=C:\Program Files\EcoStruxureITGateway\1.4.0\jre\bin\ja
va.exe
C:\>SET LOG=C:\Users\Phe\AppData\Local\Temp\postinstall.log
C:\>SET RESULT_MSG_LOG=C:\Users\Phe\AppData\Local\Temp\result_msg.log
C:\>SET RESULT_VAL_LOG=C:\Users\Phe\AppData\Local\Temp\result_val.log
C:\>ECHO "install.bat configuration:" 1>>"C:\Users\Phe\AppData\Local\Temp\posti
nstall.log"
C:\>ECHO "installdir = C:\Program Files\EcoStruxureITGateway\1.4.0" 1>>"C:\User
s\Phe\AppData\Local\Temp\postinstall.log"
C:\>ECHO "windows_folder_common_appdata = C:\ProgramData" 1>>"C:\Users\Phe\AppD
ata\Local\Temp\postinstall.log"
C:\>ECHO "system_temp_directory = C:\Users\Phe\AppData\Local\Temp" 1>>"C:\Users
\Phe\AppData\Local\Temp\postinstall.log"
C:\>ECHO "product_shortname = EcoStruxureITGateway" 1>>"C:\Users\Phe\AppData\Lo
cal\Temp\postinstall.log"
C:\>ECHO "product_version= 1.4.0" 1>>"C:\Users\Phe\AppData\Local\Temp\postinsta
ll.log"
C:\>ECHO "product_vendor = Schneider Electric" 1>>"C:\Users\Phe\AppData\Local\T
emp\postinstall.log"
C:\>ECHO "dbPort = 5432" 1>>"C:\Users\Phe\AppData\Local\Temp\postinstall.log"
C:\>ECHO "shutdownPort = 8005" 1>>"C:\Users\Phe\AppData\Local\Temp\postinstall.
log"
C:\>ECHO "httpsPort = 443" 1>>"C:\Users\Phe\AppData\Local\Temp\postinstall.log"
C:\>ECHO "pgclient_exe = psql.exe" 1>>"C:\Users\Phe\AppData\Local\Temp\postinst
all.log"
C:\>ECHO "keytool_exe = keytool.exe" 1>>"C:\Users\Phe\AppData\Local\Temp\postin
stall.log"
C:\>ECHO "jvmMx = 32761" 1>>"C:\Users\Phe\AppData\Local\Temp\postinstall.log"
C:\>ECHO "SPRING_PROFILE = prodCloud" 1>>"C:\Users\Phe\AppData\Local\Temp\posti
nstall.log"
C:\>ECHO "rmiRegistryPort = 0" 1>>"C:\Users\Phe\AppData\Local\Temp\postinstall.
log"
C:\>ECHO "rmiServerPort = 0" 1>>"C:\Users\Phe\AppData\Local\Temp\postinstall.lo
g"
C:\>ECHO "oldInstallUpgrade = false" 1>>"C:\Users\Phe\AppData\Local\Temp\postin
stall.log"
C:\>ECHO "liquibaseCoreVersion = 3.4.2" 1>>"C:\Users\Phe\AppData\Local\Temp\pos
tinstall.log"
C:\>ECHO "product_version_underscore = 1_4_0" 1>>"C:\Users\Phe\AppData\Local\Te
mp\postinstall.log"
C:\>ECHO "jvmParams = " 1>>"C:\Users\Phe\AppData\Local\Temp\postinstall.log"
C:\>ECHO "dump_file = dcos.dmp" 1>>"C:\Users\Phe\AppData\Local\Temp\postinstall
.log"
C:\>ECHO "oldVersion = 1.0.0" 1>>"C:\Users\Phe\AppData\Local\Temp\postinstall.l
og"
C:\>SET RETVAL=0
C:\>SET ERRMSG=""
C:\>SET /p DBPW= 0<"C:\Users\Phe\AppData\Local\Temp\db.pw"
C:\>ECHO Installing vcredist 1>>"C:\Users\Phe\AppData\Local\Temp\postinstall.lo
g"
C:\>"C:\Program Files\EcoStruxureITGateway\1.4.0\vcredist_x64.exe" /install /qui
et 1>>"C:\Users\Phe\AppData\Local\Temp\postinstall.log"
C:\>ECHO Initialized database 1>>"C:\Users\Phe\AppData\Local\Temp\postinstall.l
og"
C:\>"C:\Program Files\EcoStruxureITGateway\1.4.0\pgsql\bin\initdb.exe" -U postgr
es --pwfile="C:\Users\Phe\AppData\Local\Temp\db.pw" -A md5 -E "UTF-8" -D "C:\Pro
gramData\EcoStruxureITGateway\1.4.0\data" 1>>"C:\Users\Phe\AppData\Local\Temp\p
ostinstall.log"
initdb: could not execute command ""C:/Program Files/EcoStruxureITGateway/1.4.0/
pgsql/bin/postgres.exe" --boot -x1 -F ": No error
initdb: removing data directory "C:/ProgramData/EcoStruxureITGateway/1.4.0/data"
C:\>IF ERRORLEVEL 1 (SET RETVAL=1 & SET ERRMSG="initdb.exe failed." & GOTO:END
)
C:\>ECHO ""initdb.exe failed."" 1>>"C:\Users\Phe\AppData\Local\Temp\postinstall
.log"
C:\>ECHO ""initdb.exe failed."" 1>"C:\Users\Phe\AppData\Local\Temp\result_msg.l
og"
C:\>ECHO 1 1>"C:\Users\Phe\AppData\Local\Temp\result_val.log"
C:\>EXIT /B 1
C:\>
Hopefully this will indicates the real problem.
KR,
Patrick
(CID:134032046)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:04 PM . Last Modified: 2024-04-04 02:40 AM
Excellent, I'll try to analyze and answer on this issue 😀.
With respect.
(CID:134032055)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:04 PM . Last Modified: 2024-04-04 02:40 AM
Hello,
I ran the command you proposed.
When I analyse the result, I do not find anything related to "sql".
KR,
Patrick
(CID:134029102)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:04 PM . Last Modified: 2024-04-04 02:40 AM
Dear Patrick Hesters,
Many thanks for the detailed logs 😀.
As a result of the analysis, it turned out that the gateway software can not be installed because of this error:
initdb: could not execute command ""C:/Program Files/EcoStruxureITGateway/1.4.0/pgsql/bin/postgres.exe" --boot -x1 -F ": No error
initdb: removing data directory "C:/ProgramData/EcoStruxureITGateway/1.4.0/data"
""initdb.exe failed.""
In turn, the above error is not a problem for your server OS. This error occurs because of insufficient administrative privileges of the Phe user, on behalf of which you start the installation process of the gateway software.
Therefore, the installation of the gateway software must be performed on behalf of the user as a minimum with local Administrator rights or this user must be a member of the Administrators Group.
If your user Phe is only a member of the Power Users Group (for installing regular programs), then this will not be enough, because during the installation of the gateway software, system services are created and started.
Please verify the privileges of your Windows OS user Phe.
With respect.
P.S.: do not forget to return everything back for the four Dell Systems Management services 😀.
(CID:134032106)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:04 PM . Last Modified: 2024-04-04 02:40 AM
Dear spezialist,
I am sorry to inform you that this is not (yet) the solution.
I can say for sure that when I started installation of EcoStruxureGateway, I did this with the instruction "RunAsAdministrator". So I am a little bit surprized, that I than not have the admin rights. . .
I checked user PHE, and indeed, he did not belong to the admin group.
I added him afterwarts, but still the same (error) result.
I got the admin account, and I tried to install it under Admin. But still the same error.
Here the error logs :
dd_vcredist_amd64_20180917080744.logpostinstall.logresult_msg.logresult_val.log
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\Administrator>cd.. C:\Users>cd.. C:\>"C:\Program Files\EcoStruxureITGateway\1.4.0\scripts\install.bat" "C:\Progra m Files\EcoStruxureITGateway\1.4.0" "C:\ProgramData" "C:\Users\Administrator\App Data\Local\Temp" EcoStruxureITGateway 1.4.0 "Schneider Electric" 5432 8005 443 p sql.exe keytool.exe 32761 prodCloud 0 0 false 3.4.2 1_4_0 dcos.dmp 1.0.0 C:\>setlocal ENABLEDELAYEDEXPANSION C:\>SET installdir=C:\Program Files\EcoStruxureITGateway\1.4.0 C:\>SET windows_folder_common_appdata=C:\ProgramData C:\>SET system_temp_directory=C:\Users\Administrator\AppData\Local\Temp C:\>SET product_shortname=EcoStruxureITGateway C:\>SET product_version=1.4.0 C:\>SET product_vendor=Schneider Electric C:\>SET dbPort=5432 C:\>SET shutdownPort=8005 C:\>SET httpsPort=443 C:\>SHIFT C:\>SHIFT C:\>SHIFT C:\>SHIFT C:\>SHIFT C:\>SHIFT C:\>SHIFT C:\>SHIFT C:\>SHIFT C:\>SET pgclient_exe=psql.exe C:\>SET keytool_exe=keytool.exe C:\>SET jvmMx=32761 C:\>SET SPRING_PROFILE=prodCloud C:\>SET rmiRegistryPort=0 C:\>SET rmiServerPort=0 C:\>SET oldInstallUpgrade=false C:\>SET liquibaseCoreVersion=3.4.2 C:\>SET product_version_underscore=1_4_0 C:\>SHIFT C:\>SHIFT C:\>SHIFT C:\>SET dump_file=dcos.dmp C:\>SET oldVersion=1.0.0 C:\>SET jvmParams= C:\>SET pgctl_exe_fullpath=C:\Program Files\EcoStruxureITGateway\1.4.0\pgsql\bin \pg_ctl.exe C:\>SET pgclient_exe_fullpath=C:\Program Files\EcoStruxureITGateway\1.4.0\pgsql\ bin\psql.exe C:\>SET app_data_dir=C:\ProgramData\EcoStruxureITGateway\1.4.0 C:\>SET pg_data_dir=C:\ProgramData\EcoStruxureITGateway\1.4.0\data C:\>SET conf_dir=C:\ProgramData\EcoStruxureITGateway\1.4.0\conf C:\>SET tomcat8_exe_fullpath=C:\Program Files\EcoStruxureITGateway\1.4.0\apache- tomcat\bin\tomcat8.exe C:\>SET keytool_exe_fullpath=C:\Program Files\EcoStruxureITGateway\1.4.0\jre\bin \keytool.exe C:\>SET java_exe_fullpath=C:\Program Files\EcoStruxureITGateway\1.4.0\jre\bin\ja va.exe C:\>SET LOG=C:\Users\Administrator\AppData\Local\Temp\postinstall.log C:\>SET RESULT_MSG_LOG=C:\Users\Administrator\AppData\Local\Temp\result_msg.log C:\>SET RESULT_VAL_LOG=C:\Users\Administrator\AppData\Local\Temp\result_val.log C:\>ECHO "install.bat configuration:" 1>>"C:\Users\Administrator\AppData\Local\ Temp\postinstall.log" C:\>ECHO "installdir = C:\Program Files\EcoStruxureITGateway\1.4.0" 1>>"C:\User s\Administrator\AppData\Local\Temp\postinstall.log" C:\>ECHO "windows_folder_common_appdata = C:\ProgramData" 1>>"C:\Users\Administ rator\AppData\Local\Temp\postinstall.log" C:\>ECHO "system_temp_directory = C:\Users\Administrator\AppData\Local\Temp" 1> >"C:\Users\Administrator\AppData\Local\Temp\postinstall.log" C:\>ECHO "product_shortname = EcoStruxureITGateway" 1>>"C:\Users\Administrator\ AppData\Local\Temp\postinstall.log" C:\>ECHO "product_version= 1.4.0" 1>>"C:\Users\Administrator\AppData\Local\Temp \postinstall.log" C:\>ECHO "product_vendor = Schneider Electric" 1>>"C:\Users\Administrator\AppDa ta\Local\Temp\postinstall.log" C:\>ECHO "dbPort = 5432" 1>>"C:\Users\Administrator\AppData\Local\Temp\postinst all.log" C:\>ECHO "shutdownPort = 8005" 1>>"C:\Users\Administrator\AppData\Local\Temp\po stinstall.log" C:\>ECHO "httpsPort = 443" 1>>"C:\Users\Administrator\AppData\Local\Temp\postin stall.log" C:\>ECHO "pgclient_exe = psql.exe" 1>>"C:\Users\Administrator\AppData\Local\Tem p\postinstall.log" C:\>ECHO "keytool_exe = keytool.exe" 1>>"C:\Users\Administrator\AppData\Local\T emp\postinstall.log" C:\>ECHO "jvmMx = 32761" 1>>"C:\Users\Administrator\AppData\Local\Temp\postinst all.log" C:\>ECHO "SPRING_PROFILE = prodCloud" 1>>"C:\Users\Administrator\AppData\Local\ Temp\postinstall.log" C:\>ECHO "rmiRegistryPort = 0" 1>>"C:\Users\Administrator\AppData\Local\Temp\po stinstall.log" C:\>ECHO "rmiServerPort = 0" 1>>"C:\Users\Administrator\AppData\Local\Temp\post install.log" C:\>ECHO "oldInstallUpgrade = false" 1>>"C:\Users\Administrator\AppData\Local\T emp\postinstall.log" C:\>ECHO "liquibaseCoreVersion = 3.4.2" 1>>"C:\Users\Administrator\AppData\Loca l\Temp\postinstall.log" C:\>ECHO "product_version_underscore = 1_4_0" 1>>"C:\Users\Administrator\AppDat a\Local\Temp\postinstall.log" C:\>ECHO "jvmParams = " 1>>"C:\Users\Administrator\AppData\Local\Temp\postinsta ll.log" C:\>ECHO "dump_file = dcos.dmp" 1>>"C:\Users\Administrator\AppData\Local\Temp\p ostinstall.log" C:\>ECHO "oldVersion = 1.0.0" 1>>"C:\Users\Administrator\AppData\Local\Temp\pos tinstall.log" C:\>SET RETVAL=0 C:\>SET ERRMSG="" C:\>SET /p DBPW= 0<"C:\Users\Administrator\AppData\Local\Temp\db.pw" The system cannot find the file specified. C:\>ECHO Installing vcredist 1>>"C:\Users\Administrator\AppData\Local\Temp\post install.log" C:\>"C:\Program Files\EcoStruxureITGateway\1.4.0\vcredist_x64.exe" /install /qui et 1>>"C:\Users\Administrator\AppData\Local\Temp\postinstall.log" C:\>ECHO Initialized database 1>>"C:\Users\Administrator\AppData\Local\Temp\pos tinstall.log" C:\>"C:\Program Files\EcoStruxureITGateway\1.4.0\pgsql\bin\initdb.exe" -U postgr es --pwfile="C:\Users\Administrator\AppData\Local\Temp\db.pw" -A md5 -E "UTF-8" -D "C:\ProgramData\EcoStruxureITGateway\1.4.0\data" 1>>"C:\Users\Administrator\ AppData\Local\Temp\postinstall.log" initdb: could not open file "C:\Users\Administrator\AppData\Local\Temp\db.pw" fo r reading: No such file or directory initdb: removing data directory "C:/ProgramData/EcoStruxureITGateway/1.4.0/data" C:\>IF ERRORLEVEL 1 (SET RETVAL=1 & SET ERRMSG="initdb.exe failed." & GOTO:END ) C:\>ECHO ""initdb.exe failed."" 1>>"C:\Users\Administrator\AppData\Local\Temp\p ostinstall.log" C:\>ECHO ""initdb.exe failed."" 1>"C:\Users\Administrator\AppData\Local\Temp\re sult_msg.log" C:\>ECHO 1 1>"C:\Users\Administrator\AppData\Local\Temp\result_val.log" C:\>EXIT /B 1 C:\>
(CID:134032512)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:04 PM . Last Modified: 2024-04-04 02:40 AM
Dear Patrick Hesters,
Congratulations, you are on the right path 😀. You must continue to run the gateway software installation process on behalf of the Administrator user.
I analyzed the log-files and can confirm, that the above mentioned init error of the PostgreSQL DB has been successfully solved. This means, that the database service has been successfully registered and started in the OS. Check it like this from cmd:
sc query EcoStruxureITGateway-db-1.4.0
and optionally:
sc query EcoStruxureITGateway-1.4.0
Now you have another error, more simple:
C:\>SET /p DBPW= 0<"C:\Users\Administrator\AppData\Local\Temp\db.pw"
The system cannot find the file specified.
initdb: could not open file "C:\Users\Administrator\AppData\Local\Temp\db.pw" for reading: No such file or directory
Do you understand what's the matter? Try again, if possible, to uninstall and delete all the gateway software directories after its unsuccessful installation. Clear the temporary directories C:\Windows\Temp and C:\Users\Administrator\AppData\Local\Temp. Again, try a fresh installation of the gateway software on behalf of the Administrator user.
I hope you succeed in everything.
With respect.
(CID:134032615)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:04 PM . Last Modified: 2024-04-04 02:40 AM
ISSUE SOLVED ! ! !
I deleted c:\program files\EcostructuxureITGateway
and
I cleared c:\windows\temp (I did not his before), and c:\users\Administrator\AppData\local\Temp.
I rebooted the server and then I did an install, and everthing went fine , no error anymore !
It is strange that when I was logged in as "phe" and I started the installation as "RunAsAdministrator" that I did not got enough install rights. where is it mentioned in the documentation that EcoStruxureITGateway should be installed only as Administration?
Thanks for your help.
Patrick
(CID:134032676)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:04 PM . Last Modified: 2024-04-04 02:40 AM
Dear Patrick Hesters,
Congratulations, you could do it 😀.
It is strange that when I was logged in as "phe" and I started the installation as "RunAsAdministrator" that I did not got enough install rights. where is it mentioned in the documentation that EcoStruxureITGateway should be installed only as Administration?
In the documentation of the gateway software everything is correctly written. Simply if the user is not a member of the Administrators group, then when you call the Run as Administrator... context menu, you need to enter the username and password of the Administrator user or the user, that is member of the Administrators group. This is an important point for your understanding.
With respect.
P.S.: by the way, you will soon need to abandon the use of MS Windows 2008 Server, because for this OS is nearing EOL 😀. I recommend doing this now and migrating to MS Windows 2016 Server.
(CID:134032695)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 11:05 PM . Last Modified: 2023-10-22 01:59 AM
This question is closed for comments. You're welcome to start a new topic if you have further comments on this issue.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.