Welcome to MacTalk Australia

the largest Australian community for Apple discussions and topics

Join the discussions, Register Now!
Results 1 to 17 of 17
  1. #1

    Join Date
    Jan 2007
    Location
    Perth
    Posts
    1,725

    Default tuncfg spamming my system.log

    launchd[1] is spamming my system.log with these 3 messages, every 10 seconds :

    Code:
    16/10/08 12:36:23 PM tuncfgd[10706] tuncfg: already running, use 'killall tuncfg; tuncfg' to restart it 
    16/10/08 12:36:23 PM com.apple.launchd[1] (tuncfgd[10706]) Exited with exit code: 1 
    16/10/08 12:36:23 PM com.apple.launchd[1] (tuncfgd) Throttling respawn: Will start in 10 seconds
    Arrgh! Google tells me that tuncfg is related to HamachiX, which I installed about a year ago and haven't used since. I have since trashed the app (using appcleaner) and emptied the trash.

    If, in terminal, I enter locate tuncfg, it returns :

    Code:
     locate tuncfg
    /Applications/HamachiX.app/Contents/Resources/tuncfg
    /Applications/HamachiX.app/Contents/Resources/tuncfgd.plist
    /System/Library/LaunchDaemons/tuncfgd.plist
    /private/var/run/tuncfg.lock
    /private/var/run/tuncfg.sock
    /usr/sbin/tuncfg
    What gives... I trashed the app a day or so ago, maybe the locate database hasn't updated? But if I trashed it, how is the process (or whatever it is) running?

    I already checked, and I cannot see the .plist in /System/Library/LaunchDaemons/.

    Hope you can help

    Thanks,
    Jeremy
    Join SqueekyTee (by Rushfaster) using this invite code!
    norobots.net.au - My blog.
    - Lots of macs : MB (black) C2D 2Gb, eMac 1.42Ghz 1.5Gb, eMac 700Mhz, Sawtooth AGP 400Mhz, iBook 800Mhz, iMac 350Mhz, iPod mini, iPod Touch 8Gb and one pretty disorganised life


  2. #2

    Join Date
    Jan 2007
    Location
    Perth
    Posts
    1,725

    Default

    Sorry - did I give the impression I know what I'm doing? I don't..

    Trying to kill it :
    Code:
    su killall tuncfg; tuncfg
    Password:
    su: Sorry
    tuncfg: must be run with superuser permissions
    Join SqueekyTee (by Rushfaster) using this invite code!
    norobots.net.au - My blog.
    - Lots of macs : MB (black) C2D 2Gb, eMac 1.42Ghz 1.5Gb, eMac 700Mhz, Sawtooth AGP 400Mhz, iBook 800Mhz, iMac 350Mhz, iPod mini, iPod Touch 8Gb and one pretty disorganised life


  3. #3
    chrome's Avatar chrome is offline MacTalk Engineering Department of Horrors. Mutilator of HTML Templates Extraordinaire. Man with the Very Long User Title. No you can't have one. Ha ha.

    Join Date
    Jan 2006
    Location
    Sydney, Australia
    Posts
    1,042

    Default

    1. wrong password
    2. sudo not su
    3. both commands need sudo in front of them, using ';' is the same as starting on a new line.
    In ur forums, upgradin'.

  4. #4

    Join Date
    Jan 2007
    Location
    Perth
    Posts
    1,725

    Default

    Quote Originally Posted by chrome View Post
    1. wrong password
    2. sudo not su
    3. both commands need sudo in front of them, using ';' is the same as starting on a new line.
    1. Nope
    2. Ahh...
    3. Gotchya

    Thanks Chrome

    I killed it, then it just started up again :
    Code:
    Oct 16 17:52:27 lovebook com.apple.launchd[1] (tuncfgd[11957]): Exited with exit code: 1
    Oct 16 17:52:27 lovebook com.apple.launchd[1] (tuncfgd): Throttling respawn: Will start in 10 seconds
    Oct 16 17:52:34 lovebook sudo[11958]: jeremyhall : TTY=ttys001 ; PWD=/Users/jeremyhall ; USER=root ; COMMAND=/usr/bin/killall tuncfg
    Oct 16 17:52:37 lovebook com.apple.launchd[1] (tuncfgd): Throttling respawn: Will start in 10 seconds
    Oct 16 17:52:47 lovebook tuncfgd[11962]: tuncfg: already running, use 'killall tuncfg; tuncfg' to restart it

    How do I get rid of this thing completely?
    Join SqueekyTee (by Rushfaster) using this invite code!
    norobots.net.au - My blog.
    - Lots of macs : MB (black) C2D 2Gb, eMac 1.42Ghz 1.5Gb, eMac 700Mhz, Sawtooth AGP 400Mhz, iBook 800Mhz, iMac 350Mhz, iPod mini, iPod Touch 8Gb and one pretty disorganised life


  5. #5

    Join Date
    Jan 2007
    Location
    Perth
    Posts
    1,725

    Default

    Join SqueekyTee (by Rushfaster) using this invite code!
    norobots.net.au - My blog.
    - Lots of macs : MB (black) C2D 2Gb, eMac 1.42Ghz 1.5Gb, eMac 700Mhz, Sawtooth AGP 400Mhz, iBook 800Mhz, iMac 350Mhz, iPod mini, iPod Touch 8Gb and one pretty disorganised life


  6. #6

    Join Date
    May 2005
    Location
    Melbourne
    Posts
    4,895

    Default

    Type in:
    Code:
    ls /System/Library/LaunchDaemons/tuncfgd.plist
    That will tell you if the file actually exists. If it exists, it'll spit the filename back at you. If it doesn't, you'll get a "No such file or directory" message.

    You may have to delete all of those files in order to get rid of it. Whatever "it" is....

    Try running 'ls' on a few of those files to check whether or not they actually exist, then report back.
    "The need is not for, say, half a million -inch drill bits. The need is that there are ten million -inch holes that need to be drilled." - Robert Noyce
    www.nickforge.com

  7. #7

    Join Date
    Feb 2005
    Location
    Brunswick, Victoria
    Posts
    4,780

    Default

    Backup tuncfg incase things get screwy

    cp /sbin/tuncfg /Users/jeremyhall/ (This will copy to your home directory)

    Then.

    sudo rm /sbin/tuncfg

    Hope that works.

    Wally

    EDIT: Follow Forgies instructions first.

  8. #8
    chrome's Avatar chrome is offline MacTalk Engineering Department of Horrors. Mutilator of HTML Templates Extraordinaire. Man with the Very Long User Title. No you can't have one. Ha ha.

    Join Date
    Jan 2006
    Location
    Sydney, Australia
    Posts
    1,042

    Default

    possibly

    sudo launchctl stop tuncfgd
    sudo launchctl remove tuncfgd

    Something like that. You might need the full name of the service ... com.blah.tuncfgd ... etc.

    Google tuncfgd; lots of people with the same problem. Apparently the best solution is to run the HamachiX removal script. Wherever that is.
    In ur forums, upgradin'.

  9. #9

    Join Date
    Jan 2007
    Location
    Perth
    Posts
    1,725

    Default

    forgie, wally, chrome, thanks.

    I can't find this removal script - only a script to install hamachi 'headless', which it is suggested will stop the launchd messages.

    It doesn't seem to be in Launchdaemons anymore :
    lovebook:Library jeremyhall$ cd Launchdaemons
    lovebook:Launchdaemons jeremyhall$ ls
    com.orbicule.theftsensor.plist com.vmware.launchd.vmware.plist


    And I removed it from /usr/sbin/ :

    cp /usr/sbin/tuncfg /Users/jeremyhall/
    lovebook:~ jeremyhall$ sudo rm /usr/sbin/tuncfg
    Password:
    lovebook:sbin jeremyhall$ ls /usr/sbin/tuncfg
    ls: /usr/sbin/tuncfg: No such file or directory


    I also followed chrome's instruction :
    lovebook:sbin jeremyhall$ sudo launchctl stop tuncfgd
    lovebook:sbin jeremyhall$ sudo launchctl remove tuncfgd


    And observed this in system.log :

    Oct 18 11:12:24 lovebook com.apple.launchd[1] (tuncfgd): Throttling respawn: Will start in 10 seconds
    Oct 18 11:12:24 lovebook sudo[1348]: jeremyhall : TTY=ttys000 ; PWD=/usr/sbin ; USER=root ; COMMAND=/bin/launchctl remove tuncfgd
    Oct 18 11:13:36 lovebook sudo[1350]: jeremyhall : TTY=ttys000 ; PWD=/usr/sbin ; USER=root ; COMMAND=/usr/bin/killall tuncfg


    So I will log in/out - hopefully it is gone..! bastard thing..

    (Next up : Oct 16 00:12:56 lovebook Adium[292]: doClip: empty path. - also appearing in system.log whenever I lose my network.)

    Cheers again guys
    J
    Join SqueekyTee (by Rushfaster) using this invite code!
    norobots.net.au - My blog.
    - Lots of macs : MB (black) C2D 2Gb, eMac 1.42Ghz 1.5Gb, eMac 700Mhz, Sawtooth AGP 400Mhz, iBook 800Mhz, iMac 350Mhz, iPod mini, iPod Touch 8Gb and one pretty disorganised life


  10. #10

    Join Date
    Jan 2007
    Location
    Perth
    Posts
    1,725

    Default

    Well I'm really fecking pissed off now,

    Just came home to find my macbook closed, fans whirring, and temp ablazin', on the sideboard where I had left it asleep and charging last night. Wouldn't wake; Had to reboot.

    Anyway this bloody .plist is still trying to initialise.

    19/10/08 4:01:28 PM com.apple.launchd[1] (tuncfgd[353]) Exited with exit code: 1
    19/10/08 4:01:28 PM com.apple.launchd[1] (tuncfgd) Throttling respawn: Will start in 10 seconds
    19/10/08 4:01:38 PM com.apple.launchd[1] (tuncfgd[423]) posix_spawnp("/usr/sbin/tuncfg", ...): No such file or directory



    What does Exited with exit code: 1 mean?

    I did some more poking and while I can't see it in Finder, Terminal shows the following :

    lovebook:~ jeremyhall$ cd /System/Library/LaunchDaemons
    lovebook:LaunchDaemons jeremyhall$ ls
    bootps.plist
    com.apple.AOSHelper.plist
    com.apple.ATSServer.plist
    com.apple.AppleFileServer.plist
    ...
    telnet.plist
    tftp.plist
    tuncfgd.plist



    Here is the contents of tuncfgd.plist
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple$
    <plist version="1.0">
    <dict>
    <key>Label</key>
    <string>tuncfgd</string>
    <key>OnDemand</key>
    <false/>
    <key>ProgramArguments</key>
    <array>
    <string>/usr/sbin/tuncfg</string>
    </array>
    </dict>
    </plist>

    Can I just delete this .plist now and be done with this??

    Thanks,
    Jeremy
    Join SqueekyTee (by Rushfaster) using this invite code!
    norobots.net.au - My blog.
    - Lots of macs : MB (black) C2D 2Gb, eMac 1.42Ghz 1.5Gb, eMac 700Mhz, Sawtooth AGP 400Mhz, iBook 800Mhz, iMac 350Mhz, iPod mini, iPod Touch 8Gb and one pretty disorganised life


  11. #11

    Default

    If you use the launchctl command, append -w after launchctl to write the changes so it doesn't load again on boot...

  12. #12

    Join Date
    Jan 2007
    Location
    Perth
    Posts
    1,725

    Default

    linux.. that doesn't seem to do the trick :

    lovebook:~ jeremyhall$ sudo launchctl stop -w tuncfgd
    usage: launchctl stop <job label>


    I think it's telling me that the instruction isn't working.

    lovebook:~ jeremyhall$ sudo launchctl -w stop tuncfgd
    Unknown argument: '-w'

    Doesn't work after launchctl either.. man says to use it after the subcommand.

    Man also says that these commands are stored in "$HOME/.launchd.conf or /etc/launchd.conf" but I cannot locate either of these files. Using the 'locate' command only yields the two man files.

    Am I being really dense here..?
    I feel like i've been lobotomised. I don't know anything about BSD or Unix - just want to get rid of this.

    J
    Join SqueekyTee (by Rushfaster) using this invite code!
    norobots.net.au - My blog.
    - Lots of macs : MB (black) C2D 2Gb, eMac 1.42Ghz 1.5Gb, eMac 700Mhz, Sawtooth AGP 400Mhz, iBook 800Mhz, iMac 350Mhz, iPod mini, iPod Touch 8Gb and one pretty disorganised life


  13. #13

    Join Date
    Jun 2007
    Location
    Reno & Melbourne
    Posts
    880

    Default

    ----------------

  14. #14

    Join Date
    Jan 2007
    Location
    Perth
    Posts
    1,725

    Default

    Quote Originally Posted by vecsty View Post
    do you still have the file /System/Library/LaunchDaemons/tuncfgd.plist ?

    If you do, remove it.

    Never understood why alleged programers put files in that domain.
    OK, just removed it via the Finder and emptied the trash.
    Will log out/in and report results..

    Jeremy
    Join SqueekyTee (by Rushfaster) using this invite code!
    norobots.net.au - My blog.
    - Lots of macs : MB (black) C2D 2Gb, eMac 1.42Ghz 1.5Gb, eMac 700Mhz, Sawtooth AGP 400Mhz, iBook 800Mhz, iMac 350Mhz, iPod mini, iPod Touch 8Gb and one pretty disorganised life


  15. #15

    Join Date
    Jun 2007
    Location
    Reno & Melbourne
    Posts
    880

    Default

    ----------------

  16. #16

    Join Date
    Jan 2007
    Location
    Perth
    Posts
    1,725

    Default

    Quote Originally Posted by vecsty View Post
    best to restart.
    OK, will do, I logged back in again but am still getting the same messages.
    Join SqueekyTee (by Rushfaster) using this invite code!
    norobots.net.au - My blog.
    - Lots of macs : MB (black) C2D 2Gb, eMac 1.42Ghz 1.5Gb, eMac 700Mhz, Sawtooth AGP 400Mhz, iBook 800Mhz, iMac 350Mhz, iPod mini, iPod Touch 8Gb and one pretty disorganised life


  17. #17

    Join Date
    Oct 2008
    Location
    France
    Posts
    1

    Default

    From the help menu choose System Support-> Uninstall Systemcomponents

    Your welcome

Tags for this Thread

Posting Permissions

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