save_jeff
Posts: 27
Joined: Thu Sep 27, 2012 8:49 am

Apache2 Installation läuft schief

Fri Jan 18, 2013 6:50 pm

Ich hab da neuste Image von Raspbian “wheezy” (16.12.2012) installiert
Dann samba und ntfs-config

Dann hab ich Apache2 installiert:
sudo apt-get install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
apache2-mpm-worker apache2-utils apache2.2-bin apache2.2-common libapr1
libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap ssl-cert
Suggested packages:
apache2-doc apache2-suexec apache2-suexec-custom openssl-blacklist
The following NEW packages will be installed:
apache2 apache2-mpm-worker apache2-utils apache2.2-bin apache2.2-common
libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap ssl-cert
0 upgraded, 10 newly installed, 0 to remove and 96 not upgraded.
Need to get 1,348 kB of archives.
After this operation, 4,990 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libapr1 armhf 1.4.6-3 [90.4 kB]
Get:2 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libaprutil1 armhf 1.4.1-3 [77.1 kB]
Get:3 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libaprutil1-dbd-sqlite3 armhf 1.4.1-3 [17.2 kB]
Get:4 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libaprutil1-ldap armhf 1.4.1-3 [16.0 kB]
Get:5 http://mirrordirector.raspbian.org/raspbian/ wheezy/main apache2.2-bin armhf 2.2.22-12 [672 kB]
Get:6 http://mirrordirector.raspbian.org/raspbian/ wheezy/main apache2 armhf 2.2.22-12 [1,432 B]
Get:7 http://mirrordirector.raspbian.org/raspbian/ wheezy/main apache2-utils armhf 2.2.22-12 [162 kB]
Get:8 http://mirrordirector.raspbian.org/raspbian/ wheezy/main apache2.2-common armhf 2.2.22-12 [291 kB]
Get:9 http://mirrordirector.raspbian.org/raspbian/ wheezy/main apache2-mpm-worker armhf 2.2.22-12 [2,244 B]
Get:10 http://mirrordirector.raspbian.org/raspbian/ wheezy/main ssl-cert all 1.0.32 [19.5 kB]
Fetched 1,348 kB in 3s (410 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libapr1.
(Reading database ... 60548 files and directories currently installed.)
Unpacking libapr1 (from .../libapr1_1.4.6-3_armhf.deb) ...
Selecting previously unselected package libaprutil1.
Unpacking libaprutil1 (from .../libaprutil1_1.4.1-3_armhf.deb) ...
Selecting previously unselected package libaprutil1-dbd-sqlite3.
Unpacking libaprutil1-dbd-sqlite3 (from .../libaprutil1-dbd-sqlite3_1.4.1-3_armhf.deb) ...
Selecting previously unselected package libaprutil1-ldap.
Unpacking libaprutil1-ldap (from .../libaprutil1-ldap_1.4.1-3_armhf.deb) ...
Selecting previously unselected package apache2.2-bin.
Unpacking apache2.2-bin (from .../apache2.2-bin_2.2.22-12_armhf.deb) ...
Selecting previously unselected package apache2-utils.
Unpacking apache2-utils (from .../apache2-utils_2.2.22-12_armhf.deb) ...
Selecting previously unselected package apache2.2-common.
Unpacking apache2.2-common (from .../apache2.2-common_2.2.22-12_armhf.deb) ...
Selecting previously unselected package apache2-mpm-worker.
Unpacking apache2-mpm-worker (from .../apache2-mpm-worker_2.2.22-12_armhf.deb) ...
Selecting previously unselected package apache2.
Unpacking apache2 (from .../apache2_2.2.22-12_armhf.deb) ...
Selecting previously unselected package ssl-cert.
Unpacking ssl-cert (from .../ssl-cert_1.0.32_all.deb) ...
Processing triggers for man-db ...
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <$__ANONIO__> line 604.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <$__ANONIO__> chunk 604.
Setting up libapr1 (1.4.6-3) ...
Setting up libaprutil1 (1.4.1-3) ...
Setting up libaprutil1-dbd-sqlite3 (1.4.1-3) ...
Setting up libaprutil1-ldap (1.4.1-3) ...
Setting up apache2.2-bin (2.2.22-12) ...
Setting up apache2-utils (2.2.22-12) ...
Setting up apache2.2-common (2.2.22-12) ...
Enabling site default.
Enabling module alias.
Enabling module autoindex.
Enabling module dir.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module status.
Enabling module auth_basic.
Enabling module deflate.
Enabling module authz_default.
Enabling module authz_user.
Enabling module authz_groupfile.
Enabling module authn_file.
Enabling module authz_host.
Enabling module reqtimeout.
Setting up apache2-mpm-worker (2.2.22-12) ...
Segmentation fault
[....] Starting web server: apache2Segmentation fault
Action 'start' failed.
The Apache error log may have more information.
failed!
invoke-rc.d: initscript apache2, action "start" failed.

Setting up apache2 (2.2.22-12) ...
Setting up ssl-cert (1.0.32) ...

Dann wollte ich apache2 neu starten:

pi@raspberrypi ~ $ sudo service apache2 restart
Segmentation fault
Action 'configtest' failed.
The Apache error log may have more information.
failed!


Weiß jm. wie ich da lösen kann?

Vg. Jeff

User avatar
janlorenz
Posts: 62
Joined: Sun Oct 07, 2012 7:13 pm
Location: /dev/earth

Re: Apache2 Installation läuft schief

Fri Jan 18, 2013 10:33 pm

was sagt das log-file aus?
Wer sagt: "Hier herrscht Freiheit!", der lügt, denn Freiheit herrscht nicht. (Erich Fried)

Mein Mottos:
...never run a touching system, oder so...
Give Pi a chance

User avatar
Hiswif
Posts: 664
Joined: Sat Oct 13, 2012 11:54 am
Contact: Website

Re: Apache2 Installation läuft schief

Sat Jan 19, 2013 8:05 am

Hast du den Apache schon konfiguriert? schau am besten in die logs, wie es mein Vorredner schon gesagt hat.
Eine kleine bitte habe ich noch. Kannst du, wenn du solche ausgaben hier postest ( terminalausgaben, logs....) das ganze bitte als code posten?

Mfg

His
http://technikegge.blogspot.de

Return to “Deutsch”