Strange terminal command caching while manually running SWUPD.

I've built dozens of software update servers with little issues. This one has me stumped today.
I built a software update server to update solely our Tiger machines. Initially, I had sent a command to the clients that hit the wrong IP address. Once I realized the mistake, I overwrote the plist files on them to reflect the correct address.
Problem is, some of those machines, even tho I have thrown out the plist completely, still seem to be trying to update with the wrong address. I have verified 100 times that the plist is correct. And if I do a softwareupdate -l, it hits the correct address. When I send a softwareupdate -i -a, it gives me this error:
2010-06-29 13:50:50.606 softwareupdate[728] Loading CatalogURL 10.192.170.11:8088
2010-06-29 13:50:50.625 softwareupdate[728] loader:didFailWithError:NSError "unsupported URL" Domain=NSURLErrorDomain Code=-1002 UserInfo={
NSErrorFailingURLKey = 10.192.170.11:8088;
NSErrorFailingURLStringKey = "10.192.170.11:8088";
NSLocalizedDescription = "unsupported URL";
Error: unsupported URL
Software Update Tool
The IP address it's reflecting is the original bad address. I'm thinking this has to be cached somewhere, but I've tried it via ARD on fresh machines that had never tried to push any of these commands, and I get the same thing.
I verified that this happens locally in the terminal and via ARD. But if you manually run the software update from the GUI, it goes to the right place and updates fine.

No, this is a Tiger server, updating Tiger clients. We literally update the plist via command line or ARD, and then run the softwareupdate -i -a command.
I have deleted all profile softwareupdate plists via root. It worked on one machine, but not the others. What's odd is that even if i run the software update command locally in the terminal, I still get this error, but if I run it from the Apple menu, it hits the right server and works just fine. So the plist is correct. So I'm wondering what's the difference between where the GUI grabs the address from, and where the terminal command gets it.

Similar Messages

  • Terminal command to turn on/off iCloud syncing?

    I'm a musician using my MacBook Pro on gigs and lately I've been experiencing some glitching in my audio that I believe is related to sync services or other processes that Mavericks uses to communicate with iCloud.  Googling, I saw references to an issue with AddressBookSync using lots of CPU.  I followed the tips in a thread about resolving that and I believe they are resolved, however for peace of mind I am still turning off iCloud before every gig I do, and it's a bit of a pain – you have to deal with a succession of alerts.  And I'm not even sure this is actually turning off these processes.
    I'm hoping someone knows a terminal command that I can run before every gig to just shut all that stuff down temporarily.  TIA for any help!

    Thanks for another idea, which makes sense except I believe that turning off wifi doesn't actually stop the processes from running - they simply attempt to connect, then exit when there is no response – at least that's what I surmise from looking at the Console log.
    I may be barking up the wrong tree anyway.  I didn't mention the actual issue except to say "glitching in my audio" but it's threatening to have me abandon my laptop music rig which I've been using very successfully on gigs for the last eight years, over three laptops.  Googling has given me only a few clues (one of them being the subject of this thread) but I may post the actual issue in another thread.  Thanks again for your efforts to be helpful, I really do appreciate it.

  • #30 | can i run the Terminal Command to stop Snapshots with no problems?

    i am somewhat surprised to find out that the 75 GB of "Backups" that are taking up space on my MBP may be due to some "feature" in Mavericks or the new OS's or whatever and i have had to MOVE all my data off my laptop as a consequence of this over the last two months because i have no more space on my Hard Drive.
    is it legit and OK to follow the terminal commands in #30 without having any problems?
    i am on a mid 2009 MBP running Mavericks and i have a 2 TB Time Capsule that i am wirelessly backing up my data.
    as some kind of sadistic test in advance of running this terminal command - can i plug my laptop into the Time Capsule, unplug the laptop from the time capsule, restart and see how much space got recaptured on my HD for my data?
    i mean, well - i must be missing something but i mean i am hoping i can get this to stop so i can get my data back on my laptop. i'm walking around with an external HD of all my Mac Pro information just so i can get work done when i go to a coffee shop or something.

    for those suffering through this:
    https://discussions.apple.com/message/24878591#24878591
    In Terminal:
         sudo tmutil disablelocal
    Turn off local Time Machine snapshots and trigger automatic cleanup of accumulated local snapshot data. Requires root privileges.
    (use sudo tmutil enablelocal to turn back on)
    this got rid of my 75 GB backup file (!!) and now i am going to move my data back to my laptop...
    not sure if there is an apple tech article to link to regarding this issue but it would be good to post if there is one.

  • TS3002 My macbook pro 4,1 runs os x 10.6 but won't run my apple usb superdrive. One forum said that this is due to os x, not hardware. The terminal commands given were for Lion, but don't work in snow leopard. Help!

    My macbook pro 4,1 runs os x 10.6 but won't run my apple usb superdrive. One forum said that this is due to os x, not hardware. The terminal commands given were for Lion, but don't work in snow leopard. Help!

    I was able to get it to work!

  • Terminal - make it exit after running a command

    I am looking for a way to exit terminal after executing a command.
    I have tried this sort of thing
    Open Terminal.
    File -> Save As...
    Save as "My Command FIle"
    Choose "Where". Desktop is easy to find. Move it later.....
    Under "Execute this Command", put your command line in there.
    example
    ls -l >gj.out
    ls -l >gj.out; exit
    combinations of the above using different options under Terminal- Window Settings - Shell { Process, ..}
    close on exit etc. have not worked for me.
    I get the command to execute; however, it sits in terminal.
    I need it to exit. ?

    killall will kill every instance of Terminal running on the machine, not just the one that this script is running in. You might want to try as a test script:
    ps auxwwww | egrep $(echo $PPID)
    which, hopefully will list the Terminal that the script is running in. Then you can use the PPID (Parent Process ID) as an argument to kill to kill only your instance of Terminal.
    Roger

  • Desktop runs some weird Terminal Commands and acts like an Application.

    So, My Desktop runs like an application and does a weird terminal command.
    What I can't do:
    Can't copy or place anything on the desktop except for the screenshots I take
    Can't create a new folder
    Can't do anything basically.
    Help?

    Run Disk Utility and Repair Permissions.

  • How to run Terminal commands in Xcode?

    Anyone knows how to include Terminal commands ( like sudo) in Xcode?  for example in a line of my program I need to run this:
    sudo open/Library/Preferences/com.apple.sharing.firewall.plist
    I searched the library but found no class or routine for that.

    Well, I am not a professional programmer, but one of the things I continue to learn is how to wade through all of the Cocoa documentation (and it does get deep in spots).  Chances are though, no matter what you are trying to do, Apple or some third party has created a class to make it easier - you just have to find it.  My Xcode documentation bookmarks continue to grow, but you might start with some of Apple's documentation, such as
    Cocoa Fundamentals Guide
    Foundation Framework Reference
    Application Kit Framework Reference

  • Running Terminal Commands at Login

    Hi everyone!
    Just a quick question for anyone who may know the answer. I am trying to automatically run two terminal commands at login:
    sudo pmset -a halfdim 0
    sudo pmset -a halfdim 1
    I have absolutely no idea what I am doing, so if someone knows and can help me out, that would be great! Thanks a lot!
    ~ Philip

    Trying to make the screen wink at you when you login?
    You could install Platypus and create a little shell script with it and put it in your Login items. The script would be something like
    <pre class=command>sleep 30; sudo pmset -a halfdim 0; sleep 0.2; sudo pmset -a halfdim 1</pre>
    Those sleeps should be tweaked for the best effect. If sudo prompts you for a password, then it won't work.
    Message was edited by: jarik
    Hey man, check out the day we registered here!

  • Applescript to run terminal command then open application..

    Hey,
    I've installed the add-on to make the Lion Finder sidebar icons colored again, but whenever I reboot my Mac, I have to execute a killall Finder to get those icons back. This also closes TotalFinder, which is an addon I use. So, I want to write an AppleScript which will run on startup, and do those two things: run the Terminal command, and then open TotalFinder.
    I've written:
    tell application "Terminal"
        activate
        do script "killall Finder" in front window
        quit
    end tell
    tell application "TotalFinder"
        activate
    end tell
    This gives me an error stating "Connection is invalid." when running the activate line for TotalFinder. The Terminal command is executed correctly. Any idea why this is? The application is definitely named correctly, its just in my root Applications directory so it should be able to find it, etc. How can I get this working?
    Thanks!

    try this:
    do shell script "killall Finder"
    tell application "TotalFinder"
              try
      activate
              end try
    end tell
    First thing you don't need to open a terminal window to do the killall you can just do to as a shell script.
    Second don't know why TotalFinder gives that message about Connection invalid but it doesn;t seem to affect it any. So putting in the try just eats the error message.
    Ypu may not even need the killall, When TotalFinder starts it restarts the Finder so you may be able to remove the killall
    regards

  • How do I run a terminal command from a dashboard icon

    Hello
    I run the following terminal command repetitively and would like to simplify by running from an icon on the dashboard.
    sudo killall coreaudiod
    Thanks
    John

    Look at creating a simple AppleScript app using the "do shell script with administrator privileges".  Google can help if you use that search string.
    <http://www.maclife.com/article/howtos/how_authenticate_applescripts_administrato r_privileges>
    Applications -> Utilities -> AppleScript Editor
    do shell script "killall coreaudiod" with administrator privileges
    Save as an AppleScript Application and put the application in your Dock.  That should be just as easy to launch as using a dashboard widget.

  • Terminal Commands for Internet Connect VPN?

    I could maybe do this as an applescript but I'm hoping there are terminal commands which I can incorporate into an rsync script...
    I need to open a PPTP VPN connection on a computer (Internet Connect VPN client, 10.4.8) , to connect to VPN services on OS X Server (10.4.8). The configuration works fine but really needs manual intervention at times. I would like to just script the equivalent of hitting the 'connect' button, so this can be run by cron.
    Any ideas or links?
    Ta.
    -david

    I did repair permissions with disk Utility and I used Onyx to delete the various caches, but that didn't work.
    Everything is functioning. The problem isn't on the VPN server side, because I can log into the VPN on my Powerbook and the status shows correctly. There's definitely something going on with my G5.
    This isn't a really huge deal, but it would be nice if the status indicated that I'm connected when I'm connected.

  • What are the terminal commands to list all plugins, extensions, etc?

    I remember a while ago reading a thread on diagnosing kernel panics and such, where someone listed a number of commands (I think there were four separate terminal commands) which produced lists of plugins, daemons, background enhancers, extensions etc which could sap resources or drive up temperature without necessarily showing up in activity monitor or anything like that.
    Anyone know what these commands are? I'm having some serious overheating problems at the moment when doing nothing but for instance watching a youtube video with no other processes running so I'd like to get these dumps and see if there's anything installed which could be causing trouble.

    Check this out : http://helpx.adobe.com/story/help/keyboard-shortcuts.html

  • An error occurred while launching/running the application

    We've been using Web Start to deliver one of our products for over 2 months. We're getting about 10 downloads of our application a day which is very good considering we're in a very niche market (mapping applications). However, some customers (about 20%) are having a number of problems with Web Start either during installation or during download. For this reason we had to create a stand alone installer for customers that couldn't get Web Start working or more commonly could get Web Start working but couldn't download our application. The most common problem we see is the 'Unable to load resource' problem. I've attached the different errors and different exceptions sent from a customers site. Can you spread any light on this. Is it to do with Web Start not being able to identify the proxy?
    Many thanks in advance
    Ian
    Launch
    An error occurred while launching/running the application.
    Title: OS MasterMap Viewer
    Vendor: Snowflake Software
    Category: Download Error
    Unable to load resource: http://www.snowflakesoft.co.uk/app/viewer.jnlp
    Exception
    JNLPException[category: Download Error : Exception: java.net.UnknownHostException: www.snowflakesoft.co.uk : LaunchDesc: null ]
    at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
    at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unknown Source)
    at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
    at com.sun.javaws.Launcher.downloadResources(Unknown Source)
    at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
    at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
    at com.sun.javaws.Launcher.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Wrapped
    java.net.UnknownHostException: www.snowflakesoft.co.uk
    at java.net.InetAddress.getAllByName0(Unknown Source)
    at java.net.InetAddress.getAllByName0(Unknown Source)
    at java.net.InetAddress.getByName(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.<init>(Unknown Source)
    at sun.net.www.http.HttpClient.<init>(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at com.sun.javaws.util.URLUtil.doesURLExist(Unknown Source)
    at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
    at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unknown Source)
    at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
    at com.sun.javaws.Launcher.downloadResources(Unknown Source)
    at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
    at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
    at com.sun.javaws.Launcher.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    Apologies for the lack of response only I bust my knee a week ago and I've been in agony since. Anyway enough moaning.
    Yes users are behind a firewall. From what I can get from Sun the problem stems from JWS's inability to detect script based proxies. This is very frustrating because we have about 25% of our customers that just can't use JWS because of this. Ok so they could type it in manually, however, how many system support people are going to give out those sorts of details to end users, besides most end user don't even know what a proxy is!
    To get around this we've provided a standalone installer (which defies the point of JWS in the first place). Don't get me wrong I think JWS is an amazing piece of software, however, I can't see how JWS can be used successful across the internet until this is solved, intranet, extranet fine.
    In our experience you can't leave 25% of your customer base behind!

  • Terminal commands

    I am looking for a good manual or resource of terminal commands to download. Does anyone know of one.
    I am pretty new to terminal but not new to Mac OSX
    I want to do a few tweaks and if anyone knows the commands then please let me know.
    1st i want to make it so that when I CMD + TAB to an Application the Window of the App is live and I no longer need to click on the window to use it.
    Also I would like there to be no need for me to do the 2 click on a window to be able to say, type in this box or click on a button or link. I find the settings very annoying and slow you down a lot when using a lot of apps at once.
    There are many other tweaks i would like to do but for now these will do.
    Thanks.

    Ah, Ask and thou shalt receive:
    Straight from Steve's library;http://manuals.info.apple.com/enUS/Command_Line_Adminv10.5.pdf
    They ought to call it "The real Men and Womens MacOSXSrvr_guide"
    http://manuals.info.apple.com/enUS/File_Services_Adminv10.5.pdf
    Another essential from Steve's Library about new stuff in Leo.
    http://www.apple.com/downloads/macosx/unixopensource/clix.html
    You're going love this little gem.
    http://www.macobserver.com/tips/macosxcl101/index.html
    http://www.matisse.net/OSX/darwin_commands.html
    And a couple of nice informative web pages to boot.
    That ought to keep you intrigued for a while.
    Kj
    P.S. Can you feel me?...
    Yeah, You got it!!!
    Message was edited by: KJK555

  • Can I spin down my internal disk? Open Firmware or terminal commands?

    Hello all,
    I have not been around here for a while, but I desperately need your help.
    Does anyone know how I can spin down my internal disk?
    Possibly with the terminal or Open Firmware?
    Does anyone know all the Open Firmware commands or
    where a list can be found so that I can explore the situation myself?
    Here is some more detail of what I want to do and why.
    My internal disk crashed a while ago.
    (My bag slid off my shoulder and the machine hit the brick sidewalk below right on its' corner:>(
    I have since been running off my little pocket-size fire-wire disk.
    Today the internal disk finally really bit the dust and the bearings are making quite a noise.
    (If I tip the PB while it is running the noise turns into a whine of varying pitch and loudness.
    It sounds like my poor PB is crying in pain. LOL)
    I want to get the internal disk to spin down until I can afford a new one and I have the time to replace it.
    Any ideas?
    I know I could open up the case and pull the plug on it,
    but maybe there is something better and easier.
    Can anyone guide me in any possible terminal commands to eject it or
    give some insight into firmware commands that may help?
    I know the firmware can spin the disk down. - It does so for power management.
    Also, one time when I booted, the disk gave the boot process such a bad error that
    the boot process asked me what to do. I told it to eject the disk - then the disk spun down
    and the machine booted normally off the FW disk.
    So, maybe there is an Open Firmware command I could use to permanently shut the thing off.
    I cannot use the Disk Utility to unmount or eject it.
    In Disk Utility, sometimes the disk is already unmounted and grayed out.
    So therefor the unmount and eject commands are also greyed out.
    At other times the disk does not even show up in Disk Utility.
    Thanks, Bob

    Thanks for the fast response.
    Although your suggestion did not do the trick, it jogged my old mind into
    finding a solution that does work. Or seems to work for right now.
    The 'drutil' is a command for CD-R/RW media, so it could not see or act on my internal hard drive.
    Your suggestion to use a disk utility command sent me off to find a command for other devices and
    I remembered the 'diskutil' command.
    I did a 'diskutil list' and after a good wait for the failed disk to allow completion,
    I was given a list that showed what device the internal disk was (/dev/disk2).
    I then did a 'diskutil eject /dev/disk2' and after a similar wait, the disk was ejected and it spun down.
    It was a pleasant surprise since the drive is not ejectable and since the OsX Disk Utility could not eject it.
    There are things (running the disk utility) that do seem to wake up the disk occasionally,
    but all I have to do is issue the command again.
    Thanks
    p.s. Perhaps I was not clear in my original question that
    I wanted to spin down my internal ide hard disk - sorry if that was a confusion.
    p.p.s. It is also very interesting that I called Apple support and
    they could not give me this simple solution.

Maybe you are looking for

  • How to manage multiple resources in multiple project?

    Hello, We are a very small company that has migrated from an in-house TFS solution to using VSO to manage our projects.  One issue we are having is being able to look at outstanding tasks and resources allocated across multiple projects.  What I'm lo

  • Impossible to find details of old skype account

    I just received an email from a [e-mail removed for privacy and security] about a skype account where the credit balance will be made inactive if I don't use it soon. However, if I try to log into skype using that MS account, it tells me there is no

  • FMS Newbie ?'s

    Hi, I am very proficient with Flex and Flash, however I am new to FMS. I have never setup a Media Server, and have never programmed a Flash/Flex Video Streaming Application. However, I have a client who needs to have a password-protected page to view

  • SQL Server 2012 AlwaysON Monitoring using SCOM

    Team, We have SCOM deployed and is serving as a monitoring solution for our SQL Estate. However I want some pointers to monitor the health of DBs within Avaialibility Group like DB Sync, log queue etc. Please direct me with the AlwaysOn health parame

  • ORA-12500 Error

    What is the Solution for ORA-12500 ERROR? ORA-12500TNS:listener failed to start a dedicated server process. Thanks in Advance.