View previous topic :: View next topic |
Author |
Message |
schildi n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 28 Jun 2004 Posts: 31
|
Posted: Sun Sep 26, 2004 9:09 am Post subject: als root - keine berechtigung prozesse zu starten/restarten |
|
|
Meldung bei start/stop/restart befehlen dieser art, als root angemeldet:
root # /etc/conf.d/apache2 restart
-bash: /etc/conf.d/apache2: Keine Berechtigung
Wieso bekomme ich immer diese Meldung? Hat irgendwann mal angefangen. Am Anfang gings wieder nach nem restart. Jetzt funktioniert das auch icht mehr.
Kann mir jemand helfen? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
XMath Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19330813534135f8df86151.jpg)
Joined: 14 Aug 2004 Posts: 435 Location: Germany, Gaimersheim
|
Posted: Sun Sep 26, 2004 9:13 am Post subject: |
|
|
Moin,
mal ne Vermutung:
Hat Apache vielleicht eine eigene Gruppe, und aus irgendeinem dummen Grund ist root nicht Mitglied dieser Gruppe? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
schildi n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 28 Jun 2004 Posts: 31
|
Posted: Sun Sep 26, 2004 9:16 am Post subject: .. |
|
|
hallo,
das bezieht sich nicht nur auf apache sondern auf alle startdateien für prozesse in im conf.d ordner. Alle Dateien haben hier übrigens folfenden mod: 644.
zum runlevel(?) hinzufügen, also automatischer start beim hochfahren über rc-update add funzt übrigens trotzdem. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
_hephaistos_ Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/111921919843cb778389615.jpg)
Joined: 07 Apr 2004 Posts: 2694 Location: salzburg, austria
|
Posted: Sun Sep 26, 2004 9:18 am Post subject: Re: .. |
|
|
es heißt nicht "/etc/conf.d/apache2 restart" sondern "/etc/init.d/apache2 start|stop|restart|zap"
hth,
ciao |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Genone Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/21004157514287ab2b29021.jpg)
Joined: 14 Mar 2003 Posts: 9626 Location: beyond the rim
|
Posted: Sun Sep 26, 2004 11:08 pm Post subject: |
|
|
"keine Berechtigung" kommt übrigens, weil +x fehlt. Aber wie schon gesagt, du willst wohl eher /etc/init.d/apache2 ausführen ![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
schildi n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 28 Jun 2004 Posts: 31
|
Posted: Tue Sep 28, 2004 6:59 am Post subject: oo |
|
|
Ooooooooops !
danke. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|