LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-16-2007, 07:38 PM   #1
leupi
Member
 
Registered: Mar 2004
Location: Annapolis, Maryland, USA
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458

Rep: Reputation: 30
Starting and Stopping services


What is the best way to start and stop services with Kubuntu 6.10? Is there a GUI? I thought that the command was:
Code:
service <name> start
But that is not right, command not found.

Thanks,
Todd
 
Old 01-16-2007, 07:40 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 280Reputation: 280Reputation: 280
You start and stop services with sudo /etc/init.d/servicename stop (or start or restart). You can go to the /etc/init.d directory and look at all the services available.

Note that the gdm service actually will start/restart/stop X.
 
Old 01-16-2007, 09:27 PM   #3
leupi
Member
 
Registered: Mar 2004
Location: Annapolis, Maryland, USA
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458

Original Poster
Rep: Reputation: 30
I am having some issues mounting a network share and I want to make sure that rpc is running. I found:
Code:
tparks@dell4500:/etc/init.d$ ps -ef | grep rpc
tparks   26103 26069  0 21:26 pts/5    00:00:00 grep rpc
So that would tell me that it is not running. I took your advice and did a ls in /etc/init.d and found no service called rpc. Am I looking in the right place?

Thanks,
Todd
 
Old 01-16-2007, 09:46 PM   #4
leupi
Member
 
Registered: Mar 2004
Location: Annapolis, Maryland, USA
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458

Original Poster
Rep: Reputation: 30
I just added 'bum' and looked at KDE System Guard, problem is, each only shows what is running, not what is not running and that I can therefore start. I know that FC5 has a utility that shows services that are not running but that are available to be started. I guess that I need to start both rpc and nfs but I can not figure out how.

Thanks,
Todd
 
Old 01-17-2007, 12:28 PM   #5
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 280Reputation: 280Reputation: 280
Are they installed? dpkg --get-selections |grep nfs should show you everything to do with nfs that's installed. apt-cache search nfs (and apt-cache search rpc) should list packages available for install that have to do with nfs and rpc.
 
Old 01-20-2007, 06:01 PM   #6
leupi
Member
 
Registered: Mar 2004
Location: Annapolis, Maryland, USA
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458

Original Poster
Rep: Reputation: 30
I got this:
Code:
tparks@dell4500:~$ dpkg --get-selections |grep nfs
tparks@dell4500:~$
So I would suppose that nfs is not installed. When I ran 'apt-cache search nfs' and 'apt-cache search rpc' I got a HUGE list of packages. Should I be looking for something specific in there? For instance I saw portmap and checked and it IS installed.

Thanks,
Todd
 
Old 01-20-2007, 06:12 PM   #7
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
aptitude search returns a little more selective list

Code:
debian64:~# aptitude search nfs
p   fai-nfsroot                     - Fully Automatic Installation nfsroot packap   kernel-patch-nfs-ngroups        - Client-side bypassing of ngroups limitatiov   knfs                            -
p   libfile-nfslock-perl            - perl module to do NFS (or not) locking
p   libnfsidmap-dev                 - header files and docs for libnfsidmap
i   libnfsidmap2                    - An nfs idmapping library
p   libroxen-tokenfs                - Token File System module for the Roxen Chav   nfs-client                      -
i   nfs-common                      - NFS support files common to client and serp   nfs-kernel-server               - Kernel NFS server support
v   nfs-server                      -
p   nfs-user-server                 - User space NFS server
p   nfsboot                         - Allow clients to boot over the network
p   nfsbooted                       - Prepares your image for nfs boot
p   p3nfs                           - to mount the file systems on the Psion/Symp   unfs3                           - User-space NFSv3 Server
p   unionfs-modules-2.6-amd64       - Unionfs modules for Linux 2.6 on AMD64
p   unionfs-modules-2.6.18-3-amd64  - Unionfs modules for Linux 2.6.18 on AMD64
p   unionfs-source                  - Source for the union filesystem
p   unionfs-tools                   - Tools to manage unionfs filesystems
p   unionfs-utils                   - Transition package for unionfs-tools renam
debian64:~#
The "v" heading up nfs-server stands for "virtual." That means it will install everything you need.

Do not blindly switch from apt-get to aptitude or you will wind up deleting half your system. On the other hand, aptitude is the superior program, but I don't know if Ubuntu has it.

Last edited by rickh; 01-20-2007 at 06:17 PM.
 
  


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
starting/stopping services in debian Red Squirrel Linux - Software 8 03-09-2009 03:21 PM
Stopping Services rubadub Linux - Software 3 01-05-2007 01:39 PM
starting & stopping services/daemons rand0mh3ro Linux - General 4 02-16-2005 09:27 AM
Starting / Stopping / Restarting Services in VA Linux? abell Linux - General 1 11-15-2002 02:17 PM
stopping and starting services nero64 Linux - Newbie 3 11-13-2002 02:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:42 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
Open Source Consulting | Domain Registration