Translated message

A translation of this page exists in English.

エラーメッセージ「New main PID does not belong to service, and PID file is not owned by root. Refusing」が表示され、サービスを開始できない

Solution Verified - Updated -

Issue

  • RHEL 7.7 へのアップグレード以降、プロパティー Type=forking および プロパティー PIDFile が定義されたサービスは開始されず、そのステータスに以下のエラーメッセージが表示されます。

    <timestamp> <hostname> myservice[<PID>]: Starting myservice
    <timestamp> <hostname> myservice[<PID>]: myservice started.
    <timestamp> <hostname> systemd[1]: New main PID <PID> does not belong to service, and PID file is not owned by root. Refusing.
    <timestamp> <hostname> systemd[1]: New main PID <PID> does not belong to service, and PID file is not owned by root. Refusing.
    <timestamp> <hostname> systemd[1]: Failed to start myservice.
    <timestamp> <hostname> systemd[1]: Unit myservice.service entered failed state.
    <timestamp> <hostname> systemd[1]: myservice.service failed.
    

Environment

  • Red Hat Enterprise Linux 7.7 以降
    • systemd-219-67
  • Red Hat Enterprise Linux 8
    • systemd-239

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content