8 Replies Latest reply on Jul 17, 2017 3:53 PM by priyanks97293812

    coldfusion 2016 install on Centos 7 apache control script

    InfoCon_Brian

      Hi,

       

      I am trying to install

      Coldfusion 2016 on a CentOS 7 Linux machine  with an Apache Web Server

      also, same problem with Coldfusion 8 on a CentOS 7 Linux machine  with an Apache Web Server

       

      The install script prompts for the "apache control script",

      The script does NOT exist.

       

      CentOS now controls the services via systemctrl

       

      How do I get the install to work?

      Any ideas?

       

      I have skipped the web server configuration part of the install.

      Apache will just displays coldfusion scripts as text.

      I have tried using wsconfig, but doesn't work. (The 'ok' button is greyed out.

       

      I have tried to hack the httpd.conf file, but that doesn't not work.

      How do I get the install to work?

      Any ideas?

       

      I have modified the httpd.comf

      to use mod_run. still not working.

      I have extracted the mod_jrun "so" files

      as outline in this link

      https://www.apachelounge.com/viewtopic.php?p=5352

        • 1. Re: coldfusion 2016 install on Centos 7 apache control script
          priyanks97293812 Adobe Employee

          Hi,

           

          Could you please confirm, if you are using CentOS built-in Apache.

           

          You can run the connector command from \coldfusion2016\cfusion\runtime\bin. Use the below command.

           

          ./wsconfig -ws Apache -bin /usr/sbin/httpd -script /usr/sbin/apachectl -dir /etc/httpd/conf/ -v

           

          Thanks,

          Priyank

          • 2. Re: coldfusion 2016 install on Centos 7 apache control script
            priyanks97293812 Adobe Employee

            Hi,

             

            Could you please confirm, if above command works for you.

             

            Thanks,

            Priyank

            • 3. Re: coldfusion 2016 install on Centos 7 apache control script
              InfoCon_Brian Level 1

              sorry for the delay.

               

              The command sort of "worked".

              Apache will not start.  I have been trying to diagnose

              the problem.

               

              It appears to be an error with the mod_jk.conf file.

               

              Log states that apache can NOT write to a file.

               

              wsconfig.log

                    at com.adobe.coldfusion.connector.connectorinstaller.ApacheInstaller.restartWS(ApacheInstall er.java:595)

                      at com.adobe.coldfusion.connector.connectorinstaller.ApacheInstaller.installConnector(Apache Installer.java:324)

                      at com.adobe.coldfusion.connector.connectorinstaller.ConnectorInstaller.installConnector(Con nectorInstaller.java:432)

                      at com.adobe.coldfusion.connector.connectorinstaller.ConnectorInstaller.doIt(ConnectorInstal ler.java:372)

                      at com.adobe.coldfusion.connector.connectorinstaller.ConnectorInstaller.main(ConnectorInstal ler.java:887)

               

              [Thu Jul 13 11:37:29.104311 2017] [auth_digest:notice] [pid 27576] AH01757: generating secret for digest authentication ...

              [Thu Jul 13 11:37:29.106949 2017] [lbmethod_heartbeat:notice] [pid 27576] AH02282: No slotmem from mod_heartmonitor

              [Thu Jul 13 11:37:29.266555 2017] [mpm_prefork:notice] [pid 27576] AH00163: Apache/2.4.6 (CentOS) PHP/7.1.6 configured -- resuming normal operations

              [Thu Jul 13 11:37:29.266644 2017] [core:notice] [pid 27576] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'

              [Thu Jul 13 11:37:35.031354 2017] [mpm_prefork:notice] [pid 27576] AH00170: caught SIGWINCH, shutting down gracefully

              [Thu Jul 13 11:38:11.892368 2017] [core:notice] [pid 27644] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0

              [Thu Jul 13 11:38:11.895152 2017] [suexec:notice] [pid 27644] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)

              [Thu Jul 13 11:38:11.895388 2017] [jk:error] [pid 27644] (13)Permission denied: mod_jk: could not open JkLog file /opt/coldfusion2016/config/wsconfig/1/mod_jk.log

              AH00016: Configuration Failed

              • 4. Re: coldfusion 2016 install on Centos 7 apache control script
                InfoCon_Brian Level 1

                sorry for the delay.

                 

                 

                 

                The command sort of "worked".

                 

                Apache will not start.  I have been trying to diagnose

                 

                the problem.

                 

                 

                 

                It appears to be an error with the mod_jk.conf file.

                 

                 

                 

                Log states that apache can NOT write to a file.

                 

                 

                 

                wsconfig.log

                 

                      at com.adobe.coldfusion.connector.connectorinstaller.ApacheInstaller.restartWS(ApacheInstall er.java:595)

                 

                        at com.adobe.coldfusion.connector.connectorinstaller.ApacheInstaller.installConnector(Apache Installer.java:324)

                 

                        at com.adobe.coldfusion.connector.connectorinstaller.ConnectorInstaller.installConnector(Con nectorInstaller.java:432)

                 

                        at com.adobe.coldfusion.connector.connectorinstaller.ConnectorInstaller.doIt(ConnectorInstal ler.java:372)

                 

                        at com.adobe.coldfusion.connector.connectorinstaller.ConnectorInstaller.main(ConnectorInstal ler.java:887)

                 

                 

                 

                   AH01757: generating secret for digest authentication ...

                 

                   AH02282: No slotmem from mod_heartmonitor

                 

                   AH00163: Apache/2.4.6 (CentOS) PHP/7.1.6 configured -- resuming normal operations

                 

                   AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'

                 

                   AH00170: caught SIGWINCH, shutting down gracefully

                 

                   SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0

                 

                   AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)

                 

                   (13)Permission denied: mod_jk: could not open JkLog file /opt/coldfusion2016/config/wsconfig/1/mod_jk.log

                 

                AH00016: Configuration Failed

                • 5. Re: coldfusion 2016 install on Centos 7 apache control script
                  priyanks97293812 Adobe Employee

                  I can see that SELinux is enabled in your server. Please check the ColdFusion lockdown guide for more details about the SELinux. TO fix this problem, you have to make a manual change.

                   

                  Go to /etc/httpd/conf/ and open mod_jk.conf and comment the "JkLog file /opt/coldfusion2016/config/wsconfig/1/mod_jk.log" and start Apache. It will work.

                   

                   

                  Thanks,

                  Priyank

                  • 6. Re: coldfusion 2016 install on Centos 7 apache control script
                    InfoCon_Brian Level 1

                    Hello,

                     

                    I have disabled the firewall and selinux.

                     

                    I now get connection reset, everytime I access the page.

                     

                    I look through the error logs and in message:

                    [core:notice] [pid 12395]  AH00052: pid 16454 exit signal Segmetation fault (11).

                     

                    repeated over and over.

                     

                    It seems like there is a problem with the either coldfusion or java.

                    The only thing I am programing in is Coldfusion.

                     

                    Any ideas?

                     

                    Brian Erickson

                    • 7. Re: coldfusion 2016 install on Centos 7 apache control script
                      InfoCon_Brian Level 1

                      Hello,

                       

                       

                      I have disabled the firewall and selinux.

                       

                       

                      I now get connection reset, everytime I access the page.

                       

                       

                      I look through the error logs and in message:

                       

                         AH00052: pid 16454 exit signal Segmetation fault (11).

                       

                       

                      repeated over and over.

                       

                       

                      It seems like there is a problem with the either coldfusion or java.

                       

                      The only thing I am programing in is Coldfusion.

                       

                       

                      Any ideas?

                       

                       

                      Brian Erickson

                      • 8. Re: coldfusion 2016 install on Centos 7 apache control script
                        priyanks97293812 Adobe Employee

                        Hi Brian,

                         

                        Can you please contact me at cf.install@adobe.com and mentioned this forum thread.

                         

                        Thanks,

                        Priyank