. . . . . "Unless otherwise provided by law, every executor, administrator, guardian, trustee, referee, arbitrator, viewer, assessor, appraiser, and other person appointed by or made responsible to the court in any action or proceeding, before entering upon duties as such, shall take and subscribe the following oath:" . . .