Pritunl - логи1


Материал из Wiki - Iphoster - 'the best ever support'

Перейти к: навигация, поиск

Pritunl - логи1

Ошибка:

[guarded-skies-4590][2017-02-15 11:30:14,757][ERROR] Popen returned error exit code
 cmd         = ['iptables', '-I', 'POSTROUTING', '-t', 'nat', '-s', u'192.168.216.0/24', '-o', 'venet0', '-j', 'MASQUERADE', '-m', 'comment', '-- comment', 'pritunl_58a4807ee3620302be2b6367']
 return_code = 3
Process stderr:
 iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
 Perhaps iptables or your kernel needs to be upgraded.

Решение:http://wiki.iphoster.ru/wiki/Openvz_-_iptables_v1.4.21:_can%27t_initialize_iptables_table_%60nat%27:_Table_does_not_exist_(do_you_need_to_insmod%3F)


Логи:

[guarded-skies-4590][2017-02-15 11:29:55,692][INFO] Starting server
[guarded-skies-4590][2017-02-15 11:30:14,645][INFO] Starting vpn server
 host_networks = ['127.0.0.1/32', '137.74.151.21/32']
 server_id     = ObjectId('58a4807ee3620302be2b6367')
 network       = u'192.168.216.0/24'
 cur_timestamp = datetime.datetime(2017, 2, 15, 16, 30, 14, 645485)
 instance_id   = ObjectId('58a48216e36203007411b7fd')
 network6      = 'fd00:c0a8:d800::/64'
 host_address  = None
 host_address6 = None
[guarded-skies-4590][2017-02-15 11:30:14,757][ERROR] Popen returned error exit code
 cmd         = ['iptables', '-I', 'POSTROUTING', '-t', 'nat', '-s', u'192.168.216.0/24', '-o', 'venet0', '-j', 'MASQUERADE', '-m', 'comment', '-- comment', 'pritunl_58a4807ee3620302be2b6367']
 return_code = 3
Process stderr:
 iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
 Perhaps iptables or your kernel needs to be upgraded.
Traceback (most recent call last):
 File "/usr/lib64/python2.7/threading.py", line 784, in __bootstrap
   self.__bootstrap_inner()
 File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
   self.run()
 File "/usr/lib64/python2.7/threading.py", line 764, in run
   self.__target(*self.__args, **self.__kwargs)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/server/instance.py", line 883, in _run_thread
   self.iptables.upsert_rules()
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/iptables.py", line 1130, in upsert_rules
   self._insert_iptables_rule(rule, tables=tables)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/iptables.py", line 986, in _insert_iptables_rule
   return self._insert_iptables_rule_cmd(rule, ipv6)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/iptables.py", line 970, in _insert_iptables_rule_cmd
   ['ip6tables' if ipv6 else 'iptables', '-I'] + rule)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/utils/misc.py", line 165, in check_output_logged
   stderr=stderrdata,
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/logger/__init__.py", line 55, in error
   kwargs['traceback'] = traceback.format_stack()
[guarded-skies-4590][2017-02-15 11:30:14,758][ERROR] Failed to insert iptables rule, retrying...
 rule = ['POSTROUTING', '-t', 'nat', '-s', u'192.168.216.0/24', '-o', 'venet0', '-j', 'MASQUERADE', '-m', 'comment', '--comment', 'pritunl_58a4807ee3620302be2b6367']
Traceback (most recent call last):
 File "/usr/lib64/python2.7/threading.py", line 784, in __bootstrap
   self.__bootstrap_inner()
 File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
   self.run()
 File "/usr/lib64/python2.7/threading.py", line 764, in run
   self.__target(*self.__args, **self.__kwargs)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/server/instance.py", line 883, in _run_thread
   self.iptables.upsert_rules()
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/iptables.py", line 1130, in upsert_rules
   self._insert_iptables_rule(rule, tables=tables)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/iptables.py", line 986, in _insert_iptables_rule
   return self._insert_iptables_rule_cmd(rule, ipv6)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/iptables.py", line 978, in _insert_iptables_rule_cmd
   rule=rule,
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/logger/__init__.py", line 55, in error
   kwargs['traceback'] = traceback.format_stack()
[guarded-skies-4590][2017-02-15 11:30:15,767][ERROR] Popen returned error exit code
 cmd         = ['iptables', '-I', 'POSTROUTING', '-t', 'nat', '-s', u'192.168.216.0/24', '-o', 'venet0', '-j', 'MASQUERADE', '-m', 'comment', '--comment', 'pritunl_58a4807ee3620302be2b6367']
 return_code = 3
Process stderr:
 iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
 Perhaps iptables or your kernel needs to be upgraded.
Traceback (most recent call last):
 File "/usr/lib64/python2.7/threading.py", line 784, in __bootstrap
   self.__bootstrap_inner()
 File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
   self.run()
 File "/usr/lib64/python2.7/threading.py", line 764, in run
   self.__target(*self.__args, **self.__kwargs)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/server/instance.py", line 883, in _run_thread
   self.iptables.upsert_rules()
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/iptables.py", line 1130, in upsert_rules
   self._insert_iptables_rule(rule, tables=tables)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/iptables.py", line 986, in _insert_iptables_rule
   return self._insert_iptables_rule_cmd(rule, ipv6)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/iptables.py", line 970, in _insert_iptables_rule_cmd
   ['ip6tables' if ipv6 else 'iptables', '-I'] + rule)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/utils/misc.py", line 165, in check_output_logged
   stderr=stderrdata,
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/logger/__init__.py", line 55, in error
   kwargs['traceback'] = traceback.format_stack()
