Fehlende Rechte

Irgendwelche Probleme mit XAMPP für Linux? Dann ist hier genau der richtige Ort um nachzufragen.

Fehlende Rechte

Postby julian12 » 09. December 2008 18:02

Hallo!
Also bei XAMPP für Linux gibt es einen Fehler. Ich habe das jetzt entpackt so wie in der Anleitung, dann gestartet, localhost eingegeben und dann kommt:
forbidden
You don't have the permission to acces / on this server.

Was tun?
mfg
julian12
 
Posts: 11
Joined: 16. September 2008 17:04

Re: Fehlende Rechte

Postby Wiedmann » 09. December 2008 18:28

Was tun?

Irgendwas musst du bei deinen obigen Schritten falsch gemacht haben, und/oder es läuft noch ein anderer Webserver von dem diese Meldung kommt, und/oder in deinem Browser ist ein Proxy auch für die Adresse "localhost" aktiviert.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Fehlende Rechte

Postby glitzi85 » 10. December 2008 15:15

Wiedmann hat ja schon alles geschrieben was es sein kann, ich persönlich tippe stark auf einen schon vorhandenen Webserver, das ist bei Linux oft der Fall.

In dem Fall führ mal diese Befehle aus:

Code: Select all
netstat -atn
ps -aux


Der erste zeigt dir an, ob wirklich ein Prozess auf Port 80 lauscht, der zweite wird uns zeigen welches Programm das ist.

mfg glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Re: Fehlende Rechte

Postby julian12 » 10. December 2008 16:34

Code: Select all
netstat -atn
Aktive Internetverbindungen (Server und stehende Verbindungen)
Proto Recv-Q Send-Q Local Address           Foreign Address         State     
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN     
tcp        0      0 192.168.1.30:51046      88.198.19.171:80        VERBUNDEN 
tcp        0      0 192.168.1.30:50857      77.37.17.166:80         VERBUNDEN 
tcp        1      0 192.168.1.30:36552      88.198.19.171:80        CLOSE_WAIT
tcp        0      0 192.168.1.30:50853      77.37.17.166:80         TIME_WAIT 
tcp        0      0 192.168.1.30:50859      77.37.17.166:80         VERBUNDEN 
tcp        0      0 192.168.1.30:50855      77.37.17.166:80         TIME_WAIT 
tcp        0      0 192.168.1.30:36550      88.198.19.171:80        VERBUNDEN 
tcp        0      0 192.168.1.30:50858      77.37.17.166:80         VERBUNDEN 
tcp        0      0 192.168.1.30:51048      88.198.19.171:80        VERBUNDEN 
tcp        0      0 192.168.1.30:50854      77.37.17.166:80         TIME_WAIT 
tcp        0      0 192.168.1.30:51047      88.198.19.171:80        VERBUNDEN 
tcp        0      0 192.168.1.30:36551      88.198.19.171:80        VERBUNDEN 
tcp6       0      0 :::80                   :::*                    LISTEN     
tcp6       0      0 :::443                  :::*                    LISTEN     
tcp6       0      0 127.0.0.1:80            127.0.0.1:41868         TIME_WAIT 


