[INUG-Users] Regex error according to nco_p_syntax
Victor Havard
vhavard at us.ibm.com
Tue Apr 15 17:22:41 EDT 2008
malloc() is a memory allocation function. It seems to indicate an
inability for the application to allocate sufficient memory to hold some
object used for the regex. Is the box memory bound? Rulesfile syntax
doesn't change between versions of an operating system so I would have to
believe it was syntactically correct because of its success on the
previous OS and assume a problem with nco_p_syntax on the sol10 box
because of the malloc() errror.
-- Victor
-------------------------------
Victor L. Havard
Senior Solution Architect
IBM Software Group (Tivoli Netcool)
Office: 972-992-3966
Mobile: 214-505-6093
Tie: 364-7026
-------------------------------
From:
"PAUL WILLIAMSON" <pwilliamson at mtb.com>
To:
users at netcoolusers.org
Date:
04/15/2008 03:56 PM
Subject:
[INUG-Users] Regex error according to nco_p_syntax
The nco_p_syntax checker is bombing out on a Sol 10 machine
with a regular expression that works perfectly fine on a Sol 8 box:
if (regmatch($OID1, "\3\.6\.1\.3\.96"))
The offending rules file is from NCKL 1.2:
IETF-MPLS-LSR-STD-MIB.include.snmptrap.rules
The var $OID1 is used in many other rules files prior to this one.
Or, it could be that I'm missing something else in the if statement.
The actual error is:
Error: Rules file
'/opt/netcool/etc/rules/include-snmptrap/IETF-MPLS-LSR-STD-MIB.include.snmptrap.rules'
line 95: Failed to compile regular expression: malloc() failed
04/15/08 16:45:26: Error: Error(s) in rules file
04/15/08 16:45:26: Information: Disconnecting ...
************************************
This email may contain privileged and/or confidential information that is
intended solely for the use of the addressee. If you are not the intended
recipient or entity, you are strictly prohibited from disclosing, copying,
distributing or using any of the information contained in the
transmission. If you received this communication in error, please contact
the sender immediately and destroy the material in its entirety, whether
electronic or hard copy. This communication may contain nonpublic
personal information about consumers subject to the restrictions of the
Gramm-Leach-Bliley Act and the Sarbanes-Oxley Act. You may not directly
or indirectly reuse or disclose such information for any purpose other
than to provide the services for which you are receiving the information.
There are risks associated with the use of electronic transmission. The
sender of this information does not control the method of transmittal or
service providers and assumes no duty or obligation for the security,
receipt, or third party interception of this transmission.
************************************
_______________________________________________
Sent by the netcoolusers.org "users" mailing list
Post: users at netcoolusers.org
Unsubscribe: users-unsubscribe at netcoolusers.org
Search: http://netcoolusers.org/Search
More information about the Users
mailing list