Ansible installer tomcat installation issue

31 views
Skip to first unread message

gi...@shaw.ca

unread,
Jun 10, 2024, 1:56:22 PMJun 10
to islandora
Hi folks,

the ansible installer seems to be reliably failing when attempting to start Tomcat at the very end of the "true" command.
A similar error occurs at the end of the "false" command. It did this 3 times in a row- twice last week and once today...
This eventually leads to errors being reported in the system status section later...
--------------------------------------------------
TASK [Islandora-Devops.tomcat : start tomcat9] ******************************************************************************************************************************************
Monday 10 June 2024  10:47:55 -0700 (0:00:01.371)       0:31:33.950 ***********
fatal: [default]: FAILED! => {"changed": false, "msg": "Unable to start service tomcat9: Job for tomcat9.service failed because the control process exited with error code.\nSee \"systemctl status tomcat9.service\" and \"journalctl -xeu tomcat9.service\" for details.\n"}
-----------------------------------------------------
systemctl status tomcat9.service
× tomcat9.service - Apache Tomcat 9 Web Application Server
     Loaded: loaded (/lib/systemd/system/tomcat9.service; enabled; vendor preset: enabled)
    Drop-In: /etc/systemd/system/tomcat9.service.d
             └─override.conf
     Active: failed (Result: exit-code) since Mon 2024-06-10 10:47:56 PDT; 5min ago
       Docs: https://tomcat.apache.org/tomcat-9.0-doc/index.html
    Process: 32857 ExecStartPre=/usr/libexec/tomcat9/tomcat-update-policy.sh (code=exited, status=226/NAMESPACE)
        CPU: 5ms

Jun 10 10:47:56 islandora3 systemd[1]: Starting Apache Tomcat 9 Web Application Server...
Jun 10 10:47:56 islandora3 systemd[32857]: tomcat9.service: Failed to set up mount namespacing: /run/systemd/unit-root/>
Jun 10 10:47:56 islandora3 systemd[32857]: tomcat9.service: Failed at step NAMESPACE spawning /usr/libexec/tomcat9/tomc>
Jun 10 10:47:56 islandora3 systemd[1]: tomcat9.service: Control process exited, code=exited, status=226/NAMESPACE
Jun 10 10:47:56 islandora3 systemd[1]: tomcat9.service: Failed with result 'exit-code'.
Jun 10 10:47:56 islandora3 systemd[1]: Failed to start Apache Tomcat 9 Web Application Server.
-----------------------------------------------
░░ A start job for unit tomcat9.service has begun execution.
░░
░░ The job identifier is 5210.
Jun 10 10:47:56 islandora3 systemd[32857]: tomcat9.service: Failed to set up mount namespacing: /run/systemd/unit-root/>
Jun 10 10:47:56 islandora3 systemd[32857]: tomcat9.service: Failed at step NAMESPACE spawning /usr/libexec/tomcat9/tomc>
░░ Subject: Process /usr/libexec/tomcat9/tomcat-update-policy.sh could not be executed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The process /usr/libexec/tomcat9/tomcat-update-policy.sh could not be executed and failed.
░░
░░ The error number returned by this process is ERRNO.
Jun 10 10:47:56 islandora3 systemd[1]: tomcat9.service: Control process exited, code=exited, status=226/NAMESPACE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStartPre= process belonging to unit tomcat9.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 226.
Jun 10 10:47:56 islandora3 systemd[1]: tomcat9.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit tomcat9.service has entered the 'failed' state with result 'exit-code'.
Jun 10 10:47:56 islandora3 systemd[1]: Failed to start Apache Tomcat 9 Web Application Server.
░░ Subject: A start job for unit tomcat9.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit tomcat9.service has finished with a failure.
░░
░░ The job identifier is 5210 and the job result is failed.

There is a reference to namespace in the journal so this may be related to the recent namespace change...

Thanks

Message has been deleted

gi...@shaw.ca

unread,
Jun 10, 2024, 3:11:39 PMJun 10
to islandora
Further to my earlier message there are now two warnings that never occurred in the past after a fresh build....FITS and Mirador-related. 

Thanks.

Error.png
Message has been deleted

gi...@shaw.ca

unread,
Jun 11, 2024, 1:25:50 PMJun 11
to islandora
And a third message that appears. Tomcat runs fine 8080 though...

Thanks


Untitled.png
Reply all
Reply to author
Forward
0 new messages