Code: Select all
ps -aux
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.4   3056  1888 ?        Ss   15:49   0:01 /sbin/init
root         2  0.0  0.0      0     0 ?        S<   15:49   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S<   15:49   0:00 [migration/0]
root         4  0.0  0.0      0     0 ?        S<   15:49   0:00 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   15:49   0:00 [watchdog/0]
root         6  0.0  0.0      0     0 ?        S<   15:49   0:00 [events/0]
root         7  0.0  0.0      0     0 ?        S<   15:49   0:00 [khelper]
root        46  0.0  0.0      0     0 ?        S<   15:49   0:00 [kintegrityd/0]
root        48  0.0  0.0      0     0 ?        S<   15:49   0:00 [kblockd/0]
root        50  0.0  0.0      0     0 ?        S<   15:49   0:00 [kacpid]
root        51  0.0  0.0      0     0 ?        S<   15:49   0:00 [kacpi_notify]
root       112  0.0  0.0      0     0 ?        S<   15:49   0:00 [cqueue]
root       116  0.0  0.0      0     0 ?        S<   15:49   0:00 [kseriod]
root       150  0.0  0.0      0     0 ?        S    15:49   0:00 [pdflush]
root       152  0.0  0.0      0     0 ?        S<   15:49   0:00 [kswapd0]
root       192  0.0  0.0      0     0 ?        S<   15:49   0:00 [aio/0]
root      1048  0.0  0.0      0     0 ?        S<   15:50   0:00 [ksuspend_usbd]
root      1049  0.0  0.0      0     0 ?        S<   15:50   0:00 [khubd]
root      1138  0.0  0.0      0     0 ?        S<   15:50   0:00 [ata/0]
root      1140  0.0  0.0      0     0 ?        S<   15:50   0:00 [ata_aux]
root      1144  0.0  0.0      0     0 ?        S<   15:50   0:00 [scsi_eh_0]
root      1146  0.0  0.0      0     0 ?        S<   15:50   0:00 [scsi_eh_1]
root      1992  0.0  0.0      0     0 ?        S<   15:50   0:00 [kjournald]
root      2166  0.0  0.2   2528  1016 ?        S<s  15:50   0:00 /sbin/udevd --d
root      2371  0.0  0.0      0     0 ?        S<   15:50   0:00 [kpsmoused]
root      2393  0.0  0.0      0     0 ?        S<   15:50   0:00 [pccardd]
root      2661  0.0  0.0      0     0 ?        S<   15:50   0:01 [rt73usb]
root      4143  0.0  0.1   1780   540 tty4     Ss+  15:50   0:00 /sbin/getty 384
root      4144  0.0  0.1   1780   540 tty5     Ss+  15:50   0:00 /sbin/getty 384
root      4151  0.0  0.1   1780   536 tty2     Ss+  15:50   0:00 /sbin/getty 384
root      4154  0.0  0.1   1780   540 tty3     Ss+  15:50   0:00 /sbin/getty 384
root      4156  0.0  0.1   1780   536 tty6     Ss+  15:50   0:00 /sbin/getty 384
root      4324  0.0  0.3   2308  1216 ?        Ss   15:50   0:00 /usr/sbin/acpid
root      4371  0.0  0.0      0     0 ?        S<   15:50   0:00 [kondemand/0]
syslog    4438  0.0  0.1   2012   708 ?        Ss   15:50   0:00 /sbin/syslogd -
root      4486  0.0  0.1   1940   544 ?        S    15:50   0:00 /bin/dd bs 1 if
klog      4488  0.0  0.6   3512  2324 ?        Ss   15:50   0:00 /sbin/klogd -P
108       4511  0.0  0.3   3004  1276 ?        Ss   15:50   0:01 /bin/dbus-daemo
avahi     4533  0.0  0.3   2888  1484 ?        Ss   15:50   0:00 avahi-daemon: r
avahi     4534  0.0  0.1   2888   500 ?        Ss   15:50   0:00 avahi-daemon: c
root      4577  0.0  0.6   6432  2400 ?        Ss   15:50   0:00 /usr/sbin/cupsd
111       4657  0.0  1.1   6284  4224 ?        Ss   15:50   0:02 /usr/sbin/hald
root      4660  0.0  0.6  16388  2568 ?        Ssl  15:50   0:00 /usr/sbin/conso
root      4723  0.0  0.2   3364  1136 ?        S    15:50   0:00 hald-runner
root      4744  0.0  0.2   3436  1060 ?        S    15:50   0:00 hald-addon-inpu
root      4754  0.0  0.2   3448  1040 ?        S    15:50   0:00 /usr/lib/hal/ha
111       4755  0.0  0.2   2296   900 ?        S    15:50   0:00 hald-addon-acpi
root      4762  0.0  0.3   3440  1164 ?        S    15:50   0:01 hald-addon-stor
root      4805  0.0  0.4   3488  1552 ?        Ss   15:50   0:00 /usr/sbin/bluet
root      4813  0.0  0.0      0     0 ?        S<   15:50   0:00 [btaddconn]
root      4815  0.0  0.0      0     0 ?        S<   15:50   0:00 [btdelconn]
root      4826  0.0  0.0      0     0 ?        S<   15:50   0:00 [krfcommd]
root      4862  0.0  0.6   6532  2484 ?        Ss   15:50   0:01 /usr/sbin/Netwo
root      4866  0.0  0.5   4240  1932 ?        S    15:50   0:00 /sbin/wpa_suppl
root      4869  0.0  0.7   6768  2968 ?        S    15:50   0:00 /usr/sbin/nm-sy
root      4904  0.0  0.4  14396  1784 ?        Ss   15:50   0:00 /usr/sbin/gdm
root      4905  0.0  0.8  14948  3368 ?        S    15:50   0:00 /usr/sbin/gdm
root      4910 11.9  5.7  31048 22108 tty7     Rs+  15:50   4:49 /usr/X11R6/bin/
root      4927  0.0  0.2   4336  1148 ?        Ss   15:50   0:00 /usr/bin/system
daemon    4964  0.0  0.1   2068   456 ?        Ss   15:50   0:00 /usr/sbin/atd
root      4992  0.0  0.2   3412  1020 ?        Ss   15:50   0:00 /usr/sbin/cron
root      5096  0.0  0.1   1780   536 tty1     Ss+  15:50   0:00 /sbin/getty 384
julian    5130  0.0  0.6  14840  2316 ?        S    15:50   0:00 /usr/bin/gnome-
julian    5141  0.0  1.5  25168  5952 ?        Ssl  15:50   0:00 x-session-manag
julian    5256  0.0  0.1   3124   676 ?        S    15:50   0:00 /usr/bin/dbus-l
julian    5257  0.0  0.3   3032  1212 ?        Ss   15:50   0:00 //bin/dbus-daem
julian    5260  0.0  1.1  28976  4408 ?        Ssl  15:50   0:01 /usr/bin/pulsea
julian    5263  0.0  0.6   7528  2552 ?        S    15:50   0:00 /usr/lib/pulsea
julian    5265  0.3  1.3   8244  5212 ?        S    15:50   0:07 /usr/lib/libgco
julian    5272  0.0  1.6  18020  6488 ?        Ss   15:50   0:00 /usr/bin/seahor
julian    5281  0.0  0.9  14176  3772 ?        S    15:50   0:00 /usr/lib/gnome-
julian    5283  0.1  3.9  45964 15236 ?        Ssl  15:50   0:02 /usr/lib/gnome-
julian    5284  0.7  3.3  21812 12880 ?        S    15:50   0:19 /usr/bin/metaci
julian    5298  0.0  0.5   5620  2236 ?        S    15:51   0:00 /usr/lib/gvfs/g
julian    5310  0.0  0.5  29196  2052 ?        Ssl  15:51   0:00 /usr/lib/gvfs//
julian    5315  0.7  6.3  41336 24220 ?        S    15:51   0:17 gnome-panel
julian    5318  0.6  8.3  74148 32068 ?        Sl   15:51   0:14 nautilus --no-d
julian    5322  0.0  0.9  32552  3544 ?        Ssl  15:51   0:00 /usr/lib/bonobo
julian    5342  0.6  0.7  21456  3056 ?        Ss   15:51   0:15 gnome-screensav
julian    5346  0.0  0.8  30580  3112 ?        Sl   15:51   0:00 /usr/lib/gvfs/g
julian    5348  0.0  0.5   5552  2168 ?        S    15:51   0:00 /usr/lib/gvfs/g
julian    5352  0.0  2.8  23552 10956 ?        S    15:51   0:00 /usr/lib/gnome-
julian    5355  0.0  0.7  22256  2836 ?        S    15:51   0:00 /usr/lib/gvfs/g
julian    5359  0.0  0.5   5580  2248 ?        S    15:51   0:00 /usr/lib/gvfs/g
julian    5362  0.0  3.7  26912 14408 ?        S    15:51   0:00 /usr/lib/fast-u
julian    5365  0.0  4.1  45180 16016 ?        Sl   15:51   0:00 /usr/lib/gnome-
julian    5385  0.0  2.8  64544 10828 ?        Sl   15:51   0:00 /usr/lib/evolut
julian    5387  0.0  3.9  25400 15164 ?        S    15:51   0:01 nm-applet --sm-
julian    5390  0.0  1.5  15936  5820 ?        S    15:51   0:00 tracker-applet
julian    5398  0.0  1.5  15108  6064 ?        S    15:51   0:00 bluetooth-apple
julian    5399  0.0  2.7  30968 10556 ?        SNl  15:51   0:00 trackerd
julian    5400  0.0  3.4  25832 13188 ?        S    15:51   0:00 python /usr/sha
julian    5403  0.0  3.9  26972 14992 ?        S    15:51   0:00 update-notifier
julian    5406  0.0  2.9  26360 11336 ?        Ss   15:51   0:00 gnome-power-man
julian    5423  0.0  1.9  68868  7452 ?        Sl   15:51   0:00 /usr/lib/evolut
julian    5530  0.0  2.7  32664 10392 ?        Sl   15:51   0:00 /usr/lib/evolut
julian    5588  0.2  6.8 101784 26104 ?        Sl   15:51   0:06 gnome-terminal
julian    5590  0.0  0.2   2912   772 ?        S    15:51   0:00 gnome-pty-helpe
julian    5591  0.0  0.8   5728  3104 pts/0    Ss+  15:51   0:00 bash
julian    5640 22.2 22.8 199772 87708 ?        Sl   15:52   8:32 /usr/lib/firefo
julian    5664  0.0  3.6  24040 13976 ?        S    15:52   0:01 /usr/lib/notifi
root      6055  0.0  0.0      0     0 ?        S    15:58   0:00 [pdflush]
julian    6829  0.0  0.7   5672  3040 pts/1    Ss   16:13   0:00 bash
root      7550  0.0  0.4   4076  1580 pts/1    S    16:26   0:00 su
root      7560  0.0  0.4   4208  1796 pts/1    S    16:26   0:00 bash
root      7764  0.7  4.0  28740 15376 ?        Ss   16:29   0:00 /opt/lampp/bin/
nobody    7787  0.0  2.7  25932 10716 ?        S    16:29   0:00 /opt/lampp/bin/
nobody    7790  0.0  0.3   5892  1436 ?        Ss   16:29   0:00 proftpd: (accep
nobody    7829  0.0  3.2  28740 12664 ?        S    16:29   0:00 /opt/lampp/bin/
nobody    7830  0.0  3.1  28740 12252 ?        S    16:29   0:00 /opt/lampp/bin/
nobody    7831  0.0  3.1  28740 12240 ?        S    16:29   0:00 /opt/lampp/bin/
nobody    7832  0.0  3.1  28740 12240 ?        S    16:29   0:00 /opt/lampp/bin/
nobody    7833  0.0  3.1  28740 12240 ?        S    16:29   0:00 /opt/lampp/bin/
nobody    7869  0.0  3.1  28740 12240 ?        S    16:29   0:00 /opt/lampp/bin/
root      7991  0.0  0.2   2744  1024 pts/1    R+   16:30   0:00 ps -aux


Diese Befehle habe ich ausgeführt, nachdem Ich XAMPP nach dieser Anleitung neuinstalliert und gestartet habe.
Viele Grüße, julian12
julian12
 
Posts: 11
Joined: 16. September 2008 17:04

Re: Fehlende Rechte

Postby glitzi85 » 10. December 2008 16:55

OK, der richtige Apache läuft. Allerdings ist bei dir noch IPv6 aktiviert, das kann manchmal auch dazwischenfunken. Nimms mal aus der Host-Datei raus. Die Datei /etc/hosts mit einem Editor öffnen und alle Zeilen die Doppelpunkte enthalten erstmal auskommentieren (ein # an den Zeilenanfang setzen). Danach die Datei speichern und den Apachen neu starten.

Jetzt versuchst du http://localhost aufzurufen, wenn das nicht klappt, dann poste bitte mal die ausgabe vom access.log und error.log.

mfg glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Re: Fehlende Rechte

Postby julian12 » 10. December 2008 17:04

Hallo!
Es geht mit dem auskommentieren nach wie vor nicht.
error_log
Code: Select all
[Wed Dec 10 16:29:06 2008] [notice] suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Wed Dec 10 16:29:06 2008] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Dec 10 16:29:06 2008] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Wed Dec 10 16:29:08 2008] [notice] Digest: generating secret for digest authentication ...
[Wed Dec 10 16:29:08 2008] [notice] Digest: done
[Wed Dec 10 16:29:09 2008] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Dec 10 16:29:09 2008] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Wed Dec 10 16:29:10 2008] [notice] Apache/2.2.9 (Unix) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h PHP/5.2.6 mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations
[Wed Dec 10 16:29:18 2008] [error] [client 127.0.0.1] (13)Permission denied: access to / denied
[Wed Dec 10 16:29:18 2008] [error] [client 127.0.0.1] (13)Permission denied: access to /favicon.ico denied
[Wed Dec 10 16:29:22 2008] [error] [client 127.0.0.1] (13)Permission denied: access to /favicon.ico denied
[Wed Dec 10 16:35:35 2008] [error] [client 192.168.1.30] (13)Permission denied: access to / denied
[Wed Dec 10 16:35:35 2008] [error] [client 192.168.1.30] (13)Permission denied: access to /favicon.ico denied
[Wed Dec 10 16:35:38 2008] [error] [client 192.168.1.30] (13)Permission denied: access to /favicon.ico denied
[Wed Dec 10 16:49:41 2008] [error] [client 192.168.1.30] (13)Permission denied: access to / denied
[Wed Dec 10 16:52:49 2008] [error] [client 192.168.1.30] (13)Permission denied: access to / denied
[Wed Dec 10 17:01:03 2008] [notice] caught SIGTERM, shutting down
[Wed Dec 10 17:01:18 2008] [notice] suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Wed Dec 10 17:01:18 2008] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Dec 10 17:01:18 2008] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Wed Dec 10 17:01:21 2008] [notice] Digest: generating secret for digest authentication ...
[Wed Dec 10 17:01:21 2008] [notice] Digest: done
[Wed Dec 10 17:01:22 2008] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Dec 10 17:01:22 2008] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Wed Dec 10 17:01:23 2008] [notice] Apache/2.2.9 (Unix) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h PHP/5.2.6 mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations
[Wed Dec 10 17:01:42 2008] [error] [client 192.168.1.30] (13)Permission denied: access to / denied
[Wed Dec 10 17:01:43 2008] [error] [client 192.168.1.30] (13)Permission denied: access to / denied
[Wed Dec 10 17:01:44 2008] [error] [client 192.168.1.30] (13)Permission denied: access to / denied
[Wed Dec 10 17:01:44 2008] [error] [client 192.168.1.30] (13)Permission denied: access to / denied
[Wed Dec 10 17:01:48 2008] [error] [client 127.0.0.1] (13)Permission denied: access to / denied
[Wed Dec 10 17:05:17 2008] [error] [client 127.0.0.1] (13)Permission denied: access to / denied
[Wed Dec 10 17:05:17 2008] [error] [client 127.0.0.1] (13)Permission denied: access to / denied


