Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

trying to start apache on 13.1 for owncloud

$
0
0
Hi experts

I am trying to setup my ownCloud service. Part of the instruction says that you need apache2 for the webserver.

I have verified from yast that I have apache2 (2.4.6) installed. But when I tried to start it I get this error:

Code:

systemctl status apache2.service
apache2.service - The Apache Webserver
  Loaded: loaded (/usr/lib/systemd/system/apache2.service; disabled)
  Active: failed (Result: exit-code) since Sat 2014-08-09 13:04:02 EDT; 10s ago
  Process: 9484 ExecStop=/usr/sbin/start_apache2 -D SYSTEMD -DFOREGROUND -k graceful-stop (code=exited, status=1/FAILURE)
  Process: 9465 ExecStart=/usr/sbin/start_apache2 -D SYSTEMD -DFOREGROUND -k start (code=exited, status=1/FAILURE)
 Main PID: 9465 (code=exited, status=1/FAILURE)


Aug 09 13:04:02 linux-vjev start_apache2[9465]: AH00526: Syntax error on line 8 of /etc/apache2/sysconfig.d/global.conf:
Aug 09 13:04:02 linux-vjev start_apache2[9465]: ServerSignature: use one of: off | on | email
Aug 09 13:04:02 linux-vjev systemd[1]: apache2.service: main process exited, code=exited, status=1/FAILURE
Aug 09 13:04:02 linux-vjev start_apache2[9484]: AH00526: Syntax error on line 8 of /etc/apache2/sysconfig.d/global.conf:
Aug 09 13:04:02 linux-vjev start_apache2[9484]: ServerSignature: use one of: off | on | email
Aug 09 13:04:02 linux-vjev systemd[1]: apache2.service: control process exited, code=exited status=1
Aug 09 13:04:02 linux-vjev systemd[1]: Failed to start The Apache Webserver.
Aug 09 13:04:02 linux-vjev systemd[1]: Unit apache2.service entered failed state.


So I went to global.conf:

Code:


linux-vjev:/home/user/Documents # cat /etc/apache2/sysconfig.d/global.conf
#
# Files in this directory are created at apache start time by /usr/sbin/rcapache2
# Do not edit them!
#


# see /etc/sysconfig/apache2


ServerSignature SSL
UseCanonicalName off
ServerTokens OS
LogLevel warn
CustomLog /var/log/apache2/access_log combined

and saw that the server sig is set to SSL. and that this is probably parsed from /etc/sysconfig/apache2.

Code:


## Type:        list(on,off,email)
## Default:    "on"
## ServiceReload: apache2
#
# Configures the footer on server-generated documents
# This correlates to the ServerSignature directive.
#
APACHE_SERVERSIGNATURE="SSL"


Now here is the part where I get confused. Because eventually I want to put the ownCloud on the web, so I thought I should enable SSL, so I found this guide about how to do it on suse 12.3:

http://www.unixmen.com/create-ssl-ce...opensuse-12-3/

and in it it said to put the serversignature as SSL.

and even when I change the setting from SSL to on I still get errors:
Code:

linux-vjev:/home/user/Documents # systemctl status apache2.service ......
Aug 09 13:16:38 linux-vjev start_apache2[9587]: AH00526: Syntax error on line 48 of /etc/apache2/ssl-global.conf:
Aug 09 13:16:38 linux-vjev start_apache2[9587]: SSLSessionCache: 'shmcb' session cache not supported (known names: ). M...cb?).
Aug 09 13:16:38 linux-vjev systemd[1]: apache2.service: main process exited, code=exited, status=1/FAILURE


can someone help me in figuring out what's going on? I want to enable my apache with SSL.

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>