Ghost Of St. Michael's

The Ghost of St. Michael’s is a 1941 British comedy-thriller film, produced by Ealing Studios. Will Hay, back in his role as a hapless teacher, is hired by a grim school in remotest Scotland. The school soon starts to be haunted by a legendary ghost, whose spectral bagpipes signal the death of one of the staff. Hay, assisted by Claude Hulbert and Charles Hawtrey, has to unravel the mystery before he becomes the next victim.

Links To Peel
Peel on the 05 September 1999 (BFBS) show recalls seeing a Will Hay film called The Ghost Train at boarding school when he was nine or ten and being "absolutely terrified" by it, even though it was supposed to be a comedy. However, he seems to have confused this film (which starred Arthur Askey) with The Ghost Of St. Michael's. The two are apparently frequently compared.