keep losing my connector - Red Hat/CF

New Here ,
Nov 08, 2019 Nov 08, 2019

Copy link to clipboard


I was positive i'd posted this yesterday, but i didn't see it on my profile page.  So here it is again, possibly with different details.


Coldfusion 11 (server config, dev profile)

RedHat 7.7

Appache httpd (yum installed and updated, RedHat 7 uses systemctl to run services like httpd)


We couldn't restore our dev CF server from backup when it went down so i had to re-create it. I am a passable unix admin but i have never administered CF on Unix before.  These issues may could be related to ANYTHING and be addressed in the forums somewhere somewhere but when i searched on my issue keywords the descriptions didn't seem to fit.  And sadly the person who built it originally has left.


Order of install

RedHat -> Apache -> CF


before installing CF I am able to browse to the html on the apache web site


During install i attempted to connect the connector to httpd using the systemctl httpd control file and when that had the same problem i'm describing i removed the connector and created it with wsconfig as follows

/opt/coldfusion11/cfusion/runtime/bin/wsconfig -ws Apache -bin /usr/sbin/httpd -script /usr/sbin/apachectl -dir /etc/httpd/conf -v

I got to a point where i had a CF Adminsitrator running on the same port as the application.

I then did some unix admin stuff that required me to restart the server. When it came back up, i had the website responding but not the CF Adminsitrator.

Of note: Due to the fact that is not being removed/renamed regardless of whether i connect to httpd via apachectl or the httpd start script in the systemctl structure it is possible my wsconfig is incorrect.  The problem is, the wsconfig runs, returning results similar to the below: 

>> sudo /opt/coldfusion11/cfusion/runtime/bin/wsconfig -ws Apache -bin /usr/sbin/httpd -script /usr/sbin/apachectl -dir /etc/httpd/conf -v
command line: -ws Apache -bin /usr/sbin/httpd -script /usr/sbin/apachectl -dir /etc/httpd/conf -v
Using Apache binary /usr/sbin/httpd
Server version: Apache/2.4.6 (Red Hat Enterprise Linux)
Using Apache control script /usr/sbin/apachectl
Parsing Apache configuration file /etc/httpd/conf/httpd.conf
Exec'ing chmod 777 /opt/coldfusion11/config/wsconfig/1
Set permission to 777 on /opt/coldfusion11/config/wsconfig/1
Exec'ing chmod +x /opt/coldfusion11/config/wsconfig/1/
Set permission to execute on /opt/coldfusion11/config/wsconfig/1/
Created file /opt/coldfusion11/config/wsconfig/1/
Wrote file /etc/httpd/conf/httpd.conf
Added ColdFusion configuration to Apache configuration file /etc/httpd/conf/httpd.conf
Created file /opt/coldfusion11/config/wsconfig/1/README
Wrote file /opt/coldfusion11/config/wsconfig/
Exec'ing /usr/sbin/apachectl restart
Restarted Apache server
The Apache connector was installed to /etc/httpd/conf

So i'm at a loss as to whether my problems stem from the configs in the call being wrong or whether it is the issue below.


I  found this link

which led me to compile a new mod jk so file which i used to replace the one in the magic number folder for CF. Then i restarted CF.  At the moment, my apparent ability to load Coldfusion Files breaks any time i restart CF, seemingly no matter what i do.


As for my httpd install it is pretty much using default configs for everything with one exception:  /var/www/html is a soft link to /opt/htdocs however since i never lose httpd, that really ought not to be the problem.  If i'm not providing the correct answers to the wsconfig, can i get a bit more information as to what some of these values might be?

- bin ( path to the Apache server binary file) The file at the location I provided is executable, there are others but of the ones i looked at, there weren't any that were executable. I used /usr/sbin/httpd

- dir (path to the configuration directory) conf file is at /etc/httpd/conf/httpd.conf (so i supplied /etc/httpd/conf)

- script (path to the Apache UNIX control script file) one of the things i used has to be correct  either apachectl, or httpd.service , right? 


So i am at a  loss.  Should i try re-compiling the connector with different information?  I don't have those here where i can paste them, but i can do the steps again and post the results. 


I'm just not sure where to go here.  Anybody have suggestions? I'd like to toss the server and bring it up on windows but if i do that i'm not mirroring prod


Thanks for whatever you can provide.

Connector, Getting started, Server administration







Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation