Troubleshooting Panorama Push - line:51: syntax error [}]

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Troubleshooting Panorama Push - line:51: syntax error [}]

L0 Member

When trying to commit to a ngfw from panorama I am getting this error. I have turned on debug for configd to try and find what specific setting has a problem. No luck getting more information. I have double checked every setting and variable for something not entered correctly with no luck.

 

Is there a way to access that file and look at line 51 to see what the problem is?

 

Log data:

2024-05-14 12:06:29.109 -0500 cl p1 begin: ikemgr
2024-05-14 12:06:29.566 -0500 for client ikemgr get transformed config takes 0 seconds to complete
2024-05-14 12:06:29.567 -0500 config for client ikemgr is 22921 bytes long
2024-05-14 12:06:29.569 -0500 debug: _pan_mgmt_client_send_phase1(pan_cfg_commit_jobs.c:1934): for client ikemgr send config takes 0 seconds to complete
2024-05-14 12:06:29.581 -0500 debug: pan_mgmt_client_table_do_phase1(pan_cfg_commit_jobs.c:3223): Management server complete sending phase 1 to client ikemgr in 0 seconds
2024-05-14 12:06:29.581 -0500 cl p1 begin: reportd
2024-05-14 12:06:29.599 -0500 client ikemgr reported error: ERROR: line:51: syntax error [}] (Module: ikemgr)
2024-05-14 12:06:29.600 -0500 client ikemgr reported error: ERROR: line:51: syntax error [}] (Module: ikemgr)
2024-05-14 12:06:29.605 -0500 client ikemgr reported Phase 1 FAILED

 

2 REPLIES 2

L0 Member

It seems you’re encountering a syntax error at line 51 when trying to commit configurations from Panorama to a Next-Generation Firewall (NGFW). The error message indicates there might be an unexpected ‘}’ character that’s causing the issue.  If you have access to the configuration file, search for line 51 to identify any syntax errors. Look for any misplaced or extra curly braces ‘}’ that might be causing the syntax error. If the configuration is in XML format, use an XML validator to check for well-formedness. An improperly closed tag or an extra brace can cause a syntax error. 

 

 

 

fidelitynetbenefits

L0 Member

I don't know how to access the configuration file. I am making the configuration changes in panorama then pushing them to the firewall. I've tried exporting the candidate config but I can't correlate this error. Do you know how I can access the configuration file that is referenced?

 

I fixed the problem by walking my changes back and doing them incrementally. I compared what I had before and after and couldn't find any differences but doing it incrementally worked just took a lot longer.

  • 1050 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!