Xymon Mailing List Archive search

(TS) New install of 4.3.20 on CentOS 6.6 fping problem

4 messages in this thread

list Tom Schmitt · Fri, 22 May 2015 02:22:24 -0400 ·
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
list Ryan Novosielski · Fri, 22 May 2015 03:20:05 -0400 ·
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 | user-46c89e614701@xymon.invalid<mailto:user-46c89e614701@xymon.invalid>- 973/972.0922 (2x0922)
||  \\  Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark
quoted from Tom Schmitt
    `'

On May 22, 2015, at 02:22, Tom Schmitt <user-6bdb181ad4fe@xymon.invalid<mailto:user-6bdb181ad4fe@xymon.invalid>> 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
list Henrik Størner · Fri, 22 May 2015 09:29:08 +0200 ·
quoted from Tom Schmitt
 
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
list Tom Schmitt · Fri, 22 May 2015 14:09:19 -0400 ·
Thanks the SUID on fping did the trick!
Tom Schmitt
quoted from Henrik Størner

On Fri, May 22, 2015 at 3:29 AM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> 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