acces_log
Code: Select all
127.0.0.1 - - [10/Dec/2008:16:29:18 +0100] "GET / HTTP/1.1" 403 373
127.0.0.1 - - [10/Dec/2008:16:29:18 +0100] "GET /favicon.ico HTTP/1.1" 403 384
127.0.0.1 - - [10/Dec/2008:16:29:22 +0100] "GET /favicon.ico HTTP/1.1" 403 384
192.168.1.30 - - [10/Dec/2008:16:35:35 +0100] "GET / HTTP/1.1" 403 376
192.168.1.30 - - [10/Dec/2008:16:35:35 +0100] "GET /favicon.ico HTTP/1.1" 403 387
192.168.1.30 - - [10/Dec/2008:16:35:38 +0100] "GET /favicon.ico HTTP/1.1" 403 387
192.168.1.30 - - [10/Dec/2008:16:49:41 +0100] "GET / HTTP/1.1" 403 376
192.168.1.30 - - [10/Dec/2008:16:52:49 +0100] "GET / HTTP/1.1" 403 376
192.168.1.30 - - [10/Dec/2008:17:01:42 +0100] "GET / HTTP/1.1" 403 376
192.168.1.30 - - [10/Dec/2008:17:01:43 +0100] "GET / HTTP/1.1" 403 376
192.168.1.30 - - [10/Dec/2008:17:01:44 +0100] "GET / HTTP/1.1" 403 376
192.168.1.30 - - [10/Dec/2008:17:01:44 +0100] "GET / HTTP/1.1" 403 376
127.0.0.1 - - [10/Dec/2008:17:01:48 +0100] "GET / HTTP/1.1" 403 373
127.0.0.1 - - [10/Dec/2008:17:05:17 +0100] "GET / HTTP/1.1" 403 373
127.0.0.1 - - [10/Dec/2008:17:05:17 +0100] "GET / HTTP/1.1" 403 373


