Re: Cloning an existing Farcry server to use for development

Michael Dowless <[email protected]>
Newsgroups gmane.comp.cms.farcry.devel
Message-ID <CAJLLYZLuhKzfA3rDCMUVfGo6g6JKfgGo62S=bxKfvSao7PvzqQ@mail.gmail.com>
Man Justin you totally pegged it! I found the FarcryProd DSN entry in the
FarcryConstructor.cfm file and changed it to FarcryDev. Did an
http://farcrydev.linnbenton.edu/updateapp=1 and after a bunch of chugging
it came up with a 404 not found but then I refreshed the page and it was
showing the proper content. The Webtop also works now.

Whew! That takes a load off.

Thank you so much Justin and all who helped with this problem. Now to
document what to do when this happens again.

Cheers,

Michael

On Thu, Aug 30, 2012 at 4:13 PM, Justin Carter <[email protected]>wrote:

> Hi Michael,
>
> The error "Datasource FarcryProd could not be found." means that the
> instance of CF that the site is running under does not have a datasource
> called "FarcryProd". If you have multiple instances of CF then you will
> need to check which instance you can configured the site to use and update
> the ColdFusion DSN's in that instance accordingly.
>
> When the second error page, that's FarCry's built-in 500 error page. You
> should be able to append ?debug=1 or ?debug=<yourUpdatappKey> to the URL to
> see the full debug info. If you don't know your update app key, browse to
> the farcry/projects/yourProjectName/www folder and look at
> farcryConstructor.cfm. This is where things are configured like the
> application name, the name of the DSN that the application will use, the db
> type, your project path, and your updateapp key (which is used to access
> debug info, and all importantly, restart the application when you use
> ?updateapp=<yourUpdateappKey>
>
> cheers,
> Justin.
>
>
>
> On Fri, Aug 31, 2012 at 9:05 AM, Michael Dowless <[email protected]>wrote:
>
>> I tried doing that for the 500 errrors  as shown.
>>
>> [image: Inline image 1]
>>
>> The message then was even less informative...
>>
>> There was a problem with that last request
>>
>> Please push "back" on your browser or go back home<http://farcrydev.linnbenton.edu/>
>>
>>
>> How do you get better error information?
>>
>> On Thu, Aug 30, 2012 at 3:50 PM, Uwe Degenhardt <
>> [email protected]> wrote:
>>
>>>  Hi Michael, good to know !
>>>
>>> Would have been interesting to see, what caused this 500er error.
>>> Did you switch on advanced error messages in the IIS ?
>>> Uwe
>>>
>>>
>>>
>>> Ok. Progress.
>>>
>>> CF services all started:
>>>
>>> Adobe ColdFusion 9 AS CF2 (We have a multi server install so one of our
>>> instances is called CF2)
>>> ColdFusion 9 .NET Service
>>> ColdFusion 9 ODBC Agent
>>> ColdFusion 9 ODBC Server
>>> ColdFusion 9 Search Server
>>> Macromedia JRun Admin Server
>>> Macromedia JRun CFusion Server
>>>
>>> IIS7.5 services started:
>>>
>>> IISADMIN
>>> W3SVC
>>>
>>> The Error I was getting was that either the web page localhost/farcry
>>> (Using IE 9 on the dev server) would time out with a server 500 error or no
>>> error at all just a timeout.
>>>
>>> CF log files don't show any meaningful errors.
>>>
>>> Trying to get to localhost/cfide/administrator would give me 403
>>> forbidden to browse directory so I enabled directory browsing went to the
>>> proper directory and was then able to get to the CF admin login page. Huh?
>>>
>>> Went back and disabled directory browsing and still able to get to the
>>> admin page so from here I am going to copy the prod Farcry database, create
>>> a new db called FCDEV on our SQL server and point the CF admin at that db
>>> so we are running completely separate databases for prod and dev.
>>>
>>> I think I'm on my way. Thanks for the help
>>>
>>> Michael
>>>
>>> On Wed, Aug 29, 2012 at 11:09 PM, Uwe Degenhardt <
>>> [email protected]> wrote:
>>>
>>> Hi Michael,
>>> is CF running alone at all ?
>>> Is the webserver running alone at all ?
>>> Did you check the CF-logfiles already ?
>>>
>>> Uwe
>>>
>>>
>>> *Hi everyone,
>>>
>>> I have cloned our existing Farcry 6.1.3 web server (Windows 2008R2)
>>> running CF 9.1 and IIS7.5. It is now on VMWare ESX 4.1 as a virtual
>>> machine. The problem is none of the sites will start up. I expected that I
>>> would have some start up issues but I'm not sure where to start.
>>>
>>> I definitely want to change the data source to use a copy of the
>>> production database but I can't get the cfadmin web site to run. Of course
>>> the machine name and IP addresses are different so I am wondering what
>>> files or settings need to be edited so it is looking at the new server name
>>> (alb-fcdev) so I can get this dev server working.
>>>
>>> Right now I don't want to clobber the existing SQL 2008 database running
>>> our production web server so I need to change the data source in the
>>> CFadmin but can't get it running to do so.
>>>
>>> Any tips? I'm looking through the farcry-dev group but can't find anyone
>>> yet that's cloned an existing production server. I can provide whatever
>>> information you need to help me troubleshoot this startup problem.
>>> *--
>>> --
>>> You received this message cos you are subscribed to "farcry-dev" Google
>>> group.
>>> To post, email:
>>> farcry-dev-/[email protected]
>>>
>>> To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
>>> For more options:
>>> http://groups.google.com/group/farcry-dev
>>>
>>> --------------------------------
>>> Follow us on Twitter: http://twitter.com/farcry
>>>
>>>
>>> --
>>> --
>>> You received this message cos you are subscribed to "farcry-dev" Google
>>> group.
>>> To post, email: farcry-dev-/[email protected]
>>> To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
>>> For more options: http://groups.google.com/group/farcry-dev
>>> --------------------------------
>>> Follow us on Twitter: http://twitter.com/farcry
>>>
>>>
>>>
>>> --
>>> --
>>> You received this message cos you are subscribed to "farcry-dev" Google
>>> group.
>>> To post, email: farcry-dev-/[email protected]
>>> To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
>>> For more options: http://groups.google.com/group/farcry-dev
>>> --------------------------------
>>> Follow us on Twitter: http://twitter.com/farcry
>>>
>>>
>>>
>>> --
>>> --
>>> You received this message cos you are subscribed to "farcry-dev" Google
>>> group.
>>> To post, email: farcry-dev-/[email protected]
>>> To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
>>> For more options: http://groups.google.com/group/farcry-dev
>>> --------------------------------
>>> Follow us on Twitter: http://twitter.com/farcry
>>>
>>>
>>>
>>
>>  --
>> --
>> You received this message cos you are subscribed to "farcry-dev" Google
>> group.
>> To post, email: farcry-dev-/[email protected]
>> To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
>> For more options: http://groups.google.com/group/farcry-dev
>> --------------------------------
>> Follow us on Twitter: http://twitter.com/farcry
>>
>>
>>
>
>  --
> --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: farcry-dev-/[email protected]
> To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry
>
>
>

-- 
-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev-/[email protected]
To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
image.png (image/png, 102 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.