Output from Send Unix command stalled

after send a unix command to a client the output from
the command stalls. It seems that the output is buffered
and that the final buffers are not flushed. This behaviour
is new since 10.5.5 --
Anyone know of a way to control the buffer size, when
they are flushed or to how to run unbuffered ??
ARD 3.2.2 all around and 10.5.6 all around ARD on a Quad Xenon
and clients iMac Alum

well this seems to have been a red herring --
I had not set the "linebuffering" option on the
command
the command was lapply from the radmind suite
needed to set "-i"
thanks

Similar Messages

  • Can't Set Remote Login OFF via Send Unix Command systemsetup

    Trying to use the System Setup->Remote Login template in ARD to turn off Remote Login (SSH) in Sharing panel of System Preferences on Mac that is administered through Apple Remote Desktop.
    In Apple Remote Desktop (ARD), I select the client machine, then choose "Send Unix Command..." from the "Manage" menu. In resultant window, I pick "System Setup->Remote Login (SSH) from the "Template" drop down box in the upper right. That populates the upper window with Unix commands. I edit/change the "on" to "off" and tell the dialog to Run command as User: root, then click on "Send" button.
    Progress bar goes forever with no change.
    I can turn off Remote Login via ARD by controlling each client machine via an ARD WINDOW, then navigating to the Sharing Preference pane, but that process is tedious when performing for multiple client Macs.
    Strange, but I CAN use the "Send Unix Command..." outlined above to turn ON Remote Login, and get the status of Remote Login ("systemsetup -getremotelogin"). Just can't turn OFF Remote Login (quickly/efficiently).
    man systemsetup suggests I need to write the command as "setremotelogin -f off" but that failed with an improper command syntax error.
    Thoughts?

    It’s waiting for you to type a confirmation. If you run this command on the command line normally, you’ll see the message:
    Do you really want to turn remote login off? If you do, you will lose this connection and can only turn it back on locally at the server (yes/no)?
    Use this command instead:
    systemsetup -f -setremotelogin off

  • Send Unix Command Miscellaneous/Login template missing

    I'm wondering why the " Apple Remote Desktop" Administrator Guide depicts "Login Users"
    as an option in the default templates menu of the Send Unix Command/Templates/Miscellaneous/Login users ?
    In my actual ARD 3.2.2 Admin, the template menu list skips that command option.
    Also during my attempt to implement the osa script for simultaneous logins, I used a 'sudo'
    (which I shouldn't have). And now my screen savers won't activate on my login screens.
    So now I worry about my screens being burned with the login window image.
    Any ideas on how to undo my sudo?

    yes, click "user:" and type in "root", then remove "sudo" from your script.
    whenever you need to run a script as sudo, use the user 'root' and remove 'sudo' from the script.

  • Send Unix command won't work under 10.2.8

    So I am running this command in a lab of 10.2.8 machines. I go to send Unix Command then I put this in:
    Send Unix Command
    user: root
    osascript -e 'tell application "System Events" to keystroke "map"'; \
    osascript -e 'tell application "System Events" to keystroke tab'; \
    osascript -e 'tell application "System Events" to delay 0.5'; \
    osascript -e 'tell application "System Events" to keystroke "map"'; \
    osascript -e 'tell application "System Events" to delay 0.5'; \
    osascript -e 'tell application "System Events" to keystroke return'
    Then I check Display all output.
    Then I check Run command as User: Root
    Then I send it.
    After that in the Display all output shows me this.
    cms132-30 (64.8.180.103)
    /bin/bash: Send: command not found
    /bin/bash: user:: command not found
    execution error: System Events got an error: NSCannotCreateScriptCommandError (10)
    execution error: System Events got an error: NSCannotCreateScriptCommandError (10)
    execution error: System Events got an error: NSCannotCreateScriptCommandError (10)
    execution error: System Events got an error: NSCannotCreateScriptCommandError (10)
    So I close that window and see an error message by that machine that says:
    Error: 1 "execution error: system events got an error: NSCannotCreateScriptCommandError (10)"
    So what is wrong with this? It works fine with 10.3.9 but not with 10.2.8
    Imac   Mac OS X (10.2.x)  

    It doesn't appear that the System Events under 10.2.x responds to the keystroke command (it doesn't appear in the AppleScript Dictionary.)

  • Send UNIX Command Authentication?

    I'm using a script suggested at MacEnterprise http://macenterprise.org/content/view/240/140/ that binds a client to AD and OD via the ARD send UNIX command.
    I'm having an issue with the dsconfigldap line. If I send it via ARD with no user logged in on the remote I get an "Unable to obtain auth rights to update DirectoryService LDAP configuration." error. If I login to the remote or send the same command from the terminal, all is OK.
    I've tried using sudo, but that requires a password. I'd like to be able to send this command to mutiple machines without having to log into them.
    Any suggestions?
    Regards
    Dave

    yes, click "user:" and type in "root", then remove "sudo" from your script.
    whenever you need to run a script as sudo, use the user 'root' and remove 'sudo' from the script.

  • Using ARD to send UNIX command to add item to dock

    The ARD 3 Admin Guide, page 132, says the following command sequence will install an item in the dock of the target computer(s):
    4) Type or paste the following UNIX command (replace /PathToApplication with your own path to the desired application, and be sure to include the application file extension, .app):
    defaults write com.apple.dock persistent-apps -array-add '<dict><key>tiledata</
    key><dict><key>file-data</key>
    <dict><key>CFURLString</key><string>/Path_ToApplication
    </string><key>_CFURLStringType</key><integer>0</integer></dict>
    </dict></dict>';killall -HUP Dock
    Use “persistent-others” instead of “persistent-apps” if the item is anything other than an application.
    I am unable to make it work. Could anyone help with the correct syntax or suggestions as to how to perform a remote addition to the target computer dock.

    Do you have JSS? I ask because your script contains the word JAMF allot.. if you do have a jss, is there a reason your trying to use ARD instead of your JSS to run this script?
    When issuing the script from ARD as a send unix command, Have you cosnidered using the option to run command as user "root" ?
    are you sure you want to do this? the script look like it dose more then just disable the isite. And do you know how to undo this if you change your mind?

  • The built-in Send UNIX Command templates include 'Login User'

    On page 144 of the Administrator's Guide.pdf is the title The built-in Send UNIX Command templates include:
    Under Miscellaneous it has as the first command "Login User" however it isn't listed for me.
    Upon further investigation I discovered in /Applications/Remote Desktop.app/Contents/Resources/English.lproj/UnixCommandTask.strings on line 75 presetLoginUser = "Login User";
    Also noted in the MacEnterprise video 2006-04-18_hres.mov at 00:23:07 it is not listed.
    I'm aware of the the scripts capable of doing this, I would just like to know why it is not available in the built-in commands or am I missing something?
    Thanks to anyone who can help me answer this question.

    No, you're not missing anything. The missing template was reported as a bug (or incorrect documentation) several times, but for some unknown Apple didn't fix the problem, either by including the template (missing perhaps because the script is unreliable with Mac OS X 10.4) or removing the reference from the manual, before ARD 3 was released.

  • Can't send UNIX command to some users

    I have some users that I use as "guinea pigs" for rolling out new updates. They do my testing of the updates through the daily grind and report problems and such.
    Since updating to 10.4.4, I cannot send UNIX commands to them reliably. In fact, simply sending the command "ls /Applications" results in a long wait with ARD reporting "Waiting..." that never seems to finish.
    Is there anything I can delete from their systems that would force those computers to reconsider their desire to run my UNIX commands? Sending to my 10.4.3 users results in instantaneous command results and sending UNIX commands to some other 10.4.4 systems (like my own laptop) works just fine as well. It's like these four systems are confused somehow. I just sent "ls /Applications" to 150 users and only those four systems have ARD "Waiting..." to complete the task

        Hi Tilly4527. It's easy to share those awesome picture memories with your family and friends with your HTC Incredible. Just follow the steps at http://vz.to/13qpt6h and select the messaging option for the method. Then you can either enter the 10-digit mobile numbers, names of your contacts, or email addresses for the people you'd like to share the picture with.
    Enjoy sharing those memories and have a great day.
    Thank you
    JenniferH_VZW
    Please follow us on Twitter @vzwsupport

  • Send Unix Command 'reboot' never completes

    I'm going to upgrade the OS on a bunch of machines with the software update command line utility.
    It's a simple one liner from ARD, send unix command. I want to add a second line with either reboot or shutdown -r now, but when I do, the taks never completes.
    The machine does indeed reboot properly, but the task in ARD never appears to stop.
    Why is that?

    It never officially completes because the system reboots before the ARD client can report back the successful completion of the task. It's sort of like you asking someone to disconnect your telephone and then wanting them to call you to tell you it's been done. I know of no way to send the reboot command as a UNIX command without the ARD task hanging waiting for the "completion", but perhaps someone else here will have an idea. I just wait for the updates to complete and then I use the ARD Restart command rather than a UNIX command.

  • Cant send UNIX commands via ARD

    I have ARD, and the option to send UNIX commands is greyed out. Help?

    On the client, apple menu, system preferences, sharing, Remote Management.
    If allow access is set to all users, then click the options button.
    else, select the user your using to connect to the client, and then click the option button.
    Make sure every thing is checked.
    click ok
    try again on ARD.
    Other things to try:
    quit and re-open ARD.
    delete, then  and re-add the client computer from ARD.
    unchecking, and then re- checking remote management on the client. (to force the service to restart)

  • Unable to run reports from the unix command line

    hi
    all of a sudden i am unable to run reports ( on App server 10g) either from the unix scripts or from the unix command line. But i can run them from the forms.
    Any one have any idead about this.
    Thank you

    thanks all for replying
    i have set the env variables for the session and it worked. Looks like i have to set the oracle_home and ld_library_path every time ( opening a new putty session) i call sqlldr.
    But in a whole i am trying to run sql loader from the forms. Right now we have Oracle app server 10g which forms 10g version. As oracle app server 10g didnt come with sqlldr, we are copied the sqlldr of database on to app server with different home. after this we can run sqlldr ( on app server ) from unix scripts but not from Forms. Then we opened a qurey with oracle about app server 10g not commig with sqlldr and its remedy . But they said that they dont have specific remedy for that and suggested the same what we did.
    So we came up with java package which does the same funtion as host command and trying to run sqlldr which is on the database( ie replacing the host command in the forms with the database funtion). By using that funtion i am able to run the sqlldr from sql plus but not from forms. I couldnt easily debug it as i wont through any error messages.
    Any one have any idea of this ...
    Thank you

  • How to get the time length from send record command to record video really?

    I have two buttons. Record/Stop
    I press Record button to record the video and press Stop
    button to stop recording.Now,I spend 1986 ms from press Record
    button to press Stop button.
    But the flv file's length is 1920 or 1910 or 1915 ms.
    So I want to get the time length from send record command to
    record video really.
    Can you give me some suggests.
    Thanks!

    maybe you have lag in publishing.... are you try watch de
    NetStream.liveDelay() method?
    or start counting when NetStream.onStatus has
    "NetStream.Record.Start" and "NetStream.Record.Stop" in information
    objects....

  • How can I import eex files into Applications EUL from the unix command line

    How can I import *.eex and *.dis files into an Applications EUL from the unix command line?
    Thanks

    Hi
    The simple answer is you either have to use the client tool DIS51ADM to import files using the command line (Discoverer Admin is a windows only client tool), or the Java command line which needs a browser.
    In theory if you have a browser running on your Unix box you may be able to use the Java command line to make this work.
    Best wishes
    Michael

  • Send UNIX Command - This task will fail. This task is not authorized...

    Whenever i try to use the "Send UNIX Command" feature, i always get a "not authorized" error.
    The machines are connected through a switch, they are not firewalled.
    How can i resolve this?
    G5   Mac OS X (10.4.8)  

    You probably don't have the appropriate access privileges set for your user.
    Page 60 of the manual has a list, but you need the following privileges enabled:
    - Open & quit applications
    - Change Settings
    - Delete & Replace Items
    - Restart & Shut down
    - Copy Items

  • Inconsistent output from SCVMM PowerShell commands

    I noticed that the output from SCVMM commands is not consistent. I will use an example: When I run the command Get-SCVMHostGroup for the first time, the Hosts and AllChildHosts properties are null, but if I keep running the same command continuously
    the values slowly start appearing. See following output:
    PS C:\Users\mandardi> Get-SCVMHostGroup
    AllChildGroups : {}
    AllChildHosts : {}
    AllowUnencryptedTransfers : False
    ChildGroups : {}
    CreationDate : 8/16/2011 7:32:06 PM
    Creator :
    Description :
    Hosts : {}
    ID : 0e3ba228-a059-46be-aa41-2f5cf0f4b96e
    InheritPROSettings :
    InheritNetworkSettings : False
    IsFullyCached : True
    IsRoot : True
    MarkedForDeletion : False
    ModificationDate : 8/16/2011 7:32:06 PM
    ModifiedBy :
    Name : All Hosts
    ParentHostGroup :
    Path : All Hosts
    PROAutomationLevel :
    PROMonitoringLevel :
    ServerConnection : Microsoft.SystemCenter.VirtualMachineManager.Remoting.ServerConnection
    PS C:\Users\mandardi> Get-SCVMHostGroup
    AllChildGroups : {}
    AllChildHosts : {mandar-win2k8.cvlxxxxx.local}
    AllowUnencryptedTransfers : False
    ChildGroups : {}
    CreationDate : 8/16/2011 7:32:06 PM
    Creator :
    Description :
    Hosts : {mandar-win2k8.cvlxxxxx.local}
    ID : 0e3ba228-a059-46be-aa41-2f5cf0f4b96e
    InheritPROSettings :
    InheritNetworkSettings : False
    IsFullyCached : True
    IsRoot : True
    MarkedForDeletion : False
    ModificationDate : 8/16/2011 7:32:06 PM
    ModifiedBy :
    Name : All Hosts
    ParentHostGroup :
    Path : All Hosts
    PROAutomationLevel :
    PROMonitoringLevel :
    ServerConnection : Microsoft.SystemCenter.VirtualMachineManager.Remoting.ServerConnection
    The command above was run twice within an interval of few seconds, as you can see the Hosts/AllChildHosts properties are populated after the second attempt.
    I want to know what is the reason for this behavior, are the properties collected asynchronously? If yes, what is the best way to prevent this?
    I also noticed that when you open a new powershell window, the same behavior repeats, in fact you get correct output in one window, whereas you get null values in other. What is the reason for this and what's the work around?
    Thanks in advance.
    Mandar

    There are times when you get a job back as the return value and not the actual queried value.
    Quite frequently it has to do with the information being queried.
    Getting a specific HostGroup I would expect to be relatively quick, however generically querying for all host groups might not.
    I have not tried the specific scenario myself, I am describing behavior i have experienced.
    Does this affect the reliability of the PoSh module?  I don't think so.  But it definately affects how you use it and its cmdlets.
    I have learned that taking thinking from another virutalization environment (XenServer or vCenter for example) and expecting those same behaviors from SCVMM is a false assumption that many folks run in to.  This makes VMM neither fit nor unfit - just
    different.
    I am not attempting to defend VMM, just stating situations that I have been in with development teams.
    Brian Ehlert (hopefully you have found this useful) http://ITProctology.blogspot.com
    Learn. Apply. Repeat.

