LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   startup services in Ubuntu 14.04 (https://www.linuxquestions.org/questions/ubuntu-63/startup-services-in-ubuntu-14-04-a-4175511364/)

ddaas 07-17-2014 02:01 AM

startup services in Ubuntu 14.04
 
There are some services that start at boot time (ex: smbd, a lot of processes for ipv6 etc) and there is no startup script (sym link) in /etc/rc2.d

How are they started and how do I configure them (to start or not to start at booting)?

Thank you


Code:

[root@l-m17 /etc/rc2.d]#ls -l /etc/rc2.d/
total 4
-rw-r--r-- 1 root root 677 mar 13 03:42 README
lrwxrwxrwx 1 root root  21 iun 30 16:07 S05loadcpufreq -> ../init.d/loadcpufreq
lrwxrwxrwx 1 root root  22 iun 30 16:07 S19cpufrequtils -> ../init.d/cpufrequtils
lrwxrwxrwx 1 root root  18 iul  2 09:38 S20firewall -> ../init.d/firewall
lrwxrwxrwx 1 root root  17 iun 30 16:07 S20hddtemp -> ../init.d/hddtemp
lrwxrwxrwx 1 root root  20 iun 30 16:07 S20kerneloops -> ../init.d/kerneloops
lrwxrwxrwx 1 root root  17 iul 15 10:43 S20sysstat -> ../init.d/sysstat
lrwxrwxrwx 1 root root  17 iul  4 15:34 S20vboxdrv -> ../init.d/vboxdrv
lrwxrwxrwx 1 root root  32 iun 30 16:07 S20virtualbox-guest-utils -> ../init.d/virtualbox-guest-utils
lrwxrwxrwx 1 root root  31 iul  4 15:35 S35vboxautostart-service -> ../init.d/vboxautostart-service
lrwxrwxrwx 1 root root  33 iul  4 15:35 S35vboxballoonctrl-service -> ../init.d/vboxballoonctrl-service
lrwxrwxrwx 1 root root  25 iul  4 15:35 S35vboxweb-service -> ../init.d/vboxweb-service
lrwxrwxrwx 1 root root  19 iun 30 16:07 S70dns-clean -> ../init.d/dns-clean
lrwxrwxrwx 1 root root  21 iun 30 16:07 S99grub-common -> ../init.d/grub-common
lrwxrwxrwx 1 root root  18 iun 30 16:07 S99ondemand -> ../init.d/ondemand
lrwxrwxrwx 1 root root  18 iun 30 16:07 S99rc.local -> ../init.d/rc.local




Code:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address          Foreign Address        State      PID/Program name
tcp        0      0 127.0.1.1:53            0.0.0.0:*              LISTEN      1886/dnsmasq   
tcp        0      0 127.0.0.1:631          0.0.0.0:*              LISTEN      4436/cupsd     
tcp        0      0 0.0.0.0:2299            0.0.0.0:*              LISTEN      1348/sshd     
tcp        0      0 0.0.0.0:445            0.0.0.0:*              LISTEN      723/smbd       
tcp        0      0 127.0.0.1:3306          0.0.0.0:*              LISTEN      1415/mysqld   
tcp        0      0 0.0.0.0:139            0.0.0.0:*              LISTEN      723/smbd       
tcp6      0      0 ::1:631                :::*                    LISTEN      4436/cupsd     
tcp6      0      0 :::2299                :::*                    LISTEN      1348/sshd     
tcp6      0      0 :::445                  :::*                    LISTEN      723/smbd       
tcp6      0      0 :::139                  :::*                    LISTEN      723/smbd       
tcp6      0      0 :::80                  :::*                    LISTEN      5670/apache2   
tcp6      1      0 ::1:58847              ::1:631                CLOSE_WAIT  1395/cups-browsed
udp        0      0 0.0.0.0:59856          0.0.0.0:*                          870/avahi-daemon: r
udp        0      0 0.0.0.0:631            0.0.0.0:*                          1395/cups-browsed
udp        0      0 0.0.0.0:5353            0.0.0.0:*                          2797/chrome   
udp        0      0 0.0.0.0:5353            0.0.0.0:*                          870/avahi-daemon: r
udp        0      0 127.0.1.1:53            0.0.0.0:*                          1886/dnsmasq   
udp        0      0 0.0.0.0:68              0.0.0.0:*                          1870/dhclient 
udp        0      0 192.168.1.255:137      0.0.0.0:*                          2023/nmbd     
udp        0      0 192.168.1.11:137        0.0.0.0:*                          2023/nmbd     
udp        0      0 0.0.0.0:137            0.0.0.0:*                          2023/nmbd     
udp        0      0 192.168.1.255:138      0.0.0.0:*                          2023/nmbd     
udp        0      0 192.168.1.11:138        0.0.0.0:*                          2023/nmbd     
udp        0      0 0.0.0.0:138            0.0.0.0:*                          2023/nmbd     
udp        0      0 0.0.0.0:39198          0.0.0.0:*                          1870/dhclient 
udp6      0      0 :::5353                :::*                                870/avahi-daemon: r
udp6      0      0 :::44637                :::*                                1870/dhclient 
udp6      0      0 :::57619                :::*                                870/avahi-daemon: r


Andy Alt 07-22-2014 09:35 PM

Good question. Have you verified you're in runlevel 2?


All times are GMT -5. The time now is 02:43 AM.