Grüße, julian12
julian12
 
Posts: 11
Joined: 16. September 2008 17:04

Re: Fehlende Rechte

Postby glitzi85 » 10. December 2008 17:28

Führ bitte noch diese beiden Befehle aus:

Code: Select all
ls -la /opt/lampp
ls -la /opt/lampp/htdocs

und poste die Ausgabe hier.

mfg glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Re: Fehlende Rechte

Postby julian12 » 10. December 2008 17:31

erster befehl
Code: Select all
root@Ubuntu-Laptop:/# ls -la /opt/lampp
insgesamt 168
drwxr-xr-x 21 root   root    4096 2008-12-10 17:28 .
drwxrwx---  3 julian root    4096 2008-12-10 16:27 ..
drwxrwxrwx  9 julian julian  4096 2007-09-17 19:27 apanatschi
drwx------  2 root   root    4096 2004-02-11 06:43 backup
drwxr-xr-x  2 root   root   12288 2008-09-24 14:17 bin
drwxr-xr-x  2 root   root    4096 2004-07-14 16:04 cgi-bin
drwxr-xr-x  3 root   root    4096 2005-10-16 14:43 error
drwxr-xr-x  9 root   root    4096 2008-09-15 22:38 etc
drwxr-xr-x  5 nobody root    4096 2008-12-10 17:21 htdocs
drwxr-xr-x  3 root   root    4096 2003-05-31 01:38 icons
-rwxr-xr-x  1 root   root   15088 2008-08-14 15:01 lampp
drwxr-xr-x 12 root   root    4096 2008-09-24 14:17 lib
drwxr-xr-x  2 root   root    4096 2006-04-26 19:46 libexec
drwxr-xr-x 37 root   root    4096 2006-03-14 17:06 licenses
drwxr-xr-x  2 root   root    4096 2008-12-10 17:01 logs
drwxr-xr-x  2 root   root    4096 2008-09-24 14:17 modules
drwxr-xr-x 10 root   root    4096 2008-09-24 14:16 phpmyadmin
drwxrwxrwx  2 root   root    4096 2007-07-15 18:20 phpsqliteadmin
-rw-rw-r--  1 root   root   55491 2008-09-24 14:15 RELEASENOTES
drwxr-xr-x  2 root   root    4096 2008-09-24 14:17 sbin
drwxr-xr-x 16 root   root    4096 2008-08-14 15:01 share
drwxr-xr-x  3 root   root    4096 2005-01-18 21:21 tmp
drwxr-xr-x  5 root   root    4096 2008-12-10 17:01 var


