Results 1 to 2 of 2

Thread: xp_cmdshell

  1. #1
    Join Date
    Jan 2002
    Posts
    28

    Unanswered: xp_cmdshell

    Hi

    I have setup xp_server and added the server into the server list.

    I issued xp_cmdshell 'ls -la' command but it did not return any result. even i tried to execute shell script using xp_cmdshell, but it did not executed. but i did not get any error. even sp_configure 'xp_cmdshell context' is set to 0. can anyone explain me the reason for this.

    regards

    raju

  2. #2
    Join Date
    Feb 2002
    Location
    S.E. London
    Posts
    5

    XP Server

    Hi,

    Are you sure XP server is starting up correctly ?

    Have a look at the XP Server error log at $SYBASE/install/<XP Server Name>.log to ensure XP server is starting up correctly when you try to
    run xp_cmdshell. Also grep for xpserver process to check it is now running.

    There is a good Sybase faq on XP server at:
    http://www.sybase.com/detail?id=20200

    Regards
    Declan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •