LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 09-18-2006, 04:56 AM   #1
deardron
Member
 
Registered: Dec 2003
Location: Russia/Iceland
Distribution: Ubuntu 6, NetBSD 3.1, Cygwin
Posts: 39

Rep: Reputation: 15
services-admin/Services


When I run services-admin (from either command line or System > Administration > Services) I get a window with about 8 services. It's obvious that it's not all of them. In the help to this utility ("getting started") I can see what I was initially expecting, a full list of services, but it seems ot be an old screenshot. The problem is that there are services running which I want to turn off (printing, RAID, LVM etc) and this services-admin utility doesn't help at all (I don't want to go to rc.d and delete them manually, cause I'm not sure what is what).
 
Old 09-19-2006, 09:27 PM   #2
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
What are you trying to accomplish? Smaller footprint? Faster system? I'm not sure for example that it's a good idea to turn off LVM. Perhaps you want to look at Gentoo. Gentoo is intended for highly tuned specific purpose applications. It's not for the faint of heart or for someone with limited Linux exposure.
 
Old 09-21-2006, 11:16 AM   #3
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63
Personally I got rid of evems, lvm mdadm, and mdadm-raid I see no use to them for my desktop pc. The kernel knows how to handle the file systems, and I know how to partition. My thruput went up now w/hdparm too. Also I dont use raid. I dont like un-necessary services.
 
Old 09-21-2006, 02:21 PM   #4
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
Old Foie -- Ubuntu doesn't give much control to the user with regards to services. Certainly less than SuSE did. How would one go about removing services like these?
 
Old 09-21-2006, 02:34 PM   #5
ctkroeker
Senior Member
 
Registered: May 2005
Posts: 1,565
Blog Entries: 1

Rep: Reputation: 50
sudo apt-get install bum
With bum you can disable any service on your system.
 
Old 09-22-2006, 12:49 PM   #6
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63
I simply removed them from the /etc/init.d directory and put them into another folder owned by root.

You see, for me, even editing the services with BUM for run levels 1 thru 6 didn't stop the lvm, evm and raid stuff from loading. I don't know why to be honest, and their are other tools too in ubuntu to do this and they just didnt work for me.

I'm still baffled as to "why" when I made my own kernel, lvm and evm and raid tools totally stop me from accessing hard drives other than the hda.

I don't use lvm or the evm other than the default install. Those items are not in slackware which I use primarily, so my experience on them is NULL. I know they are in suse, but I only played with that for a little while, and never got into using them their either. So I never did anything to tweak them, and I cannot find any help on this..ubuntu forums, here, nowhere.

I'd just like to learn how one compile a kernel for this distro and not break lvm or evms? I'm not being wise in that comment, but something isn't right. It doesnt' appear that anything else is broken for me tho. I get DRI fantastically.

I have to use a 2.6.17 series kernel or higher for my pc as the kernel team has fixes in their that really work well for my nforce motherboard IDE ports.

here is kernel config for my 2.6.18 kernel,
Quote:
# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
CONFIG_BLK_DEV_MD=m
CONFIG_MD_LINEAR=m
CONFIG_MD_RAID0=m
CONFIG_MD_RAID1=m
CONFIG_MD_RAID10=m
CONFIG_MD_RAID456=m
# CONFIG_MD_RAID5_RESHAPE is not set
CONFIG_MD_MULTIPATH=m
# CONFIG_MD_FAULTY is not set
CONFIG_BLK_DEV_DM=m
CONFIG_DM_CRYPT=m
CONFIG_DM_SNAPSHOT=m
CONFIG_DM_MIRROR=m
CONFIG_DM_ZERO=m
CONFIG_DM_MULTIPATH=m
CONFIG_DM_MULTIPATH_EMC=m
And here is error messages in 'dmesg' when I boot up and ubuntu decides not to let me access my hard drives:

Quote:
[ 192.384804] device-mapper: ioctl: error adding target to table
[ 192.386092] device-mapper: table: 253:3: linear: dm-linear: Device lookup fai
led
This is why I just disabled these daemons, I need my hard drives

Any thoughts are appreciated, I'd like to learn instead of band aid repairing.
 
Old 09-22-2006, 06:35 PM   #7
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
This is pure guess but perhaps removing those pieces broke some symbolic links in a miscellaneous .conf file that was built assuming the existence of LVM and etc.
 
Old 09-22-2006, 08:32 PM   #8
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63
The daemons were running when I configured, made and installed the new kernel with above config so I don't think that's it.

I turned them off when I realized that they were the daemons that decided in their infinite wisdom to deny me access to my drives. Knowing that they are not a requirement for a linux installation on IDE hard drives, and linux not being initially installed onto an LVM I got rid of them.
 
  


Reply



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
Media Services on Linux platform similar to Windows Media Services happyok Linux - Software 3 05-27-2006 04:36 PM
"services-admin" is that really exists in Sarge.. deepclutch Debian 2 03-13-2006 09:34 PM
/etc/services Duudson Linux - Networking 2 11-16-2005 09:20 AM
where is my services-admin? otoomet Debian 1 11-03-2004 05:45 AM
TightVNC Ver terminal Services.. also looking for terminal Services for linux 2782d4 Linux - Security 3 05-20-2004 02:30 AM

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

All times are GMT -5. The time now is 10:21 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