Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > Sybase > xp_cmdshell

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-21-02, 06:40
raju raju is offline
Registered User
 
Join Date: Jan 2002
Posts: 28
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
Reply With Quote
  #2 (permalink)  
Old 02-27-02, 08:52
decky decky is offline
Registered User
 
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On