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

Apache 2 - po restarcie wszystko "Permission denied"



Witam

Po restarcie kompa nie chce wystartować apache2, pojawia się:


............................................................................
/etc/init.d/apache2 start

touch: cannot touch `/etc/apache2/httpd.conf': Permission denied

deb:~# cd /etc/apache
apache   apache2
deb:~# cd /etc/apache2
bash: cd: /etc/apache2: Permission denied
............................................................................


Nie wiem co się stało, próbowałem odinstalować i ponownie
zainstalować, ale też nie można:


............................................................................
Removing apache2 ...
Removing libapache2-mod-php4 ...
dpkg: error processing libapache2-mod-php4 (--purge):
 failed to rmdir/unlink `/etc/apache2/mods-available.dpkg-tmp':
Permission denied
dpkg: apache2-mpm-prefork: dependency problems, but removing anyway as
you request:
 libapache2-mod-php4 depends on apache2-mpm-prefork (>> 2.0.52).
Removing apache2-mpm-prefork ...
Stopping web server: Apache2grep: /etc/apache2/*: Permission denied
 ... failed!
You may still have some apache2 processes running.  There are
processes named 'apache2' which do not match your pid file,
and in the name of safety, we've left them alone.  Please review
the situation by hand.
.
Removing apache2-common ...
dpkg: error processing apache2-common (--purge):
 failed to rmdir/unlink `/etc/apache2/conf.d.dpkg-tmp': Permission denied
Errors were encountered while processing:
 libapache2-mod-php4
 apache2-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ack!  Something bad happened while installing packages.  Trying to recover:
Press return to continue.
............................................................................

Mozna coś z tym zrobić?

Używam wersji stabilnej Sarge

Reply to: