From: Schwimmer, E. E *H. <EE...@hs...> - 2006-02-28 03:08:51
|
Hrm. Well, the fork code is pretty generic; its almost verbatim=20 out of the OReilly "camel" book. =20 There might be some RHEL weirdness that I havent run in to yet,=20 I'll play around with the fork code on our RHEL box and see if I=20 can duplicate the problem. =20 For now I'd just run it with the -f flag and background it with=20 a '&' (assuming that works). The bigip template is built for the newer bigip boxen, which run on a linux kernel. We've only got a couple of them, and the snmp get that you get from them is not always reliable :( -Eric -----Original Message----- From: dev...@li... on behalf of Aiello, = Steve (GE, Corporate, consultant) Sent: Mon 2/27/2006 7:53 PM To: dev...@li... Subject: RE: [Devmon] Inappropriate ioctl for device =20 I am experiencing the same issue of: "Can't fork: Inappropriate ioctl for device". Also I am testing against an old BigIP (4.2 PTF 9), and the Connects test is not coming up with valid data. It displays as: Connection statistics: Active connections: Active client connections : Unknown Active server connections : Unknown Active pva client connections : Unknown Active pva server connections : Unknown Active ssl native connections : Unknown Active ssl compat connections : Unknown Total active connections : No data New Connections: New client connections/sec : No data New server connections/sec : No data New pva client connections/sec : No data New pva server connections/sec : No data New ssl native connections/sec : No data New ssl compat connections/sec : No data Total new connections : Bad data Throughput: Client bits in/sec : Bad data Client bits out/sec : Bad data Server bits in/sec : Bad data Server bits out/sec : Bad data Http connections: Total http requests : Unknown Http requests/sec : No data Devmon.log logs the following: [06-02-27@19:44:38] No SNMP data found for ramCacheUtil on F5-BigIP.host.com [06-02-27@19:44:38] No SNMP data found for clientBytesOut on F5-BigIP.host.com [06-02-27@19:44:38] No SNMP data found for pvaClientTotCon on F5-BigIP.host.com [06-02-27@19:44:38] No SNMP data found for memUsed on F5-BigIP.host.com [06-02-27@19:44:38] No SNMP data found for sslNativeTotCon on F5-BigIP.host.com [06-02-27@19:44:38] No SNMP data found for sslCompatCurCon on F5-BigIP.host.com [06-02-27@19:44:38] No SNMP data found for serverBytesIn on F5-BigIP.host.com [06-02-27@19:44:38] No SNMP data found for pvaServerCurCon on F5-BigIP.host.com [06-02-27@19:44:38] No SNMP data found for sslCompatTotCon on F5-BigIP.host.com [06-02-27@19:44:38] No SNMP data found for clientTotCon on F5-BigIP.host.com [06-02-27@19:44:38] No SNMP data found for serverBytesOut on F5-BigIP.host.com [06-02-27@19:44:38] No SNMP data found for clientBytesIn on F5-BigIP.host.com [06-02-27@19:44:38] No SNMP data found for httpReqs on F5-BigIP.host.com [06-02-27@19:44:38] No SNMP data found for serverCurCon on F5-BigIP.host.com [06-02-27@19:44:38] No SNMP data found for sslNativeCurCon on F5-BigIP.host.com [06-02-27@19:44:38] No SNMP data found for pvaClientCurCon on F5-BigIP.host.com [06-02-27@19:44:38] No SNMP data found for clientCurCon on F5-BigIP.host.com [06-02-27@19:44:38] No SNMP data found for pvaServerTotCon on F5-BigIP.host.com [06-02-27@19:44:38] No SNMP data found for serverTotCon on F5-BigIP.host.com [06-02-27@19:44:38] Cant find snmp data for pvaClientTotCon on F5-BigIP.host.com [06-02-27@19:44:38] Cant find snmp data for clientBytesOut on F5-BigIP.host.com [06-02-27@19:44:38] Cant find snmp data for clientTotCon on F5-BigIP.host.com [06-02-27@19:44:38] Cant find snmp data for serverTotCon on F5-BigIP.host.com [06-02-27@19:44:38] Cant find snmp data for pvaServerTotCon on F5-BigIP.host.com [06-02-27@19:44:38] Cant find snmp data for sslNativeTotCon on F5-BigIP.host.com [06-02-27@19:44:38] Cant find snmp data for sslCompatTotCon on F5-BigIP.host.com [06-02-27@19:44:38] Data type mismatch for clientNewCon on F5-BigIP.host.com: 'No data' does not match regex '^[-+]?\d+(\.\d+)?$' [06-02-27@19:44:38] Data type mismatch for serverNewCon on F5-BigIP.host.com: 'No data' does not match regex '^[-+]?\d+(\.\d+)?$' [06-02-27@19:44:38] Data type mismatch for pvaClientNewCon on F5-BigIP.host.com: 'No data' does not match regex '^[-+]?\d+(\.\d+)?$' [06-02-27@19:44:38] Data type mismatch for pvaServerNewCon on F5-BigIP.host.com: 'No data' does not match regex '^[-+]?\d+(\.\d+)?$' [06-02-27@19:44:38] Data type mismatch for sslNativeNewCon on F5-BigIP.host.com: 'No data' does not match regex '^[-+]?\d+(\.\d+)?$' [06-02-27@19:44:38] Data type mismatch for sslCompatNewCon on F5-BigIP.host.com: 'No data' does not match regex '^[-+]?\d+(\.\d+)?$' [06-02-27@19:44:38] Data type mismatch for clientBitsOut on F5-BigIP.host.com: 'No data' does not match regex '^[-+]?\d+(\.\d+)?$' [06-02-27@19:44:38] Cant find snmp data for clientCurCon on F5-BigIP.host.com [06-02-27@19:44:38] Cant find snmp data for serverCurCon on F5-BigIP.host.com [06-02-27@19:44:38] Cant find snmp data for pvaClientCurCon on F5-BigIP.host.com [06-02-27@19:44:38] Cant find snmp data for pvaServerCurCon on F5-BigIP.host.com [06-02-27@19:44:38] Cant find snmp data for sslNativeCurCon on F5-BigIP.host.com [06-02-27@19:44:38] Cant find snmp data for sslCompatCurCon on F5-BigIP.host.com [06-02-27@19:44:38] Cant find snmp data for serverBytesOut on F5-BigIP.host.com [06-02-27@19:44:38] Cant find snmp data for clientBytesIn on F5-BigIP.host.com [06-02-27@19:44:38] Data type mismatch for clientBitsIn on F5-BigIP.host.com: 'No data' does not match regex '^[-+]?\d+(\.\d+)?$' [06-02-27@19:44:38] Cant find snmp data for httpReqs on F5-BigIP.host.com [06-02-27@19:44:38] Data type mismatch for serverBitsOut on F5-BigIP.host.com: 'No data' does not match regex '^[-+]?\d+(\.\d+)?$' [06-02-27@19:44:38] Cant find snmp data for serverBytesIn on F5-BigIP.host.com [06-02-27@19:44:38] Data type mismatch for serverBitsIn on F5-BigIP.host.com: 'No data' does not match regex '^[-+]?\d+(\.\d+)?$' > -----Original Message----- > From: dev...@li...=20 > [mailto:dev...@li...] On Behalf=20 > Of Schwimmer, Eric E *HS > Sent: Monday, February 27, 2006 5:24 PM > To: dev...@li... > Subject: RE: [Devmon] Inappropriate ioctl for device >=20 >=20 >=20 > Okay, engaging 'wild guessing' mode. >=20 > Did you, by any chance, compile your own gcc on this machine?=20 > If not, are you running the latest and greatest gcc=20 > (3.2.3-53) on it? After browsing online for a bit apparently=20 > some people on RHEL3 had a problem applications balking at=20 > forks with that error. >=20 > Have you tried running devmon in the foreground (./devmon -vv=20 > -f)? If that works, try suspending it and resuming it in the=20 > background. (^Z and then "bg"). If that works, I guess you=20 > could bypass Devmon's fork subroutine by asking it to run in=20 > the foreground, but causing your shell to background it, ie: >=20 > myhost# ./devmon -f & >=20 > -Eric Schwimmer > Network Engineer > UVA HSCS Network Engineering =20 >=20 > > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...] On Behalf=20 > > Of Craig Boyce > > Sent: Monday, February 27, 2006 4:50 PM > > To: dev...@li... > > Subject: RE: [Devmon] Inappropriate ioctl for device > >=20 > > Hi Eric, > >=20 > > I do not have SELinux. > > I am running it as root for now. > > The only entries in messages is the Inappropriate ioctl for device=20 > > messages. > >=20 > > Craig > >=20 > > -----Original Message----- > > From: Schwimmer, Eric E *HS [mailto:EE...@hs...] > > Sent: Tuesday, 28 February 2006 8:43 a.m. > > To: Craig Boyce > > Subject: RE: [Devmon] Inappropriate ioctl for device > >=20 > >=20 > >=20 > > Strange; I've tested it on an RE2 box and it worked okay. > >=20 > > A few more questions: > > Is this machine running SELinux? > > What user are you running Devmon as? =20 > > Are there any odd messages in the /var/log/messages file? =20 > >=20 > > -Eric > >=20 > > > -----Original Message----- > > > From: dev...@li... > > > [mailto:dev...@li...] On Behalf > > > Of Craig Boyce > > > Sent: Monday, February 27, 2006 2:07 PM > > > To: dev...@li... > > > Subject: RE: [Devmon] Inappropriate ioctl for device > > >=20 > > > Hi Eric, > > >=20 > > > It is RedHat Enterprise Release 3, Kernel 2.4.21-32.EL > > >=20 > > > Thanks > > >=20 > > > Craig > > >=20 > > > -----Original Message----- > > > From: dev...@li... > > > [mailto:dev...@li...] On Behalf Of > > > Schwimmer, Eric E *HS > > > Sent: Tuesday, 28 February 2006 7:46 a.m. > > > To: dev...@li... > > > Subject: RE: [Devmon] Inappropriate ioctl for device > > >=20 > > >=20 > > >=20 > > > What OS is this running on? > > >=20 > > > -Eric > > >=20 > > > > -----Original Message----- > > > > From: dev...@li... > > > > [mailto:dev...@li...] On=20 > Behalf Of=20 > > > > Craig Boyce > > > > Sent: Monday, February 27, 2006 1:44 PM > > > > To: dev...@li... > > > > Subject: [Devmon] Inappropriate ioctl for device > > > >=20 > > > > Hi, > > > >=20 > > > > I have installed Devmon but when I start devmon it failes > > with the > > > > following error > > > >=20 > > > > Can't fork: Inappropriate ioctl for device > > > >=20 > > > > The log file I created in /var/log is also empty, Could=20 > this be a > > > > permissions issue > > > >=20 > > > > Thanks > > > >=20 > > > > Craig Boyce > > > >=20 > > > > ________________________________ > > > >=20 > > > > Disclaimer: > > > >=20 > > > > The information in this electronic mail message is > > confidential and > > > > may be legally privileged. It is intended solely for the > > > > Addressee.Access to this internet electronic mail message=20 > > by anyone > > > > else is unauthorised. If you are not the intended recipient, any > > > > disclosure, copying, distribution or any action taken or=20 > > omitted to > > > > be taken in reliance on it is prohibited and may be > > unlawful. If you > >=20 > > > > have received this message in error please notify us=20 > immediately. > > > >=20 > > > > Rodney District Council accepts no responsibility for > > any effects > > > > this email message or attachments has on the recipient=20 > network or > > > > computer system. > > > >=20 > > > > ________________________________ > > > >=20 > > > >=20 > > >=20 > > >=20 > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > > language that extends applications into web and mobile=20 > > media. Attend > > > the live webcast and join the prime developer group > > breaking into this > >=20 > > > new coding territory!=20 > > > = http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 > > > _______________________________________________ > > > Devmon-support mailing list Dev...@li... > > > https://lists.sourceforge.net/lists/listinfo/devmon-support > > > ############################################################## > > > ####################### > > > Disclaimer: > > > The information in this electronic mail message is > > > confidential and may be legally privileged. > > > It is intended solely for the Addressee.Access to this=20 > > > internet electronic mail message by anyone else is unauthorised. > > > If you are not the intended recipient, any disclosure,=20 > > > copying, distribution or any action taken or omitted to be > > > taken in reliance on it is prohibited and may be unlawful. > > > If you have received this message in error please notify us=20 > > > immediately. > > >=20 > > > Rodney District Council accepts no responsibility for any effects=20 > > > this email message or attachments has on the recipient network or=20 > > > computer system. > > >=20 > > > ############################################################## > > > ####################### > > >=20 > > >=20 > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by xPML, a groundbreaking=20 > scripting=20 > > > language that extends applications into web and mobile=20 > media. Attend > > > the live webcast > > > and join the prime developer group breaking into this new=20 > > > coding territory! > > > = http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 > > > _______________________________________________ > > > Devmon-support mailing list > > > Dev...@li... > > > https://lists.sourceforge.net/lists/listinfo/devmon-support > > >=20 > > ############################################################## > > ####################### > > Disclaimer: > > The information in this electronic mail message is > > confidential and may be legally privileged. > > It is intended solely for the Addressee.Access to this=20 > > internet electronic mail message by anyone else is unauthorised. > > If you are not the intended recipient, any disclosure,=20 > > copying, distribution or any action taken or omitted to be > > taken in reliance on it is prohibited and may be unlawful. > > If you have received this message in error please notify us=20 > > immediately. > >=20 > > Rodney District Council accepts no responsibility for any > > effects this email message or attachments has on the recipient=20 > > network or computer system. > >=20 > > ############################################################## > > ####################### > >=20 > >=20 > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking > > scripting language > > that extends applications into web and mobile media. Attend=20 > > the live webcast > > and join the prime developer group breaking into this new=20 > > coding territory! > > = http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 > > _______________________________________________ > > Devmon-support mailing list > > Dev...@li... > > https://lists.sourceforge.net/lists/listinfo/devmon-support > >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking=20 > scripting language > that extends applications into web and mobile media. Attend=20 > the live webcast > and join the prime developer group breaking into this new=20 > coding territory! > http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support >=20 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting = language that extends applications into web and mobile media. Attend the live = webcast and join the prime developer group breaking into this new coding = territory! http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 _______________________________________________ Devmon-support mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devmon-support |