You may receive the following message from XP Server, when it is invoked by xp_cmdshell or some other extended stored procedure:
Msg 11018, Level 16, State 1: Procedure "xp_cmdshell", Line 2: XP Server must be up for ESP to execute. (return status = -6)
Verify that there is an XP Server entry in Adaptive Server’s sysservers table. If you created XP Server separately (in a different srvbuild session) from Adaptive Server and you did not specify a related Adaptive Server, srvbuild cannot update the sysservers table.
Use sp_addserver to add an entry to the sysservers table.