• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Could not determine Apache connector version

New Here ,
Jul 27, 2016 Jul 27, 2016

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.

Views

1.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 04, 2016 Aug 04, 2016

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:

ColdFusion10 Apache manual connector configuration

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 04, 2016 Aug 04, 2016

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 15, 2017 Jun 15, 2017

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 21, 2017 Jun 21, 2017

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jun 22, 2017 Jun 22, 2017

Copy link to clipboard

Copied

LATEST

Hi Evan,

Could you please share the error screenshot to cf.install@adobe.com

Thank You,

Abhishek

Votes

Translate

Translate

Report

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