[sles-beta] YAST2 "Install server"

Darren Thompson darrent at akurit.com.au
Sat Sep 20 02:15:29 MDT 2014


Team

I have a SLES12 "Install server" that i have been craying forward from the
earliest betas by just doing an inplace zypper dup with the new sources as
repos.

In any case the apache2 instance started failing with the following errors:

sles12sources:/etc/apache2 # systemctl status apache2
apache2.service - The Apache Webserver
   Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled)
   Active: failed (Result: exit-code) since Sat 2014-09-20 17:32:54 AEST;
5s ago
  Process: 3517 ExecStop=/usr/sbin/start_apache2 -D SYSTEMD -DFOREGROUND -k
graceful-stop (code=exited, status=1/FAILURE)
  Process: 3498 ExecStart=/usr/sbin/start_apache2 -D SYSTEMD -DFOREGROUND
-k start (code=exited, status=1/FAILURE)
 Main PID: 3498 (code=exited, status=1/FAILURE)

Sep 20 17:32:53 sles12sources start_apache2[3498]: Module "imagemap" is not
installed, ignoring.
Sep 20 17:32:53 sles12sources start_apache2[3498]: Check the APACHE_MODULES
setting in /etc/sysconfig/apache2.
Sep 20 17:32:53 sles12sources start_apache2[3498]: AH00526: Syntax error on
line 9 of /etc/apache2/conf.d/inst_server.conf:
Sep 20 17:32:53 sles12sources start_apache2[3498]: Invalid command 'Order',
perhaps misspelled or defined by a modu...ation
Sep 20 17:32:54 sles12sources start_apache2[3517]: Module "imagemap" is not
installed, ignoring.
Sep 20 17:32:54 sles12sources start_apache2[3517]: Check the APACHE_MODULES
setting in /etc/sysconfig/apache2.
Sep 20 17:32:54 sles12sources start_apache2[3517]: AH00526: Syntax error on
line 9 of /etc/apache2/conf.d/inst_server.conf:
Sep 20 17:32:54 sles12sources start_apache2[3517]: Invalid command 'Order',
perhaps misspelled or defined by a modu...ation


The "imagemap" looks like it was just an invalid module so i excluded it
and that seemd to address that issue...

The "Invalid command 'Order'," was more confusing as it is a standard
authorisation stansa.

I found this reference in apace2 documents
"In this example, all requests are allowed.
2.2 configuration:

Order allow,denyAllow from all

 2.4 configuration:

Require all granted"

http://httpd.apache.org/docs/2.4/upgrading.html

I then re-edited the "inst_server,conf" file in,ine with that recomendation
(sample below) and the install server is now working again.

Is it possible that the YAST2 module does not correctly accomadate an
upgraded APACHE2 server configuration requirement?

Sample inst_server.conf below:

# httpd configuration for Installation Server included by httpd.conf
<IfDefine inst_server>
    Alias /Install/ /srv/install/
    <Directory /srv/install/>

        Options +Indexes +FollowSymLinks
        IndexOptions +NameWidth=*

#        Order allow,deny
#        Allow from all
Require all granted

    </Directory>
</IfDefine>

Darren Thompson

Professional Services Engineer / Consultant

 *[image: cid:image001.jpg at 01CB7C0C.6C6A2AE0]*

Level 3, 60 City Road

Southgate, VIC 3006

Mb: 0400 640 414

Mail: darrent at akurit.com.au <steve at akurit.com.au>
Web: www.akurit.com.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.suse.com/mailman/private/sles-beta/attachments/20140920/a7b94eac/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 3692 bytes
Desc: not available
URL: <http://lists.suse.com/mailman/private/sles-beta/attachments/20140920/a7b94eac/attachment.jpg>


More information about the sles-beta mailing list