Config Sync Error - /config/bigip.conf Line 0

I get the error below when attempting a “b config sync all”, I believe it’s telling me I have a problem with the bigip.conf file at Line 0 but I’m not what that means in terms of addressing and fixing the problem. Any help would be appreciated!! Thanks!

Checking configuration on local system and peer system…

Peer’s IP address: 192.168.58.242

Synchronizing Master Keys…

Saving active configuration…

Configsync Mode: Push

Transferring UCS to peer…

Installing UCS on peer…

OperationFailed exception:

Primary error : 16908289

Secondary error: 0

Error text : Error installing configuration

Obtaining results of remote configuration installation…

Saving active configuration…

Current configuration backed up to /var/local/ucs/cs_backup.ucs.

Product : BIG-IP

Version : 10.1.0

Hostname: UCS : kil-prod-vdx-ltm1.prod.oclc.org

System: kil-prod-vdx-ltm2.prod.oclc.org

Installing --shared-- configuration on host kil-prod-vdx-ltm2.prod.oclc.org

Installing configuration…

Post-processing…

BIGpipe parsing error (/config/bigip.conf Line 0):

012e0008:3: The requested command (}) is invalid

Reading 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.

WARNING: There were one or more errors detected during installation.

Check the error messages and take the proper actions if needed.

ERROR: UCS installation failed.

Operation aborted.

/tmp/configsync.spec: Error installing package

Config install aborted.

BIGpipe parsing error:

01110001:3: Error running config install

It looks like there is a syntax error which is preventing the bigip.conf from loading. The most likely culprit is an iRule. If you back up the bigip.conf, remove all of the iRules from and run ‘b verify load’, do you see any errors?

You might do best to open a case with F5 Support on this. Hopefully it won’t take them long to spot the issue if they see your full bigip.conf file.

Aaron

hoolio… thanks!! I figured out which rule was causing the error… BUT I don’t know what is wrong with the rule… here it is below if anyone has any suggestions:

rule special_rule {

when HTTP_RESPONSE {

if { [HTTP::is_redirect] } {

set location [HTTP::header Location]

HTTP::header replace Location “[string map {“https://” “http://”} [HTTP::header Location]]”

log local0. “redirected to $location and changed https to http”

}

}

}

OK I figured it out… I took out the quotation marks and it’s all good now! Thanks for looking at this!!

rule special_rule {

when HTTP_RESPONSE {

if { [HTTP::is_redirect] } {

set location [HTTP::header Location]

HTTP::header replace Location [string map {“https://” “http://”} [HTTP::header Location]]

log local0. “redirected to $location and changed https to http”

}

}

}

Glad you figured that out. Nice job.

Aaron

this was very helpfull

I had the same problem, thanks for the information!

This error is not very helpful for identifying the issue: 012e0008:3: The requested command (}) is invalid

This is documented as a known issue: sol12795: The BIGpipe parser does not correctly parse nested quotes in an iRule | 404 Page not found | BIG-IP Documentation