Copy link to clipboard
Copied
I'm trying to execute wsconfig on the following platform:
Ubuntu 14.04
Apache 2.4.7
Coldfusion 2016
When I run:
sudo /opt/coldfusion10/cfusion/runtime/bin/wsconfig -ws Apache -dir /etc/apache2/conf-available -bin /usr/sbin/apache2 -script /usr/sbin/apache2ctl -v
Ignore the coldfusion10 part in the path. I just haven't updated directory names just yet in my chef/vagrant cookbook/recipes/whatever files.
I get:
command line: -ws Apache -dir /etc/apache2/conf-available -bin /usr/sbin/apache2 -script /usr/sbin/apache2ctl -v
Using Apache binary /usr/sbin/apache2
Could not determine Apache connector version.
Check that the Apache binary path /usr/sbin/apache2 is correct.
When I run:
which apache2
I get:
/usr/sbin/apache2
When I run:
which apache2ctl
I get:
/usr/sbin/apache2ctl
According to this https://helpx.adobe.com/pdf/coldfusion2016-support-matrix.pdf Apache 2.4.X is supported on Linux 64-bit.
What am I missing? Any help is appreciated. Thanks.
Copy link to clipboard
Copied
Hi Evan,
Could you please refer the below syntax for connector configuration:
cf_root/runtime/bin/wsconfig -ws Apache -bin /opt/apache2/bin/httpd -script /opt/apache2/bin/apachectl -dir /opt/apache2/conf -v
It seems that the command is incorrect.
Also, you could create the connector manually using the below link:
Copy link to clipboard
Copied
Hi Abhjha,
Thanks for the suggestion. Unfortunately, the path /opt/apache2 doesn't exist on my platform.
And yes, I have reverted to installing the connector by scripting the manual steps.
Would be nice though to know why the wsconfig utility is failing and why it thinks the the path /usr/sbin/apache2 is not correct.
Copy link to clipboard
Copied
Hi Evan,
Did you ever find out why this doesn't work? I am going through the same thing now
Thanks,
--Keith
Copy link to clipboard
Copied
This works for me:
-ws Apache -dir /etc/apache2/ -bin /usr/sbin/apache2ctl -script /usr/sbin/apache2ctl -v
(-bin and -script both pointing to apache2ctl)
Ubuntu 14.04/Apache 2.4.7/CF 2016
Copy link to clipboard
Copied