Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Error starting application from sysinit
Ref. No. QNX.000004069
Category(ies) Utilities, Development, Configuration
Issue When we start our application from the sysinit file, it gives errors and reboots the system.
What is wrong?


Solution Try starting it from the /etc/profile file.  When booting, things get run in this sequence: boot loader, .boot file, sysinit, profile, and then $HOME/.profile . By the time the system gets to running profile, the shell and environment variables and path are setup or being setup so applications that expect those things will work. Unless careful consideration is used about where in the sysinit to start an application, the application may be denied access to the shell and evironment settings needed causing it to crash.