LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-13-2007, 05:08 PM   #1
aussie90
LQ Newbie
 
Registered: Aug 2005
Location: mel.au
Distribution: FC
Posts: 6

Rep: Reputation: 0
Problem with restart FC5 after moving


Hi, all,

A quick question: I had used FC5 on a Dell Precision 350 in my office and it worked quite well. However, recently I moved the computer to home. Somehow FC can't start anymore. During the boot process, first of all there is problem with \etc\ISCSI but FC5 went through anyway. Then it freezes at sendmail. I tried interactive mode to ignore this, the screen turns blank after all went through. During the process the startup of CUPS was very slow as well.

Is there anyway I can check/revise the startup process? I know I should use rescue disck (haven't used it once, need to find it somewhere), but what do I need to do to start up again?



Thanks
 
Old 02-13-2007, 10:16 PM   #2
wmakowski
Member
 
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 25, 26, RHL 5.2
Posts: 560

Rep: Reputation: 56
Might be a good idea to try booting into run level 1 to see if you can get the box up and running. When your boot loader (grub) starts go into edit mode and get to the line that had the kernel command on it. It will look something like this
Code:
kernel /boot/vmlinuz-2.6.19-1.2895.fc6 ro root=LABEL=/ quiet
Enter a 1 after the kernel file and before the ro like this
Code:
kernel /boot/vmlinuz-2.6.19-1.2895.fc6 1 ro root=LABEL=/ quiet
Once it boots into run level 1 you can use chkconfig to turn off some of your services. sendmail or CUPS might be a good place to start. You can then change your run level at the command line using init 3 to go into run level 3 for example.

Just thought of something, did you change monitors when you brought the machine home? Could be a problem with your X windows config.

Bill
 
Old 02-14-2007, 12:09 AM   #3
aussie90
LQ Newbie
 
Registered: Aug 2005
Location: mel.au
Distribution: FC
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks a lot Bill.

I did some search and saw the questions in the forum related to sendmail. So I boot to shell mode and turn off the sendmail. This time there is no problem to go through but it ended up again waiting a long time. Finally (after 3 min of blank screen) the login window appeared (it turned out last time I didn't wait long enough). It also takes a long time for me to log in.

No, I didn't change my machine.

Right now the problem is that I can't get online. One thing different from before is that at the office I had a fixed IP address and a host/domain like XXX.XXX.com.au, now at home I used a roater to connect two machines. I changed the network card setup to DHCP instead of fixed IP address and change the hostname to localhost.localdomain. But it doesn't work.

Still trying. Any expert advices?

Thanks in advance.
 
Old 02-14-2007, 03:14 AM   #4
james.farrow
Member
 
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 296

Rep: Reputation: 31
What is your /etc/reolv.conf
Type dig on the command line and it should return the name server that is resolving for your box.
It will be the ip of your router if all is correct.
If not then manually add

nameserver <router ip> to resolv.conf

try the above again.
 
Old 02-14-2007, 09:52 AM   #5
wmakowski
Member
 
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 25, 26, RHL 5.2
Posts: 560

Rep: Reputation: 56
I would have to agree, it sounds like networking is the heart of the problem. Since your system had a static ipaddress in the past you will most likely need to set up dhcp to get your ipaddress and nameservers from the router. Once that is resolved the individual services that require networking will start up much more smoothly.

Most of the configuration can be done using the gui system-config-network. The other part is setup your system to use DHCP on boot. I'm going to assume you are using an ethernet card to connect to the network. The file you want to edit is /etc/sysconfig/nework-scripts/ifcfg-eth0. The contents should end up looking like this.

Code:
#
# File: ifcfg-eth0
#
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
With any luck that will resolve your problem. The /etc/resolv.conf file that james.farrow is talking about deals with what nameservers your system uses. If dhcp is working properly it should get this information from your router.

Bill
 
Old 02-14-2007, 04:47 PM   #6
aussie90
LQ Newbie
 
Registered: Aug 2005
Location: mel.au
Distribution: FC
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks a lot, James and Bill.

I finally get the network working. As I said, I changed the ethernet setup to DHCP, but it didn't work. That puzzled me a lot. Finally I checked each tab on the system-config-network and found somehow there is something like 10.0.0.1 generated in DNS, O_O So I deleted that line, and voila, it works. But next I checked, it is still 10.0.0.1 O____O So I don't know why it works and, for that matter, why it didn't work before.

Now I am checking one program by one program to see whether those are affected as well. Some of the programs I installed were under the old network id if I remember correctly, I don't know if I need to reinstall them under the new network id.

By the way, there was this error term when booting saying something wrong about ISCSI. Because it doesn't affect me so far, I just ignore it. Is there potential problem there as well?

Again, appreciate the replies from Bill and James. Thanks a lot.
 
  


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
security log FC5 stops running -howto restart? cirman Linux - Security 2 02-10-2007 02:51 PM
FC5 restart httpd stops mysql dradept Linux - Newbie 2 11-12-2006 03:10 AM
How do I set the regulatory daemon to restart when I restart the network service? zahadumy Linux - Networking 0 11-05-2006 11:24 AM
copying/moving stalls when moving a lot of data to a usb stick =X¥®µ§= Linux - Hardware 10 07-30-2004 05:29 AM
Mount restart problem pazvant Linux - General 1 01-06-2004 10:48 AM

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

All times are GMT -5. The time now is 04:57 PM.

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