Unisphere for PowerMax: SMAS deployment failure post installation with error "Failed to deploy common-em0.ear"
Summary:
SMAS deployment failure post installation with error "Failed to deploy common-em0.ear" Caused by: org.postgresql.util.PSQLException: FATAL: invalid value for parameter \"TimeZone\":
\"\""}}}}}}}}}}}}
...
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
Unable to launch Unisphere after installation as the deployment is failing with errors “Failed to deploy common-em0.ear"
Installation is fine without errors but after installation SMAS never comes up.
Pre-requisites looks good:
2021-06-03 16:07:39,972 INFO [com.emc.em.deployer.ServerManagerService] (EJB default - 1) ServerManagerService.getLine(): Caused by: org.postgresql.util.PSQLException: FATAL: invalid value for parameter \"TimeZone\": \"time_zone\""}}}}}}}}}}}}
2021-06-03 16:07:40,299 INFO [com.emc.em.deployer.ServerManagerService] (EJB default - 1) ServerManagerService.attemptDeployingArchive(): Error stream common-em0.ear
2021-06-03 16:07:40,301 ERROR [com.emc.em.deployer.ServerManagerService] (EJB default - 1) ServerManagerService.attemptDeployingArchive(): Failed to deploy common-em0.ear with exit value 1
2021-06-03 16:07:40,304 ERROR [com.emc.em.deployer.ServerManagerService] (EJB default - 1) ServerManagerService.deployArchive(): failed to attempt deploying with controller status failed
2021-06-03 16:07:40,304 ERROR [com.emc.em.deployer.DeployService] (EJB default - 1) DeployService.deployArchive(): Failed to deploy common-em0.ear
2021-06-03 16:07:40,305 ERROR [com.emc.em.deployer.DeployService] (EJB default - 1) DeployService.deployArchives(): Failed to deploy archive common-em
2021-06-03 16:07:40,305 ERROR [com.emc.em.deployer.DeployService] (EJB default - 1) DeployService.deploy(): Failed to deploy: com.emc.em.deployer.DeployServiceException: Failed to deploy common-em0.ear
Following was also tried while troubleshooting the issue:
postgres:x:1001:1001::/home/postgres:/bin/bash
[root@redhat ~]# cat /etc/group |grep postgres
postgres:x:1001:
Installation is fine without errors but after installation SMAS never comes up.
Pre-requisites looks good:
- Appropriate version of symcli installed
- Symcfg discover successful
- Hosts file configured fine
- RAM and Disk space appropriate
- OS is compatible as per Elabnavigator
2021-06-03 16:07:39,972 INFO [com.emc.em.deployer.ServerManagerService] (EJB default - 1) ServerManagerService.getLine(): Caused by: org.postgresql.util.PSQLException: FATAL: invalid value for parameter \"TimeZone\": \"time_zone\""}}}}}}}}}}}}
2021-06-03 16:07:40,299 INFO [com.emc.em.deployer.ServerManagerService] (EJB default - 1) ServerManagerService.attemptDeployingArchive(): Error stream common-em0.ear
2021-06-03 16:07:40,301 ERROR [com.emc.em.deployer.ServerManagerService] (EJB default - 1) ServerManagerService.attemptDeployingArchive(): Failed to deploy common-em0.ear with exit value 1
2021-06-03 16:07:40,304 ERROR [com.emc.em.deployer.ServerManagerService] (EJB default - 1) ServerManagerService.deployArchive(): failed to attempt deploying with controller status failed
2021-06-03 16:07:40,304 ERROR [com.emc.em.deployer.DeployService] (EJB default - 1) DeployService.deployArchive(): Failed to deploy common-em0.ear
2021-06-03 16:07:40,305 ERROR [com.emc.em.deployer.DeployService] (EJB default - 1) DeployService.deployArchives(): Failed to deploy archive common-em
2021-06-03 16:07:40,305 ERROR [com.emc.em.deployer.DeployService] (EJB default - 1) DeployService.deploy(): Failed to deploy: com.emc.em.deployer.DeployServiceException: Failed to deploy common-em0.ear
Following was also tried while troubleshooting the issue:
- Messages logs doesn’t have any significant errors which might contribute to this situation
- In customer environment, I tried changing the time zone to EST and did a fresh install which too failed with same error
- Tried installing it under default/non-default location still it failed with the same error.
- Postgres permissions looks good i.e., The below commands returns appropriate results
postgres:x:1001:1001::/home/postgres:/bin/bash
[root@redhat ~]# cat /etc/group |grep postgres
postgres:x:1001:
- A repro in another RHEL worked absolutely fine
Cause
Finally the following error were found in postgres.log which indicates that "/opt/emc/SMAS/jboss/standalone/data/pgsql/share/postgresql/timezone" doesn't have appropriate permission.
2021-06-03 15:07:39 GMT:127.0.0.1(40294):smasinfra@common:[4167]:LOG: could not open directory "/opt/emc/SMAS/jboss/standalone/data/pgsql/share/postgresql/timezone": Permission denied
2021-06-03 15:07:39 GMT:127.0.0.1(40294):smasinfra@common:[4167]:FATAL: invalid value for parameter "TimeZone": "time_zone"
2021-06-03 15:07:39 GMT:127.0.0.1(40296):smasinfra@common:[4168]:LOG: could not open directory "/opt/emc/SMAS/jboss/standalone/data/pgsql/share/postgresql/timezone": Permission denied
2021-06-03 15:07:39 GMT:127.0.0.1(40296):smasinfra@common:[4168]:FATAL: invalid value for parameter "TimeZone": "time_zone"
2021-06-03 15:07:39 GMT:127.0.0.1(40298):smasinfra@common:[4169]:LOG: could not open directory "/opt/emc/SMAS/jboss/standalone/data/pgsql/share/postgresql/timezone": Permission denied
2021-06-03 15:07:39 GMT:127.0.0.1(40298):smasinfra@common:[4169]:FATAL: invalid value for parameter "TimeZone": "time_zone"
2021-06-03 15:07:39 GMT:127.0.0.1(40300):smasinfra@common:[4171]:LOG: could not open directory "/opt/emc/SMAS/jboss/standalone/data/pgsql/share/postgresql/timezone": Permission denied
2021-06-03 15:07:39 GMT:127.0.0.1(40300):smasinfra@common:[4171]:FATAL: invalid value for parameter "TimeZone": "time_zone"
2021-06-03 15:07:39 GMT:127.0.0.1(40294):smasinfra@common:[4167]:LOG: could not open directory "/opt/emc/SMAS/jboss/standalone/data/pgsql/share/postgresql/timezone": Permission denied
2021-06-03 15:07:39 GMT:127.0.0.1(40294):smasinfra@common:[4167]:FATAL: invalid value for parameter "TimeZone": "time_zone"
2021-06-03 15:07:39 GMT:127.0.0.1(40296):smasinfra@common:[4168]:LOG: could not open directory "/opt/emc/SMAS/jboss/standalone/data/pgsql/share/postgresql/timezone": Permission denied
2021-06-03 15:07:39 GMT:127.0.0.1(40296):smasinfra@common:[4168]:FATAL: invalid value for parameter "TimeZone": "time_zone"
2021-06-03 15:07:39 GMT:127.0.0.1(40298):smasinfra@common:[4169]:LOG: could not open directory "/opt/emc/SMAS/jboss/standalone/data/pgsql/share/postgresql/timezone": Permission denied
2021-06-03 15:07:39 GMT:127.0.0.1(40298):smasinfra@common:[4169]:FATAL: invalid value for parameter "TimeZone": "time_zone"
2021-06-03 15:07:39 GMT:127.0.0.1(40300):smasinfra@common:[4171]:LOG: could not open directory "/opt/emc/SMAS/jboss/standalone/data/pgsql/share/postgresql/timezone": Permission denied
2021-06-03 15:07:39 GMT:127.0.0.1(40300):smasinfra@common:[4171]:FATAL: invalid value for parameter "TimeZone": "time_zone"
Resolution
Appropriate permission was provided by Linux admin to "/opt/emc/SMAS/jboss/standalone/data/pgsql/share/postgresql/timezone" and SMAS was started fine.
Affected Products
Unisphere for PowerMaxArticle Properties
Article Number: 000188533
Article Type: Solution
Last Modified: 02 Nov 2021
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.