Women in Technology

Hear us Roar



Article:
  ColdFusion MX on Mac OS X, Part 3
Subject:   root accessed...trouble launching script
Date:   2002-10-02 11:01:18
From:   edgedesign
Response to: root accessed...trouble launching script

Somewhere along the way CF was installed into the CFMX user directory which was causing my confusion. This is the one I could see in the Finder and the one where I was saving the 'coldfusionosx' file.


I understand now that we're looking for CF in the root directory and this is where I should save the 'coldfusionosx' file. It seems that CF did install into the root, but is invisible in the Finder. I can see it 's there with Terminal, but I cannot save to the bin from my text editor. I deleted CF from the CFMX user directory and went back a few steps and expanded the file again using 'gnutar'. I still cannot view the directory from the Finder, but it is there. I noticed this in Terminal after the long list of expanded files:


/usr/bin/gnutar: Error exit delayed from previous errors



Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • root accessed...trouble launching script
    2002-10-02 13:14:08  dicklacara [View]

    Ahh, you must be using Jaguar.

    This was reported in a prior post & a resolution was also posted.'

    For some reason, Jaguar wants /opt to be invisible.

    Here's how to make it visible (from the previous post).

    Upgrading to Jaguar causes the /opt folder to be invisible to the Finder -- It is still intact, you just can't see it from the desktop.

    To make it visible again, do the following:

    Open a Terminal window.

    Assume the root ID by entering:

    su root

    Enter your (Mac OS X) Administrative password when asked

    Change to the root file level:

    cd /

    Edit the .hidden file with pico by entering (note the dot before the file name):

    pico .hidden

    with the arrows, navigate down and delete the line containing:

    opt

    save the updated file by entering:

    Control-o

    followed by:

    Return

    Exit pico by entering:

    Control-x

    Reassume the cfmx user ID by entering:

    su cfmx

    From the Apple menu select Force Quit... (or press Command+Option+Escape).

    Select the Finder and click Relaunch

    When the finder is relaunched, you should see the opt folder on Macintosh HD, just as it was before installing Jaguar.

    Dick
    • root accessed...trouble launching script
      2002-10-03 04:15:22  edgedesign [View]

      FINALLY!...Everything worked perfectly.

      The visible CF files that I somehow installed into the CFMX directory really threw me off for a while.

      Lessons learned:

      1) 'root' control/password may need to be enabled by some people before expanding the 'cfmxinst.bin' file (installing CFMX into OS X). I found instructions via Sherlock >> Apple Care.

      2) Jaguar users will need to make the 'opt' file visible in order to save the 'coldfusionosx' script file to the 'bin' directory.

      3) Terminal does not display any characters (bullets, asterics, etc.) as you type in passwords.

      Dick, thanks so much for sticking with me and all of your help.
      • root accessed...trouble launching script
        2002-10-03 04:30:55  dicklacara [View]

        Welcome to the growing number of Mac CFMX developers.

        We both learned a bit more that we originally planned!

        Enjoy!

        Dick