Maybe you are looking for

  • SCCM's OSD (not MDT): Task sequence can be tweaked into imaging Windows+VHD Native Boot, but can it go all the way and deploy?

    Hello All, What I am trying to do is use SCCM's own OSD Task Sequence / Windows PE to deploy an operating system that boots using VHD Native Boot. (C:\ = VHD File  with Windows, D:\ Data drive with BCDBoot). MDT 2013 Can do it I've been told, but I a

  • Picture files open in OpenOffice only.

    The xls files i downloaded from the internet will not open in Appleworks 6.    I downloaded OpenOffice, and now any picture file automativally open in OpenOffice only. Before I installed OpenOffice, all of my picture files automattically opened in Ph

  • Error in BAPI_BASICPAY_CREATE

    Hi, I am working HR and trying to upload the Basic Pay data into infotype 8 through BAPI, but it is throwing an error saying " A Complex Error has occured". Can any one tell me what could be reason for this? Thanks & Regards, Srinath

  • Burning ejects during "multiplexing and burning"

    When I burn a dvd it goes the whole way and then with 10 minutes left when it is doing the "multiplexing and burning" part, it ejects before finished and I get a blank DVD. Tried a 1000 times. Has anyone else experienced this? I've burned dvds before

  • LDAP Authorization (not authentication)

    Hi everybody, There is a Linux server with Oracle 10g and Apex 3.0.1. And there is a Microsoft Windows server having an active directory. The first step was to authenticate against the AD using the LDAP authentication scheme in shared components. I h