[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache2 startet sein upgrade auf jessie nicht mehr - Config variable ${APACHE_LOCK_DIR} is not defined + ssl.conf: Invalid command 'SSLMutex'



Am 15.08.2015 um 00:47 schrieb Sven Hartge:
Anton Blau <tony.blue.mailinglist@gmx.de> wrote:
Am 10.08.2015 um 22:55 schrieb Anton Blau:
Vielen Dank schon einmal für die Hilfe. Ich bin nun einige gelöste
Fehlermeldungen weiter und hänge nun hier:
Apache2 startet - ich erhalte aber beim Aufruf der meisten Seiten:

  Forbidden
You don't have permission to access / on this server.
https://www.debian.org/releases/jessie/amd64/release-notes/ch-information.en.html#apache-httpd-incomat

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


Vielen Dank, damit habe ich schon weitere Hinweise. Leider bleibe ich am "Forbidden" stehen.

Hier die /etc/apache2/sites-enabled/deutschland.dnsvpn.de

<VirtualHost *:80>
  ServerName deutschland.dnsvpn.de
  ServerAlias deutschland.dnsvpn.de
  ServerAdmin webmaster@localhost
  DocumentRoot /var/www/
  <Directory />
    Options FollowSymLinks
    AllowOverride None
  </Directory>
  <Directory /var/www/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
#    Order allow,deny  ===> angepasst siehe übernächste Zeile
#    allow from all ===> angepasst siehe nächste Zeile
    Require all granted
  # This directive allows us to have apache2's default start page
  # in /apache2-default/, but still have / go to the right place
  RedirectMatch ^/$ /index.htm
  </Directory>
    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  <Directory "/usr/lib/cgi-bin">
    AllowOverride None
# Options ExecCGI -MultiViews +SymLinksIfOwnerMatch ===> angepasst siehe nächste Zeile - da bin ich mir aber nicht sicher
    Options ExecCGI MultiViews SymLinksIfOwnerMatch
#    Order allow,deny  ===> angepasst siehe übernächste Zeile
#    Allow from all  ===> angepasst siehe ächste Zeile
    Require all granted
  </Directory>
    ErrorLog /var/log/apache2/deutschland.dnsvpn.de-error.log
  # Possible values include: debug, info, notice, warn, error, crit,
  # alert, emerg.
    LogLevel warn
    CustomLog /var/log/apache2/deutschland.dnsvpn.de-access.log combined
    ServerSignature On
    Alias /doc/ "/usr/share/doc/"
  <Directory "/usr/share/doc/">
    Options Indexes MultiViews FollowSymLinks
    AllowOverride None
#    Order deny,allow ===> angepasst siehe überübernächste Zeile
#    Deny from all ===> angepasst siehe übernächste Zeile
# Allow from 127.0.0.0/255.0.0.0 ::1/128 ===> angepasst siehe übernächste Zeile
    Require host 127.0.0.0/255.0.0.0 ::1/128
  </Directory>
</VirtualHost>

Der apache2 läuft unter www-data:

webserver:/etc/apache2/sites-enabled# ps aux | grep apache2
root 1318 0.0 2.8 122176 29728 ? Ss 07:23 0:00 /usr/sbin/apache2 -k start www-data 1631 0.0 1.1 122256 11588 ? S 07:23 0:00 /usr/sbin/apache2 -k start www-data 1632 0.0 1.1 122208 11588 ? S 07:23 0:00 /usr/sbin/apache2 -k start www-data 1633 0.0 1.1 122208 11588 ? S 07:23 0:00 /usr/sbin/apache2 -k start www-data 1634 0.0 1.1 122208 11588 ? S 07:23 0:00 /usr/sbin/apache2 -k start www-data 1635 0.0 1.1 122208 11588 ? S 07:23 0:00 /usr/sbin/apache2 -k start www-data 2459 0.0 1.1 122208 11588 ? S 07:24 0:00 /usr/sbin/apache2 -k start root 2584 0.0 0.1 4812 1952 pts/0 R+ 07:33 0:00 grep apache2

Das Verzeichnis /var/www müsste für apache2 lesbar sein

webserver:/etc/apache2/sites-enabled# ls /var/www -la
insgesamt 104376
drwxr-xr-x  4 webadmin betta     4096 Aug  9 22:01 .
drwxr-xr-x 14 root     root      4096 Aug 26  2014 ..
-rw-r--r--  1 webadmin betta     5809 Jan  2  1998 Datei.html
-rw-r--r--  1 webadmin betta     6724 Jan  2  1998 anleitung.txt
-rw-r--r--  1 webadmin betta    31321 Jan  2  1998 Baby203.gif
...


Was habe ich übersehen?



Reply to: