FR instances connection lost

144 views
Skip to first unread message

raZorTT

unread,
Feb 26, 2013, 8:08:35 PM2/26/13
to fusion...@googlegroups.com
Hi,

I'm having a problem with some of the FusionReactor instances on my ColdFusion 10 servers.

On 2 servers 1 of the 4 instances is showing connection lost. I have tried uninstalling fusion reactor from the instance, restarting it and then reinstalling. Nothing so far has worked.

Can someone point me towards log files that might help diagnose the issue?

Cheers,
Simon

David Stockton

unread,
Feb 27, 2013, 7:20:02 AM2/27/13
to fusion...@googlegroups.com
Hello Simon,

I'm sorry you're having trouble with FR on CF10.
Firstly, can you confirm you're running FR 4.5.2 (the latest stable as of writing)?
Can you also confirm that FR is installed and contactable via the URL that's listed in the Enterprise Dashboard (use the "Manage Servers" link to view/edit the URLs). The URL should be contactable from the server hosting the enterprise dashboard.

The logs of interest are your CF10 (E:\ColdFusion10\cfusion\logs\coldfusion-out.log) and FusionReactor (C:\FusionReactor\instance\<instance name>\log\<date & time>\reactor.log) logs. It's unlikely these logs will be of much assistance in resolving the problem - typically they'll tell you that there's an issue connecting to the URL but normally it's a case of a firewall blocking the connection or FusionReactor isn't listening properly on the expected FusionReactor URL.

If you need further assistance, please contact sup...@fusion-reactor.com

Best regards,
David Stockton
Fusion Team



--
You received this message because you are subscribed to the Google Groups "FusionReactor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fusionreacto...@googlegroups.com.
To post to this group, send email to fusion...@googlegroups.com.
Visit this group at http://groups.google.com/group/fusionreactor?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Charlie Arehart

unread,
Feb 27, 2013, 1:37:28 PM2/27/13
to fusion...@googlegroups.com

To be clear, are you saying that the Enterprise Dashboard for an instance is pointing at these others, of which some are not being connected? If so, look at the reactor.log for the instance running the dashboard, to see if it complains about a problem.

Or are you saying you get this while you have the FR interface for the instances in question? If so, you refer to uninstalling fr and reinstalling, so I assume that it’s not that CF itself is having a problem, just FR.

What is the URL that you’re using to open FR? Have you tried calling it from different machines (on the server and off)? Or if the URL is using the FR built-in web server port (like 8088), try taking it off. By default, FR can be talked to through an external web server (like IIS or Apache). In fact, you may find that if you are using an IP address (or localhost or 127.0.0.1) that you can use a domain name and add the rest of the FR URL, and the request may work (again, from the same server or from outside one).

Let us know if any of that helps.

/charlie

--

raZorTT

unread,
Feb 27, 2013, 5:48:55 PM2/27/13
to fusion...@googlegroups.com
Hi David and Charlie,

Thanks for the quick replies.

I can confirm I am running FR4.5.2 on RHEL 6.1

The FR instance that i'm trying to connect to isn't available from my browser using 10.11.23.20:8088/fusionreactor. A wget 127.0.0.1:8080/fusionreactor from the server also fails with a connection refused error. The firewall ports *should* be open. It had been working previously.

I looked in Manage Instances and confirmed that the port 8088 is where FR has been installed.

The ColdFusion instance that FR is trying to monitor is up and working fine.

Sounds like the issue may be FR not listening correctly. I'll take a look in the FR conf file, maybe there is something in there that explains it.

Cheers,
Simon

raZorTT

unread,
Feb 27, 2013, 5:53:07 PM2/27/13
to fusion...@googlegroups.com
Oh and I have restarted the CF instance after re-installing Fusion Reactor.

Simon

Charlie Arehart

unread,
Feb 27, 2013, 8:18:36 PM2/27/13
to fusion...@googlegroups.com

But have you tried accessing it without the port (so instead, through your external web server). Not only would that be a work-around until resolved, but it would help confirm that it’s indeed about that port or the built-in web server. That said, had you confirmed your system shows FR listening on that port?

/charlie

raZorTT

unread,
Feb 27, 2013, 9:05:54 PM2/27/13
to fusion...@googlegroups.com
Hi Charlie,

