Advertisement
Guest User

Untitled

a guest
May 4th, 2016
342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 11.97 KB | None | 0 0
  1. 2016-05-04 02:58:56,428 CRIT Set uid to user 0
  2. 2016-05-04 02:58:56,428 WARN Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
  3. 2016-05-04 02:58:56,437 INFO supervisord started with pid 16
  4. 2016-05-04 02:58:57,441 INFO spawned: 'start-script' with pid 19
  5. 2016-05-04 02:58:57,444 INFO spawned: 'webui-script' with pid 20
  6. 2016-05-04 02:58:57,448 INFO spawned: 'deluge-script' with pid 21
  7. 2016-05-04 02:58:57,457 INFO spawned: 'privoxy-script' with pid 22
  8. 2016-05-04 02:58:57,486 DEBG 'deluge-script' stdout output:
  9. [info] VPN is enabled, checking VPN tunnel local ip is valid
  10.  
  11. 2016-05-04 02:58:57,486 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
  12. 2016-05-04 02:58:57,488 INFO success: webui-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
  13. 2016-05-04 02:58:57,491 INFO success: deluge-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
  14. 2016-05-04 02:58:57,493 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
  15. 2016-05-04 02:58:57,507 DEBG 'privoxy-script' stdout output:
  16. [info] VPN is enabled, checking VPN tunnel local ip is valid
  17.  
  18. 2016-05-04 02:58:57,532 DEBG 'start-script' stdout output:
  19. [info] VPN is enabled, beginning configuration of VPN
  20.  
  21. 2016-05-04 02:58:57,554 DEBG 'start-script' stdout output:
  22. [info] VPN provider defined as custom
  23. [debug] Environment variables defined as follows
  24.  
  25. 2016-05-04 02:58:57,555 DEBG 'start-script' stdout output:
  26. BASH=/bin/bash
  27. BASHOPTS=cmdhist:complete_fullquote:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
  28. BASH_ALIASES=()
  29. BASH_ARGC=()
  30. BASH_ARGV=()
  31. BASH_CMDS=()
  32. BASH_LINENO=([0]="0")
  33. BASH_SOURCE=([0]="/root/start.sh")
  34. BASH_VERSINFO=([0]="4" [1]="3" [2]="42" [3]="1" [4]="release" [5]="x86_64-unknown-linux-gnu")
  35. BASH_VERSION='4.3.42(1)-release'
  36. DEBUG=true
  37. DIRSTACK=()
  38. ENABLE_PRIVOXY=no
  39. EUID=0
  40. GROUPS=()
  41. HOME=/home/nobody
  42. HOSTNAME=9826d492395f
  43. HOSTTYPE=x86_64
  44. HOST_OS=unRAID
  45. IFS=$' \t\n'
  46. LANG=en_GB.UTF-8
  47. LAN_NETWORK=192.168.19.0/24
  48. MACHTYPE=x86_64-unknown-linux-gnu
  49. OPTERR=1
  50. OPTIND=1
  51. OSTYPE=linux-gnu
  52. PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  53. PGID=100
  54. PIPESTATUS=([0]="0")
  55. PPID=16
  56. PS4='+ '
  57. PUID=99
  58. PWD=/
  59. SHELL=/bin/bash
  60. SHELLOPTS=braceexpand:hashall:interactive-comments
  61. SHLVL=2
  62. SUPERVISOR_ENABLED=1
  63. SUPERVISOR_GROUP_NAME=start-script
  64. SUPERVISOR_PROCESS_NAME=start-script
  65. TERM=xterm
  66. TZ=America/Los_Angeles
  67. UID=0
  68. VPN_CONFIG=/config/openvpn/NETHERLANDS-TCP.ovpn
  69. VPN_ENABLED=yes
  70. VPN_PASS=***REMOVED***
  71. VPN_PORT=80
  72. VPN_PROTOCOL=tcp
  73. VPN_PROV=custom
  74. VPN_REMOTE=nl1-ovpn-tcp.purevpn.net
  75. VPN_USER=***REMOVED***
  76. _='[debug] Environment variables defined as follows'
  77. [info] VPN config file (ovpn extension) is located at /config/openvpn/NETHERLANDS-TCP.ovpn
  78.  
  79. 2016-05-04 02:58:57,560 DEBG 'start-script' stdout output:
  80. [info] Env vars defined via docker -e flags for remote host, port and protocol, writing values to ovpn file...
  81.  
  82. 2016-05-04 02:58:57,606 DEBG 'start-script' stdout output:
  83. [debug] Contents of ovpn file /config/openvpn/NETHERLANDS-TCP.ovpn as follows...
  84.  
  85. 2016-05-04 02:58:57,608 DEBG 'start-script' stdout output:
  86. client
  87. dev tun
  88. remote nl1-ovpn-tcp.purevpn.net 80 tcp
  89. persist-key
  90. ca ca.crt
  91. tls-auth Wdc.key 1
  92. cipher AES-256-CBC
  93. comp-lzo
  94. verb 1
  95. mute 20
  96. route-method exe
  97. route-delay 2
  98. route 0.0.0.0 0.0.0.0
  99. float
  100. auth-user-pass credentials.conf
  101. auth-retry interact
  102. ifconfig-nowarn[info] VPN provider remote gateway defined as nl1-ovpn-tcp.purevpn.net
  103. [info] VPN provider remote port defined as 80
  104. [info] VPN provider remote protocol defined as tcp
  105.  
  106. 2016-05-04 02:58:57,625 DEBG 'start-script' stdout output:
  107. [info] VPN provider username defined as ***REMOVED***
  108.  
  109. 2016-05-04 02:58:57,676 DEBG 'start-script' stdout output:
  110. [info] VPN provider password defined as ***REMOVED***
  111.  
  112. 2016-05-04 02:58:57,715 DEBG 'start-script' stdout output:
  113. [info] Default route for container is 172.17.0.1
  114.  
  115. 2016-05-04 02:58:57,733 DEBG 'start-script' stdout output:
  116. [info] Setting permissions recursively on /config/openvpn...
  117.  
  118. 2016-05-04 02:58:57,742 DEBG 'start-script' stdout output:
  119. [info] Adding 192.168.19.0/24 as route via docker eth0
  120.  
  121. 2016-05-04 02:58:57,744 DEBG 'start-script' stdout output:
  122. [info] ip route defined as follows...
  123. --------------------
  124.  
  125. 2016-05-04 02:58:57,749 DEBG 'start-script' stdout output:
  126. default via 172.17.0.1 dev eth0
  127.  
  128. 2016-05-04 02:58:57,750 DEBG 'start-script' stdout output:
  129. 172.17.0.0/16 dev eth0  proto kernel  scope link  src 172.17.0.2
  130. 192.168.19.0/24 via 172.17.0.1 dev eth0
  131.  
  132. 2016-05-04 02:58:57,751 DEBG 'start-script' stdout output:
  133. --------------------
  134.  
  135. 2016-05-04 02:58:57,770 DEBG 'start-script' stdout output:
  136. [debug] Modules currently loaded for kernel
  137.  
  138. 2016-05-04 02:58:57,773 DEBG 'start-script' stdout output:
  139. Module                  Size  Used by
  140. tun                    16492  0
  141. xt_nat                  1849  3
  142. veth                    4665  0
  143. ipt_MASQUERADE          1213  4
  144. nf_nat_masquerade_ipv4     1801  1 ipt_MASQUERADE
  145. iptable_nat             1831  1
  146. nf_conntrack_ipv4       5810  2
  147. nf_nat_ipv4             4327  1 iptable_nat
  148. iptable_filter          1528  2
  149. ip_tables               9550  2 iptable_filter,iptable_nat
  150. nf_nat                  9852  3 nf_nat_ipv4,xt_nat,nf_nat_masquerade_ipv4
  151. md_mod                 35653  2
  152. nct6775                35316  0
  153. hwmon_vid               2212  1 nct6775
  154. bonding                90396  0
  155. coretemp                5276  0
  156. kvm_intel             141806  0
  157. e1000e                142034  0
  158. kvm                   268303  1 kvm_intel
  159. i2c_i801               10154  0
  160. ahci                   26003  4
  161. libahci                19067  1 ahci
  162. ptp                     8988  1 e1000e
  163. pps_core                5864  1 ptp
  164. iosf_mbi                2842  0
  165.  
  166. 2016-05-04 02:58:57,775 DEBG 'start-script' stdout output:
  167. [info] iptable_mangle module not supported, attempting to load...
  168.  
  169. 2016-05-04 02:58:57,776 DEBG 'start-script' stderr output:
  170. modprobe: FATAL: Module iptable_mangle not found in directory /lib/modules/4.4.6-unRAID
  171.  
  172. 2016-05-04 02:58:57,777 DEBG 'start-script' stdout output:
  173. [warn] iptable_mangle module not supported, you will not be able to connect to Deluge webui or Privoxy outside of your LAN
  174.  
  175. 2016-05-04 02:58:57,904 DEBG 'start-script' stdout output:
  176. [info] iptables defined as follows...
  177. --------------------
  178.  
  179. 2016-05-04 02:58:57,927 DEBG 'start-script' stdout output:
  180. -P INPUT DROP
  181. -P FORWARD ACCEPT
  182. -P OUTPUT DROP
  183. -A INPUT -i tun0 -j ACCEPT
  184. -A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
  185. -A INPUT -i eth0 -p tcp -m tcp --sport 80 -j ACCEPT
  186. -A INPUT -i eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
  187. -A INPUT -i eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
  188. -A INPUT -s 192.168.19.0/24 -i eth0 -p tcp -m tcp --dport 58846 -j ACCEPT
  189. -A INPUT -p udp -m udp --sport 53 -j ACCEPT
  190. -A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
  191. -A INPUT -i lo -j ACCEPT
  192. -A OUTPUT -o tun0 -j ACCEPT
  193. -A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
  194. -A OUTPUT -o eth0 -p tcp -m tcp --dport 80 -j ACCEPT
  195. -A OUTPUT -o eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
  196. -A OUTPUT -o eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
  197. -A OUTPUT -d 192.168.19.0/24 -o eth0 -p tcp -m tcp --sport 58846 -j ACCEPT
  198. -A OUTPUT -p udp -m udp --dport 53 -j ACCEPT
  199. -A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
  200. -A OUTPUT -o lo -j ACCEPT
  201. --------------------
  202. [info] nameservers
  203. nameserver 8.8.8.8
  204. nameserver 8.8.4.4
  205. --------------------
  206. [info] Starting OpenVPN...
  207. Wed May  4 02:58:57 2016 OpenVPN 2.3.9 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Dec 24 2015
  208. Wed May  4 02:58:57 2016 library versions: OpenSSL 1.0.2f  28 Jan 2016, LZO 2.09
  209. Wed May  4 02:58:57 2016 WARNING: file 'credentials.conf' is group or others accessible
  210. Wed May  4 02:58:57 2016 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
  211. Wed May  4 02:58:57 2016 WARNING: file 'Wdc.key' is group or others accessible
  212. Wed May  4 02:58:57 2016 Control Channel Authentication: using 'Wdc.key' as a OpenVPN static key file
  213.  
  214. 2016-05-04 02:58:57,966 DEBG 'start-script' stdout output:
  215. Wed May  4 02:58:57 2016 Attempting to establish TCP connection with [AF_INET]213.5.64.38:80 [nonblock]
  216.  
  217. 2016-05-04 02:58:58,966 DEBG 'start-script' stdout output:
  218. Wed May  4 02:58:58 2016 TCP connection established with [AF_INET]213.5.64.38:80
  219. Wed May  4 02:58:58 2016 TCPv4_CLIENT link local: [undef]
  220. Wed May  4 02:58:58 2016 TCPv4_CLIENT link remote: [AF_INET]213.5.64.38:80
  221.  
  222. 2016-05-04 02:58:58,978 DEBG 'start-script' stdout output:
  223. Wed May  4 02:58:58 2016 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
  224.  
  225. 2016-05-04 02:59:01,192 DEBG 'start-script' stdout output:
  226. Wed May  4 02:59:01 2016 [PureVPN] Peer Connection Initiated with [AF_INET]213.5.64.38:80
  227.  
  228. 2016-05-04 02:59:03,346 DEBG 'start-script' stdout output:
  229. Wed May  4 02:59:03 2016 TUN/TAP device tun0 opened
  230. Wed May  4 02:59:03 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
  231. Wed May  4 02:59:03 2016 /usr/bin/ip link set dev tun0 up mtu 1500
  232.  
  233. 2016-05-04 02:59:03,348 DEBG 'start-script' stdout output:
  234. Wed May  4 02:59:03 2016 /usr/bin/ip addr add dev tun0 37.46.122.241/27 broadcast 37.46.122.255
  235.  
  236. 2016-05-04 02:59:03,444 DEBG 'deluge-script' stdout output:
  237. [info] First run detected, setting Deluge listening interface 37.46.122.241
  238. [info] Setting listening interface for Deluge...
  239.  
  240. 2016-05-04 02:59:03,455 DEBG 'deluge-script' stdout output:
  241. [info] All checks complete, starting Deluge...
  242.  
  243. 2016-05-04 02:59:03,462 DEBG 'privoxy-script' stdout output:
  244. [info] Privoxy set to disabled
  245.  
  246. 2016-05-04 02:59:03,463 DEBG fd 24 closed, stopped monitoring <POutputDispatcher at 47713139678960 for <Subprocess at 47713139675648 with name privoxy-script in state RUNNING> (stderr)>
  247. 2016-05-04 02:59:03,463 DEBG fd 20 closed, stopped monitoring <POutputDispatcher at 47713139678528 for <Subprocess at 47713139675648 with name privoxy-script in state RUNNING> (stdout)>
  248. 2016-05-04 02:59:03,463 INFO exited: privoxy-script (exit status 0; expected)
  249. 2016-05-04 02:59:03,464 DEBG received SIGCLD indicating a child quit
  250. 2016-05-04 02:59:03,786 DEBG 'deluge-script' stdout output:
  251. [info] Sleeping for 5 mins before rechecking listen interface and port (port checking is for PIA only)
  252.  
  253. 2016-05-04 02:59:04,838 DEBG 'webui-script' stdout output:
  254. [info] Starting Deluge webui...
  255.  
  256. 2016-05-04 02:59:05,872 DEBG 'start-script' stderr output:
  257. RTNETLINK answers: File exists
  258.  
  259. 2016-05-04 02:59:05,873 DEBG 'start-script' stdout output:
  260. Wed May  4 02:59:05 2016 ERROR: Linux route add command failed: external program exited with error status: 2
  261. Wed May  4 02:59:05 2016 Initialization Sequence Completed
  262.  
  263. 2016-05-04 03:00:31,937 DEBG 'webui-script' stderr output:
  264. [ERROR   ] 03:00:31 client:391 RPCError Message Received!
  265. --------------------------------------------------------------------------------
  266. RPCRequest: core.get_torrents_status({u'label': u'tv-sonarr'}, [u'hash', u'name', u'state', u'progress', u'eta', u'message', u'is_finished', u'save_path', u'total_size', u'total_done', u'time_added', u'active_time', u'ratio', u'is_auto_managed', u'stop_at_ratio', u'remove_at_ratio', u'stop_ratio'], True)
  267. --------------------------------------------------------------------------------
  268.   File "/usr/lib/python2.7/site-packages/deluge/core/rpcserver.py", line 299, in dispatch
  269.     ret = self.factory.methods[method](*args, **kwargs)
  270.   File "/usr/lib/python2.7/site-packages/deluge/core/core.py", line 448, in get_torrents_status
  271.     torrent_ids = self.filtermanager.filter_torrent_ids(filter_dict)
  272.   File "/usr/lib/python2.7/site-packages/deluge/core/filtermanager.py", line 172, in filter_torrent_ids
  273.     if (not status[field] in values) and torrent_id in torrent_ids:
  274.  
  275. KeyError: label
  276. --------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement