CF9 not connected to MAMP Apache in Snow Leopard

I am trying to set up a MAMP/CF9 multi-site development environment on my local MacBook Pro.
I found this article and followed it as my guide with one exception.
http://www.ryanjeffords.com/blog/entry/setting-up-a-solid-local-development-environment-us ing-coldfusion-9-apache-and-mysql-on-mac-os-x
Where it talks about editing the hostd.conf file for the multiple local sites, I instead installed VirtualHostX app.
So I installed MAMP (Mac Apache MySQL PHP) on my MacBook Pro.  It started up and runs serving web pages.  I then installed VirtualHostX and defined a couple local sites I have for development. I then installed CF9 (32 bit).  I specified CF in /Applications and I specified the CFIDE to go into my (user)/Sites/www directory. My local sites are each in their own directory under (user)/Sites/.  It said it all ran fine but when I went to /localhost/CFIDE/administrator/index.cfm it gives a 404 error. I try to go to one of the dev sites and it displays the page but as text, not CF rendered code.
I looked in the wsconf.log file and found this one error msg:
11/21 20:31:04 error Configuring 32 bit connector is not allowed.
jrunx.connectorinstaller.ConnectorInstallerException: Configuring 32 bit connector is not allowed.
at jrunx.connectorinstaller.WebServerInfo.getResourcePath(WebServerInfo.java:809)
at jrunx.connectorinstaller.WebServerInfo.getResourcePath(WebServerInfo.java:759)
at jrunx.connectorinstaller.ApacheInstaller.copyFiles(ApacheInstaller.java:1124)
at jrunx.connectorinstaller.ApacheInstaller.installConnector(ApacheInstaller.java:225)
at jrunx.connectorinstaller.ConnectorInstaller.installConnector(ConnectorInstaller.java:338)
at jrunx.connectorinstaller.ConnectorInstaller.doIt(ConnectorInstaller.java:272)
at jrunx.connectorinstaller.ConnectorInstaller.main(ConnectorInstaller.java:762)
It suggests that the CF install step where it tries to set up the connector between Apache and CF9 failed.  I don't know where to go from here to resolve this issue.  I've looked and looked on the web and can't find anything yet.  I've spent hours and hours.
Any guidance to resolve this would be much appreciated.

I have since confirmed that the Apache in the MAMP I downloaded is 2.0.63 and it is NOT 64 bit but 32 bit architecture. I was able to get it working with my 64 bit install of CF9 but only after I manually extracted the 32 bit .so file from the .war that came with the CF9 installer. I also had to change some permissions on it before it would work. I also had to hack the httpd.conf file to include stuff that never made it in the file, regarding the jrun awareness of CF file types.
I'm up and running now. I tried so many things I'm not 100% sure what was the fix but changing the .so file, it's permissions and the httpd.conf were key. I haven't ready Andy's post but I suspect he has some key info too.  Besides Andy's blog post I would suggest others also use this blog post as well:
http://www.ryanjeffords.com/blog/entry/setting-up-a-solid-local-development-environment-us ing-coldfusion-9-apache-and-mysql-on-mac-os-x
and this help on the Adobe site
http://help.adobe.com/en_US/ColdFusion/9.0/Admin/WSc3ff6d0ea77859461172e0811cbf363a5d-7ffb .html
For help on using MAMP and VirtualHostX (but no mention of CF) see this one:
http://seansperte.com/entry/Setting_Up_a_Killer_Local_Web_Development_Environment_on_a_Mac _with_MAMP_an/
This post may be of help too. It is for CF8 but should be applicable for CF9. It may hold the key for getting the httpd.conf file rewritten automatically instead of the hack I had to do.
http://www.oxalto.co.uk/blog/post.cfm/cf8-mamp-on-osx-step-by-step
Another good post on the subject from Adobe:
http://blogs.adobe.com/samwong/2009/10/installing_coldfusion9_mamp_sn.html
Hope this thread helps others out.

