LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 07-17-2014, 03:01 AM   #1
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 453

Rep: Reputation: 30
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
 
Old 07-22-2014, 10:35 PM   #2
Andy Alkaline
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware32-stable, Debian-wheezy-amd64, LFS 7.1
Posts: 355

Rep: Reputation: 33
Good question. Have you verified you're in runlevel 2?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
UI does not appear after services startup empires.varun Linux - Laptop and Netbook 1 12-03-2013 08:41 AM
[SOLVED] startup services bluegospel Slackware - Installation 3 04-25-2010 08:33 AM
startup services kola Fedora 2 12-02-2004 06:47 PM
Startup services Road Linux - General 5 06-07-2002 06:34 PM
Startup Services Stephanie Linux - General 2 08-07-2001 10:37 AM


All times are GMT -5. The time now is 10:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration