HI,

I've been using the following service to control our catalane server for the 
past few years now.
After upgrading OS to RHEL 7.8 , the service fails to start.
I'm usually creating a basic user (cfrm) to run Catalina but I've also tried 
with root and received the same exception.
I know that  something was changed in systemd but I can't figure out how to fix 
this.
Any help will be appreciated.

[Unit]
Description=cfrmic
[Service]
User=cfrm
Environment=JAVA_HOME=$JAVA_HOME
PIDFile=/opt/ic/Appserver/logs/tomcat.pid
WorkingDirectory=/opt/ic
Type=forking
ExecStart=/opt/ic/manager.sh start
ExecStop=/opt/ic/manager.sh stop
TimeoutStartSec=60
TimeoutStopSec=180

[Install]
WantedBy=multi-user.target



Journalctl -xe -->

May 05 04:45:13 US02VLAPP8519 systemd[1]: Starting cfrmic...
-- Subject: Unit cfrmic.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cfrmic.service has begun starting up.
May 05 04:45:13 US02VLAPP8519 su[2249]: pam_unix(su-l:auth): auth could not 
identify password for [cfrm]
May 05 04:45:13 US02VLAPP8519 su[2249]: pam_sss(su-l:auth): authentication 
failure; logname= uid=1001 euid=0 tty= ruser=cfrm rhost= user=cfrm
May 05 04:45:13 US02VLAPP8519 su[2249]: pam_sss(su-l:auth): received for user 
cfrm: 10 (User not known to the underlying authentication module)
May 05 04:45:13 US02VLAPP8519 su[2249]: FAILED SU (to cfrm) cfrm on none
May 05 04:45:14 US02VLAPP8519 manager.sh[2248]: Password: su: Authentication 
failure
May 05 04:45:14 US02VLAPP8519 systemd[1]: cfrmic.service: control process 
exited, code=exited status=1
May 05 04:45:14 US02VLAPP8519 systemd[1]: Failed to start cfrmic.
-- Subject: Unit cfrmic.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cfrmic.service has failed.
--
-- The result is failed.
May 05 04:45:14 US02VLAPP8519 systemd[1]: Unit cfrmic.service entered failed 
state.
May 05 04:45:14 US02VLAPP8519 systemd[1]: cfrmic.service failed.
May 05 04:45:14 US02VLAPP8519 polkitd[841]: Unregistered Authentication Agent 
for unix-process:2242:54597 (system bus name :1.35, object path 
/org/freedesktop/PolicyKit1/AuthenticationAgent, lo
lines 2301-2360/2360 (END)

Thanks,

Nimo
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to