Similar Messages

  • Problem connecting iChat client 10.6 (Snow Leopard) to iChat server (Lion)

    Hi guys,
    I'm fairly new to the Lion server, but it's all working fine with my Lion client(s) so far 
    However, my wife's best friend's MacBook is still running Snow Leopard ( and she is not willing to upgrade her MacBook as of now due to severak reasons) and I'm trying to connect her iChat client from Snow Leopard to the iChat server running on my Lion server.
    If I try to set up the account manually in the iChat client, I can't find an option for Mac OS X Lion server and trying a work around with the Jabber account settings didn't work either (on the server's log: credentials failed). Then, I tried to create a profile on the server and downloaded it to the Snow Leopard system, but it wasn't recognised (in System Settings, there is no Profile option ).
    So, can someone please, please, please give me any idea about it or is it simply not possible to connect a an older iChat client (5.0.3, Snow Leopard) to the latest version of the iChat server (Lion) ??
    Again, any idea is very appreciated!
    Many tx in advance.
    Cheers
    Kai

    Hi there,
    A simple suggestion , please make sure both MacBook Pro clock and the server clock are the same meaning the hour/Min/ sec both should match. A least difference of 3 seconds is fine.
    I had faced this problem in many place and only solution was to match the time and it will bind immediatly.

  • Am running Tiger 10.4.11; just got Snow Leopard 10.6.3 (regular OS disk, not an upgrade); when I install Snow Leopard, will it wipe everything?  overwrite Tiger?  Do I need to make backups of applications and files to reinstall after Sno Lprd loads? thx!

    Am running  Tiger 10.4.11; just got Snow Leopard 10.6.3 (regular OS disk, not upgrade).  When I install Snow Leopard, will it wipe everything?  overwrite Tiger?  Do I need to make backups of applications and files to reinstall after Snow Leopard Loads?  thanks!

    Hi Donald,
    No it doesn't erase anything by default, it does what we used to call an  Archive and Install feature, which can give you a new OS, yet preserve your files and settings if you have enough room on your HD...
    http://docs.info.apple.com/article.html?artnum=107120
    But it does it automatically unless you specifically erase the Disk, but will replace Tiger completely for the OS & several Apple Apps like Safari, Mail, etc, yet preserve your old settings for those!
    If you think you may need Tiger to run any APPs that do not work in SL/10.6, then clone or backup first.
    I would recomend 2 things before installing though...
    Make sure you have enough RAM & HD space.
    Snow Leopard/10.6.x Requirements...
    General requirements
       * Mac computer with an Intel processor
        * 1GB of memory (I say 2GB at least)
        * 5GB of available disk space (I say 30GB at least)
    If it's a core Duo & not a Core2Duo, then it'll only run in 32 bit mode.
    "Try Disk Utility
    1. Insert the new Mac OS X SL/10.6 Install Disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214

  • Well, my macbook (alumminium late 2008) started to be too laggy, so I decided to erase the Macbook HD. What I did not know is that my Superdrive is not working, so i could not re-install Mac OS X Snow Leopard. What to do?

    Well, lately my Macbook (Alumminium, late 2008) started to be too laggy. So I decided to erase Macbook HD, and reset it to the factory config. What i did not know was that my SuperDrive is not working... So I could not re-install Mac OS X Snow Leopard. What to do?

    I'm not familiar with the 2008 Macbook, but will it boot from and external drive?  If so, non-Apple CD/DVD drives are not expensive and can be very useful.  A bootable USB flash drive might also work for you.  Again, I'm not familiar with the 2008 Macbook.
    Good luck,
    Ray

  • IPhone 4s does not trust iMac after upgrade to Snow Leopard. I am using my iPhone's hot spot for internet connection.

    Can't sync iPhone and iMac since upgrading to Snow Leopard. Using iPhone for internet access. Help??

    Hello Brad:
    First, forget about a virus. There are NO documented viruses that affect a Mac running OS X - none.
    Do you have about 10-15% of the HD free at all times?
    Open activity monitor and see what is taking the processor capacity.
    Barry

  • Help with CF9 Standard Install and Mac OS Server (Snow Leopard Server)

    Hello,
    I recently purchased a mac mini server (with snow leopard server) and will be using it to host my CF9 applications.  This install is WAY different than the install needed on a windows machine.  I tried to install it once and somehow hosed up Apache and now I can't even get it to start up (apache).  So I am having the colo company to do a full restore of the server and I took notes on the Mac Server install and below is the questions I have.
    1.) Since Snow Leopard Server comes with Apache webserver, it is what CF wants to use.  This is fine, I just need to know where these things are...
    It is asking for the Configuration Directory:  I'm guessing it is /private/etc/apache2 ? Right or Wrong???
    2.) It is asking for Directory and file name of server binary:  It currently defaults to /usr/sbin/httpd  is this right or should I point it to another directory?
    3.) It is asking for Directory and file name of server script: It currently defaults to /usr/sbin/apachectl  is this right or should I point it to another directory?
    It also wants the location where I can place the CFIDE.  Can I place this anywhere I wish or is there a preferred location to point this to?
    and finally, I have CF9 Standard, so on the mac server should I install it as a server configuration (self contained instance) or Enterprise Multiserver config.  I was reading online that its better to install as an Enterprise Multiserver setup, but I don't know if this will work for me since I'm useing the standard edition.
    Please Help ANYONE, if you have mac os experience and installing CF9 onto a mac server
    Thanks

    I have been getting this exact same problem.  CF installer is somehow writing some invalid information into the httpd.conf file.  I was able to replace the httpd.conf file with the default one, and was able to go through the webconnector process again and (sometimes randomly) it works.  I also spent about 4 hours on the line with adobe CF support and made no progress beyond what I'll post here .
    To answer your questions about file locations:
    /private/etc/apache2/ for the httpd.conf files
    /usr/sbin/ for both the apachectl and the httpd binaries
    Although I'm able to get past where you are, and it seems to work correctly, Immediately upon adding a new site via server admin it all breaks.  Coldfusion then will only work if I manually go to a cfm document.  For example:  http://example.com/ will give me the raw text from the (default index) index.cfm file.  But typing http://example.com/index.cfm works.
    I am lost here as well.  After 4 hours on the phone with adobe support I would have hoped it would be an easy fix.  I've completely nuked and reinstalled the server from scratch with the exact same results both times.
    Does anyone have the slightest clue about what may be going on here?

  • Proper parameters for Apache in Snow Leopard

    Since reinstalling Snow Leopard, I'm having a terrible time getting Apache to work. I have a redirect going on my web site from www.xxxxx.com to www2.xxxxx.com:8102. This redirect is not working and I think the problem exists in my httpd.conf file which I had to rebuild from scratch after the reinstallation. Here are the configuration parameters - are there any obvious errors I've made? I'm banging my head against the wall here! Thanks:
    ServerRoot "/private/etc/apache2"
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, instead of the default. See also the <VirtualHost>
    # directive.
    # Change this to Listen on specific IP addresses as shown below to
    # prevent Apache from glomming onto all bound IP addresses.
    #Listen 12.34.56.78:80
    Listen 80
    Listen 8102
    The apachectl -t test is showing this:
    httpd: Syntax error on line 54 of /private/etc/apache2/httpd.conf: Cannot load /private/etc/apache2/libexec/apache2/modauthnfile.so into server: dlopen(/private/etc/apache2/libexec/apache2/modauthnfile.so, 10): image not found
    Jim-Coyles-iMac:apache2 jimcoyle$
    It's seeming that there is some sort of linkage missing between /private and the Apache executables. I could use some insight into this issue too.

    Thanks for your help. I'm a bit of a novice at this. Here it is:
    Jim-Coyles-iMac:apache2 jimcoyle$ ls -ale@ /private/etc/apache2/libexec/apache2/modauthnfile.so
    ls: /private/etc/apache2/libexec/apache2/modauthnfile.so: No such file or directory
    To me, this means one of three things: either I have the Server Root wrong in the httpd.conf, OR, there is some sort of linkage missing between /private/etc/apache2 and the location of the modules which, in fact, is in /usr/libexec/apache2.
    Would you happen to know what the Server Root should be set to?

  • Connecting to internet after installing snow leopard software

    I just uploaded the new snow leopard mac os x v10.6 software and after my computer restarted it wouldn't connect to my wifi like it usually does. I'm able to get the connection and it says that there's full bars but my webpage says I am not connected. There's also an exclamation mark where the signal usually is. If anyone could help that would be great! Thank you

    ER101 wrote:
    I just uploaded the new snow leopard mac os x v10.6 software and after my computer restarted it wouldn't connect to my wifi like it usually does. I'm able to get the connection and it says that there's full bars but my webpage says I am not connected. There's also an exclamation mark where the signal usually is. If >anyone could help that would be great! Thank you
    To get started, try these possible fixes:
    1. Go System Preferences > Network > Location.
    Edit location (whatever name you want).
    Click + and then click done.
    Try your wifi/browser.
    2. Go Finder > Your HD > Library > Preferences > SystemConfiguration.
    Move the SystemConfiguration folder to your Desktop for safekeeping.
    Restart.
    Try your wifi/browser.
    3. Go Finder > Your HD > Library > Preferences > SystemConfiguration.
    Move the SystemConfiguration folder to your Desktop for safe keeping.
    Go System Preferences > Network > Delete all locations, and use Automatic.
    Restart.
    Try your wifi/browser.

  • Airport connections lost after upgrade to Snow Leopard

    After upgrading to Snow Leopard, I am no longer able to connect to the Internet wirelessly.  I have had to resort to connect via wired connection.  I have tried to reconfigure the connection.  It finds my wireless network, but when I type in my password it says it is not correct.  I know it is an issue with Snow Leopard as it worked fine prior to the upgrade and my other devices connect with no problem.

    Go into Displays Preferences and, if you haven't already done so previously, put a checkmark in the box for "Show displays in menu bar". Then, click on the resulting icon that shows up in the menu bar to drop the menu and select "Number of Recent Items" and set it to 10. Now drop the menu a second time and see if there are two 1920 x 1080 resolutions. If so, one of them may be the older one previously in use that was working.

  • Maxtor 1 Touch - Not showing up after install of Snow Leopard

    My maxtor 1 touch external drive, connected via firewire worked fine on my mac running Leopard. Since installing Snow Leopard, it is not detected at all. I have done some research and found that the problem is that I had password protected the drive when I first set it up. The password was properly requested under Leopard. It seems, after discussions with Maxtor (Seagate) that the password protection is not compatable with Snow Leopard. They told me my option is to roll back to Leopard, take off the password, reinstall Snow Leopard. My reluctance to do this is the fact that to roll back to leopard I have to do an Erase & Install. Does anyone know of any other options that might work? Has anyone encountered this problem? Or maybe provide steps that would allow me to roll back to Leopard without doing "Erase and Install" process?

    Really? No Leopard backup to fall back onto while you investigate SL? Bad ju ju that. See these for better practices:
    http://www.macmaps.com/upgradefaq.html
    http://www.macmaps.com/backup.html
    http://www.thexlab.com/faqs/installswupdates.html
    http://www.thexlab.com/faqs/backuprecovery.html

  • Wireless network connectivity issues after upgrading to Snow Leopard

    After upgrading to Snow Leopard (10.6.4) I find that my wireless network will not automatically connect to my router (Netgear DG834G) as it used to. First impressions are that the macbook is finding a number of wireless networks but wants to connect to the one that is alphabetically first in the list. It also seems that the signal that the airport is receiving is weak, even when the macbook is next to the router.
    Has anyone experienced this when they upgraded?
    Any and all help gratefully appreciated
    Nick

    but a couple that I used with no problem before I upgraded now give me a "server not found" error after I enter my login and password.
    Quit Safari. Open Keychain Access   /Applications/Utilities. Select Passwords on the left.
    Delete the keychains for the sites you have problems logging into AND the Safari Forms Autofill keychain. Now from the menu bar click Keychain Access / Keychain First Aid. Select: Verify. If necessary, select: Repair. You will be prompted for your admin password. Click Start.
    Relaunch Safari. Navigate to a site. Login with your user name and password. That will create a new keychain for you.
    If you still have problems accessing sites, go to Safari / Preferences then select the Security tab. Click: Show Cookies. Delete all cookies or just the one's for the problematic sites. Now try logging into a site again.
    Even though you upgraded to v10.6.7 make sure Safari is up to date. From the menu bar click Safari / About Safari. If it's a version prior to 5.0.5, click your Apple menu (top left in your screen) then click: Software Update...
    And check Safari / Preferences - Extensions. Something there may be preventing you from accessing secure sites. If you have any extensions installed,  turn that off, quit then relaunch Safari to test.

  • Time Capsule backup not working anymore after upgrade to Snow Leopard

    Hi,
    after I upgraded to Snow Leopard I started the backup process with the time capsule. Within several days I tried this about 5 times and the iMac crashed or froze after some time doing the backup - but it never completed.
    I then deleted the whole content of the time capsule and started a fresh backup. Now I receive a message after some gigabyte that there was a problem and I should try it again. Again the backup has not finished so far. I tried to reduce the amount of files to backup by excluding folders - no chance. Since the upgrade to snow I was not able to complete one single backup.
    Any ideas or similar experience?

    I have had a similar problem. I have the latest 1TB Time Capsule and backup worked fine in Leopard. I am backing up over my home wireless network. The backup starts, but at some point it freezes with the spinning pizza wheel if I click on anything. Everything freezes with no possibility of force quitting any application.
    I tried trashing the plist for Time Machine, but that didn't work. Tonight I'm going to try a backup with the computer connected to the Time Capsule by Ethernet.
    I can access my existing Time Machine backups on the Time Capsule.
    This is a frustrating situation. But for this, SL works great, but this problem is a critical one.

  • Macbook does not start anymore after upgrade to Snow Leopard

    I successfully upgraded my MacbookAir to Snow Leopard, but my son's Macbook refuses to start after having been upgraded.
    Please help!

    Hello,
    my MacBook Pro (late 2008 unibody) just needs a main logicboard replacement, fortunatly still within warrenty, after updating to 10.6.0. I experienced the following: With an update from 10.5.6 to 10.5.7 the MBP freezed within 10min. after reboot, with every restart it freezed after a shorter period and finally freezed during the boot process. I've mounted the MBP as an external HD to my iMac, did an backup and deleted the internal MBP harddrive by overwriting it with zeros. I did the usual procedure of resetting SMC, P/V-RAM and reinstalled 10.5.6 - everything was fine again!
    When Snow Leopard came out, I updated again, hoping the issue has been repaired. BUT I experienced the same problems and with some system permission deleting I got SL running as long as I did not turn on AirPort. As soon airport is activated and an internet connection is established I could count the seconds until the mac freezes. And it will only come up again by deleting the system configuration preferences (via single user mode booting).
    Thereafter I was sure there is a hardware problem with the airport card or the logic board. The Apple Service Provider did not find any hardware failure and finally will change the logic board. Hopefully I got the Mac back next Tuesday. I let you know about the results.
    Best regards!
    PS: Obviously software could damage hardware or some hardware components used by Apple are not compatible with some of their software.

  • Need Help...my wireless airport express will not work with my update of snow leopard

    after installing snow leopard on my macbook pro my airport express will not work...or will connect only for a minute at a time.

    If you mean by "airport express" the square airport router you plug in and has a usb port then run the Airport Utility located in your Utilities folder to set it up again. If AU doesn't see it you may need to do a re-set of the AE.

  • Real Player not working properly since upgrade to Snow Leopard

    Ok, before I start, I know RealPlayer is not an Apple product, but I am not premium Real content subscriber, and I don't expect to get any support from Real on this matter.
    I only use the player to listen to BBC Radio which is vital to me as I live outside the UK.
    The problem is that since I upgraded to Snow Leopard, the streaming bit rate won't go above 21kbps which obviously reduces the sound quality. I checked what it was doing in Activity Monitor, (version 11.0) and it is not 64bit. Could this be the cause of the problem?

    RealPlayer is a 32-bit application, but that shouldn't be a problem. It should run on Snow Leopard as well as it did on Leopard. It plays BBC Radio at 45Kbps on my Mac. Do you have the latest version (11.1.0)? Check the speed settings in its "Connection" preference.

Maybe you are looking for