zweiter
Code: Select all
root@Ubuntu-Laptop:/# ls -la /opt/lampp/htdocs
insgesamt 56
drwxr-xr-x  5 nobody root  4096 2008-12-10 17:21 .
drwxr-xr-x 21 root   root  4096 2008-12-10 17:28 ..
-rw-r--r--  1 root   root 30894 2007-05-11 14:40 favicon.ico
-rw-r--r--  1 nobody root   163 2003-10-31 22:15 index.html
drwxr-xr-x  2 root   root  4096 2008-12-10 17:21 php
drwxr-xr-x  2 nobody root  4096 2004-12-26 11:30 webalizer
drwxr-xr-x  7 root   root  4096 2008-06-10 12:28 xampp

grüße
julian12
 
Posts: 11
Joined: 16. September 2008 17:04

Re: Fehlende Rechte

Postby glitzi85 » 10. December 2008 17:37

Jo, führ mal ein

Code: Select all
chmod o+rx /opt


aus, dann sollte es wieder gehen. Der Apache läuft unter Benutzer nobody, der Ordner /opt gehört Benutzer julian, Gruppe root und hat keinerlei Rechte für alle anderen. Demnach kann nobody noch nichtmal auf /opt zugreifen, erst recht nicht auf die Inhalte darin.

