LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 09-14-2003, 02:40 AM   #1
ubers0ldat
Member
 
Registered: Jul 2003
Posts: 33

Rep: Reputation: 15
Emergency: Can't login to Linux


I wanted to make rc.local boot up executing

httpd

/usr/local/mysql/bin/mysqld --user=mysql

and now, it says Mysql Ready for connections, but it doesn't allow me to login,

however there is a text prompt, where nothing works... how do i fix this? i have crucial data on this computer.. and i need to know how to fix it.

The Text prompt is just a blinking line, where no commands work (e.g cd /root/)

Any Ideas? Where can i find a boot disk or something to restore rc.local back to normal?
 
Old 09-14-2003, 02:47 AM   #2
Evilone
Member
 
Registered: Oct 2002
Location: UK
Distribution: Slack 9.1 (2.6.5)
Posts: 307

Rep: Reputation: 30
Use the cd you installed with to boot up.

then login as root and type :

mount /dev/yourdisk /mnt

then

chroot /mnt

then
change the httpd to apachectl start

change the mysql line to safe_mysql &

Sorted !!

Allways say what flavour your using, that should work for slackware and redhat, not used any other distro...

Last edited by Evilone; 09-14-2003 at 02:48 AM.
 
Old 09-14-2003, 05:11 AM   #3
ubers0ldat
Member
 
Registered: Jul 2003
Posts: 33

Original Poster
Rep: Reputation: 15
Thanks for responding! I appreciate it greatly!

IT WORKS! YAY!

See, what i was doing before, was mounting the /dev/hda1 partition, since i thought that was the correct partition, then i was curious, what if i tried hda2? and it worked.. lol, i restored my rc.local and it's all good.

only thing is

safe_mysql doesn't seem to be working properly, but it's not big of a deal since i can now login.

Thanks to you and google and the rest of the Linux community.

AWESOME!
 
Old 09-14-2003, 05:12 AM   #4
Evilone
Member
 
Registered: Oct 2002
Location: UK
Distribution: Slack 9.1 (2.6.5)
Posts: 307

Rep: Reputation: 30
Sorry it's safe_mysqld &

And as for the thanks, no problem dood, welcome to the friendly world of linux users

Last edited by Evilone; 09-14-2003 at 05:13 AM.
 
  


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
Emergency help k1ll3r_x Linux - General 2 04-17-2005 07:32 PM
[help - emergency] linux sending arp flood princenux Linux - Security 2 12-10-2004 01:36 PM
emergency, deleted linux partition by mistake snakeo2 Linux - Newbie 11 03-26-2004 06:40 AM
Emergency: No linux Partitions Found Gerardoj Linux - Software 6 06-01-2003 01:44 PM
Emergency Emergency kodiak Linux - Newbie 6 04-13-2003 12:00 AM

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

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