Unable to configure TE420 digium card on asterisk

getting below error.
Unable to unload resource chan_dahdi.so

That’s not nearly enough information to go on.

Follow the guidance provided in the product’s manual (https://www.digium.com/sites/digium/files/te400-series-digital-cards-user-manual.pdf) and see where that leads.