Error running one or more ESM modules on newly installed UNIX\Linux ESM agent.

Article:TECH185459  |  Created: 2012-03-30  |  Updated: 2012-03-30  |  Article URL http://www.symantec.com/docs/TECH185459
Article Type
Technical Solution

Product(s)

Environment

Problem



Running most, if not all, ESM modules and checks results in an error about not being able to run the modules


Error



Error running one or more modules when running modules on newly installed ESM  UNIX\Linux agent.


Cause



ESM agent must be installed on UNIX\Linux machines while logged in as root with the root shell.  Using SUDO commands can cause this issue. 

 


Solution



TEST:  Login to the ESM  agent machine as root or change to root with the "SU -" command to ensure that you are in the root shell.  Stop the ESM agent by running the /esm/esmrc stop     command.  Restart the agent using the /esm/esmrc start      command.  This manually brings the esmd daemon up with root authority and shell.  Test if policy runs now work correctly.  If so then the esmd daemon is launching without full root authority and\or in the root shell.  This can be due to installation of the agent while not logged in with the root ID and full root shell.  Using SUDO when installing the agent can often cause this issue.

FIX:  Uninstall the ESM agent by running the /esm/deinstallation  script while logged in as root.  Use the "SU - " command to make sure to login as root with the root shell.  Reinstall the ESM agent.  This should ensure that the esmd daemon is launching with root authority and has access to the root shell environment.




Article URL http://www.symantec.com/docs/TECH185459


Terms of use for this information are found in Legal Notices