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