1 |
Acho que eu não expliquei direito... |
2 |
|
3 |
O dhcp está no runlevel default: |
4 |
|
5 |
*server ~ # rc-update show | grep dhcp |
6 |
dhcpd | default* |
7 |
|
8 |
e mesmo assim não liga. Ele aparece no rc-status como "*[ off ]*" |
9 |
|
10 |
*server ~ # rc-status | grep dhcp |
11 |
dhcpd [ off ] * |
12 |
** |
13 |
|
14 |
já removi ele: |
15 |
|
16 |
*server ~ # rc-update del dhcpd |
17 |
* dhcpd removed from the following runlevels: default |
18 |
* rc-update complete.* |
19 |
|
20 |
** |
21 |
e adicionei de novo: |
22 |
|
23 |
*server ~ # rc-update add dhcpd default |
24 |
* dhcpd added to runlevel default |
25 |
* rc-update complete.* |
26 |
|
27 |
** |
28 |
E mesmo assim ele não liga sozinho. |
29 |
|
30 |
porem se eu executo: |
31 |
|
32 |
*server ~ # /etc/init.d/dhcpd start* |
33 |
** |
34 |
Ele liga e funciona perfeitamente... |
35 |
|
36 |
Conto com a ajuda de vocês... não sei mais o que tentar... |
37 |
|
38 |
Abraço! |
39 |
|
40 |
Edilson Lima |
41 |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 |
|
47 |
On 7/23/07, Jackson Lopes <jacksonlopes@×××××.com> wrote: |
48 |
> |
49 |
> Olá! |
50 |
> |
51 |
> Para maior esclarecimento, leia o item 4 do Hanbook! |
52 |
> |
53 |
> ------ |
54 |
> 4.b. Working with rc-update |
55 |
> |
56 |
> What is rc-update? |
57 |
> |
58 |
> Gentoo's init system uses a dependency-tree to decide what service |
59 |
> needs to be started first. As this is a tedious task that we wouldn't |
60 |
> want our users to have to do manually, we have created tools that ease |
61 |
> the administration of the runlevels and init scripts. |
62 |
> |
63 |
> With rc-update you can add and remove init scripts to a runlevel. The |
64 |
> rc-update tool will then automatically ask the depscan.sh script to |
65 |
> rebuild the dependency tree. |
66 |
> |
67 |
> Adding and Removing Services |
68 |
> |
69 |
> You have already added init scripts to the "default" runlevel during |
70 |
> the installation of Gentoo. At that time you might not have had a clue |
71 |
> what the "default" is for, but now you should. The rc-update script |
72 |
> requires a second argument that defines the action: add, del or show. |
73 |
> |
74 |
> To add or remove an init script, just give rc-update the add or del |
75 |
> argument, followed by the init script and the runlevel. For instance: |
76 |
> |
77 |
> Code Listing 13: Removing Postfix from the default runlevel |
78 |
> |
79 |
> # rc-update del postfix default |
80 |
> |
81 |
> The rc-update -v show command will show all the available init scripts |
82 |
> and list at which runlevels they will execute: |
83 |
> |
84 |
> Code Listing 14: Receiving init script information |
85 |
> |
86 |
> # rc-update -v show |
87 |
> |
88 |
> You can also run rc-update show (without -v) to just view enabled init |
89 |
> scripts and their runlevels. |
90 |
> ------- |
91 |
> |
92 |
> |
93 |
> On 7/23/07, Thiago Vinhas <thiago@××××××.org> wrote: |
94 |
> > Digite "rc-update -a dhcpd default" e reboote a máquina. |
95 |
> > |
96 |
> > |
97 |
> > |
98 |
> > On 7/23/07, Edilson Lima <ledilson@×××××.com > wrote: |
99 |
> > > Bom dia pessoal! |
100 |
> > > |
101 |
> > > Tenho um servidor com dhcp/squid/bind/shorewall. |
102 |
> > > |
103 |
> > > De alguns dias pra ca, quando reinicio a maquina o dhcp não "sobe" |
104 |
> > > |
105 |
> > > server ~ # rc-status | grep dhcp |
106 |
> > > dhcpd |
107 |
> > |
108 |
> > [ off ] |
109 |
> > > |
110 |
> > > Mas sei que a conf do dhcp está ok. |
111 |
> > > Tanto que ao executar: |
112 |
> > > |
113 |
> > > server ~ # rc |
114 |
> > > * Starting dhcpd ... |
115 |
> > |
116 |
> > |
117 |
> > [ ok ] |
118 |
> > > |
119 |
> > > Ele funciona até o servidor ser reiniciado novamente... |
120 |
> > > |
121 |
> > > Alguma luz? |
122 |
> > > |
123 |
> > > Grato a todos! |
124 |
> > > |
125 |
> > > -- |
126 |
> > > |
127 |
> > > Edilson Lima |
128 |
> > > |
129 |
> > > |
130 |
> > |
131 |
> > |
132 |
> > |
133 |
> > -- |
134 |
> > Abs, |
135 |
> > Thiago Vinhas |
136 |
> |
137 |
> |
138 |
> -- |
139 |
> []'s |
140 |
> |
141 |
> Jackson Lopes |
142 |
> -- |
143 |
> gentoo-user-br@g.o mailing list |
144 |
> |
145 |
> |