article up.time agent daemon error: permission denied

The following error typically occurs when an agent on a Solaris or Linux system is not returning data or can not be added to up.time:

uptime agent daemon.error: Permission denied

This problem may also be detected by the presence of the following log message in the /var/adm/messages or /var/log/messages files:

 

Oct 30 10:48:07 hostname inetd[6402]: [ID 388736 daemon.error] execv /opt/uptime-agent/bin/uptmagnt: Permission denied

 

This error is generally caused by inetd attempting to run the uptmagnt binary as one user when the binary is owned by another user.  In the example above, we can find that the /opt/uptime-agent/bin/uptmagnt file is owned by nobody:

 

# ls -l /opt/uptime-agent/bin/uptmagnt -rwxr--r-- 1 nobody nobody 62736 Oct 2 16:08 uptmagnt

 

However, the inted.conf file shows that the uptmagnt is to be run as the uptime user:

 

# grep uptmagnt /etc/inetd.conf

# *** Installed by the up.time pkgadd command (uptmagnt) uptmagnt stream tcp nowait uptime /opt/uptime-agent/bin/uptmagnt

 

By changing the inetd.conf line to run the uptmagnt as nobody instead of uptime and then restarting inetd, the agent should start responding normally.

Related Articles


Resolving uptimeagent Daemon Messages

RatingViews
article

By: uptime Support | Date Created: 6-13-2006 | Last Modified: 10-28-2011 | Index: 081

  5675

Linux agent daemon IP security

RatingViews
article

The up.time Linux agent has a built in daemon option to allow users to run the up.time agent without (x)inetd installed on their server. The daemon allows access to be restricted to a specific...

By: uptime Support | Date Created: 10-10-2009 | Last Modified: 8-10-2011 | Index: 404

  2059

Agent does not start in daemon mode on SLES

RatingViews
article

Review this solution if you run the up.time Linux agent in Daemon mode on a SUSE platform, followed the instructions below  to add the 2 links and observe that the up.time agent does not start up...

By: uptime Support | Date Created: 1-17-2012 | Last Modified: 3-7-2013 | Index: 574

  2627

Problems adding an Agent to up.time

RatingViews
article

By: uptime Support | Date Created: 6-15-2006 | Last Modified: 8-9-2011 | Index: 083

  7943

HP-UX agent showing uptmagnt agent: Exec format error

RatingViews
article

This error typically appears when the architecture of the installed up.time agent doesn't match the architecture of the HP-UX host. HP-UX agents are available in both Itanium2 and PA-RISC...

By: uptime Support | Date Created: 8-10-2010 | Last Modified: 8-10-2011 | Index: 472

  2203

User Comments



No comments have been posted.

Copyright © 2021 IDERA, Inc.   Legal   Privacy Statement