You can't stop the CommandLine from TAC. What's the error message if it fails to generate the job script?
The Secondary commandline is a spare commandline, it will be used only when the first one is not available. Can you open the commandline tab in TAC menu and see which step has the error? Show us the detailed error information.