GajShield Knowledge Base

All the documents you require to help you configure and manage GajShield firewalls.

Error 500 while adding a new service in an existing service group.

Problem Seen:
A port was to be opened so tried to add the identified port that were getting blocked in one of the rules service group. And Error 500 was seen. Its details are as follows.

Exact Error message :


" Traceback (most recent call last): File "/usr/local/https/cgi-bin/pyc_exec", line 26, in ? ("pyc", _mode_,                                                    imp.PY_COMPILED) ) File "confservicegroups.py", line 41, in ? NameError: name 'usererror' is not defined "

Cause of problem:
       In service group for default Service Groups both Edit and Delete options are not given. When we are trying to modify Service Group immediate next entry after the Default Service Group "Error in Script" was coming for that service group.
       When I had checked, I found that for Default Service Group flag value was coming as '\r1' instead of '1'. Due to which form, td and tr tags, were not getting closed as a result of which uname was not going while modifying immediate next entry after the Default Service Group. Thats why "Error in Script" was coming.

Solution:
    I have modified condition which was checking for flag, using strip(), and problem got resolved. I have committed both py and ggi files to CVS of CMS_1.0, securegate_5.0 and Chandraprakash committed in securegate_5.5.
    Soon we will release one patch to resolve this issue permanently.



Problem Encountered by : Ankur Hande
Problem Resolved by  : Ameet Tirodkar