1 2 Previous Next 24 Replies Latest reply: Dec 18, 2012 9:37 AM by este.el.paz
este.el.paz Level 1 Level 1 (90 points)

Folks:

 

Had this question added onto a thread I had posted in the 10.4.11 discussion, but this is about getting applejack to run on a MBPro with 10.6.8, so Mr Hillyer suggested that some folks over here could answer this question . . . "blindfolded, and with both hands tied behind their backs . . ." he said that . . . trust me.

 

I've tried to install applejack 1.6 on my MBPro running 10.6.8 about three times it says, "Installed successfully" . . . but when I boot into single user (command + S) . . . there is no "type applejack" in the CLI . . . and when I type "applejack AUTO shutdown" or any variation in the yellow text shell, it just returns a, "applejack is not recognized and isn't part of anything here . . . " words to that effect.  Whereas in the iMac 10.4.11 I can boot to CLI and it gives me the various options for running AJ, and I only installed it one time . . . .  Any thoughts?  Of course Onyx is always an option . . . but now I'm getting feedback that it isn't so good for the system????

 

Many thanks,

 

e.e.p.


MBP 15 2.53 GHz, Mac OS X (10.6.8), iBook G4, 14, 933 MHz (10.4.11), iMac G4, 15, 800MHz
  • 1. Re: How to get applejack to run in single user on 10.6.8?
    red_menace Level 6 Level 6 (14,615 points)

    Your single user mode is probably using a default shell, so you might try using the full path.

  • 2. Re: How to get applejack to run in single user on 10.6.8?
    este.el.paz Level 1 Level 1 (90 points)

    red_menace wrote:

     

    Your single user mode is probably using a default shell, so you might try using the full path.

    r_m:

     

    OK, thanks for the response, and I might have used "the full path" as per Mr Hillyers' advice in the other thread, but, in terms of knowing what "the full path" is supposed to be for 10.6.8 . . . would you be kind enough to post what that exactly would be in terms of what commands you feel would be "more full"??

     

    e.e.p.

  • 3. Re: How to get applejack to run in single user on 10.6.8?
    Linc Davis Level 10 Level 10 (117,990 points)

    Any thoughts?

     

    Yes. You don't need "Applejack," "Onyx," or any other third-party software for routine maintenance. If you actually need to do any of things that script is supposed to do more than once every few years, if ever, then something is seriously wrong with your computer and Applejack isn't going to fix it.

  • 4. Re: How to get applejack to run in single user on 10.6.8?
    este.el.paz Level 1 Level 1 (90 points)

    Linc Davis wrote:

     

    Any thoughts?

     

    Yes. You don't need "Applejack," "Onyx," or any other third-party software for routine maintenance. If you actually need to do any of things that script is supposed to do more than once every few years, if ever, then something is seriously wrong with your computer and Applejack isn't going to fix it.

    @LincD:

     

    OK, that's interesting . . . there was the whole MacWorld suggestion a few years back that if the computer is not fully awake 24 hours a day then the interal OSX maintenance scripts, daily, weekly, monthly . . . would not run; so if the computer is "asleep" at 1 or 2 AM the scripts would not run . . . perhaps that has changed for 10.6.8??  I don't know.  It's not so important on my MBPro, which has plenty of HD space and plnety of RAM, but on my iMac and iBook cleaning out the cache frees up a lot of memory.

     

    However, this interest in AJ started while trying to figure out how to get my iMac G4 800 to recover from a series of paroxysmal KPs . . . making it almost impossible to keep the computer running.  So far I have traced it to what is probably a FW port problem, but even after I unplugged the ExtHD the only way I could get the system to boot clean was through running AJ, first it had to be in expert mode and clean the cache, not sure what did it, but after that I could run through the whole AJ auto w/o the computer crashing . . . so, indeed there is/was a "serious" problem with the iMac and AJ got me out of that jam . . . whether I "need" to run it now in the MBPro is one possible question, but, having the option to do so is the question that I am looking to have answered.  In 10.4.11 there was no problem with booting into single user and running AJ, but in 10.6.8 single user doesn't show the AJ options or respond to various commands . . . except "exit" which it then promptly restarted . . . .  But, in terms of what are the correct commands to get AJ to run in single user, in 10.6.8  that is my interest . . . .

     

    e.e.p.

  • 5. Re: How to get applejack to run in single user on 10.6.8?
    red_menace Level 6 Level 6 (14,615 points)

    Unless you have set various environment variables to tell the system where to start looking if you just type something like applejack auto shutdown, you need to use the full file path to wherever you installed the application, e.g. /path/to/where/you/installed/it/applejack auto shutdown.

  • 6. Re: How to get applejack to run in single user on 10.6.8?
    Linc Davis Level 10 Level 10 (117,990 points)

    I have never used Applejack and cant help with it. According to the man page, it installs a shell profile for the root user with an alias pointing to the location of the script. Therefore you shouldn't need to enter the full path to that script in order to run it in single-user mode.

     

    This is an open-source project, and therefore you're expected to do most of your own troubleshooting with it. The developer's support page is here:

     

    AppleJack Project Page

  • 7. Re: How to get applejack to run in single user on 10.6.8?
    este.el.paz Level 1 Level 1 (90 points)

    red_menace wrote:

     

    Unless you have set various environment variables to tell the system where to start looking if you just type something like applejack auto shutdown, you need to use the full file path to wherever you installed the application, e.g. /path/to/where/you/installed/it/applejack auto shutdown.

     

    r_m:

     

    OK, thanks for that clarification . . . I'll have to search spotlight to find out where the AJ installer installed itself . . . .  Interestingly when I run "applejack auto shutdown" in the root account's GUI Terminal . . . all of the applejack options show up as they do in 10.4.11 single user . . . but then with the warning, "running this will break your system" . . . but point being that I didn't need to set up any special terms in the GUI Terminal to get applejack to do its preliminary stuff . . . and it suggests running in single user; but when switching over to single user then it's just not happening.  Mr Hillyer gave some "sh /var/private/Library/Scripts/applejack.sh" or something like that, but that did not work in the 10.6.8 single user mode . . . .

     

    e.e.p.

  • 8. Re: How to get applejack to run in single user on 10.6.8?
    Neville Hillyer Level 4 Level 4 (1,855 points)

    My contributions elsewhere based upon my Leopard experience were:

     

    The following Terminal command should list AppleJack if it is installed:

     

    sudo ls /private/var/root/Library/Scripts

     

    As a further check you can use the following Terminal command:

     

    sudo cat /var/root/.profile

     

    This should result in:

     

    alias applejack='/var/root/Library/Scripts/applejack.sh'     #AppleJack Installer

    echo ""     #AppleJack Installer

    echo "For troubleshooting assistance, just type 'applejack' at the prompt"     #AppleJack Installer

     

    You could try the following in single user mode:

     

    sh /var/root/Library/Scripts/applejack.sh

     

    You confirmed that the first 2 were OK but the third did not work.

  • 9. Re: How to get applejack to run in single user on 10.6.8?
    Neville Hillyer Level 4 Level 4 (1,855 points)

    there was the whole MacWorld suggestion a few years back that if the computer is not fully awake 24 hours a day then the interal OSX maintenance scripts, daily, weekly, monthly . . . would not run

     

    I have not seen any evidence that this affects OSs other than 10.4 and 10.5. For these OSs I think you will find the following is the best solution: http://links.zero.eu.org/os-x/period/

  • 10. Re: How to get applejack to run in single user on 10.6.8?
    este.el.paz Level 1 Level 1 (90 points)

    Neville Hillyer wrote:

     

    My contributions elsewhere based upon my Leopard experience were:

     

    The following Terminal command should list AppleJack if it is installed:

     

    sudo ls /private/var/root/Library/Scripts

     

    As a further check you can use the following Terminal command:

     

    sudo cat /var/root/.profile

     

    This should result in:

     

    alias applejack='/var/root/Library/Scripts/applejack.sh'     #AppleJack Installer

    echo ""     #AppleJack Installer

    echo "For troubleshooting assistance, just type 'applejack' at the prompt"     #AppleJack Installer

     

    You could try the following in single user mode:

     

    sh /var/root/Library/Scripts/applejack.sh

     

    You confirmed that the first 2 were OK but the third did not work.

    @NH:

     

    Thanks for moving over to this thread, yes, I just tried again to run through some of those commands to see if I could find the full path, nothing shows up in spotlight.  As far as the third suggestion, the "sh . . . /applejack.sh" command, yes, in root account GUI Terminal it opens the applejack menu, but it doesn't do anything in single user . . . .

     

    e.e.p.

  • 11. Re: How to get applejack to run in single user on 10.6.8?
    este.el.paz Level 1 Level 1 (90 points)

    Folks:

     

    Yes, as I was mentioning, there is an issue, unresolved, with trying to run AJ in 10.6.8, so far haven't be able to get it to run through its task list . . . although it is installed.  Not having internet at home has cut down on ability to search for solutions to the problem . . . however, I just found a link to a thread here from the beginning of the year, "Uninstall unresponsive applejack" https://discussions.apple.com/thread/3622724?start=15&tstart=0

     

    And the OP describes the same basic issue that I am having, running 10.6.8 and AJ "unresponsive" and wanting to uninstall it . . . .  I don't want to uninstall, I'd like to get it to work, but it indicates that this is not a one time thing happening only to me . . . is there a work-around to fix AJ?  Also, in trying to use spotlight to "find the full path" does not elicit any results, in this other thread BDAqua mentions "Easy Find" as being better than spotlight, if I get a moment perhaps I'll try to install that app . . . otherwise, hoping for a bit more detail about how to get AJ to run in 10.6.8 as per the original post . . . .

     

    e.e.p.

  • 12. Re: How to get applejack to run in single user on 10.6.8?
    este.el.paz Level 1 Level 1 (90 points)

    este.el.paz wrote:

     

      Also, in trying to use spotlight to "find the full path" does not elicit any results, in this other thread BDAqua mentions "Easy Find" as being better than spotlight, if I get a moment perhaps I'll try to install that app . . . otherwise, hoping for a bit more detail about how to get AJ to run in 10.6.8 as per the original post . . . .

     

    e.e.p.

    et al:

     

    Yes . . . but, no . . . EasyFind did show a few applejack items, logs, receipts after I checked "hidden files" . . . but does not show path to "applejack" . . . it does show that there is a "man 8" . . . otherwise as the other thread indicated, applejack remains "unresponsive" . . . seems to be in the wind . . . .

     

    e.e.p.

  • 13. Re: How to get applejack to run in single user on 10.6.8?
    Linc Davis Level 10 Level 10 (117,990 points)

    Why are you wasting your time searching for files you have no hope of ever finding, when the list is right there on the site I linked to earlier?

     

    applejack.8

     

    What are you going to do with these files if you do find them, besides deleting them (which is what you should do)?

     

    Really, this Applejack garbage has already cost you far more in lost productivity than you'll ever get back from it, even if you do manage to get it to work.

  • 14. Re: How to get applejack to run in single user on 10.6.8?
    Mark Jalbert Level 5 Level 5 (4,475 points)

    When I type ->

     

    whatis applejack
    

    I get

     

    applejack: nothing appropriate
    
1 2 Previous Next