"Jon Moss" [email protected] wrote ..
Thanks to my son and husband, I may be rebuilding my new web server. The Compaq DL380 will not boot up. It briefly acquires it's IP address but after about 5 minutes, the IP address "disappears" from my network! I've tried two different monitors, once loads X, it "disappears" from the monitors also!
I can get the server up booting from the CD and using linux rescue. I was able to run backups of MySQL data and backup all the pertinent files. My site is running on a "backup" workstation/server temporarily.
My question is - should I completely scrap this install of Fedora Core 2 on the Compaq DL380? Do I have other alternatives? I plan on tackling this project tomorrow morning, so I hope a few of you will give me some ideas and suggestions.
Baffled,
Jon Moss
my first question would be is have you tried going to runlevel 3 to see if somthin during boot fails then looking at whats running process wise maybe somthing has gone amuck and eats up all the system resorses? or somthing of the sort.
On Sat, 2004-09-11 at 00:44, [email protected] wrote:
"Jon Moss" [email protected] wrote ..
Thanks to my son and husband, I may be rebuilding my new web server. The Compaq DL380 will not boot up. It briefly acquires it's IP address but after about 5 minutes, the IP address "disappears" from my network! I've tried two different monitors, once loads X, it "disappears" from the monitors also!
I can get the server up booting from the CD and using linux rescue. I was able to run backups of MySQL data and backup all the pertinent files. My site is running on a "backup" workstation/server temporarily.
My question is - should I completely scrap this install of Fedora Core 2 on the Compaq DL380? Do I have other alternatives? I plan on tackling this project tomorrow morning, so I hope a few of you will give me some ideas and suggestions.
Baffled,
Jon Moss
What distros have you used other then FC2. If you need it up now use a distro that you know. I know there would be help if needed for a Gentoo or Debian install. Troubleshooting can take sometime that might need for other things. So if you need asap use something you know or have used the most.
Thanks,
Jonathan
What distros have you used other then FC2. If you need it up now use a distro that you know. I know there would be help if needed for a Gentoo or Debian install. Troubleshooting can take sometime that might need for other things. So if you need asap use something you know or have used the most.
I've used Redhat 8 & 9, Fedora Core 2 and Suse 8 & 9. I did Mandrake once but only for a few hours :)
I have a "backup" hosting this site for now - it's just a workstation which actually has more memory than the server, but slower processing and a slower hard drive (Compaq SmartArry RAID drives v. one IDE drive). I can tell it's much slower when I access the backup site.
So I have some time to troubleshoot (mostly this weekend), in between doing laundry, etc. :)
Thanks for the suggestions.
Jon
Runlevel 3, yes, I would like to do that, but once it tries to load the graphical interface, I can't get to any other console - not even the system one. And since the ethernet shuts down or disconnects also, I can't SSH in or anything.
I'm stuck. I liked Fedora Core 2 (and Redhat 9) but I think I've got a hardware issue with this Compaq.
If I'm in Linux Rescue mode, do I have the ability to review runlevel 3? How do I change the startup configuration to not load the graphical interface? I've never had to mess with my Linux installs like this before.
Also, if I choose to "reinstall" Fedora Core 2 over the existing install, do I have to fdisk the drives, or will it just overwrite and update what's there?
Thanks!
Jon Moss
my first question would be is have you tried going to runlevel 3 to see if somthin during boot fails then looking at whats running process wise maybe somthing has gone amuck and eats up all the system resorses? or somthing of the sort.
Jon Moss wrote:
Runlevel 3, yes, I would like to do that, but once it tries to load the graphical interface, I can't get to any other console - not even the system one. And since the ethernet shuts down or disconnects also, I can't SSH in or anything.
You can play with the boot-loader settings and enter a different runlevel at startup. Press <tab> in lilo, or typically 'e' in grub and you can edit the kernel command line.
Usually, you can add 'single' or 'emergency' to boot into single-user recovery mode, or enter a number (ie: 3) to boot to a specific runlevel.
Once your system is booted, you can use init or telinit to switch to different runlevels (ie: from single-user mode, run 'telinit 3' to get to runlevel 3).
Kewl! I knew there was a way to do this! I will give it a try in a few minutes. I have grub installed and was trying to figure out how to change the boot settings yesterday, but I also had to take my son to the doctor for a sinus infection.
Thanks cousin! :)
Jon
Jon Moss wrote:
You can play with the boot-loader settings and enter a different runlevel at startup. Press <tab> in lilo, or typically 'e' in grub and you can edit the kernel command line.
Usually, you can add 'single' or 'emergency' to boot into single-user recovery mode, or enter a number (ie: 3) to boot to a specific runlevel.
Once your system is booted, you can use init or telinit to switch to different runlevels (ie: from single-user mode, run 'telinit 3' to get to runlevel 3).
-- Charles Steinkuehler [email protected]
On Saturday 11 September 2004 09:08 am, Jon Moss wrote:
Kewl! I knew there was a way to do this! I have grub installed and was trying to figure out how to change the boot settings yesterday...
One of the nice tricks you can do with LILO is "lilo -R <comand>", where "command" is whatever you would pass the bootloader on the next reboot. It can be a label, or a label and a modifier like "linux single" or "windows".
It's nice not to have to sit over it while it reboots to a different OS.
I have yet to hear of any wayt to do this with grub...
Runlevel 3 was the key. I don't need GUI on this server anyway. I can do everything I need remotely so long as I have an IP addrses. I had to turn Samba and Apache on for Runlevel 3 and now it's working smoothly again. I edited inittab (of course) and have restarted the server a couple of times.
I still have the issue of not being able to do an init 6 (restart). It just hangs and never restarts. Init 0 works fine, it actually powers the server down like it should.
Thanks for all the help! It's back up and working again.
Jon
Jon Moss wrote:
Runlevel 3, yes, I would like to do that, but once it tries to load the graphical interface, I can't get to any other console - not even the system one. And since the ethernet shuts down or disconnects also, I can't SSH in or anything.
You can play with the boot-loader settings and enter a different runlevel at startup. Press <tab> in lilo, or typically 'e' in grub and you can edit the kernel command line.
Usually, you can add 'single' or 'emergency' to boot into single-user recovery mode, or enter a number (ie: 3) to boot to a specific runlevel.
Once your system is booted, you can use init or telinit to switch to different runlevels (ie: from single-user mode, run 'telinit 3' to get to runlevel 3).
-- Charles Steinkuehler [email protected]
This message was scanned by GatewayDefender 10:03:16 AM ET - 9/11/2004
On Saturday 11 September 2004 01:34 pm, Jon Moss wrote:
Runlevel 3 was the key. I don't need GUI on this server anyway.
Ok, so you know that to make this the default you edit /etc/inittab, and find where it says
id:5:initdefault:
and change it to
id:3:initdefault:
right? (Should come right before the definitions of the runlevels.)
It sounded almost like a hardware error to me, something thermal, but it could be software.
On Saturday 11 September 2004 09:03 am, Charles Steinkuehler wrote:
Usually, you can add 'single' or 'emergency' to boot into single-user recovery mode, or enter a number (ie: 3) to boot to a specific runlevel.
"Single" or "Emergency" are usually Runlevel 1, single-user repair mode. Level 3 is usually full-network services, everything except GUI; GUI mode is usually 5. Level 6 is reboot.
Runlevel 2 is less commonly standardized, it's usually multi-user without networking, but is often undefined, and sometimes the equivalent of level 3 (on some systems it's equivalent to 3 and is the default).
You should be able to tell your loader something like "linux 3" to specify a runlevel, where "linux" is one of the labels in the boot menu, not a specific command. Most loaders also respond to "<label> single", some recognize "s" and/or "S".
Runlevels are part of the SysV init standard, and these days the distributions that don't actually use them emulate them (like gentoo).