User Tools

Site Tools


documentation:end-users_docs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
documentation:end-users_docs [2020/01/11 00:38] – [Syslog] olivierdocumentation:end-users_docs [2020/01/16 17:58] – [Enabling crash dump] olivier
Line 482: Line 482:
  
 ==== Enabling crash dump ==== ==== Enabling crash dump ====
 +
 +=== Local swap dump device ===
  
 For saving and extracting a crash dump you need: For saving and extracting a crash dump you need:
Line 579: Line 581:
 </code> </code>
  
 +=== netdump ===
 +
 +In case where you didn't have enough disk space to localy store dump, you can use netdump(4).
 +
 +On the receiving FreeBSD server (not your router):
 +<code>
 +pkg install netdumpd
 +service netdumpd enable
 +service netdumpd start
 +</code>
 +
 +Then on your router, declare source interface to use, source IP address, gateway
 +<code>
 +sysrc dumpdev=igb1
 +sysrc dumpon_flags="-s 198.19.0.24 -c 192.168.1.10 -g 192.168.1.254
 +</code>
 +
 +and enable it:
 +
 +<code>
 +# service dumpon restart
 +kernel dumps on priority: device
 +0: /dev/null
 +server address: 198.19.0.24
 +client address: 192.168.1.10
 +gateway address: 192.168.1.254
 +</code>
 ==== Installing debug symbols ==== ==== Installing debug symbols ====
 Symbol files of kernel and binary are available in the separate DEBUG archive file. Symbol files of kernel and binary are available in the separate DEBUG archive file.
documentation/end-users_docs.txt · Last modified: 2021/02/23 12:01 by olivier

Except where otherwise noted, content on this wiki is licensed under the following license: BSD 2-Clause
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki