LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-28-2004, 01:58 PM   #1
robberttheman
LQ Newbie
 
Registered: Jul 2004
Posts: 15

Rep: Reputation: 0
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
 
Old 08-03-2004, 08:34 AM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
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.
 
Old 08-03-2004, 12:26 PM   #3
robberttheman
LQ Newbie
 
Registered: Jul 2004
Posts: 15

Original Poster
Rep: Reputation: 0
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
 
Old 08-03-2004, 04:35 PM   #4
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
iptables is the firewall. How to determine that from the command-line? I dunno. You can see the actual service names with "chkconfig --list".
 
Old 08-03-2004, 11:56 PM   #5
robberttheman
LQ Newbie
 
Registered: Jul 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Thumbs up

Gr8 this is what is needed!!

thx for your help!

Robbert
 
  


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
yum question: How to update from backed up yum cache? Arodef Linux - Software 2 02-02-2010 11:42 PM
C, segmentation fault mattp Programming 37 12-16-2007 09:09 AM
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika SUSE / openSUSE 2 12-02-2005 09:34 AM
Segmentation fault dand Linux - Newbie 2 12-16-2004 04:45 PM
Segmentation Fault monojit_18 Programming 1 12-12-2004 11:22 AM

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

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