Forum Discussion
Hamish
Jan 14, 2010Cirrocumulus
RULE_INIT not firing
Has anyone else ever had problems with RULE_INIT not firing for some iRules?
I have a 10.1.0 6400 and when editing an iRule with the iRule editor, I get an error from mcpd on saving it (The save works though), saying that the rule already exists in partition common, and the RULE_INIT event doesn't trigger...
H
- HamishCirrocumulusApologies for the duplicate (Grrr... Firefox)... I can't delete the other one...
- naladar_65658AltostratusWow, good catch Hamish.
- hooleylistCirrostratusWhat kind of TCL error did you see get to cause the problem? I just tested a simple rule like this, but didn't see a problem:
when RULE_INIT { log local0. "\[clock seconds\]: [clock seconds]" Bad "command" test }
- spark_86682Historic F5 Account
Posted By Hamish on 01/14/2010 4:55 AM
- hooleylistCirrostratusOut of curiosity, what type of TCL error triggers the issue? I tried searching for CR133851 and CR132122 but didn't find anything published.
- spark_86682Historic F5 AccountAny error that mcpd can't catch. In your example, mcpd noticed that the iRule called an undefined procedure, so it caught the error.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects