(TS) New install of 4.3.20 on CentOS 6.6 fping problem
I just installed 4.3.20 on CentOS 6.6 'xymonnet' is RED on the server
The message is /usr/local/sbin/fping -Ae failed with error-code 4 /usr/local/sbin/fping: can't create raw socket (must be run as root?): operation not permitted
The permissions for fping in the directory are: -rwxr-xr-x. root root fping
Where is 'fping' called in xymon? Should I just use the xymon ping - if so, do I have to reinstall or is there an easy way to change over to it?
I previously (last week) installed 4.3.19 on CentOS 6.6 (also running Asterisk/PBX-in-a-Flash see earlier discussions) with no such problems. So I changed out the HDD and started from scratch with the latest version to have the latest patches installed.
I again followed the same CentOS installation script install.html on sourceforge.net.
Not much use without the 'pinging'.
Thanks Tom Schmitt
I'm pretty sure that program needs to be setuid root. Googling for that and fping and Xymon should turn up some more info.
____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences* || \\UTGERS |---------------------*O*--------------------- ||_// Biomedical | Ryan Novosielski - Senior Technologist || \\ and Health | novosirj at rutgers.edu<mailto:novosirj at rutgers.edu>- 973/972.0922 (2x0922) || \\ Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark `'
On May 22, 2015, at 02:22, Tom Schmitt <dtsmon at gmail.com<mailto:dtsmon at gmail.com>> wrote:
I just installed 4.3.20 on CentOS 6.6 'xymonnet' is RED on the server
The message is /usr/local/sbin/fping -Ae failed with error-code 4 /usr/local/sbin/fping: can't create raw socket (must be run as root?): operation not permitted
The permissions for fping in the directory are: -rwxr-xr-x. root root fping
Where is 'fping' called in xymon? Should I just use the xymon ping - if so, do I have to reinstall or is there an easy way to change over to it?
I previously (last week) installed 4.3.19 on CentOS 6.6 (also running Asterisk/PBX-in-a-Flash see earlier discussions) with no such problems. So I changed out the HDD and started from scratch with the latest version to have the latest patches installed.
I again followed the same CentOS installation script install.html on sourceforge.net<http://sourceforge.net>.
Not much use without the 'pinging'.
Thanks Tom Schmitt
Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
Den 2015-05-22 08:22, Tom Schmitt skrev:
I just installed 4.3.20 on CentOS 6.6 'xymonnet' is RED on the server
The message is /usr/local/sbin/fping -Ae failed with error-code 4
/usr/local/sbin/fping: can't create raw socket (must be run as root?): operation not permitted
The permissions for fping in the directory
are:
-rwxr-xr-x. root root fping
chmod u+s /usr/local/sbin/fping
to make it suid-root. If that doesn't do it, then there may be some CentOS SELinux settings?
Regards, Henrik
Thanks the SUID on fping did the trick! Tom Schmitt
On Fri, May 22, 2015 at 3:29 AM, Henrik Størner <henrik at hswn.dk> wrote:
Den 2015-05-22 08:22, Tom Schmitt skrev:
I just installed 4.3.20 on CentOS 6.6 'xymonnet' is RED on the server
The message is /usr/local/sbin/fping -Ae failed with error-code 4 /usr/local/sbin/fping: can't create raw socket (must be run as root?): operation not permitted
The permissions for fping in the directory are: -rwxr-xr-x. root root fping
chmod u+s /usr/local/sbin/fping
to make it suid-root. If that doesn't do it, then there may be some CentOS SELinux settings?
Regards, Henrik
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
participants (3)
-
dtsmon@gmail.com
-
henrik@hswn.dk
-
novosirj@ca.rutgers.edu