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: 2024-07-31 01:22 PM
I setup RockyLinux 9.4
I downloaded EcoStruxureITGateway-1.22.1.5-linux-x64.run, and executed it
It created /opt/EcoStruxureITGateway/1.22.1.5/'EcoStruxure IT Gateway.log' with zero bytes
It created /opt/EcoStruxureITGateway/1.22.1.5/backups/EcoStruxureITGateway-backup-2024-07-28.zip that is a size of 22221558.
* I tried to open https://IP address/gateway/index.html, and an error said "Unable to connect" locally, and "Site cannot be reached" remotely -
* Another document said I should open https://IP adress - https://ecostruxureit.com/download-and-set-up-ecostruxureit-gateway/ This also generated an error that said "Unable to connect" locally, and "Site cannot be reached" remotely -
How can I tell if I EcoStruxureITGateway is correctly installed and running?
Did I download the correct linux executable for Rocky Linux 9?
What cli can I run locally on the linux host to verify it is running ok?
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: 2024-08-08 09:14 AM . Last Modified: 2024-08-08 09:16 AM
Performing all of the actions above should result in a removal of the software and allow you to attempt to reinstall. You may have missed 'sudo userdel -r gateway' but as a precaution, I have outlined some tests below to see if a command didn't successfully run.
If any of the steps below fail, please provide additional details. Beyond these steps, you may need to either reinstall the OS (may be quicker) or work through technical support, unless others in the community can be of further assistance.
Run the following commands:
1. sudo systemctl status EcoStruxureITGateway-1.22.1.5.service
Expected result:
Other result, Perform the following commands:
sudo systemctl stop EcoStruxureITGateway-1.22.1.5.service
sudo systemctl disable EcoStruxureITGateway-1.22.1.5.service
sudo rm /lib/systemd/system/EcoStruxureITGateway-1.22.1.5.service
Run the command in step 1 again to ensure that the expected results are achieved.
2. sudo systemctl status EcoStruxureITGateway-db-1.22.1.5.service
Expected result:
Other result, Perform the following commands:
sudo systemctl stop EcoStruxureITGateway-db-1.22.1.5.service
sudo systemctl disable EcoStruxureITGateway-db-1.22.1.5.service
sudo rm /lib/systemd/system/EcoStruxureITGateway-db-1.22.1.5.service
Run the command in step 2 again to ensure that the expected results are achieved.
3. sudo crontab -l
Expected result: As you mentioned this was a fresh install, you shouldn't have any (or very few) crontabs created. Ensure that are none for EcoStruxure in the list.
Other result, perform the following command:
sudo crontab -l | grep -v EcoStruxure | crontab -
Run the command in step 3 again to ensure that the expected results are achieved.
4. ls /opt/EcoStruxureITGateway/
Expected result:
Other result, perform the following command:
sudo rm -r /opt/EcoStruxureITGateway/1.22.1.5
Run the command in step 4 again to ensure that the expected results are achieved.
5. sudo userdel -r gateway
Expected result:
Other result, perform the following commands:
sudo userdel -r gateway
Run the command in step 5 again to ensure that the expected results are achieved.
6. ls /home/gateway
Expected result:
Other result, perform the following command:
sudo rm -r /home/gateway
Run the command in step 6 again to ensure that the expected results are achieved.
7. ls /etc/logrotate.d/
Expected Result: There should NOT be a EcoStruxureITGateway folder.
If the folder is present, perform the following command:
sudo rm /etc/logrotate.d/EcoStruxureITGateway
Run the command in step 7 again to ensure that the expected results are achieved.
8. Run the installer again. If it fails, you can try providing additional details, but I would also suggest reaching out to technical support to see if someone can assist you beyond these steps.
Regards,
Cory
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: 2024-08-01 07:00 PM
Hello @AubreyT,
I downloaded the Rocky Linux 9.4 Minimal ISO and deployed it in ESXi. The minimal ISO is quickest to deploy for testing due to size. Results may vary if using other ISO images, but I would imagine that the same steps could be taken on non-minimal ISO installs.
Instructions for deploying the Gateway on the minimal installation: https://community.se.com/t5/Gateway-software-installation-and/Installing-EcoStruxure-IT-Gateway-on-C...
I did not have to deviate from the instructions at all.
To verify if the services are running you can run the following command:
systemctl | grep EcoStruxure
If all is well, you should see 2 different lines, one for the IT Gateway Application and one for the IT Gateway Database:
If the 2 services have "loaded active running" listed, then they should be running successfully. I would recommend looking into the firewall steps to ensure that HTTPS is accessible through the firewall:
Kind Regards,
Cory
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: 2024-08-02 09:01 AM
Unfortunately, my services are not running. (see attachments)
The instructions you sent says EcoStruxure IT Gateway supports CentOS 7, which is no longer supported.
I am using Rocky Linux 9.4. Is that supported?
I am unable to uninstall EcoStruxure - I looked at the command line options, and do not see an uninstall option. Do you have any suggestions on what I should try next?
Aubrey
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: 2024-08-05 12:03 PM . Last Modified: 2024-08-08 07:59 AM
Hello @AubreyT,
Rocky Linux 9.4 is supported and the System Requirements page will be updated soon. I have also reached out to see about getting the Centos 7 minimal install instructions updated to Rocky Linux as well.
Let's start by doing the following cleanup tasks and then try to run through the installation steps again:
NOTE: Some of the following steps may not work for you since the installation may not have been fully successful.
1) Run the uninstaller
sudo /opt/EcoStruxureITGateway/1.22.1.5/uninstall
2) Stop the Services (should already be stopped in your case, but listing just in case):
sudo systemctl stop EcoStruxureITGateway-1.22.1.5.service
sudo systemctl stop EcoStruxureITGateway-db-1.22.1.5.service
3) Disable the Services
sudo systemctl disable EcoStruxureITGateway-1.22.1.5.service
sudo systemctl disable EcoStruxureITGateway-db-1.22.1.5.service
4) Delete the Services
sudo rm /lib/systemd/system/EcoStruxureITGateway-1.22.1.5.service
sudo rm /lib/systemd/system/EcoStruxureITGateway-db-1.22.1.5.service
5) Remove the Backup cron job:
sudo crontab -l | grep -v EcoStruxure | crontab -
6) Delete the install files
sudo rm -r /opt/EcoStruxureITGateway/1.22.1.5
sudo userdel -r gateway
sudo rm -r /home/gateway
sudo rm /etc/logrotate.d/EcoStruxureITGateway
Reinstall the Gateway, following the instructions in the Help Center. I have tested the minimal installation instructions, which should also be able to be used on non-minimal installs as well (from my experience).
Just a note from the installation instructions that may be useful to check before doing the install:
IMPORTANT: The user running the Gateway installer must have file system privileges set to umask 0022. Otherwise, the installer cannot initialize the database.
My example installation that I previously provided was done using the root user, which may have avoided any permissions issues that could have affected install.
Kind Regards,
Cory
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: 2024-08-06 12:24 PM
Cory,
Thank you for your reply. Unfortunately, a backups folder is the only item under /opt/EcoStruxureITGateway, so I could not run the /opt/EcoStruxureITGateway/1.22.1.5/uninstall command
I logged into my VM as the root user.
I tried to run the EcoStruxureITGateway-1.22.1.5-linux-x64.run file again, to see if it might clean up things, but a pop-up came along saying
There has ben an error.
Installation Aborted. The existing installation version 1.22.1.5 is newer or equal this version 1.22.1.5
Aborting ....
What should I try next?
Aubrey
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: 2024-08-08 09:14 AM . Last Modified: 2024-08-08 09:16 AM
Performing all of the actions above should result in a removal of the software and allow you to attempt to reinstall. You may have missed 'sudo userdel -r gateway' but as a precaution, I have outlined some tests below to see if a command didn't successfully run.
If any of the steps below fail, please provide additional details. Beyond these steps, you may need to either reinstall the OS (may be quicker) or work through technical support, unless others in the community can be of further assistance.
Run the following commands:
1. sudo systemctl status EcoStruxureITGateway-1.22.1.5.service
Expected result:
Other result, Perform the following commands:
sudo systemctl stop EcoStruxureITGateway-1.22.1.5.service
sudo systemctl disable EcoStruxureITGateway-1.22.1.5.service
sudo rm /lib/systemd/system/EcoStruxureITGateway-1.22.1.5.service
Run the command in step 1 again to ensure that the expected results are achieved.
2. sudo systemctl status EcoStruxureITGateway-db-1.22.1.5.service
Expected result:
Other result, Perform the following commands:
sudo systemctl stop EcoStruxureITGateway-db-1.22.1.5.service
sudo systemctl disable EcoStruxureITGateway-db-1.22.1.5.service
sudo rm /lib/systemd/system/EcoStruxureITGateway-db-1.22.1.5.service
Run the command in step 2 again to ensure that the expected results are achieved.
3. sudo crontab -l
Expected result: As you mentioned this was a fresh install, you shouldn't have any (or very few) crontabs created. Ensure that are none for EcoStruxure in the list.
Other result, perform the following command:
sudo crontab -l | grep -v EcoStruxure | crontab -
Run the command in step 3 again to ensure that the expected results are achieved.
4. ls /opt/EcoStruxureITGateway/
Expected result:
Other result, perform the following command:
sudo rm -r /opt/EcoStruxureITGateway/1.22.1.5
Run the command in step 4 again to ensure that the expected results are achieved.
5. sudo userdel -r gateway
Expected result:
Other result, perform the following commands:
sudo userdel -r gateway
Run the command in step 5 again to ensure that the expected results are achieved.
6. ls /home/gateway
Expected result:
Other result, perform the following command:
sudo rm -r /home/gateway
Run the command in step 6 again to ensure that the expected results are achieved.
7. ls /etc/logrotate.d/
Expected Result: There should NOT be a EcoStruxureITGateway folder.
If the folder is present, perform the following command:
sudo rm /etc/logrotate.d/EcoStruxureITGateway
Run the command in step 7 again to ensure that the expected results are achieved.
8. Run the installer again. If it fails, you can try providing additional details, but I would also suggest reaching out to technical support to see if someone can assist you beyond these steps.
Regards,
Cory
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: 2024-08-13 02:49 PM
Cory,
I ran the commands as you suggested and was able to run the install again. Since you said you were logged in as root, I used that account to uninstall and re-install the application. I do not think I ever ran sudo userdel -r gateway, so that might have been the missing link. When I ran the install from the console of my VM, for some reason, it did not return to the console when finished. I didn't know if it had installed correctly, so I logged out, and logged in again, and it appears that the services are running.
The webpage on the appliance comes up normally, so I think I am ready to more forward on the installation.
Thanks again !!
AubreyT
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.