Open bravehearts07 opened 4 years ago
Server Process Exits, with the Error log as below:
SnmpEngine: using custom SNMP Engine ID: 0x0102030405070809 SnmpEngine: using persistent directory: /tmp/__pysnmp/0x0102030405070809 SnmpEngine: stored SNMP Engine Boots: 93 2020-02-25T16:26:32.73 snmpfwd-server: ERROR Traceback (most recent call last):; 2020-02-25T16:26:32.73 snmpfwd-server: ERROR File "/usr/local/lib/python3.8/site-packages/snmpfwd-0.4.4-py3.8.egg/EGG-INFO/scripts/snmpfwd-server.py", line 981, in ; 2020-02-25T16:26:32.74 snmpfwd-server: ERROR File "/usr/local/lib/python3.8/site-packages/snmpfwd-0.4.4-py3.8.egg/EGG-INFO/scripts/snmpfwd-server.py", line 833, in main; 2020-02-25T16:26:32.74 snmpfwd-server: ERROR File "/kits/Python-3.8.1/Lib/re.py", line 250, in compile; return _compile(pattern, flags); 2020-02-25T16:26:32.74 snmpfwd-server: ERROR File "/kits/Python-3.8.1/Lib/re.py", line 302, in _compile; p = sre_compile.compile(pattern, flags); 2020-02-25T16:26:32.74 snmpfwd-server: ERROR File "/kits/Python-3.8.1/Lib/sre_compile.py", line 764, in compile; p = sre_parse.parse(p, flags); 2020-02-25T16:26:32.74 snmpfwd-server: ERROR File "/kits/Python-3.8.1/Lib/sre_parse.py", line 948, in parse; p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0); 2020-02-25T16:26:32.74 snmpfwd-server: ERROR File "/kits/Python-3.8.1/Lib/sre_parse.py", line 443, in _parse_sub; itemsappend(_parse(source, state, verbose, nested + 1,; 2020-02-25T16:26:32.74 snmpfwd-server: ERROR File "/kits/Python-3.8.1/Lib/sre_parse.py", line 525, in _parse; code = _escape(source, this, state); 2020-02-25T16:26:32.74 snmpfwd-server: ERROR File "/kits/Python-3.8.1/Lib/sre_parse.py", line 423, in _escape; raise source.error("invalid group reference %d" % group, len(escape) - 1); 2020-02-25T16:26:32.74 snmpfwd-server: ERROR re.error: invalid group reference 1 at position 15;
The configurations used were from the example available @ http://snmplabs.com/snmpfwd/configuration/examples/command-forwarding-virtual-interfaces.html except for the local ip address.
Configuration files server_virtual_Network_If.txt client_virtual_Network_If.txt
Server log file server-virtualIf.log
Server Process Exits, with the Error log as below:
SnmpEngine: using custom SNMP Engine ID: 0x0102030405070809 SnmpEngine: using persistent directory: /tmp/__pysnmp/0x0102030405070809 SnmpEngine: stored SNMP Engine Boots: 93 2020-02-25T16:26:32.73 snmpfwd-server: ERROR Traceback (most recent call last):; 2020-02-25T16:26:32.73 snmpfwd-server: ERROR File "/usr/local/lib/python3.8/site-packages/snmpfwd-0.4.4-py3.8.egg/EGG-INFO/scripts/snmpfwd-server.py", line 981, in;
2020-02-25T16:26:32.74 snmpfwd-server: ERROR File "/usr/local/lib/python3.8/site-packages/snmpfwd-0.4.4-py3.8.egg/EGG-INFO/scripts/snmpfwd-server.py", line 833, in main;
2020-02-25T16:26:32.74 snmpfwd-server: ERROR File "/kits/Python-3.8.1/Lib/re.py", line 250, in compile; return _compile(pattern, flags);
2020-02-25T16:26:32.74 snmpfwd-server: ERROR File "/kits/Python-3.8.1/Lib/re.py", line 302, in _compile; p = sre_compile.compile(pattern, flags);
2020-02-25T16:26:32.74 snmpfwd-server: ERROR File "/kits/Python-3.8.1/Lib/sre_compile.py", line 764, in compile; p = sre_parse.parse(p, flags);
2020-02-25T16:26:32.74 snmpfwd-server: ERROR File "/kits/Python-3.8.1/Lib/sre_parse.py", line 948, in parse; p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0);
2020-02-25T16:26:32.74 snmpfwd-server: ERROR File "/kits/Python-3.8.1/Lib/sre_parse.py", line 443, in _parse_sub; itemsappend(_parse(source, state, verbose, nested + 1,;
2020-02-25T16:26:32.74 snmpfwd-server: ERROR File "/kits/Python-3.8.1/Lib/sre_parse.py", line 525, in _parse; code = _escape(source, this, state);
2020-02-25T16:26:32.74 snmpfwd-server: ERROR File "/kits/Python-3.8.1/Lib/sre_parse.py", line 423, in _escape; raise source.error("invalid group reference %d" % group, len(escape) - 1);
2020-02-25T16:26:32.74 snmpfwd-server: ERROR re.error: invalid group reference 1 at position 15;
The configurations used were from the example available @ http://snmplabs.com/snmpfwd/configuration/examples/command-forwarding-virtual-interfaces.html except for the local ip address.
Configuration files server_virtual_Network_If.txt client_virtual_Network_If.txt
Server log file server-virtualIf.log