From: Schwimmer, E. E *H. <EE...@hs...> - 2006-02-28 15:28:33
|
I'm starting to not like RHEL so much :) I'll look in to=20 this as well, perhaps it is related to the other fork problems. -Eric > -----Original Message----- > From: dev...@li...=20 > [mailto:dev...@li...] On Behalf=20 > Of Aiello, Steve (GE, Corporate, consultant) > Sent: Tuesday, February 28, 2006 10:01 AM > To: dev...@li... > Subject: [Devmon] Intermittent errors with the cron'd devmon=20 > --readbbhosts >=20 > Every so often I get the following from the cron'd "devmon > --readbbhosts": >=20 > Subroutine POSIX::WNOHANG redefined at > /usr/lib/perl5/5.8.0/i386-linux-thread-multi/POSIX.pm line 48, > <$__ANONIO__> line 3. >=20 > > -----Original Message----- > > From: dev...@li...=20 > > [mailto:dev...@li...] On Behalf=20 > > Of Schwimmer, Eric E *HS > > Sent: Tuesday, February 28, 2006 9:00 AM > > To: dev...@li... > > Subject: RE: [Devmon] Inappropriate ioctl for device > >=20 > >=20 > >=20 > > Made a little progress on this, last night. I was able > > to reproduce this problem on our RHEL2 box last night.=20 > > Apparently it is caused by opening a file before your fork=20 > > (even if you close it prior to forking, you still get the=20 > > error). > >=20 > > I don't have a fix for this yet (I cant avoid opening a=20 > > file before I fork in Devmon); I'll keep investigating. > >=20 > > -Eric Schwimmer > > Network Engineer > > UVA HSCS Network Engineering =20 > >=20 > > > -----Original Message----- > > > From: dev...@li... > > > [mailto:dev...@li...] On Behalf=20 > > > Of Schwimmer, Eric E *HS > > > Sent: Monday, February 27, 2006 10:09 PM > > > To: dev...@li... > > > Subject: RE: [Devmon] Inappropriate ioctl for device > > >=20 > > >=20 > > > Hrm. Well, the fork code is pretty generic; its almost verbatim=20 > > > out of the OReilly "camel" book. =20 > > >=20 > > > There might be some RHEL weirdness that I havent run in to yet, > > > I'll play around with the fork code on our RHEL box and see if I=20 > > > can duplicate the problem. =20 > > >=20 > > > For now I'd just run it with the -f flag and background it with > > > a '&' (assuming that works). > > >=20 > > > The bigip template is built for the newer bigip boxen,=20 > > which run on a=20 > > > linux kernel. We've only got a couple of them, and the=20 > > snmp get that=20 > > > you get from them is not always reliable :( > > >=20 > > > -Eric > > >=20 > > > -----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:=20 > > Inappropriate ioctl=20 > > > for device". > > >=20 > > > Also I am testing against an old BigIP (4.2 PTF 9), and the=20 > > Connects=20 > > > test is not coming up with valid data. It displays as: > > >=20 > > > Connection statistics: > > >=20 > > > Active connections: > > >=20 > > > 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 > > >=20 > > > 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 > > >=20 > > > 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 > > >=20 > > > Http connections: > > > Total http requests : Unknown > > > Http requests/sec : No data > > >=20 > > > Devmon.log logs the following: > > >=20 > > > [06-02-27@19:44:38] No SNMP data found for ramCacheUtil on=20 > > > F5-BigIP.host.com [06-02-27@19:44:38] No SNMP data found for=20 > > > 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=20 > > > 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=20 > > > 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=20 > > '^[-+]?\d+(\.\d+)?$' > > > [06-02-27@19:44:38] Data type mismatch for serverNewCon on > > > F5-BigIP.host.com: 'No data' does not match regex=20 > > '^[-+]?\d+(\.\d+)?$' > > > [06-02-27@19:44:38] Data type mismatch for pvaClientNewCon on > > > F5-BigIP.host.com: 'No data' does not match regex=20 > > '^[-+]?\d+(\.\d+)?$' > > > [06-02-27@19:44:38] Data type mismatch for pvaServerNewCon on > > > F5-BigIP.host.com: 'No data' does not match regex=20 > > '^[-+]?\d+(\.\d+)?$' > > > [06-02-27@19:44:38] Data type mismatch for sslNativeNewCon on > > > F5-BigIP.host.com: 'No data' does not match regex=20 > > '^[-+]?\d+(\.\d+)?$' > > > [06-02-27@19:44:38] Data type mismatch for sslCompatNewCon on > > > F5-BigIP.host.com: 'No data' does not match regex=20 > > '^[-+]?\d+(\.\d+)?$' > > > [06-02-27@19:44:38] Data type mismatch for clientBitsOut on > > > F5-BigIP.host.com: 'No data' does not match regex=20 > > '^[-+]?\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=20 > > '^[-+]?\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=20 > > '^[-+]?\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=20 > > '^[-+]?\d+(\.\d+)?$' > > >=20 > > > > -----Original Message----- > > > > From: dev...@li... > > > > [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? > > > > 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 > > > > -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 > > > > > -----Original Message----- > > > > > From: dev...@li... > > > > > [mailto:dev...@li...] On Behalf > > > > > 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 > > > > > 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? > > > > > Are there any odd messages in the /var/log/messages file? =20 > > > > >=20 > > > > > -Eric > > > > >=20 > > > > > > -----Original Message----- > > > > > > From: dev...@li... > > > > > > [mailto:dev...@li...]=20 > > On Behalf Of=20 > > > > > > 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...]=20 > > On Behalf Of=20 > > > > > > 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 > > > > Behalf Of > > > > > > > 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 > > > > 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=20 > > > > > > > Addressee.Access to this internet electronic mail message > > > > > by anyone > > > > > > > else is unauthorised. If you are not the intended > > > recipient, any > > > > > > > disclosure, copying, distribution or any action taken or > > > > > 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 > > > > immediately. > > > > > > >=20 > > > > > > > Rodney District Council accepts no responsibility for > > > > > any effects > > > > > > > this email message or attachments has on the recipient > > > > 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 > > > > > 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=20 > > 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=20 > > 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 > > > network or > > > > > > computer system. > > > > > >=20 > > > > > >=20 > ############################################################## > > > > > > ####################### > > > > > >=20 > > > > > >=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! > > > > > >=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 > > > > > >=20 > > > > > ############################################################## > > > > > ####################### > > > > > Disclaimer: > > > > > The information in this electronic mail message is=20 > confidential=20 > > > > > and may be legally privileged. It is intended solely for the=20 > > > > > Addressee.Access to this internet electronic mail message by=20 > > > > > anyone else is unauthorised. If you are not the intended=20 > > > > > recipient, any disclosure, copying, distribution or=20 > any action=20 > > > > > taken or omitted to be taken in reliance on it is=20 > > prohibited and=20 > > > > > may be unlawful. If you have received this message in=20 > > error please=20 > > > > > notify us immediately. > > > > >=20 > > > > > Rodney District Council accepts no responsibility for=20 > > any effects=20 > > > > > this email message or attachments has on the recipient=20 > > network or=20 > > > > > computer system. > > > > >=20 > > > > > ############################################################## > > > > > ####################### > > > > >=20 > > > > >=20 > > > > > ------------------------------------------------------- > > > > > This SF.Net email is sponsored by xPML, a=20 > > groundbreaking scripting=20 > > > > > language that extends applications into web and mobile media.=20 > > > > > Attend the live webcast > > > > > and join the prime developer group breaking into this new=20 > > > > > 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 > > > > >=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 > > >=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 > > >=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 >=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 |