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