Home > OS >  SpringBoot project service management system
SpringBoot project service management system

Time:02-26

My springBoot project is compiled jar in CentOS7 system, making the system services in the directory/usr/lib/systemd/system, the code below

Then use systemctl start whitert start the project, have to wait a long time the following message:
Job for whitert. The service failed because the control process exited with the error code. See "systemctl status whitert. Service" and "journalctl - xe" for details.
Then: ps - ef | grep whitert see service is started up, and send a get request is successful in the browser to get the data for the
Execute the command systemctl status whitert. Service check showing effect is as follows:

Execute the command journalctl - xe display effect is as follows:


Finally service is up and running, but what is this error message problem, how to solve the

==================================
Then try, in a directory/etc/PAM. A file system of d - auth
Is modified to the following figure

And then restart the SSHD still appear the above problems, is now restart centos server, wait for the results
====on February 25, 2021 14:34:36=============
Restart the CentOS, and then systemctl start whitert remains above question

CodePudding user response:

Try Type=simple
Forking into simple
  • Related