Passengers were faced with broken ticket machines at many stations across the country