====== Check Message/File Base ====== The Synchronet ''chksmb'' utility validates the integrity of one or more SMB-format bases. SMB is used for both message bases (mail and sub-boards) and the v3.19+ file bases. If you suspect that your mail, a sub-board, or a file base has become corrupted, run ''chksmb'' to report any corruption and information useful for determining the cause. WARNING: All BBS nodes should be DOWNed (offline) or inactive when utilizing the ''chksmb'' utility. ===== Usage ===== usage: chksmb [-opts] [...] opts: b - beep on error s - stop after errored message/file base p - pause after errored message/file base h - don't check hash file a - don't check allocation files t - don't check translation strings i - don't check message IDs S - don't check subject CRCs N - don't check to/from name CRCs e - display extended info on corrupted msgs Example command line: chksmb /sbbs/data/mail /sbbs/data/subs/*.shd This will check your e-mail and sub-board data files for possible corruption. Most mail and/or message bases which are corrupted can be reconstructed (fixed) using the [[util:smbutil]] utility with the pack or restore command. Message bases with corrupted index files must be fixed with the [[util:fixsmb]] utility. ===== See Also ===== * [[util:index|Utilities]] * [[util:smbutil]] * [[util:fixsmb]]