LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-14-2005, 07:13 PM   #1
gnorman
LQ Newbie
 
Registered: Jul 2005
Distribution: Fedora Core 3
Posts: 4

Rep: Reputation: 0
Exclamation Kernal Panic on Fedora core 3


Please help!! I am new to this forum and somewhat new to linux and found myself in a terrible bind...hoping someone here can help out!

Here goes:

-I have a FC3 server running apache, bind, mysql, etc etc.
-I tried compiling and installing Turck MMCache today to speed up php scripts
-I ran the command = export PHP_PREFIX="/usr/bin" per the readme of that script as root

I had a problem following through because I didn't have the proper php dev tools and so I went along doing my other work.
I come back to it an hour or so later and my site doesn't come up....
I have no dns resolution-
I cannot login via ssh- it logged me in and than just shut down the program
I luckily have webmin running and that comes up fine..however-dns server is down and will not start up...
any logs I have are not viewable...
hardly anything works in webmin...

So I call my co-locater and have them reboot
(they also tell me that setting that env variable shouldn't have done anything like this?)

Now the server will not even start up
I get the following errors...

Exec of init (/sbin/init) failed!!!: 2
umount /initrd/dev failed: 2
Kernal panic- not synching: attempted to kill init!

So I pull my box and take it home, try booting off a RH8 boot disk and get errors of...

Ext3-FS: mounted filesystem with ordered data mode
Freeing unused kernal memory: 212k freed
Warning! Unable to open initial console
Kernal panic: no init found try passing init=option to kernal


Cannot boot to linux single or anything

Please help!! any ideas? This is a production server and is killing me!
Thanks to everyone in advance
 
Old 07-16-2005, 09:44 AM   #2
wipe
Member
 
Registered: Jun 2004
Location: High Green
Distribution: Fedora Core 4
Posts: 180

Rep: Reputation: 30
1. It's spelled kernel, not kernal.
2. How are you trying to boot off of the RH8 disk; in rescue mode or with the FC3 kernel or something else? (Use the rescue mode.) You should really own a FC3 boot disk if you have a FC3 production server.
3. Your hardware has probably broken down or the filesystem on your hard disk is corrupted. These are the kind of situations where having a boot partition may be helpful. Use fsck to check the filesystems.

Welcome to LQ!

Regards
Simon
 
Old 07-18-2005, 04:52 PM   #3
gnorman
LQ Newbie
 
Registered: Jul 2005
Distribution: Fedora Core 3
Posts: 4

Original Poster
Rep: Reputation: 0
Followup

Well here is a followup to the situation....

I swapped out the CDROM and booted into recovery mode on FC3 disk-

I was able to do:
$:umount hda5
$:fsck hda5 and got no errors returned

but still no luck. It appears the FS is Ok.

I was thinking...
I have all of my customer/hosting sites on my /home partition and wondering if I do a reinstall of FC3, and I specify to leave that partition and not format...if I can essentially just reinstall the OS "around" my customer data???

I would still have to reconfigure my whole systems and also reset permissions but for the most part I would think it would work? Any advise/ideas on this?
 
Old 07-19-2005, 09:35 AM   #4
wipe
Member
 
Registered: Jun 2004
Location: High Green
Distribution: Fedora Core 4
Posts: 180

Rep: Reputation: 30
Fsck is used like this: /sbin/fsck -c /dev/hda5. If you don't specify the -c option, it doesn't do much anything. With the -c it checks if the disk is broken or the filesystem messed up (you might not see it by browsing the directories.) Repeat with every partition.

Yes, leaving a /home partition is very possible. When the installer asks you if you want it to do partitioning for you, select manual partitioning. Then specify some partition as root ("/"), select all the mountpoints, and don't format any partition you don't have to. I'm not sure but I think Fedora offers some kind of repair install mode also. Still, if I were in your place, I'd try to back up the customer data as soon as possible. Some piece of hardware may be broken, such as motherboard or IDE/SCSI/RAID controller, and installing an OS isn't the safest thing to do.

One thing to try is just installing and configuring the kernel and GRUB (boot loader) again. This may not be the easiest process if you're not very familiar with such things.

Last edited by wipe; 07-19-2005 at 09:42 AM.
 
Old 08-16-2005, 07:20 AM   #5
Spiritus
LQ Newbie
 
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
Maybe it has something to do with it

Maybe it has something to do with it.
I run FC3, too, And I had the "kernel panic - not syncing" message. I then tried to boot with an older kernel version, and it worked fine.
I still have to change the boot-kernel version every boot;-)
Maybe it helps.
 
Old 03-15-2006, 03:52 PM   #6
comptiger5000
Member
 
Registered: May 2005
Distribution: Fedora Core Since version 3
Posts: 193

Rep: Reputation: 30
fc3 has issues with kernel upgrades, revert to an older version
 
  


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
Fedora Core 2 Kernel Panic smOked^ Fedora - Installation 3 02-10-2005 04:29 AM
Fedora Core 2 Kernel Panic On Vmware cperdana Fedora 10 10-08-2004 01:19 PM
VMware Workstation Problems with new Fedora Core 2 Kernal Update.. Elite_Gamer04 Linux - Software 12 07-20-2004 06:32 PM
upgrading fedora core 1 kernal to 2.6.6? Jaxathan Linux - Software 1 06-27-2004 05:36 AM
fedora core 2 test / kernal 2.6? [=hris Fedora 16 04-17-2004 03:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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