mfg glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Re: Fehlende Rechte

Postby julian12 » 10. December 2008 17:39

glitzi85 wrote:Jo, führ mal ein

Code: Select all
chmod o+rx /opt


aus, dann sollte es wieder gehen. Der Apache läuft unter Benutzer nobody, der Ordner /opt gehört Benutzer julian, Gruppe root und hat keinerlei Rechte für alle anderen. Demnach kann nobody noch nichtmal auf /opt zugreifen, erst recht nicht auf die Inhalte darin.

mfg glitzi


daaaaaaaaaaaaaaaaaaaaaaaaaaaaankeeeeeeeeeeeeeeeee!!!!!!!
ich freu mich wie ein schnitzel!
viele grüße, jluian12
julian12
 
Posts: 11
Joined: 16. September 2008 17:04

Re: Fehlende Rechte

Postby glitzi85 » 10. December 2008 17:46

Schön :mrgreen:

So ein ähnliches Problem hatte ich auch schonmal. Bei mir war's allerdings der LDA von Dovecot, der plötzlich keine Mails mehr zustellen konnte, weil er an die deliver-Executable in /opt nicht mehr rangekommen ist 8)
Blöderweise hatte ich davor auch noch ein dovecot update gemacht und da den Fehler gesucht wie ein Irrer.

mfg glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim


Return to XAMPP für Linux

Who is online

Users browsing this forum: No registered users and 21 guests