Uploaded image for project: 'JBoss Core Services'
  1. JBoss Core Services
  2. JBCS-306

JON Httpd: Update configuration of An IfModule updates conf files and apache can't be restarted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • Release Notes
    • Hide
      When using JBoss ON to update the configuration of a JBoss Web Server Apache HTTP Server `IfModule`, after the change is made the Apache HTTP Server cannot be stopped, restarted, or started.

      The cause of this issue is under investigation.
      Show
      When using JBoss ON to update the configuration of a JBoss Web Server Apache HTTP Server `IfModule`, after the change is made the Apache HTTP Server cannot be stopped, restarted, or started. The cause of this issue is under investigation.

      How to reproduce issue:
      1. Select (double-click) an apache server from main node (Inventory->Child Resources)
      2. Select (double click) a virtual host (Inventory->Child Resources)
      3. Select (double click) on a IfModule and go to Configuration->Current->Add a Allow host (i.e. 192.168.0.1)

      The corresponding conf file (i.e. conf.modules.d/00-mpm.conf) of the IfModule (I changed prefork module) is changed in the way, that the apache can't be stopped/restarted/started.

      Httpd.log contains:
      AH00526: Syntax error on line 38 of /root/tests/noe-jon/jws-3.0/httpd/conf.modules.d/00-mpm.conf:

      And restart can't be performed. Commenting/removing the line helps. On the line 38 from my try there is:

       31 <IfModule prefork.c>
       32 StartServers       8
       33 MinSpareServers    5
       34 MaxSpareServers   20
       35 ServerLimit      256
       36 MaxRequestWorkers       256
       37 MaxConnectionsPerChild  4000
       38 Allow from 192.168.0.1
       39 </IfModule>
       31 <IfModule prefork.c>
       32 StartServers       8
       33 MinSpareServers    5
       34 MaxSpareServers   20
       35 ServerLimit      256
       36 MaxRequestWorkers       256
       37 MaxConnectionsPerChild  4000
       38 Allow from 192.168.0.1
       39 </IfModule>
      

      Same problem occurs for Deny host.

              rhn-engineering-jclere Jean-Frederic Clere
              fgoldefu@redhat.com Filip Goldefus (Inactive)
              Jan Štefl Jan Štefl
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: