1 |
On Tue, 4 Sep 2007 19:55:44 -0700 |
2 |
"Kevin O'Gorman" <kogorman@×××××.com> wrote: |
3 |
|
4 |
> treat ~ # cd /etc/init.d |
5 |
> treat init.d # ./apache2 stop |
6 |
> * Stopping apache2 ... |
7 |
> No /usr/sbin/apache2 found running; none |
8 |
> killed. |
9 |
> [ !! ] |
10 |
> treat init.d # ./apache2 start |
11 |
> * WARNING: apache2 has already been started. |
12 |
Have you tried # /etc/init.d/apache2 zap |
13 |
# killall apache2 |
14 |
# /etc/init.d/apache2 start |
15 |
? |
16 |
|
17 |
> treat init.d # ./apache2 status |
18 |
> * Caching service dependencies ... |
19 |
> * Service 'cupsd' should be AFTER service 'vmware', but one of |
20 |
> * the services 'vmware' depends on, depends on |
21 |
> 'cupsd'! |
22 |
the dependancies are pretty easy to find and even adjust |
23 |
in /etc/init.d; in fact, for cups, head does a really nice job of |
24 |
clipping the whole thing as an example: |
25 |
|dan@pascal ~ $ head /etc/init.d/cupsd |
26 |
|#!/sbin/runscript |
27 |
| |
28 |
|depend() { |
29 |
| use net |
30 |
| after logger |
31 |
| before nfs |
32 |
| use hotplug |
33 |
| after vmware |
34 |
|} |
35 |
you can list for vmware too, and see which of those depends on cups, |
36 |
and fix this circular dependency issue; if you do so, you might want to |
37 |
consider filing a bug report so others can fix it automatically on next |
38 |
update. |
39 |
-- |
40 |
gentoo-user@g.o mailing list |