ColdFusion MX on Mac OS X, Part 3
Subject:   root accessed...trouble launching script
Date:   2002-10-02 03:02:55
From:   dicklacara
Response to: root accessed...trouble launching script

OK, let's try this.

From a terminal window enter:

cd /opt/coldfusionmx/bin

Then enter ls -l

If you have saved the coldfusionosx file properly, you should see something like:

-rw-r--r-- 1 cfmx wheel 2284 Oct 2 02:52 coldfusionosx

The permissions ( -rw-r--r-- ) is what we're about to change.

Now enter chmod 755 coldfusionosx

Then enter ls -l

If you have successfully changed the permissions, you should see something like:

-rwxr-xr-x 1 cfmx wheel 2284 Oct 2 02:52 coldfusionosx

Now you should be able to continue with the procedure.


Full Threads Oldest First

Showing messages 1 through 6 of 6.

  • root accessed...trouble launching script
    2002-10-02 05:21:56  edgedesign [View]

    I'm getting this after entering 'ls -1'

    [Macintosh:/opt/coldfusionmx/bin] cfmx% ls -1

    The 'coldfusionosx' file is definately in the bin directory. I tried other save options from BBEdit (even TextEdit) to see if it made any difference - always UNIX line feeds, but as 'BBEdit, SimpleText, generic text file, MPW Shell, etc. I double-checked the script.
    • root accessed...trouble launching script
      2002-10-02 09:16:13  dicklacara [View]

      The coldfusionosx file is obviously not in the /opt/coldfusionmx/bin directory -- the ls -l shows the contents of that directory and coldfusionosx isn't among the contents you show.

      Double check that you are saving the BBEdit file to the /opt/coldfusionmx/bin directory -- that is on your Macintosh HD in the folder /opt/coldfusionmx/bin.

      Also, make sure the file name does not start with a period.

      • root accessed...trouble launching script
        2002-10-02 11:01:18  edgedesign [View]

        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

        • 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:


          save the updated file by entering:


          followed by:


          Exit pico by entering:


          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.

          • 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!