Forum Discussion
Mike_Nepomny
Dec 21, 2011Nimbostratus
How to run external program without adding it to bigip.conf?
Hi,
How to run tmsh script without adding it to bigip.conf ? When use "edit scripts test.tcl" test.tcl gets inserted into bigip.conf. This insertion corrupted bigip.conf in our lab.
Thank you.
- Mark_Crosland_2Historic F5 AccountWhat version of the product do you have?
- Mark_Crosland_2Historic F5 AccountAnd what was the error msg you see when you load the config files that have the script in it?
- Mike_NepomnyNimbostratusI am running v10.2. Are there any trick to run program from the file in this version?
b verify load /config/bigip.confReading configuration from /config/low_profile_base.conf.Reading configuration from /defaults/config_base.conf.Reading configuration from /config/bigip_sys.conf.Reading configuration from /config/bigip_base.conf.Reading configuration from /usr/share/monitors/base_monitors.conf.Reading configuration from /config/profile_base.conf.Reading configuration from /config/daemon.conf.Reading configuration from /config/bigip.conf.BIGpipe parsing error (/config/bigip.conf Line 112):012e0008:3: The requested command (proc script::init) is invalid - Mark_Crosland_2Historic F5 AccountI create a script called abc, saved the config, then did the following, it seems to work. The error msg seems to indicate that you need to wrap the proc in
- Mike_NepomnyNimbostratusIs it possible not to add script to bigip.conf ? Can I compile script ?
- Mark_Crosland_2Historic F5 AccountNo, the script cannot be compiled. In version 11.X you can store scripts in a file of your choosing and run them with a new file option.
- Mike_NepomnyNimbostratusI never manually added script to bigip.conf. I did "edit script test.cli" and somehow test.cli got inserted into bigip.conf
- Mark_Crosland_2Historic F5 AccountIf you add the script via the edit command, and subsequently issue "tmsh save sys config ...", or, someone updates something from the web config utility, bigip.conf will be updated. If that causes bigip.conf to be corrupted we would need to see the script and/or log an issue with F5 support and let them know what the script looks like. The problem may be specific to the script you entered.
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