Skip navigation
Currently Being Moderated

Unable to start ColdFusion...

Oct 29, 2009 7:55 PM

(I hope the only answer to this problem will not be a virus and the need to re-build my PC!)

 

Unable to access CF as localhost (both a website I wrote which had been working fine and http://localhost:8500/cfide/administrator), I checked out the Start Menu and sure enough, CF was being instructed to load a boot time. So I uninstalled CF8 and tried to install CF9, un-checking the parts about searching capabilities (Verity, etc.). I believe it claimed to install okay, but then my virus software, AVG, claimed that a CF program was... *malware*! I didn't have the common sense to write down the full pathname, but JRUN was somewhere in that pathname. So I completely uninstalled my Java, and reinstalled the latest version of Java from the java.com website. (In the interim, Firefox told me its new version was incompatible with the installed version of Flash Player and I better update that, attempted to do so, and on the first attempt, was told that "the download did not pass the integrity check", but it succeeded when I tried the second time.) But finally, with the latest version of Java installed, and went back to the task of installing CF9...

 

After first uninstalling the earlier install of CF9, I undertook the process again (from a saved copy of the .exe by the way, and will all other windows closed). This time I went with all the defaults (built-in server, search capabilities, remote capabilities). At length, I was told "You have successfully completed the first step" and "Now launch the Configuration Wizard in the default browser" (not exact quotes, but close). When I attempted to do so (by clicking Done, since the checkbox for launching the Configuration Wizard was checked), I received the message: "Firefox can't establish a connection to the server at 127.0.0.1."

 

In other words, after all of the above, I'm back at square one. Does anyone have any ideas as to what I should try next?

 

Thanks for your help.

 

Peyton

 

Message was edited by: PeytonT: Now 3 hours later, I have completed a full scan of the computer (685,000) files, and no infections were found - just 82 'warnings', all of them tracking cookies. But entering the url "127.0.0.1/cfide/administrator" (without the quotes of course) still returns nothing.

 
Replies 1 2 Previous Next
  • Currently Being Moderated
    Oct 30, 2009 7:28 AM   in reply to PeytonT

    I doubt the CF code has a virus. Try disabling AVG and see if CF will start up. You may need to somehow allow or unblock the service in question.

     

    And just as a side not, something that used to get me when installing CF was the permissions. Make sure the service is starting under an account with sufficient permissions, though I'm not sure what those are.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 1, 2009 1:20 AM   in reply to PeytonT
    entering the url "127.0.0.1/cfide/administrator" (without the quotes of course) still returns nothing.

    My guess is that the CF9 installer saw the port 8500 as still registered with the old CF8, and defaulted to port 8501. So, try

     

    http://127.0.0.1:8501/CFIDE/administrator

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 3, 2009 2:13 PM   in reply to PeytonT
     
    |
    Mark as:
  • Currently Being Moderated
    Nov 3, 2009 4:15 PM   in reply to PeytonT
     
    |
    Mark as:
  • Currently Being Moderated
    Nov 4, 2009 12:16 PM   in reply to PeytonT

    During installation, you perhaps inadvertently configured Coldfusion to use a webserver other that its own inbuilt JRun webserver. Apache, perhaps? The built-in webserver runs by default on port 8500, Apache on 80.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 4, 2009 12:45 PM   in reply to PeytonT
     
    |
    Mark as:
  • Currently Being Moderated
    Nov 4, 2009 12:58 PM   in reply to PeytonT
    'all IIS sites' when in installed ColdFusion 9 yesterday

    Ah, of course, port 8080. I do believe its best to install Coldfusion to first use the built-in webserver, and then use the Web Server Configuration Tool later to add a web server like IIS.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 4, 2009 1:04 PM   in reply to PeytonT
    once again I'm getting the message "A server error has occurred... The Macromedia application servers are unreachable". Is there a log somewhere where I can find more information about what caused this error?

     

    C:\ColdFusion9\logs\exception.log and C:\ColdFusion9\logs\server.log

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 4, 2009 9:14 PM   in reply to PeytonT

    As Coldfusion's logs show nothing, the problem is therefore with IIS. Restart IIS.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 4, 2009 11:59 PM   in reply to BKBK

    As Coldfusion's logs show nothing, the problem is therefore with IIS. Restart IIS.

     


    Not necessarily true.  If JRun had sufficient trouble starting CF that CF didn't bootstrap at all, there'll be nothing in the CF logs because to get entries into there, CF needs to have at least partially started (enough to log problems).  Hence my suggestion to check the JRun logs.

     

    --

    Adam

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 5, 2009 12:08 AM   in reply to PeytonT

    Adam, what should I look for to see if cf services is running? In the 'Processes' tab of Task Manager? If so, I find nothing which starts with the letters 'cf', neither on the PC where CF does not run, nor on another PC where it does run (unfortunately I can't develop in CF on that PC at the moment since I have not been able to get the latest ODBC driver for a certain database from Microsoft). Interestingly, though, on the PC where CF does run, I find jrun.exe in the list of processes in task manager, and jrunsvc.exe as well, while neither of them is present in the PC where CF does not run. Moreover, they are already shown as loaded in task manager after a reboot of the PC where CF does run, even before I attempt to access CF. I provide the jrun logs (coldfusion-event.log and coldfusion-out.log) for yesterday and today after the second set of double lines below. I don't see anything on 11/03 (the successful day) vs. 11/04 (the failure day) which would explain the problem... I will try to reinstall Java, but I did so just this morning when they announced an update. But I can do it again...

     

    Either Task Manager or just in Windows Services.  In Windows Services it'll be fairly obvious, but in Task Manager as you've discovered the actual Windows application that runs is JRun, not CF.  CF is a Java app, so runs atop of JRun (by default).  The JRun.exe app is the business end of things, JRunSvc.exe is the Windows service wrapper for it (or something along those lines...).

     

    I had a look @ those JRun logs you posted and nothing leapt out at me.  Usually if something dire has happened, there'll be a thumping great error as the last entry.

     

    --

    Adam

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 5, 2009 2:45 AM   in reply to PeytonT

    Hi Peyton,

     

    I had a problem where antivirus prevented wsconfig.exe from properly configuring IIS during, and after, CF install (even when antivirus was disabled - I had to shut antivirus down totally during CF install, or while running wsconfig.exe).

     

    Are both machines running the same OS and antivirus (same antivirus version and virus definitions)?  Could you install CF w/ the antivirus shut down (not just disabled, but totally shut down - and also configure the antivirus to not automatically run at system startup)?  Then restart the machine (as you mentioned you would try?) and see if there is still a problem?

     

    This may not be it, but just thought I'd add that note here - since I ran into somewhat-related issues.

     

    Thanks,

    -Aaron

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 5, 2009 10:56 AM   in reply to Adam Cameron.
    Not necessarily true.  If JRun had sufficient trouble starting CF that CF didn't bootstrap at all, there'll be nothing in the CF logs because to get entries into there, CF needs to have at least partially started (enough to log problems).  Hence my suggestion to check the JRun logs.

    Again, the trouble is most likely caused by IIS. I don't expect a clean server log, like the one above, when there are JRun problems.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 5, 2009 11:39 AM   in reply to BKBK
     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2009 2:44 AM   in reply to PeytonT

    Rest/Restart IIS unless, of course, you've decided to use Coldfusion's in-built web server.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2009 1:45 PM   in reply to PeytonT
    I'll be glad to rest/restart IIS, but I don't know how.

     

    Simple. Google reset IIS

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2009 2:11 PM   in reply to PeytonT

    Peyton,

     

    I'm just curious.. What happens after you do this:

     

    1) change antivirus (AVG) startup type from automatic to manual (start > run > services.msc > double-click each antivirus (AVG) service > change 'Startup type' to 'manual')

    2) restart machine

     

    Does CF start properly, after reboot, when antivirus is not running?

     

    Thanks,

    -Aaron Neff

     

    P.S. You might also try those 2 steps before the next re-install of CF (to ensure antivirus is not interfering with CF installation)

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2009 3:05 PM   in reply to PeytonT

    Since a comment there calls this "the built-in Jrun web server', does that mean I should have chosen the built-in server instead of 'all IIS sites' when in installed ColdFusion 9 yesterday?

     

    Ah, it doesn't matter.  IIS and JWS can connect to the CF server @ the same time, over different ports (say port 80 for IIS and port 8500 for JWS).

     

    When I'm having issues with CF serving up pages (or, really: not serving up pages ;-), I move as close as possible to CF to start with, to check where the problem lies.

     

    As the JWS is part of JRun, which is what CF runs on, there are fewer "moving parts" when using the JWS to test things.  If one can get CF to serve pages via JWS but not IIS, then the problem lies with the IIS connection.  If even JWS doesn't serve pages, there's a fundamental problem at the JRun / CF config end of things.

     

    So, to start with, let's get CF working through JWS, and move from there.

     

    --

    Adam

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2009 3:20 PM   in reply to PeytonT

    OK, I get more after the XMLRPC thing:

     

    11/07 12:13:43 Information [scheduler-8] - Starting xmlrpc...
    11/07 12:13:44 Information [scheduler-8] - Starting graphing...
    11/07 12:13:44 Information [scheduler-8] - Starting verity...
    11/07 12:13:44 Information [scheduler-8] - Starting solr...
    11/07 12:13:44 Information [scheduler-8] - Starting archive...
    11/07 12:13:44 Information [scheduler-8] - Starting document...
    11/07 12:13:44 Information [scheduler-8] - Starting eventgateway...
    11/07 12:13:45 Information [scheduler-8] - Starting Event Backend Handlers.
    11/07 12:13:45 Information [scheduler-8] - Initialized EventRequestDispatcher with a Thread Pool size of 1.
    11/07 12:13:45 Information [scheduler-8] - Initializing EventRequestHandler
    11/07 12:13:45 Information [scheduler-8] - Starting Event Gateways.
    11/07 12:13:45 Information [scheduler-8] - Starting FlexAssembler...
    11/07 12:13:45 Information [scheduler-8] - Starting .NET...
    11/07 12:13:45 Information [scheduler-8] - Starting Monitoring...
    11/07 12:13:46 Information [scheduler-8] - ColdFusion started
    07/11 12:13:46 user ColdFusionStartUpServlet: ColdFusion: application services are now available
    07/11 12:13:46 user CFMxmlServlet: init
    07/11 12:13:46 INFO Macromedia Flex Build: 87315.134646
    07/11 12:13:46 user CFMxmlServlet: Macromedia Flex Build: 87315.134646

     

    So my guess would be that the xmlrpc load is failing.

     

    Just a note, if I use JRun to start CF, even after the start-up runs to completion I still get a message saying something to the effect of "it failed to start", and when refreshing the JRun monitor window the CF server doesn't suggest it's running.  But it is.

     

    I never use this UI to start CF, so I have no idea what my expectations should be here, though.

     

     

    Fortunately, Adobe do free support for people who are having problems with installation, so round about now I'd be opening a ticket with them, if I was you.

     

    --

    Adam

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2009 3:27 PM   in reply to PeytonT

    Another worrisome issue: TM now shows two instances of JRUN.EXE, one of them taking up a lot of memory (158K), the other not (21K). Why? Is that a problem?

     

     

    One of them is probably the JRun admin server.  Do you have it set to start-up automatically?  In Windows Services it's under "Macromedia JRun Admin Server" or something like that.

     

    And how can I fix it so JRUN loads automatically on bootup, as happens on my other PC? I seem to remember that there's a directory somewhere where you can drag stuff you want to start right away. I'll search the Windows directory, but right now I want to get this post off before some catastrophe like the power going off and me losing all I just wrote.

     

     

    You use the JRUNSVC program to create a Windows Service.

     

    It's pretty straight forward, just do jrunsvc /? on the command line for the options.  At its most basic level, it's simply

     

    jrunsvc -install [name of CF Server instance here]

     

     

    EG:

     

    jrunsrv -install cfusion

     

    --

    Adam

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2009 8:34 PM   in reply to PeytonT

    Incidentally, starting CF via JRun's launcher is not my usual practice either. I am doing so, of course, only because neither JRun nor CF are starting of themselves. However, at some occasions during the above tortured saga, they indeed *were* loading automatically....

     

    Is there no CF Service listed in Windows Services?  That's how I'd usually start/stop CF.  It might or might nor matter, whilst you're troubleshooting.  I didn't like the way that the JRun applet said my CF instance failed to start when in fact it had started fine, though.  So I don't know that I trust it.

     

    --

    Adam

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 7, 2009 6:12 AM   in reply to PeytonT
    But there's just one more thing I'd like to try first: the built-in server.

    Choose the option of built-in server during installation. After installation, use the Web Server Configuration Tool to add IIS. In my opinion, that is the most problem-free way to do a single-server installation of Coldfusion on Windows.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 7, 2009 8:24 AM   in reply to PeytonT
    Curiouser and curiouser. First I uninstalled CF9 (as I have always done before these new installations). Then I installed CF9 with the built-in server option, un-checking the verity, solr, and .NET options since I was viewing this as hopefully my final installation and I will have no use for those functions. I was told that the installation was successful (at least its "first step", the next step being the Configuration Wizard.

    However, when I checked Task Manager.... etc., etc.

    I identify with you, until the step in bold. Restrict yourself to a clean, single-server installation. You should, during the installation process, resist the temptation to get yourself involved with Task Manager, JRun, JRunsvc, AVG, EAR, and so on. The more balls you juggle, the higher the chance you'll drop 'em all.

     

    I would do it as follows:

     

    1) If you haven't already done so, update AVG with the latest antivirus definitions and scan your computer. I'll therefore assume your computer clean.

    2) Disable AVG. This will, for example, prevent it from holding a lock on a file you might want to delete.

    3) Stop Coldfusion 9. Uninstall Coldfusion 9, removing every trace of it from your file system.

    4) If there is an older version of Coldfusion on your computer, rename its installation folder. For example, C:\Coldfusion8_backup\. That would prevent the possibility of mistakenly running the older version.

    5) Restart Windows.

    6) Disable AVG to prevent it from interfering.

    7) Install Coldfusion 9 as you did before. When you reach the Configuration Wizard step, do nothing. Just get back to the forum for the kumbaya moment, and we'll all proceed from there.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 7, 2009 9:39 AM   in reply to PeytonT

    The 'cf-j2ee-readme.txt' file tells

     

    It tells me that you didn't select either of the "install CF" (either stand-alone or multi-server) options during the install, you choice the "create EAR/WAR" file option.  Which doesn't install CF, it just creates a EAR or WAR file (for deployment on an existing J2EE server).

     

    --

    Adam

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 7, 2009 10:14 AM   in reply to PeytonT

    PeytonT, I do sympathize with you, and admire your patience. You'll gain something from the saga, I'm sure. At the end of it all, you'll know about the process better than most of us.

     

    Take into account what Adam has just said. If it is true, then it should be sufficient to delete the files. In any case, you will find the tools to uninstall the single-server Coldfusion 9 installation, or to kill JRun, in C:\ColdFusion9\uninstall\. Good luck.

     
    |
    Mark as:
1 2 Previous Next

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points