Highlighted

Installing ColdFusion 2016 with Apache: What to use in substitute of the /etc/init.d/httpd script

Community Beginner ,
Feb 06, 2018

Copy link to clipboard

Copied

Folks,

I am installing ColdFusion on RedHat 7 and the installer poses an interesting question:

 

Where is the control file that you use to start and stop the Apache web server (For example, this could be /etc/init.d/httpd on Red Hat Linux if you installed from an rpm, usr/sbin/apache2ctl on SuseLinux, /usr/sbin/apache2ctl on Ubuntu or it could be /usr/local/apache/bin/apachectl on hand-compiled versions).

 

The fact is, as of RedHat 7+,  there is no /etc/inti.d script for apache and other services. It now uses the systemctl command system  (ex: systemctl  start (stop, reload, etc) httpd

So, do I need to make a bash wrapper script for ColdFusion 2016, is there a workaround.  Is there a commend sequence I can give?

Please Advise.

Jonah

Views

336

Likes

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

Installing ColdFusion 2016 with Apache: What to use in substitute of the /etc/init.d/httpd script

Community Beginner ,
Feb 06, 2018

Copy link to clipboard

Copied

Folks,

I am installing ColdFusion on RedHat 7 and the installer poses an interesting question:

 

Where is the control file that you use to start and stop the Apache web server (For example, this could be /etc/init.d/httpd on Red Hat Linux if you installed from an rpm, usr/sbin/apache2ctl on SuseLinux, /usr/sbin/apache2ctl on Ubuntu or it could be /usr/local/apache/bin/apachectl on hand-compiled versions).

 

The fact is, as of RedHat 7+,  there is no /etc/inti.d script for apache and other services. It now uses the systemctl command system  (ex: systemctl  start (stop, reload, etc) httpd

So, do I need to make a bash wrapper script for ColdFusion 2016, is there a workaround.  Is there a commend sequence I can give?

Please Advise.

Jonah

Views

337

Likes

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
Feb 06, 2018 0
Community Beginner ,
Feb 06, 2018

Copy link to clipboard

Copied

Will try /usr/sbin/apachectl

Likes

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
Reply
Loading...
Feb 06, 2018 0
Adobe Community Professional ,
Feb 06, 2018

Copy link to clipboard

Copied

I think the startup script is:

/usr/lib/systemd/system/httpd.service

Dave Watts, CTO, Fig Leaf Software

Likes

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
Reply
Loading...
Feb 06, 2018 0