[CentOS-es] Arranque servicios en Centos 6.9
Gonzalo Faramiñan
gonzalognzl en gmail.com
Dom Sep 17 18:07:30 UTC 2017
No sé si habrás probado lo siguiente:
chkconfig --list
Eso te dirá el runlevel para el cual está configurado cada servicio. Si
estás en un servidor deberías habilitar el servicio en nivel 3, si es con
interfaz gráfica en nivel 5
https://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-services-chkconfig.html
Por otro lado, para tener en cuenta, CentOS 7 utiliza systemd para
administrar los servicios, por lo que ya no utilizas chkconfig.
El 16 de septiembre de 2017, 07:52, L.C. - Salman PSL<
listascorreo en salman.net> escribió:
>
> :: Me vais a perdonar, pero me estoy volviendo gili.... bueno loco.
>
> Resulta que ha vuelto a hacer una instalacion desde cero en un disco nuevo
> de 1 TB.
>
> Aparentemente la instalacion fue bien.
>
> Pero cuando quiero configurar los servicios a levantar en el arranque, no
> me funciona.
>
> Yo lo del arrancar y parar en Centos 5 siempre lo hacia mediante Webmin, y
> no me preocupaba de lo que hacia.
>
> Ahora con Centos 6 el Webmin me muestra un listado distinto y no me hace
> caso a la configuracion que le doy.
>
> Y si lo hago manualmente tampoco me hace nada, tengo que entrar por
> teclado y levantar los servicios uno a uno .... /iptables start
>
> Por mas que le he preguntado al Sr. Google, siempre me encuentro lo mismo
>
> chkconfig servicio on
>
> Pero cada vez que reinicio no inicia casi nada:
>
> PID TTY STAT TIME COMMAND
> 2 ? S 0:00 [kthreadd]
> 3 ? S 0:00 \_ [migration/0]
> 4 ? S 0:00 \_ [ksoftirqd/0]
> 5 ? S 0:00 \_ [stopper/0]
> 6 ? S 0:00 \_ [watchdog/0]
> 7 ? S 0:00 \_ [migration/1]
> 8 ? S 0:00 \_ [stopper/1]
> 9 ? S 0:00 \_ [ksoftirqd/1]
> 10 ? S 0:00 \_ [watchdog/1]
> 11 ? S 0:00 \_ [migration/2]
> 12 ? S 0:00 \_ [stopper/2]
> 13 ? S 0:00 \_ [ksoftirqd/2]
> 14 ? S 0:00 \_ [watchdog/2]
> 15 ? S 0:00 \_ [migration/3]
> 16 ? S 0:00 \_ [stopper/3]
> 17 ? S 0:00 \_ [ksoftirqd/3]
> 18 ? S 0:00 \_ [watchdog/3]
> 19 ? S 0:00 \_ [events/0]
> 20 ? S 0:00 \_ [events/1]
> 21 ? S 0:00 \_ [events/2]
> 22 ? S 0:00 \_ [events/3]
> 23 ? S 0:00 \_ [events/0]
> 24 ? S 0:00 \_ [events/1]
> 25 ? S 0:00 \_ [events/2]
> 26 ? S 0:00 \_ [events/3]
> 27 ? S 0:00 \_ [events_long/0]
> 28 ? S 0:00 \_ [events_long/1]
> 29 ? S 0:00 \_ [events_long/2]
> 30 ? S 0:00 \_ [events_long/3]
> 31 ? S 0:00 \_ [events_power_ef]
> 32 ? S 0:00 \_ [events_power_ef]
> 33 ? S 0:00 \_ [events_power_ef]
> 34 ? S 0:00 \_ [events_power_ef]
> 35 ? S 0:00 \_ [cgroup]
> 36 ? S 0:00 \_ [khelper]
> 37 ? S 0:00 \_ [netns]
> 38 ? S 0:00 \_ [async/mgr]
> 39 ? S 0:00 \_ [pm]
> 40 ? S 0:00 \_ [sync_supers]
> 41 ? S 0:00 \_ [bdi-default]
> 42 ? S 0:00 \_ [kintegrityd/0]
> 43 ? S 0:00 \_ [kintegrityd/1]
> 44 ? S 0:00 \_ [kintegrityd/2]
> 45 ? S 0:00 \_ [kintegrityd/3]
> 46 ? S 0:00 \_ [kblockd/0]
> 47 ? S 0:00 \_ [kblockd/1]
> 48 ? S 0:00 \_ [kblockd/2]
> 49 ? S 0:00 \_ [kblockd/3]
> 50 ? S 0:00 \_ [kacpid]
> 51 ? S 0:00 \_ [kacpi_notify]
> 52 ? S 0:00 \_ [kacpi_hotplug]
> 53 ? S 0:00 \_ [ata_aux]
> 54 ? S 0:00 \_ [ata_sff/0]
> 55 ? S 0:00 \_ [ata_sff/1]
> 56 ? S 0:00 \_ [ata_sff/2]
> 57 ? S 0:00 \_ [ata_sff/3]
> 58 ? S 0:00 \_ [ksuspend_usbd]
> 59 ? S 0:00 \_ [khubd]
> 60 ? S 0:00 \_ [kseriod]
> 61 ? S 0:00 \_ [md/0]
> 62 ? S 0:00 \_ [md/1]
> 63 ? S 0:00 \_ [md/2]
> 64 ? S 0:00 \_ [md/3]
> 65 ? S 0:00 \_ [md_misc/0]
> 66 ? S 0:00 \_ [md_misc/1]
> 67 ? S 0:00 \_ [md_misc/2]
> 68 ? S 0:00 \_ [md_misc/3]
> 69 ? S 0:00 \_ [linkwatch]
> 99 ? S 0:00 \_ [khungtaskd]
> 100 ? S 0:00 \_ [kswapd0]
> 101 ? SN 0:00 \_ [ksmd]
> 102 ? SN 0:00 \_ [khugepaged]
> 103 ? S 0:00 \_ [aio/0]
> 104 ? S 0:00 \_ [aio/1]
> 105 ? S 0:00 \_ [aio/2]
> 106 ? S 0:00 \_ [aio/3]
> 107 ? S 0:00 \_ [crypto/0]
> 108 ? S 0:00 \_ [crypto/1]
> 109 ? S 0:00 \_ [crypto/2]
> 110 ? S 0:00 \_ [crypto/3]
> 117 ? S 0:00 \_ [kthrotld/0]
> 118 ? S 0:00 \_ [kthrotld/1]
> 119 ? S 0:00 \_ [kthrotld/2]
> 120 ? S 0:00 \_ [kthrotld/3]
> 132 ? S 0:00 \_ [kpsmoused]
> 133 ? S 0:00 \_ [usbhid_resumer]
> 134 ? S 0:00 \_ [deferwq]
> 167 ? S 0:00 \_ [kdmremove]
> 168 ? S 0:00 \_ [kstriped]
> 204 ? S 0:00 \_ [ttm_swap]
> 223 ? S 0:00 \_ [radeon-crtc]
> 224 ? S 0:00 \_ [radeon-crtc]
> 360 ? S 0:00 \_ [scsi_eh_0]
> 361 ? S 0:00 \_ [scsi_eh_1]
> 362 ? S 0:00 \_ [scsi_eh_2]
> 363 ? S 0:00 \_ [scsi_eh_3]
> 409 ? S 0:00 \_ [scsi_eh_4]
> 410 ? S 0:00 \_ [scsi_eh_5]
> 521 ? S 0:00 \_ [kdmflush]
> 523 ? S 0:00 \_ [kdmflush]
> 589 ? S 0:00 \_ [jbd2/dm-0-8]
> 590 ? S 0:00 \_ [ext4-dio-unwrit]
> 907 ? S 0:00 \_ [hd-audio0]
> 916 ? S 0:00 \_ [edac-poller]
> 920 ? S 0:00 \_ [hd-audio1]
> 1044 ? S 0:00 \_ [kdmflush]
> 1084 ? S 0:00 \_ [jbd2/sda1-8]
> 1085 ? S 0:00 \_ [ext4-dio-unwrit]
> 1127 ? S 0:00 \_ [kauditd]
> 1408 ? S 0:00 \_ [flush-253:0]
> 3013 ? S 0:00 \_ [flush-8:0]
> 1 ? Ss 0:00 /sbin/init
> 690 ? S<s 0:00 /sbin/udevd -d
> 2696 ? S< 0:00 \_ /sbin/udevd -d
> 2697 ? S< 0:00 \_ /sbin/udevd -d
> 1594 ? Ss 0:00 irqbalance --pid=/var/run/irqbalance.pid
> 1634 ? Ss 0:00 rpc.statd
> 2675 ? Ss 0:00 /usr/bin/perl /usr/libexec/webmin/miniserv.pl
> /etc/webmin/miniserv.conf
> 2685 ? Ss 0:00 login -- root
> 2751 tty1 Ss+ 0:00 \_ -bash
> 2687 tty2 Ss+ 0:00 /sbin/mingetty /dev/tty2
> 2689 tty3 Ss+ 0:00 /sbin/mingetty /dev/tty3
> 2691 tty4 Ss+ 0:00 /sbin/mingetty /dev/tty4
> 2693 tty5 Ss+ 0:00 /sbin/mingetty /dev/tty5
> 2695 tty6 Ss+ 0:00 /sbin/mingetty /dev/tty6
>
> Ni iptables, ni sshd, ni httpd, ni vsftpd.
>
> ¿ me estoy volviendo loco o estoy metiendo mal el dedido en algun punto ?
>
> Gracias Anticipadas.
>
>
>
> >>>>>>>>>>>>>> ******* Fin del mensaje ******* <<<<<<<<<<<<<<
>
> Saludos
> Salvador Guzman
> Salman PSL
> Vigo, Galicia, España
> +34 986.21.30.27
> +34 60 400 30 20
> www.Salman.EU
>
> _______________________________________________
> CentOS-es mailing list
> CentOS-es en centos.org
> https://lists.centos.org/mailman/listinfo/centos-es
>
Más información sobre la lista de distribución CentOS-es