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:
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.
Did you ever find out why this doesn't work? I am going through the same thing now
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