I noticed that on my RHEL 7 server on GCP, my enabled services (such as the test.service) will only start if I kill the multi-user.target service using systemctl. Would there be any reason the multi-user.target would hang things?
1 Answer
I guess you misunderstand what is shown there.
google-startup-scripts.serviceis blocking everything.test.serviceis waiting formulti-user.target(without a hard dependency i.e. withWants=or without dependency and with ordering only).Stopping the job for
multi-user.targetallows all processes which are waiting for it without requiring it to continue (those with a requirement fail).
Killing / stopping google-startup-scripts.service would be the better approach. Check why this does not finish.
-
You were right - it was the startup script. What's strange though, is that this startup script only recently started to do this. The startup script is supposed to launch Charles Proxy in the background...which it does, but looks like now, it starts to hang and block other services from executing.ThanoojJ– ThanoojJ2025-01-23 04:52:23 +00:00Commented Jan 23 at 4:52
-
@ThanoojJ Then you should accept this answer so that people do not assume this question is still unanswered.Hauke Laging– Hauke Laging2025-01-23 09:12:14 +00:00Commented Jan 23 at 9:12
