Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 15th March 2011, 01:31 AM
charlie2450 Offline
Registered User
 
Join Date: Nov 2006
Posts: 84
linuxfedorafirefox
service command

Can someone please tell how to fix the service command

When I type 'service httpd start' I get
service command not found
then it comes up says:

Install package 'initscripts' to provide command 'service'? [N/y

When I type yes, it says

The transaction failed: all-packages-already-installed, The packages are already all installed


Now I am lost. Can anyone help please

Regards

Charlie

Last edited by charlie2450; 15th March 2011 at 01:36 AM.
Reply With Quote
  #2  
Old 15th March 2011, 01:39 AM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,449
linuxfedorafirefox
Re: service command

You are trying to run that as root? You need to load the root environment by using the dash - on the su command

Quote:
su -
service httpd start
Fedora has a new feature where if a command seems to be missing it tries to get it, but in this case service really is installed, the problem is that you need to have /sbin on the path (the "-" on the su makes sure the root path is loaded).
Reply With Quote
  #3  
Old 15th March 2011, 01:52 AM
charlie2450 Offline
Registered User
 
Join Date: Nov 2006
Posts: 84
linuxfedorafirefox
Re: service command

Thanks
That worked, but never had to do that before. Linux never ceases to amaze me

charlie
Reply With Quote
Reply

Tags
command, service

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
fedora 13 - can't make service pack using gpk-service-pack Jusko Using Fedora 2 1st July 2010 01:10 PM
chkconfig wokrs but service start says unknow service gkk Servers & Networking 4 10th December 2007 02:45 AM
Running mldonkey as a service, service does not startup Dhana Servers & Networking 2 14th August 2006 04:43 AM
how to connect my roadrunner service or aol service to my fedora core 1 on my compter john nelson jr Using Fedora 1 14th March 2005 12:22 AM


Current GMT-time: 04:47 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat