Scroll back until the you see the **first** error message.
Errors that occur when commands in an IOC's startup script are executed are usually critical.
#### 2.10.1 Identify critical runtime errors
Scroll back until the you see the **first** error message. Resolving the **first** error message can often eliminate many other error messages that appear unrelated.
#### 2.10.2 Stop the IOC
Exit the IOC from the IOC shell:
```
kmp> exit
```
Note: typing `ctrl+c` will also stop the IOC.
#### 2.10.3 Resolve critcial runtime errors
Resolve the problem that is causing the first error message, which accurately describes the problem.