Skip to main content
January 16, 2008
Question

Remote start up and shut down

  • January 16, 2008
  • 1 reply
  • 400 views
Hi

I'm running CF 8 on mac os x server (intel). I'm looking for help with the proper command for remote restart.

I access my remote machine via the terminal and ssh.

I type this: /Application/coldfusion8/bin/coldfusion stop
I get a nice message saying "shutting down ... stopped"
I type this: /Application/coldfusion8/bin/coldfusion start
I get a nice message saying "starting ..."
Everything seems cool. I hit the remote machine's home page with a browser and get:
"JRun 500 error - no application exists to service your request". Panic ensues.

I shut down again using the same procedure as above and I get a message on
the command line saying that "CF appears to be hanging - will stop non-gracefully." I start again using the same command as above, go back to the browser - and it works.

Ok, it works, that's not so bad. But, is there a way to eliminate the nasty middle part? Am I using the wrong commands?
    This topic has been closed for replies.

    1 reply

    Inspiring
    January 16, 2008
    Hobbes The Tiger wrote:
    > Hi
    >
    > I'm running CF 8 on mac os x server (intel). I'm looking for help with the
    > proper command for remote restart.
    >
    > I access my remote machine via the terminal and ssh.
    >
    > I type this: /Application/coldfusion8/bin/coldfusion stop
    > I get a nice message saying "shutting down ... stopped"
    > I type this: /Application/coldfusion8/bin/coldfusion start
    > I get a nice message saying "starting ..."
    > Everything seems cool. I hit the remote machine's home page with a browser
    > and get:
    > "JRun 500 error - no application exists to service your request". Panic
    > ensues.
    >
    > I shut down again using the same procedure as above and I get a message on
    > the command line saying that "CF appears to be hanging - will stop
    > non-gracefully." I start again using the same command as above, go back to the
    > browser - and it works.
    >
    > Ok, it works, that's not so bad. But, is there a way to eliminate the nasty
    > middle part? Am I using the wrong commands?
    >
    >

    How quick was the turn around between not seeing a page i.e. getting the
    500 error, and shutting down the server? CF is rather slow at starting
    up and it can be a couple of minutes before it is actually serving up
    pages. You may have just jumped the gun a bit.