segmentation fault on yum update
Hi there all fellow fedora users!
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? Thx in advance for any response, Kind regards Robbert |
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? Hope i made myself a little bit more clear, Kind regards Robbert |
iptables is the firewall. How to determine that from the command-line? I dunno. You can see the actual service names with "chkconfig --list".
|
Gr8 this is what is needed!! :cool:
thx for your help! Robbert |
All times are GMT -5. The time now is 04:13 PM. |