System call sent warnings to stderr: pst3:
-
- Posts: 5
- Joined: Fri Jul 12, 2019 10:13 am
System call sent warnings to stderr: pst3:
We are receiving System call sent warnings to stderr: pst3: This program can only be run by the root user! error on Solaris 10 sparc machine while testing the plugin for checking ClearCase process.
We have changed the pst3's ownership to root, still receiving the same error.
We have changed the pst3's ownership to root, still receiving the same error.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: System call sent warnings to stderr: pst3:
Hello @Unixnagios,
Can you post the check command you are using and the full error output from the terminal for us to review. Also, is this only happening for this check command or is this occurring on all of them?
Thanks.
Can you post the check command you are using and the full error output from the terminal for us to review. Also, is this only happening for this check command or is this occurring on all of them?
Thanks.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 5
- Joined: Fri Jul 12, 2019 10:13 am
Re: System call sent warnings to stderr: pst3:
Here is the check command output,
[nagios@usa030043 ~]$ /usr/local/nagios/libexec/check_nrpe -2 -H 13.*.*.* -c check_clearcase -t 60
System call sent warnings to stderr: pst3: This program can only be run by the root user!
And This is happening only with solaris 10 T5-2 zone servers.
[nagios@usa030043 ~]$ /usr/local/nagios/libexec/check_nrpe -2 -H 13.*.*.* -c check_clearcase -t 60
System call sent warnings to stderr: pst3: This program can only be run by the root user!
And This is happening only with solaris 10 T5-2 zone servers.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: System call sent warnings to stderr: pst3:
Hello @Unixnagios,
This is looks like a permission issue with pst3. Try running the plugin as root user from the terminal and let me know if it works.
This is looks like a permission issue with pst3. Try running the plugin as root user from the terminal and let me know if it works.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: System call sent warnings to stderr: pst3:
Also, I came across this blog post which is similar to this issue.
https://little418.com/2009/12/system-ca ... -user.html
https://little418.com/2009/12/system-ca ... -user.html
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 5
- Joined: Fri Jul 12, 2019 10:13 am
Re: System call sent warnings to stderr: pst3:
I can see the same error when executed with root too. Same is the result after changing pst3's permission.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: System call sent warnings to stderr: pst3:
Hello @Unixnagios,
What instructions did you follow to install nrpe on those servers? Please let me know.
Is this happening for any check run on these remote hosts. Are you able to communicate with NRPE on the remote hosts from the Nagios Server?And This is happening only with solaris 10 T5-2 zone servers.
Code: Select all
./check_nrpe -H <ipaddress>
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 5
- Joined: Fri Jul 12, 2019 10:13 am
Re: System call sent warnings to stderr: pst3:
yes, all other checks like check_disk, load, memory, nfs stale woking fine except check_clearcase.
The nrpe package and plugins are pushed to the server through puppet.
The nrpe package and plugins are pushed to the server through puppet.
Re: System call sent warnings to stderr: pst3:
The plugin has to be set to the following owner and group, root.nagios so the plugin can run as the root user.
To set the permissions of the plugin and the pst3 file go to the folder where the plugin is located and and run the following.
Then test the plugin again to see if it works.
To set the permissions of the plugin and the pst3 file go to the folder where the plugin is located and and run the following.
Code: Select all
chown root.nagios check_clearcase
chmod 777 check_clearcase
chmod ug+s check_clearcase
chown root.root pst3
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 5
- Joined: Fri Jul 12, 2019 10:13 am
Re: System call sent warnings to stderr: pst3:
Tried all the given solutions, still getting same error.