Encountered error "setgroups: Not owner" during the startup of Patrol Agent.

Version 1
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PATROL Agent


    PATROL Agent


    PATROL Agent 9.x, 10.x,11.x , BMC Performance Managers for Servers 3.x



    Encountered error "setgroups: Not owner " during the startup of Patrol Agent:


    bmcserv@lawdev:./PatrolAgent -p 3181 -rtserver tcp:vmbmcrsm01:2059
    PatrolAgent V11.0.00i, built at 01:29:37, Jun 27 2007
    Copyright (C) 1997-2007 BMC Software, Inc.

    setgroups: Not owner





    This is generally related to Patrol Agent not configured with setuid root:


    Look for the following message in the Patrol Agent error log ($PATROL_HOME/log/PatrolAgent-<host>-<port>.errs):
    Excerpt from the PatrolAgent error log:


    Thu Nov 13 12:55:25 2008: ID 102059: I: PatrolAgent: "not superuser"


    cd $PATROL_HOME/bin
     ls -l PatrolAgent

    -rwsr-xr-x   1 bmcserv  system      4322325 Oct 31 2007  PatrolAgent


    The correct permission and ownership are:


    -rwsr-xr-x   1 root  system      4322325 Oct 31 2007  PatrolAgent


    Changing the PatrolAgent binary ($PATROL_HOME/bin/PatrolAgent) to setuid root (owned by root with setuid bit turned on) should address this issue. 

    To accomplish this : 

    1) Log in as root
    2) cd <BMC_ROOT>/Patrol3
    3) Execute the command: 
    ./agent_configure -d 
    This will set  permissions on all Patrol Agent binaries that require setuid root.



    Article Number:


    Article Type:

    Solutions to a Product Problem

      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles