Make sure everything you reference is via full pathname. Startupscripts run as root but the $PATH may not be set. If that fails, maybeyou can post your rc.local