Without the port I get a page not found error.

When I do a netstat the port 8088 isn't listed. The other instances, 8089, 8090 etc do show up

Cheers,
Simon

Charlie Arehart

unread,
Feb 28, 2013, 10:02:12 AM2/28/13
to fusion...@googlegroups.com

OK. Since you say you see nothing listening on that port, I would recommend you next check both the reactor.log (for the instance in question) and also CF’s cfserver.log (since you are on Linux). See the startup log messages for CF, and I suspect you may find why FR is not starting within that instance.

Or perhaps it’s starting on another port. To the FR folks, I find that the FR messages shown within CF’s startup messages do no report the port that FR is running on. Is that something that could perhaps be added to its startup messages?

/charlie

 

From: fusion...@googlegroups.com [mailto:fusion...@googlegroups.com] On Behalf Of raZorTT
Sent: Wednesday, February 27, 2013 9:06 PM
To: fusion...@googlegroups.com
Subject: Re: [fusionreactor] FR instances connection lost

 

Hi Charlie,

raZorTT

unread,
Mar 1, 2013, 12:29:46 AM3/1/13
to fusion...@googlegroups.com
Thanks Charlie,

I jumped onto the server and found the following in the coldfusion-error.log file

INFO: FusionReactor Framework Host Manager - Initializing
FusionReactor is in bypass mode because it failed to initialize: null

Anyone know where I can get more information about might have failed?

I completely reinstalled the FR instance before restarting the coldfusion instance so there aren't any log files in /fr/instance/cfusion.cfmx10/logs

Cheers,
Simon

David Stockton

unread,
Mar 1, 2013, 4:53:57 AM3/1/13
to fusion...@googlegroups.com
Hello Simon,

The most likely cause is that FusionReactor can't read the fr-osgi.conf file. The most likely reason for that is that the user owning the CF process doesn't have permission to read & write (/own) the "/fr" folder. It needs to be able to read, write and create new folders&files (that it can also read, write & delete) in the "/fr" folder and all sub-files & folders.

Can you check your permissions please?

Best regards,
David Stockton
Fusion Team

--

raZorTT

unread,
Mar 1, 2013, 6:38:12 AM3/1/13
to fusion...@googlegroups.com
Hi David,

Thanks for the reply. 

I've just logged in from home to have a quick look at the permissions. There is no fr-osgi.conf file in the instance that I am having a problem with.
It also seems to missing the majority of the env folders and files. It's missing the runtimefw and sys directories and 5 jars from the env/bundle directory.

I'm not sure if these files a created when the FR instance first starts, but I thought i'd mention it in case.

Cheers,
Simon

raZorTT

unread,
Mar 1, 2013, 7:13:43 AM3/1/13
to fusion...@googlegroups.com
Hi David,

Also as far as permissions go I have the following:

drwxrwsr-x  /opt/fusionreactor - owned by the coldfusion user and the group is the coldfusion/apache group
drwxrwxr-x  /opt/fusionreactor/instance - owned by the coldfusion user and the group is the coldfusion/apache group
drwxrwxr-x  /opt/fusionreactor/instance/cfusion - owned by the coldfusion user and the group is the coldfusion/apache group
drwxrwxr-x  /opt/fusionreactor/instance/cfusion/osgi - owned by the coldfusion user and the group is the coldfusion/apache group

Cheers,
Simon

Charlie Arehart

unread,
Mar 1, 2013, 6:03:00 PM3/1/13
to fusion...@googlegroups.com

While you await replies from your later notes, can you check the cfserver.log rather than just the colfusion-error.log? The former may show more than the latter (with respect to info shown during the startup of CF, which may be helpful.)

/charlie

--

raZorTT

unread,
Mar 3, 2013, 5:58:26 PM3/3/13
to fusion...@googlegroups.com
Hi Charlie,

I restarted the CF instance and I couldn't see anything in server.log

sudo tail -f server.log