[guarded-skies-4590][2017-02-15 11:30:15,767][ERROR] Failed to insert iptables rule, retrying...
 rule = ['POSTROUTING', '-t', 'nat', '-s', u'192.168.216.0/24', '-o', 'venet0', '-j', 'MASQUERADE', '-m', 'comment', '--comment', 'pritunl_58a4807ee3620302be2b6367']
Traceback (most recent call last):
 File "/usr/lib64/python2.7/threading.py", line 784, in __bootstrap
   self.__bootstrap_inner()
 File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
   self.run()
 File "/usr/lib64/python2.7/threading.py", line 764, in run
   self.__target(*self.__args, **self.__kwargs)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/server/instance.py", line 883, in _run_thread
   self.iptables.upsert_rules()
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/iptables.py", line 1130, in upsert_rules
   self._insert_iptables_rule(rule, tables=tables)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/iptables.py", line 986, in _insert_iptables_rule
   return self._insert_iptables_rule_cmd(rule, ipv6)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/iptables.py", line 978, in _insert_iptables_rule_cmd
   rule=rule,
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/logger/__init__.py", line 55, in error
   kwargs['traceback'] = traceback.format_stack()
[guarded-skies-4590][2017-02-15 11:30:16,777][ERROR] Server error occurred while running
Traceback (most recent call last):
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/server/instance.py", line 883, in _run_thread
   self.iptables.upsert_rules()
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/iptables.py", line 1130, in upsert_rules
   self._insert_iptables_rule(rule, tables=tables)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/iptables.py", line 986, in _insert_iptables_rule
   return self._insert_iptables_rule_cmd(rule, ipv6)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/iptables.py", line 970, in _insert_iptables_rule_cmd
   ['ip6tables' if ipv6 else 'iptables', '-I'] + rule)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/utils/misc.py", line 169, in check_output_logged
   return_code, cmd, output=stdoutdata)
CalledProcessError: Command '['iptables', '-I', 'POSTROUTING', '-t', 'nat', '-s', u'192.168.216.0/24', '-o', 'venet0', '-j', 'MASQUERADE', '-m', 'comment', '--comment', 'pritunl_58a4807ee3620302be2b6367']' returned non-zero exit status 3
 server_id = ObjectId('58a4807ee3620302be2b6367')
[guarded-skies-4590][2017-02-15 11:30:16,779][ERROR] Popen returned error exit code
 cmd         = ['iptables', '-I', 'POSTROUTING', '-t', 'nat', '-s', u'192.168.216.0/24', '-o', 'venet0', '-j', 'MASQUERADE', '-m', 'comment', '-- comment', 'pritunl_58a4807ee3620302be2b6367']
 return_code = 3
Process stderr:
 iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
 Perhaps iptables or your kernel needs to be upgraded.
Traceback (most recent call last):
 File "/usr/lib64/python2.7/threading.py", line 784, in __bootstrap
   self.__bootstrap_inner()
 File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
   self.run()
 File "/usr/lib64/python2.7/threading.py", line 764, in run
   self.__target(*self.__args, **self.__kwargs)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/server/instance.py", line 883, in _run_thread
   self.iptables.upsert_rules()
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/iptables.py", line 1130, in upsert_rules
   self._insert_iptables_rule(rule, tables=tables)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/iptables.py", line 986, in _insert_iptables_rule
   return self._insert_iptables_rule_cmd(rule, ipv6)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/iptables.py", line 970, in _insert_iptables_rule_cmd
   ['ip6tables' if ipv6 else 'iptables', '-I'] + rule)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/utils/misc.py", line 165, in check_output_logged
   stderr=stderrdata,
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/logger/__init__.py", line 55, in error
   kwargs['traceback'] = traceback.format_stack()
[guarded-skies-4590][2017-02-15 11:30:43,694][ERROR] Exception on /server/58a4807ee3620302be2b6367/operation/start [PUT]
Traceback (most recent call last):
 File "/usr/lib/pritunl/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
   response = self.full_dispatch_request()
 File "/usr/lib/pritunl/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
   rv = self.handle_user_exception(e)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
   reraise(exc_type, exc_value, tb)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
   rv = self.dispatch_request()
 File "/usr/lib/pritunl/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
   return self.view_functions[rule.endpoint](**req.view_args)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/auth/app.py", line 10, in _wrapped
   return call(*args, **kwargs)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/handlers/server.py", line 1060, in server_operation_put
   svr.start()
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/server/server.py", line 1358, in start
   'server_id': self.id,
ServerStartError: Server start timed out. {'server_id': ObjectId('58a4807ee3620302be2b6367')}
[guarded-skies-4590][2017-02-15 11:30:43,694][ERROR] Exception on /server/58a4807ee3620302be2b6367/operation/start [PUT]
Traceback (most recent call last):
 File "/usr/lib/pritunl/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
   response = self.full_dispatch_request()
 File "/usr/lib/pritunl/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
   rv = self.handle_user_exception(e)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
   reraise(exc_type, exc_value, tb)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
   rv = self.dispatch_request()
 File "/usr/lib/pritunl/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
   return self.view_functions[rule.endpoint](**req.view_args)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/auth/app.py", line 10, in _wrapped
   return call(*args, **kwargs)
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/handlers/server.py", line 1060, in server_operation_put
   svr.start()
 File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/server/server.py", line 1358, in start
   'server_id': self.id,
ServerStartError: Server start timed out. {'server_id': ObjectId('58a4807ee3620302be2b6367')}
Индекс цитирования