Rail services affected