"Information","pool-2-thread-1","03/04/13","09:56:45",,"Enterprise Edition enabled"
"Information","pool-2-thread-1","03/04/13","09:56:45",,"Starting crypto..."
"Information","pool-2-thread-1","03/04/13","09:56:46",,"Installed JSafe JCE provider: Version 6.0 Crypto-J 6.0, EMC Corporation. JsafeJCE Security Provider (implements RSA, DSA, ECDSA, Diffie-Hellman, ECDH, AES, DES, Triple DES, DESX, RC2, RC4, RC5, PBE, MD2, MD5, RIPEMD160, SHA1, SHA224, SHA256, SHA384, SHA512, HMAC-MD5, HMAC-RIPEMD160, HMAC-SHA1, HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, HMAC-SHA512, FIPS186PRNG, ECDRBG, HMACDRBG, SHA1PRNG, MD5PRNG; RFC 3394, RFC 5649 AES Key Wrap; X.509 CertificateFactory; PKCS12, PKCS15 KeyStore; X.509V1, PKIX, PKIX-SuiteB, PKIX-SuiteBTLS CertPathValidators; X.509V1, PKIX, PKIX-SuiteB, PKIX-SuiteBTLS CertPathBuilders; LDAP, Collection CertStores)"
"Information","pool-2-thread-1","03/04/13","09:56:46",,"Starting security..."
"Information","pool-2-thread-1","03/04/13","09:56:53",,"Starting scheduler..."
"Information","pool-2-thread-1","03/04/13","09:56:53",,"Starting WatchService..."
"Information","pool-2-thread-1","03/04/13","09:56:53",,"Starting debugging..."
"Information","pool-2-thread-1","03/04/13","09:56:53",,"Starting sql..."
"Information","pool-2-thread-1","03/04/13","09:56:53",,"Starting mail..."
"Information","pool-2-thread-1","03/04/13","09:56:53",,"Starting runtime..."
"Information","pool-2-thread-1","03/04/13","09:56:54",,"CORBA Configuration not enabled"
"Information","pool-2-thread-1","03/04/13","09:56:54",,"Starting cron..."
"Information","pool-2-thread-1","03/04/13","09:56:54",,"Starting registry..."
"Information","pool-2-thread-1","03/04/13","09:56:54",,"Starting client..."
"Information","pool-2-thread-1","03/04/13","09:56:54",,"Starting xmlrpc..."
"Information","pool-2-thread-1","03/04/13","09:56:55",,"Starting jaxrs..."
"Information","pool-2-thread-1","03/04/13","09:56:55",,"Starting graphing..."
"Information","pool-2-thread-1","03/04/13","09:56:56",,"Starting solr..."
"Information","pool-2-thread-1","03/04/13","09:56:56",,"Starting archive..."
"Information","pool-2-thread-1","03/04/13","09:56:56",,"Starting document..."
"Information","pool-2-thread-1","03/04/13","09:56:56",,"Starting eventgateway..."
"Information","pool-2-thread-1","03/04/13","09:56:56",,"Starting FlexAssembler..."
"Information","pool-2-thread-1","03/04/13","09:56:56",,"Starting .NET..."
"Information","pool-2-thread-1","03/04/13","09:56:57",,"Starting Monitoring..."
"Information","pool-2-thread-1","03/04/13","09:56:57",,"Starting WebSocket..."
"Information","pool-2-thread-1","03/04/13","09:56:57",,"WebSocket server listens on port: 8575"
"Information","pool-2-thread-1","03/04/13","09:56:58",,"ColdFusion started"
"Information","pool-2-thread-1","03/04/13","09:56:58",,"ColdFusion: application services are now available"

Cheers,
Simon

David Stockton

unread,
Mar 4, 2013, 4:12:56 AM3/4/13
to fusion...@googlegroups.com
Hello Simon,

I'm sorry things still aren't working for you. The fact there's no fr-osgi.conf file is in itself a problem. The most likely reason is that the permissions were "off" at install time and have since been updated. The simplest thing is if we can organize a quick screen-share & call and we'll fix / re-install FusionReactor as necessary. Please contact sup...@fusion-reactor.com to organize this.

Best regards,
David Stockton
Fusion Team

raZorTT

unread,
Mar 14, 2013, 10:30:03 PM3/14/13
to fusion...@googlegroups.com
Hi David,

Thanks i'll be in touch soon.

Cheers,
Simon
Reply all
Reply to author
Forward
0 new messages