Knowledge Partner
Knowledge Partner
68 views

iManager 3.1.4 vs. SystemD on RedHat

Normally I work with SLES, but $client wants RedHat, so ...

Have iManager 3.1.4 installed on RedHat. Seems to be 7.7?

NAME="Red Hat Enterprise Linux Server"
VERSION="7.7 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.7"
PRETTY_NAME="Red Hat Enterprise Linux"

 

systemctl start novell-tomcat8-service
Job for novell-tomcat8-service.service failed because a configured resource limit was exceeded. See "systemctl status novell-tomcat8-service.service" and "journalctl -xe" for details.

 

It seems that the tomcat process actually starts ok, and using iManager works fine. But I really dislike having a "systemctl start foo" showing error message about "foo" failing to start.

[root@hostname ~]# systemctl status novell-tomcat8-service
? novell-tomcat8-service.service - IManager Tomcat8 service
Loaded: loaded (/usr/lib/systemd/system/novell-tomcat8-service.service; enabled; vendor preset: disabled)
Active: failed (Result: resources) since Thu 2019-08-22 16:16:21 CDT; 3min 18s ago
Process: 85485 ExecStart=/etc/opt/novell/tomcat8/init.d/tomcat8 start (code=exited, status=0/SUCCESS)

Aug 22 16:16:21 hostname.clientname.com systemd[1]: Starting IManager Tomcat8 service...
Aug 22 16:16:21 hostname.clientname.com su[85489]: (to novlwww) root on none
Aug 22 16:16:21 hostname.clientname.com tomcat8[85485]: Starting tomcat8: Tomcat started.
Aug 22 16:16:21 hostname.clientname.com systemd[1]: New main PID 85520 does not belong to service, and PID file is not own...sing.
Aug 22 16:16:21 hostname.clientname.com systemd[1]: New main PID 85520 does not belong to service, and PID file is not own...sing.
Aug 22 16:16:21 hostname.clientname.com systemd[1]: Failed to start IManager Tomcat8 service.
Aug 22 16:16:21 hostname.clientname.com systemd[1]: Unit novell-tomcat8-service.service entered failed state.
Aug 22 16:16:21 hostname.clientname.com systemd[1]: novell-tomcat8-service.service failed.

85520 is the right PID, but the PID file (/var/run/novell-tomcat8.pid) does not exist.

Looking at /var/run, it's a symlink to /run:

dr-xr-x---. 20 root root 4096 Aug 22 16:30 root

And novlwww user can't therefor create files in it.

Is this supposed to work?

 

Labels (2)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.