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

Invalid command 'JkIPRestrictionFile'

New Here ,
Aug 30, 2016 Aug 30, 2016

RedHat 7.2

httpd-2.4.6-40.el7_2.4.x86_64

ColdFusion 11 (64-bit)

After installing hotfix 8, apache is not starting:

Aug 30 16:08:27 web5vm httpd[2843]: AH00526: Syntax error on line 6 of /etc/httpd/conf/mod_jk.conf:

Aug 30 16:08:27 web5vm httpd[2843]: Invalid command 'JKIPRestrictionFile', perhaps misspelled or defined by a module not included in the server configuration

Anyone experiencing this issue?

648
Translate
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

correct answers 1 Correct answer

Adobe Employee , Aug 31, 2016 Aug 31, 2016

Hi Su,

Have you tried recreating the connectors after installing the update? We have removed the IPRestrictions file in CF11 Update 3 and above. It must be defined in the Apache Web Server end in case your environment requires its use, but not on the ColdFusion end. I would suggest you to try recreating the connectors and see if this helps.

Thanks,

Vikram

Translate
Adobe Employee ,
Aug 31, 2016 Aug 31, 2016

Hi Su,

Have you tried recreating the connectors after installing the update? We have removed the IPRestrictions file in CF11 Update 3 and above. It must be defined in the Apache Web Server end in case your environment requires its use, but not on the ColdFusion end. I would suggest you to try recreating the connectors and see if this helps.

Thanks,

Vikram

Translate
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 ,
Sep 01, 2016 Sep 01, 2016

That worked great, Thank you.

This is how I recreated apache connection, let me know if there's anything I missed?

1. Backup mod_jk.conf file and /opt/coldfusion11/config/wsconfig/ directory

2. Remove mod_jk.conf file and /opt/coldfusion11/config/wsconfig/ directory

3. Run wsconfig, here is the specific command I used:

/opt/coldfusion11/cfusion/runtime/bin/wsconfig -ws Apache -dir /etc/httpd/conf/ -cfide /opt/coldfusion11/cfusion/wwwroot/CFIDE/ -bin /usr/sbin/httpd -script /usr/sbin/apachectl

4. Additionally, had to change the file context for mod_jk.log file for selinux to allow access

chcon -v --reference=/var/log/httpd/access_log /opt/coldfusion11/config/wsconfig/1/mod_jk.log

Translate
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 ,
Sep 01, 2016 Sep 01, 2016
LATEST

Hi Su,

It looks good to me.

Thanks,

Vikram

Translate
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