LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-11-2005, 11:51 AM   #1
chamalsl
LQ Newbie
 
Registered: Jan 2005
Posts: 11

Rep: Reputation: 0
fails to reboot


We have a computer with RedHat linux 8.0. But it failed to boot and crashed during the bootup process

twice during last month.

We had to reinstall redhat both times. The computer has Apache server with php and Mysql 3 running.
We also use j2sdk1.4 in that computer. we have a small Java program which uses the MySql database.

What can be the possible causes of system crashing during bootup. Can it be a problem with LILO or

something else.

Can you also advice me on ways that I can restore a Redhat system that fails to boot without reinstalling.
 
Old 02-11-2005, 12:49 PM   #2
brentos
Member
 
Registered: Nov 2003
Distribution: Fedora Core3, RHEL3,4
Posts: 92

Rep: Reputation: 15
You need to be a little more specific in what you mean by fails to boot.
What exactly happens? When does it fail?
 
Old 02-12-2005, 12:06 PM   #3
chamalsl
LQ Newbie
 
Registered: Jan 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Hi brentos,

I really do not know much about linux. I am still trying to learn linux. So I really do not know exactly why the system fails.

Is it possible for a Java program(Running on JVM 1.4) accessing Mysql database to crash and make a linux system unbootable.

Thanks a lot,
Chamal.
 
Old 02-12-2005, 02:52 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Generally, no, unless you've done something silly like running a lot of code that doesn't need priviliges as root, and that code proceeds (by accident or design) to do the equivalent of rm -rf / (or hoses some other critical system files). Unfortunately, we really need a few details to figure out what happened. Please try to boot the machine, and write down the last few lines of output before it fails. Even if you don't understand what they mean, someone here probably will.
 
Old 02-14-2005, 11:18 AM   #5
chamalsl
LQ Newbie
 
Registered: Jan 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Root Password gets changed

Hi guys,

I really can't remember the exact output I got. I can't get it again because we reinstalled redhat again.

Other symptom of this problem is that the root password got changed last time. I am sure that I remember the password. But when I type it the computer does not accept it.

Now it has happened again. We reinstalled linux on last Friday and everything worked fine. But when we try to login on Monday(Saturday and Sunday were holidays) the computer says that root password is incorrect.

Can this be a remote attack.

Plz help me to solve this problem.

THanks a lot,
Chamal.
 
Old 02-14-2005, 02:06 PM   #6
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Are you using the same root password everytime you are re-install Redhat? Try a different password. Yes, it could be some guy screwing your machine over. I suggest changing the root password and installing AIDE or tripwire to see if anything has been tampered with.

Also, make a note of the error messages you get when you boot up the comp.

-twantrd
 
Old 02-14-2005, 02:13 PM   #7
JoannesX
Member
 
Registered: Dec 2004
Location: Brazil
Distribution: Slackware
Posts: 99

Rep: Reputation: 15
pay attention at what runlevel is being used to boot your system.. check the number of the system run level... for example if you configure Slackware 10 to start on run level "6"
it will keep rebooting and rebootiung at every start-up!
But that number changes from distro to distro...
 
Old 02-14-2005, 10:43 PM   #8
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Does that runlevel (level 6) really change from distro to distro? I haven't used all the distros but I have touched SuSE, Debian, Redhat and that runlevel is pretty universal (at least on linux) I thought.

-twantrd
 
Old 02-15-2005, 08:19 AM   #9
JoannesX
Member
 
Registered: Dec 2004
Location: Brazil
Distribution: Slackware
Posts: 99

Rep: Reputation: 15
OK, I think the run level 6 does not change, twantrd..

but for example in Slackware:
3 is for the console.
4 is for the GUI.

and in Conectiva:
3 is for the console as well.
5 is for the GUI.

But, anyway, the file /etc/inittab is very well commented, and all the runlevels are listed there, as well as the recommendations for each one...

Joannes
 
Old 02-15-2005, 02:57 PM   #10
chamalsl
LQ Newbie
 
Registered: Jan 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Hi guys,

Thanks a lot for your replies.

What is meant by runlevel. Does it affect the password.

Thanks a lot,
Chamal.
 
Old 02-15-2005, 07:15 PM   #11
JoannesX
Member
 
Registered: Dec 2004
Location: Brazil
Distribution: Slackware
Posts: 99

Rep: Reputation: 15
no it doesn't affect the password.

The run level specifies the way your system boots up...

as described above, each number runs a diferent run level...

take a look at the file /etc/inittab to see what the possible runlevels are,

actually I'm not sure it could be your problem, as you said it just fails after you reboot the machine.. but anyway, just take a look at the file
 
  


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
Sound fails after reboot spotslayer SUSE / openSUSE 2 11-12-2005 07:45 PM
Reboot Fails lobo78 Linux - Hardware 1 01-17-2005 09:34 AM
Ack, reboot fails! mcskwayrd Linux - General 1 11-08-2004 04:22 PM
Server fails to reboot marghorp Linux - Hardware 1 02-10-2004 08:06 AM
Killall fails at shutdown/reboot. JMC Linux - General 6 07-22-2002 07:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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