FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have just started using Fedora core2 a couple of weeks ago and starting to learn a lot. I have setup an apache webserver, samba, vsftp mysql and php. Fairly simple to you perhaps and i didn't think it was much of a hassle. Though i have run into a small challange perhaps you can help me with.
I have problems with yum update, sometimes it works and sometimes it doesn't. After looking around in several newsgroups i found out that this could give a solution: fedoranews.org/updates/FEDORA-2004-178.shtml. An update for ftp on Fedora. I have installed it using a RPM and upgraded the existing version. Now i don't know if the update worked and i can't reboot my machine, is there a way to what service i should restart to make it effective? I have tried several commands, unfortunatly nothing worked.
My question: Is there a way to find out alle service names(like etc/init.d/) and check wether i have started all, so i cabn reboor this ftp service and perhaps can run yum again without a reboot?
If you want a GUI program, you can use System Settings / Server Settings / Services. That will tell you the state of all the services, and allow you to start/stop them, and set the default setting for runlevels 3, 4, and 5.
If you want to use the command-line, you would use "service --status-all" to see the status of all the services. Or, "service name status" for just one service. To control a service, you substitute "start", "stop", or "restart" for the "status" on that last one.
You can also use chkconfig from the command-line to control services. "chckconfig --list" will list all services and they are set to run by default on each runlevel. "chkconfig [--level <levels>] <name> <on|off|reset>" is used to set the defaul for a service... "chkconfig --level 5 httpd off" will set the webserver to off when runlevel 5 starts.
Hi thanks for your reply, but unfortunatly i am allready a bit further :-) I didn't explain well enough i think. I am working on the prompt and am trying to start services. I found out that i could use service --status-all but my problem is, that is don't know the name for a specific service looking at this list.
For example: I want to start my firewall, but in the service list it is called "Firewall is stopped". So i tried to start the firewall with the command "service firewall start". This command wasn't recognized, so what i am trying to ask is, how can i find out what te command is to start it.
I found out, looking in the init.d directory that vsftp should be started with "service vsftpd start". Is their some logic in this so i can find out how to start/restart/stop a service?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.