Advertisement
Guest User

Untitled

a guest
Dec 2nd, 2015
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Erlang 15.56 KB | None | 0 0
  1. Linux raspberrypi 4.1.7-v7+ #817 SMP PREEMPT Sat Sep 19 15:32:00 BST 201
  2. 5 armv7l
  3.  
  4. The programs included with the Debian GNU/Linux system are free software
  5. ;
  6. the exact distribution terms for each program are described in the
  7. individual files in /usr/share/doc/*/copyright.
  8.  
  9. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
  10. permitted by applicable law.
  11. Last login: Wed Dec  2 09:52:56 2015 from 37.160.33.81
  12. pi@raspberrypi:~$ sudo nano /opt/ejabberd-15.07/conf/ejabberd.yml
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.   GNU nano 2.2.6  File: /opt/ejabberd-15.07/conf/ejabberd.yml          
  25.  
  26. ## 1: Critical
  27. ## 2: Error
  28. ## 3: Warning
  29. ## 4: Info
  30. ## 5: Debug
  31. ##
  32. loglevel: 5
  33.  
  34. ##
  35. ## rotation: Describe how to rotate logs. Either size and/or date can t$
  36. ## log rotation. Setting count to N keeps N rotated logs. Setting count$
  37. ## does not disable rotation, it instead rotates the file and keeps no $
  38. ## versions around. Setting size to X rotate log when it reaches X byte$
  39. ## To disable rotation set the size to 0 and the date to ""
  40. ## Date syntax is taken from the syntax newsyslog uses in newsyslog.con$
  41. ## Some examples:
  42. ##  $D0     rotate every night at midnight
  43. ##  $D23    rotate every day at 23:00 hr
  44.  
  45. ^G Get Help ^O WriteOut ^R Read File^Y Prev Page^K Cut Text ^C Cur Pos  
  46. ^X Exit     ^J Justify  ^W Where Is ^V Next Page^U UnCut Tex^T To Spell
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.   GNU nano 2.2.6  File: /opt/ejabberd-15.07/conf/ejabberd.yml          
  69.  
  70. ## 1: Critical
  71. ## 2: Error
  72. ## 3: Warning
  73. ## 4: Info
  74. ## 5: Debug
  75. ##
  76. loglevel: 5
  77.  
  78. ##
  79. ## rotation: Describe how to rotate logs. Either size and/or date can t$
  80. ## log rotation. Setting count to N keeps N rotated logs. Setting count$
  81. ## does not disable rotation, it instead rotates the file and keeps no $
  82. ## versions around. Setting size to X rotate log when it reaches X byte$
  83. ## To disable rotation set the size to 0 and the date to ""
  84. ## Date syntax is taken from the syntax newsyslog uses in newsyslog.con$
  85. ## Some examples:
  86. ##  $D0     rotate every night at midnight
  87. ##  $D23    rotate every day at 23:00 hr
  88.  
  89. ^G Get Help ^O WriteOut ^R Read File^Y Prev Page^K Cut Text ^C Cur Pos
  90. ^X Exit     ^J Justify  ^W Where Is ^V Next Page^U UnCut Tex^T To Spell
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.   GNU nano 2.2.6  File: /opt/ejabberd-15.07/conf/ejabberd.yml          
  113.  
  114. ## 1: Critical
  115. ## 2: Error
  116. ## 3: Warning
  117. ## 4: Info
  118. ## 5: Debug
  119. ##
  120. loglevel: 5
  121.  
  122. ##
  123. ## rotation: Describe how to rotate logs. Either size and/or date can t$
  124. ## log rotation. Setting count to N keeps N rotated logs. Setting count$
  125. ## does not disable rotation, it instead rotates the file and keeps no $
  126. ## versions around. Setting size to X rotate log when it reaches X byte$
  127. ## To disable rotation set the size to 0 and the date to ""
  128. ## Date syntax is taken from the syntax newsyslog uses in newsyslog.con$
  129. ## Some examples:
  130. ##  $D0     rotate every night at midnight
  131. ##  $D23    rotate every day at 23:00 hr
  132. ##  $W0D23  rotate every week on Sunday at 23:00 hr
  133. ##  $W5D16  rotate every week on Friday at 16:00 hr
  134. ##  $M1D0   rotate on the first day of every month at midnight
  135. ##  $M5D6   rotate on every 5th day of the month at 6:00 hr
  136. ##
  137. log_rotate_size: 10485760
  138. log_rotate_date: ""
  139. log_rotate_count: 1
  140.  
  141. ##
  142. ## overload protection: If you want to limit the number of messages per$
  143. ## allowed from error_logger, which is a good idea if you want to avoid$
  144. ## of messages when system is overloaded, you can set a limit.
  145. ## 100 is ejabberd's default.
  146. log_rate_limit: 100
  147.  
  148. ##
  149. ## watchdog_admins: Only useful for developers: if an ejabberd process
  150. ## consumes a lot of memory, send live notifications to these XMPP
  151. ## accounts.
  152. ##
  153.  
  154. ^G Get Help ^O WriteOut ^R Read File^Y Prev Page^K Cut Text ^C Cur Pos
  155. ^X Exit     ^J Justify  ^W Where Is ^V Next Page^U UnCut Tex^T To Spell
  156.  GNU nano 2.2.6  File: /opt/ejabberd-15.07/conf/ejabberd.yml          
  157.  
  158. ## 1: Critical
  159. ## 2: Error
  160. ## 3: Warning
  161. ## 4: Info
  162. ## 5: Debug
  163. ##
  164. loglevel: 5
  165.  
  166. ##
  167. ## rotation: Describe how to rotate logs. Either size and/or date can t$
  168. ## log rotation. Setting count to N keeps N rotated logs. Setting count$
  169. ## does not disable rotation, it instead rotates the file and keeps no $
  170. ## versions around. Setting size to X rotate log when it reaches X byte$
  171. ## To disable rotation set the size to 0 and the date to ""
  172. ## Date syntax is taken from the syntax newsyslog uses in newsyslog.con$
  173. ## Some examples:
  174. ##  $D0     rotate every night at midnight
  175. ##  $D23    rotate every day at 23:00 hr
  176. ##  $W0D23  rotate every week on Sunday at 23:00 hr
  177. ##  $W5D16  rotate every week on Friday at 16:00 hr
  178. ##  $M1D0   rotate on the first day of every month at midnight        
  179.  GNU nano 2.2.6  File: /opt/ejabberd-15.07/conf/ejabberd.yml          
  180.  
  181. ##  $D0     rotate every night at midnight
  182. ##  $D23    rotate every day at 23:00 hr
  183. ##  $W0D23  rotate every week on Sunday at 23:00 hr
  184. ##  $W5D16  rotate every week on Friday at 16:00 hr
  185. ##  $M1D0   rotate on the first day of every month at midnight
  186. ##  $M5D6   rotate on every 5th day of the month at 6:00 hr
  187. ##
  188. log_rotate_size: 10485760
  189. log_rotate_date: ""
  190. log_rotate_count: 1
  191.  
  192. ##
  193. ## overload protection: If you want to limit the number of messages per$
  194. ## allowed from error_logger, which is a good idea if you want to avoid$
  195. ## of messages when system is overloaded, you can set a limit.
  196. ## 100 is ejabberd's default.
  197. log_rate_limit: 100
  198.  
  199.  
  200. ^G Get Help ^O WriteOut ^R Read File^Y Prev Page^K Cut Text ^C Cur Pos
  201. ^X Exit     ^J Justify  ^W Where Is ^V Next Page^U UnCut Tex^T To Spell
  202.   GNU nano 2.2.6  File: /opt/ejabberd-15.07/conf/ejabberd.yml          
  203.  
  204. ##  $D0     rotate every night at midnight
  205. ##  $D23    rotate every day at 23:00 hr
  206. ##  $W0D23  rotate every week on Sunday at 23:00 hr
  207. ##  $W5D16  rotate every week on Friday at 16:00 hr
  208. ##  $M1D0   rotate on the first day of every month at midnight
  209. ##  $M5D6   rotate on every 5th day of the month at 6:00 hr
  210. ##
  211. log_rotate_size: 10485760
  212. log_rotate_date: ""
  213. log_rotate_count: 1
  214.  
  215. ##
  216. ## overload protection: If you want to limit the number of messages per$
  217. ## allowed from error_logger, which is a good idea if you want to avoid$
  218. ## of messages when system is overloaded, you can set a limit.
  219. ## 100 is ejabberd's default.
  220. log_rate_limit: 100
  221.  
  222.  
  223. ^G Get Help ^O WriteOut ^R Read File^Y Prev Page^K Cut Text ^C Cur Pos
  224. ^X Exit     ^J Justify  ^W Where Is ^V Next Page^U UnCut Tex^T To Spell
  225. ##GNU nano 2.2.6  File: /opt/ejabberd-15.07/conf/ejabberd.yml          
  226. ## watchdog_admins: Only useful for developers: if an ejabberd proces
  227. ## consumes a lot of memory, send live notifications to these XMPP
  228. ## accounts.rotate every day at 23:00 hr
  229. ##  $W0D23  rotate every week on Sunday at 23:00 hr
  230. ##  watchdog_admins:very week on Friday at 16:00 hr
  231. ##   - "thorsten@emevth.no-ip.biz"y of every month at midnight
  232. ##  $M5D6   rotate on every 5th day of the month at 6:00 hr
  233. ###.  ===============
  234. ###'  NODE PARAMETERS5760
  235. log_rotate_date: ""
  236. ##g_rotate_count: 1
  237. ## net_ticktime: Specifies net_kernel tick time in seconds. This option$
  238. ##
  239. ## overload protection: If you want to limit the number of messages per$
  240. ## allowed from error_logger, which is a good idea if you want to avoid$
  241. ## of messages when system is overloaded, you can set a limit.
  242. ## 100 is ejabberd's default.
  243. log_rate_limit: 100
  244.  
  245.  
  246. ^G Get Help ^O WriteOut ^R Read File^Y Prev Page^K Cut Text ^C Cur Pos
  247. ^X Exit     ^J Justify  ^W Where Is ^V Next Page^U UnCut Tex^T To Spell$
  248.  GNU nano 2.2.6  File: /opt/ejabberd-15.07/conf/ejabberd.yml          
  249.  
  250. ##  $D0     rotate every night at midnight
  251. ##  $D23    rotate every day at 23:00 hr
  252. ##  $W0D23  rotate every week on Sunday at 23:00 hr
  253. ##  $W5D16  rotate every week on Friday at 16:00 hr
  254. ##  $M1D0   rotate on the first day of every month at midnight
  255. ##  $M5D6   rotate on every 5th day of the month at 6:00 hr
  256. ##
  257. log_rotate_size: 10485760
  258. log_rotate_date: ""
  259. log_rotate_count: 1
  260.  
  261. ##
  262. ## overload protection: If you want to limit the number of messages per$
  263. ## allowed from error_logger, which is a good idea if you want to avoid$
  264. ## of messages when system is overloaded, you can set a limit.
  265. ## 100 is ejabberd's default.
  266. log_rate_limit: 100
  267.  
  268. ##
  269. ## watchdog_admins: Only useful for developers: if an ejabberd process
  270. ## consumes a lot of memory, send live notifications to these XMPP
  271.   GNU nano 2.2.6  File: /opt/ejabberd-15.07/conf/ejabberd.yml          
  272.  
  273. ##  $D0     rotate every night at midnight
  274. ##  $D23    rotate every day at 23:00 hr
  275. ##  $W0D23  rotate every week on Sunday at 23:00 hr
  276. ##  $W5D16  rotate every week on Friday at 16:00 hr
  277. ##  $M1D0   rotate on the first day of every month at midnight
  278. ##  $M5D6   rotate on every 5th day of the month at 6:00 hr
  279. ##
  280. log_rotate_size: 10485760
  281. log_rotate_date: ""
  282. log_rotate_count: 10
  283.  
  284. ##
  285. ## overload protection: If you want to limit the number of messages per$
  286. ## allowed from error_logger, which is a good idea if you want to avoid$
  287. ## of messages when system is overloaded, you can set a limit.
  288. ## 100 is ejabberd's default.
  289. log_rate_limit: 100
  290.  
  291.                          [ Wrote 835 lines ]
  292.  
  293. pi@raspberrypi:~$ sudo service ejabberd restart
  294. Stopping ejabberd...
  295. done.
  296. Starting ejabberd...
  297. done.
  298. pi@raspberrypi:~$ Linux raspberrypi 4.1.7-v7+ #817 SMP PREEMPT Sat Sep 1
  299. 9 15:32:00 BST 2015 armv7l
  300.  
  301. The programs included with the Debian GNU/Linux system are free software
  302. ;
  303. the exact distribution terms for each program are described in the
  304. individual files in /usr/share/doc/*/copyright.
  305.  
  306. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
  307. permitted by applicable law.
  308. pi@raspberrypi:~$ cd /opt/ejabberd-15.07/logs/60.140.207
  309. pi@raspberrypi:/opt/ejabberd-15.07/logs$ grep -C10 '2015-12-02 08:53:14.
  310. 371' ejabberd.log*
  311. ejabberd.log.0- to {jid,<<"thorsten">>,<<"emevth.no-ip.biz">>,<<"mobile"
  312. >>,<<"thorsten">>,<<"emevth.no-ip.biz">>,<<"mobile">>}
  313. ejabberd.log.0- packet {xmlel,<<"message">>,[{<<"from">>,<<"holg"...>>},
  314. {<<"to">>,<<...>>},{<<...>>,...},{...}],[{xmlel,<<...>>,...}]}
  315. ejabberd.log.0-2015-12-02 11:38:18.505 [debug] <0.1295.0>@ejabberd_sm:do
  316. _route:565 sending to process <0.1098.0>
  317. ejabberd.log.0-2015-12-02 11:38:18.506 [debug] <0.1098.0>@mod_mam_mnesia
  318. :receive_stanza:290 Won't archive undesired incoming stanza for thorsten
  319. @emevth.no-ip.biz/mobile
  320. ejabberd.log.0-2015-12-02 11:38:18.506 [debug] <0.1098.0>@mod_client_sta
  321. te:filter_chat_states:106 Got standalone chat state notification
  322. ejabberd.log.0-2015-12-02 11:38:18.506 [debug] <0.1098.0>@ejabberd_c2s:c
  323. si_filter_stanza:3032 Going to drop stanza for inactive client <<"thorst
  324. en@emevth.no-ip.biz/mobile">>
  325. ejabberd.log.0-2015-12-02 11:38:19.166 [debug] <0.1168.0>@ejabberd_recei
  326. ver:process_data:349 Received XML on stream = <<"<a h=\"544\" xmlns=\"ur
  327. n:xmpp:sm:3\"/>">>
  328. ejabberd.log.0-2015-12-02 11:38:19.167 [debug] <0.1168.0>@shaper:update:
  329. 120 State: {maxrate,1000,216.73137913749935,1449052698202260}, Size=34
  330. ejabberd.log.0-M=19.06611241976291, I=964.39
  331. ejabberd.log.0-2015-12-02 11:38:19.167 [debug] <0.1169.0>@ejabberd_c2s:c
  332. heck_h_attribute:2810 suji@emevth.no-ip.biz/mobile acknowledged 544 of 5
  333. 44 stanzas
  334. ejabberd.log.0:2015-12-02 11:38:20.042 [debug] <0.1294.0>@ejabberd_recei
  335. ver:process_data:349 Received XML on stream = <<"<message from='holger@j
  336. abber.fu-berlin.de/ZEDAT' to='thorsten@emevth.no-ip.biz/mobile' type='ch
  337. at' id='1902410180'><body>Mich interessiert noch ein Log-Auszug von vorh
  338. in:\n\ngrep -C10 &apos;2015-12-02 08:53:14.371&apos; ejabberd.log*</body
  339. ><request xmlns='urn:xmpp:receipts'/><active xmlns='http://jabber.org/pr
  340. otocol/chatstates'/></message>">>
  341. ejabberd.log.0-2015-12-02 11:38:20.045 [debug] <0.1295.0>@ejabberd_route
  342. r:do_route:323 route
  343. ejabberd.log.0- from {jid,<<"holger">>,<<"jabber.fu-berlin.de">>,<<"ZEDA
  344. T">>,<<"holger">>,<<"jabber.fu-berlin.de">>,<<"ZEDAT">>}
  345. ejabberd.log.0- to {jid,<<"thorsten">>,<<"emevth.no-ip.biz">>,<<"mobile"
  346. >>,<<"thorsten">>,<<"emevth.no-ip.biz">>,<<"mobile">>}
  347. ejabberd.log.0: packet {xmlel,<<"message">>,[{<<"from">>,<<"holger@jabbe
  348. r.fu-berlin.de/ZEDAT">>},{<<"to">>,<<"thorsten@emevth.no-ip.biz/mobile">
  349. >},{<<"type">>,<<"chat">>},{<<"id">>,<<"1902410180">>}],[{xmlel,<<"body"
  350. >>,[],[{xmlcdata,<<"Mich interessiert noch ein Log-Auszug von vorhin:\n\
  351. ngrep -C10 '2015-12-02 08:53:14.371' ejabberd.log*">>}]},{xmlel,<<"reque
  352. st">>,[{<<"xmlns">>,<<"urn:xmpp:receipts">>}],[]},{xmlel,<<"active">>,[{
  353. <<"xmlns">>,<<"http://jabber.org/protocol/chatstates">>}],[]}]}
  354. ejabberd.log.0-2015-12-02 11:38:20.046 [debug] <0.1295.0>@ejabberd_local
  355. :do_route:296 local route
  356. ejabberd.log.0- from {jid,<<"holger">>,<<"jabber.fu-berlin.de">>,<<"ZEDA
  357. T">>,<<"holger">>,<<"jabber.fu-berlin.de">>,<<"ZEDAT">>}
  358. ejabberd.log.0- to {jid,<<"thorsten">>,<<"emevth.no-ip.biz">>,<<"mobile"
  359. >>,<<"thorsten">>,<<"emevth.no-ip.biz">>,<<"mobile">>}
  360. ejabberd.log.0- packet {xmlel,<<"message">>,[{<<"from">>,<<"holg"...>>},
  361. {<<"to">>,<<...>>},{<<...>>,...},{...}],[{xmlel,<<...>>,...},{xmlel,...}
  362. ,{...}]}
  363. ejabberd.log.0-2015-12-02 11:38:20.048 [debug] <0.1295.0>@ejabberd_sm:do
  364. _route:447 session manager
  365. ejabberd.log.0- from {jid,<<"holger">>,<<"jabber.fu-berlin.de">>,<<"ZEDA
  366. T">>,<<"holger">>,<<"jabber.fu-berlin.de">>,<<"ZEDAT">>}
  367. ejabberd.log.0- to {jid,<<"thorsten">>,<<"emevth.no-ip.biz">>,<<"mobile"
  368. >>,<<"thorsten">>,<<"emevth.no-ip.biz">>,<<"mobile">>}
  369. ejabberd.log.0- packet {xmlel,<<"message">>,[{<<"from">>,<<"holg"...>>},
  370. {<<"to">>,<<...>>},{<<...>>,...},{...}],[{xmlel,<<...>>,...},{xmlel,...}
  371. ,{...}]}
  372. ejabberd.log.0-2015-12-02 11:38:20.048 [debug] <0.1295.0>@ejabberd_sm:do
  373. _route:565 sending to process <0.1098.0>
  374. ejabberd.log.0-2015-12-02 11:38:20.049 [debug] <0.1098.0>@mod_client_sta
  375. te:filter_chat_states:109 Got message with chat state notification
  376. ejabberd.log.0-2015-12-02 11:38:20.050 [debug] <0.1098.0>@ejabberd_c2s:c
  377. si_filter_stanza:3032 Going to send stanza for inactive client <<"thorst
  378. en@emevth.no-ip.biz/mobile">>
  379. ejabberd.log.0:2015-12-02 11:38:20.051 [debug] <0.1098.0>@ejabberd_c2s:s
  380. end_text:1892 Send XML on stream = <<"<message from='holger@jabber.fu-be
  381. rlin.de/ZEDAT' to='thorsten@emevth.no-ip.biz/mobile' type='chat' id='190
  382. 2410180'><body>Mich interessiert noch ein Log-Auszug von vorhin:\n\ngrep
  383. -C10 &apos;2015-12-02 08:53:14.371&apos; ejabberd.log*</body><request x
  384. mlns='urn:xmpp:receipts'/><active xmlns='http://jabber.org/protocol/chat
  385. states'/></message>">>
  386. ejabberd.log.0-2015-12-02 11:38:20.052 [debug] <0.1098.0>@ejabberd_c2s:s
  387. end_text:1892 Send XML on stream = <<"<r xmlns='urn:xmpp:sm:3'/>">>
  388. ejabberd.log.0-2015-12-02 11:38:20.054 [debug] <0.468.0>@mod_mam_mnesia:
  389. maybe_store_message:459 Storing MAM message for thorsten@emevth.no-ip.bi
  390. z
  391. ejabberd.log.0-2015-12-02 11:38:20.563 [debug] <0.488.0>@ejabberd_router
  392. :do_route:323 route
  393. ejabberd.log.0- from {jid,<<>>,<<"emevth.no-ip.biz">>,<<>>,<<>>,<<"emevt
  394. h.no-ip.biz">>,<<>>}
  395. ejabberd.log.0- to {jid,<<"emilie">>,<<"emevth.no-ip.biz">>,<<"mobile">>
  396. ,<<"emilie">>,<<"emevth.no-ip.biz">>,<<"mobile">>}
  397. ejabberd.log.0- packet {xmlel,<<"iq">>,[{<<"id">>,<<"1202849904">>},{<<"
  398. type">>,<<"get">>}],[{xmlel,<<"ping">>,[{<<"xmlns">>,<<"urn:xmpp:ping">>
  399. }],[]}]}
  400. ejabberd.log.0-2015-12-02 11:38:20.565 [debug] <0.488.0>@ejabberd_local:
  401. do_route:296 local route
  402. ejabberd.log.0- from {jid,<<>>,<<"emevth.no-ip.biz">>,<<>>,<<>>,<<"emevt
  403. h.no-ip.biz">>,<<>>}
  404. ejabberd.log.0- to {jid,<<"emilie">>,<<"emevth.no-ip.biz">>,<<"mobile">>
  405. ,<<"emilie">>,<<"emevth.no-ip.biz">>,<<"mobile">>}
  406. ejabberd.log.0- packet {xmlel,<<"iq">>,[{<<"id">>,<<"1202"...>>},{<<"typ
  407. e">>,<<...>>}],[{xmlel,<<...>>,...}]}
  408. pi@raspberrypi:/opt/ejabberd-15.07/logs$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement