I just played with an available M98 action to duplicate your problem.
It's fairly common with the cock-on-opening M1898 mauser to have the trigger or sear movement stick due to dried oil, grease, dirt, etc. Normally, working the bolt vigourously is enough to jar the trigger sear back up to be ready to engage the bolt sear.
A fairly common problem with surplus mauser actions such as yours is that the firing pin sear and the trigger sear develop mismatched or burred surfaces, causing them to "snag" during slow bolt manipulation. Inspection and a few strokes using a honing stone will correct this.
And finally, wear of the receiver camming surface against the root of the bolt handle can cause failure to cock on opening. This wear affects the sear engagement, and is particularly common when bolts are mismatched to receivers.
Any or all of these factors can cause the failure to cock. Disassemly, cleaning, and inspection will help you to determine which it is.
HTH
John