1 |
O Thiago Henrique perguntou se o RC_VERBOSE estava ativado.... |
2 |
|
3 |
Quando fui ver... quem estava lá!? |
4 |
|
5 |
RC_PARALLEL_STARTUP="yes" |
6 |
|
7 |
Mudei pra: |
8 |
|
9 |
RC_PARALLEL_STARTUP="no" |
10 |
|
11 |
E problema resolvido.... |
12 |
|
13 |
O dhcp deve estar tentando ligar antes da placa de rede não é? |
14 |
|
15 |
Eu tenho como controlar a ordem no RC_PARALLEL_STARTUP? |
16 |
|
17 |
Abraços! |
18 |
|
19 |
On 7/24/07, Thiago Henrique <thenrique@×××××.com> wrote: |
20 |
> |
21 |
> Ja olhou nos logs ? |
22 |
> Procurou no messages pra ver se tem algo relacionado ao dhcp ? |
23 |
> Habilitou o RC_VERBOSE no /etc/conf.d/rc ? |
24 |
> Ja verificou se a sua placa de rede esta como modulo ou builtin no kernel |
25 |
> ? |
26 |
> Ja verificou se a sua placa de rede esta com o modulo carregado no boot ? |
27 |
> |
28 |
> Tem N possibilidades para esse erro. Passe os logs para gente, que fica |
29 |
> mais facil ajudar :D |
30 |
> |
31 |
> |
32 |
> |
33 |
> |
34 |
> |
35 |
> On 7/24/07, Prado, Renato (R.) < rprado@×××××××.com> wrote: |
36 |
> > |
37 |
> > Mas a idéia é justamente causar um erro para que a mensagem que vier dê |
38 |
> > alguma pista sobre o ocorrido :-) |
39 |
> > |
40 |
> > ------------------------------ |
41 |
> > *From:* Edilson Lima [mailto:ledilson@×××××.com] |
42 |
> > *Sent:* segunda-feira, 23 de julho de 2007 17:50 |
43 |
> > *To:* gentoo-user-br@l.g.o |
44 |
> > *Subject:* Re: [gentoo-user-br] Ajuda com dhcpd no rc (off-topic) |
45 |
> > |
46 |
> > Não tentei ainda mas... o dhcp detende de rede... que ainda não ta |
47 |
> > ligada no boot né? |
48 |
> > |
49 |
> > On 7/23/07, Prado, Renato (R.) <rprado@×××××××.com> wrote: |
50 |
> > > |
51 |
> > > Já tentou colocar em outro runlevel para ver se muda alguma coisa? |
52 |
> > > Coloca no boot, talvez aparece alguma mensagem de erro que ajude em algo... |
53 |
> > > |
54 |
> > > ------------------------------ |
55 |
> > > *From:* Edilson Lima [mailto:ledilson@×××××.com] |
56 |
> > > *Sent:* segunda-feira, 23 de julho de 2007 13:12 |
57 |
> > > *To:* gentoo-user-br@l.g.o |
58 |
> > > *Subject:* Re: [gentoo-user-br] Ajuda com dhcpd no rc (off-topic) |
59 |
> > > |
60 |
> > > |
61 |
> > > Quem dera... rs |
62 |
> > > |
63 |
> > > *server dhcp # etc-update |
64 |
> > > Scanning Configuration files... |
65 |
> > > Exiting: Nothing left to do; exiting. :) |
66 |
> > > * |
67 |
> > > |
68 |
> > > |
69 |
> > > On 7/23/07, Prado, Renato (R.) <rprado@×××××××.com > wrote: |
70 |
> > > > |
71 |
> > > > O etc-update está em dia? Talvez seja alguma pendenga nos init |
72 |
> > > > scripts... |
73 |
> > > > |
74 |
> > > > ------------------------------ |
75 |
> > > > *From:* Edilson Lima [mailto:ledilson@×××××.com] |
76 |
> > > > *Sent:* segunda-feira, 23 de julho de 2007 12:31 |
77 |
> > > > *To:* gentoo-user-br@l.g.o |
78 |
> > > > *Subject:* Re: [gentoo-user-br] Ajuda com dhcpd no rc (off-topic) |
79 |
> > > > |
80 |
> > > > |
81 |
> > > > Então Renato... |
82 |
> > > > |
83 |
> > > > Ele não acha que o dhcp está rodando... |
84 |
> > > > |
85 |
> > > > tanto que quando eu rodo: |
86 |
> > > > |
87 |
> > > > *server ~ # rc* |
88 |
> > > > ** |
89 |
> > > > Ele liga o ve que o dhcp está parado e liga ele... |
90 |
> > > > |
91 |
> > > > Doidera né? |
92 |
> > > > |
93 |
> > > > |
94 |
> > > > |
95 |
> > > > On 7/23/07, Prado, Renato (R.) <rprado@×××××××.com > wrote: |
96 |
> > > > > |
97 |
> > > > > Só para confirmar, depois do boot tenta um /etc/init.d/dhcpd |
98 |
> > > > > restart e vê se ele tenta parar o serviço (daí você consegue saber se o |
99 |
> > > > > gentoo "acha" que o o dhcp está rodando)... |
100 |
> > > > > |
101 |
> > > > > ------------------------------ |
102 |
> > > > > *From:* Edilson Lima [mailto:ledilson@×××××.com] |
103 |
> > > > > *Sent:* segunda-feira, 23 de julho de 2007 12:02 |
104 |
> > > > > *To:* gentoo-user-br@l.g.o |
105 |
> > > > > *Subject:* Re: [gentoo-user-br] Ajuda com dhcpd no rc (off-topic) |
106 |
> > > > > |
107 |
> > > > > |
108 |
> > > > > Acho que eu não expliquei direito... |
109 |
> > > > > |
110 |
> > > > > O dhcp está no runlevel default: |
111 |
> > > > > |
112 |
> > > > > *server ~ # rc-update show | grep dhcp |
113 |
> > > > > dhcpd | default* |
114 |
> > > > > |
115 |
> > > > > e mesmo assim não liga. Ele aparece no rc-status como "*[ off ]* |
116 |
> > > > > " |
117 |
> > > > > |
118 |
> > > > > *server ~ # rc-status | grep dhcp |
119 |
> > > > > dhcpd [ off ] * |
120 |
> > > > > ** |
121 |
> > > > > |
122 |
> > > > > já removi ele: |
123 |
> > > > > |
124 |
> > > > > *server ~ # rc-update del dhcpd |
125 |
> > > > > * dhcpd removed from the following runlevels: default |
126 |
> > > > > * rc-update complete.* |
127 |
> > > > > |
128 |
> > > > > ** |
129 |
> > > > > e adicionei de novo: |
130 |
> > > > > |
131 |
> > > > > *server ~ # rc-update add dhcpd default |
132 |
> > > > > * dhcpd added to runlevel default |
133 |
> > > > > * rc-update complete.* |
134 |
> > > > > |
135 |
> > > > > ** |
136 |
> > > > > E mesmo assim ele não liga sozinho. |
137 |
> > > > > |
138 |
> > > > > porem se eu executo: |
139 |
> > > > > |
140 |
> > > > > *server ~ # /etc/init.d/dhcpd start* |
141 |
> > > > > ** |
142 |
> > > > > Ele liga e funciona perfeitamente... |
143 |
> > > > > |
144 |
> > > > > Conto com a ajuda de vocês... não sei mais o que tentar... |
145 |
> > > > > |
146 |
> > > > > Abraço! |
147 |
> > > > > |
148 |
> > > > > Edilson Lima |
149 |
> > > > > |
150 |
> > > > > |
151 |
> > > > > |
152 |
> > > > > |
153 |
> > > > > |
154 |
> > > > > |
155 |
> > > > > On 7/23/07, Jackson Lopes <jacksonlopes@×××××.com > wrote: |
156 |
> > > > > > |
157 |
> > > > > > Olá! |
158 |
> > > > > > |
159 |
> > > > > > Para maior esclarecimento, leia o item 4 do Hanbook! |
160 |
> > > > > > |
161 |
> > > > > > ------ |
162 |
> > > > > > 4.b. Working with rc-update |
163 |
> > > > > > |
164 |
> > > > > > What is rc-update? |
165 |
> > > > > > |
166 |
> > > > > > Gentoo's init system uses a dependency-tree to decide what |
167 |
> > > > > > service |
168 |
> > > > > > needs to be started first. As this is a tedious task that we |
169 |
> > > > > > wouldn't |
170 |
> > > > > > want our users to have to do manually, we have created tools |
171 |
> > > > > > that ease |
172 |
> > > > > > the administration of the runlevels and init scripts. |
173 |
> > > > > > |
174 |
> > > > > > With rc-update you can add and remove init scripts to a |
175 |
> > > > > > runlevel. The |
176 |
> > > > > > rc-update tool will then automatically ask the depscan.sh script |
177 |
> > > > > > to |
178 |
> > > > > > rebuild the dependency tree. |
179 |
> > > > > > |
180 |
> > > > > > Adding and Removing Services |
181 |
> > > > > > |
182 |
> > > > > > You have already added init scripts to the "default" runlevel |
183 |
> > > > > > during |
184 |
> > > > > > the installation of Gentoo. At that time you might not have had |
185 |
> > > > > > a clue |
186 |
> > > > > > what the "default" is for, but now you should. The rc-update |
187 |
> > > > > > script |
188 |
> > > > > > requires a second argument that defines the action: add, del or |
189 |
> > > > > > show. |
190 |
> > > > > > |
191 |
> > > > > > To add or remove an init script, just give rc-update the add or |
192 |
> > > > > > del |
193 |
> > > > > > argument, followed by the init script and the runlevel. For |
194 |
> > > > > > instance: |
195 |
> > > > > > |
196 |
> > > > > > Code Listing 13: Removing Postfix from the default runlevel |
197 |
> > > > > > |
198 |
> > > > > > # rc-update del postfix default |
199 |
> > > > > > |
200 |
> > > > > > The rc-update -v show command will show all the available init |
201 |
> > > > > > scripts |
202 |
> > > > > > and list at which runlevels they will execute: |
203 |
> > > > > > |
204 |
> > > > > > Code Listing 14: Receiving init script information |
205 |
> > > > > > |
206 |
> > > > > > # rc-update -v show |
207 |
> > > > > > |
208 |
> > > > > > You can also run rc-update show (without -v) to just view |
209 |
> > > > > > enabled init |
210 |
> > > > > > scripts and their runlevels. |
211 |
> > > > > > ------- |
212 |
> > > > > > |
213 |
> > > > > > |
214 |
> > > > > > On 7/23/07, Thiago Vinhas < thiago@××××××.org> wrote: |
215 |
> > > > > > > Digite "rc-update -a dhcpd default" e reboote a máquina. |
216 |
> > > > > > > |
217 |
> > > > > > > |
218 |
> > > > > > > |
219 |
> > > > > > > On 7/23/07, Edilson Lima < ledilson@×××××.com > wrote: |
220 |
> > > > > > > > Bom dia pessoal! |
221 |
> > > > > > > > |
222 |
> > > > > > > > Tenho um servidor com dhcp/squid/bind/shorewall. |
223 |
> > > > > > > > |
224 |
> > > > > > > > De alguns dias pra ca, quando reinicio a maquina o dhcp não |
225 |
> > > > > > "sobe" |
226 |
> > > > > > > > |
227 |
> > > > > > > > server ~ # rc-status | grep dhcp |
228 |
> > > > > > > > dhcpd |
229 |
> > > > > > > |
230 |
> > > > > > > [ off ] |
231 |
> > > > > > > > |
232 |
> > > > > > > > Mas sei que a conf do dhcp está ok. |
233 |
> > > > > > > > Tanto que ao executar: |
234 |
> > > > > > > > |
235 |
> > > > > > > > server ~ # rc |
236 |
> > > > > > > > * Starting dhcpd ... |
237 |
> > > > > > > |
238 |
> > > > > > > |
239 |
> > > > > > > [ ok ] |
240 |
> > > > > > > > |
241 |
> > > > > > > > Ele funciona até o servidor ser reiniciado novamente... |
242 |
> > > > > > > > |
243 |
> > > > > > > > Alguma luz? |
244 |
> > > > > > > > |
245 |
> > > > > > > > Grato a todos! |
246 |
> > > > > > > > |
247 |
> > > > > > > > -- |
248 |
> > > > > > > > |
249 |
> > > > > > > > Edilson Lima |
250 |
> > > > > > > > |
251 |
> > > > > > > > |
252 |
> > > > > > > |
253 |
> > > > > > > |
254 |
> > > > > > > |
255 |
> > > > > > > -- |
256 |
> > > > > > > Abs, |
257 |
> > > > > > > Thiago Vinhas |
258 |
> > > > > > |
259 |
> > > > > > |
260 |
> > > > > > -- |
261 |
> > > > > > []'s |
262 |
> > > > > > |
263 |
> > > > > > Jackson Lopes |
264 |
> > > > > > -- |
265 |
> > > > > > gentoo-user-br@g.o mailing list |
266 |
> > > > > > |
267 |
> > > > > > |
268 |
> > > > > |
269 |
> > > > |
270 |
> > > > |
271 |
> > > > |
272 |
> > |
273 |
> > |
274 |
> > -- |
275 |
> > |
276 |
> > Edilson Lima |
277 |
> > |
278 |
> > |