LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-13-2004, 04:55 PM   #1
CanadianSlacker
LQ Newbie
 
Registered: Dec 2003
Location: Cobourg, ON
Distribution: Slackware 10/Suse 9.2
Posts: 19

Rep: Reputation: 0
Program on boot-up won't stop running in a continuous loop...


First of all, I think this has to do with my addition of "/seti/setiathome &" to the rc.d script.

Upon rebooting my system for the first time, it would ask me for a new user name or to create a new account. I can't even identify if it is seti or not because all it does is this.

Now, to the point: How can I boot up Linux and delete this line out of rc.d? It really is the only change that I can think back to that might do this. Everything else seems to work fine at boot-up except for this program that keeps running until my computer restarts. It doesn't even get to the login prompt.

Or do you think it might be something else? I just want to be able to log in so I can sort this mess out...

Thanks!
 
Old 01-13-2004, 05:13 PM   #2
gurdib
Member
 
Registered: Jan 2004
Posts: 33

Rep: Reputation: 15
I am not sure if I understood you correctly, but is the problem a program that starts itself upon bootup and then restarts the machine? Or...? Do you at all get to a login prompt in text or X mode?

In any case, boot up in single mode. From your lilo or grub prompt choose a kernel to boot and add "single" to it so that you can boot up into single mode. You will need your root password and from there you can do some damage.

Alternatively, use a rescue CD or floppy and modify your /etc/rc.d

However, I find it really suspicious that you cannot login because some piece of software is running...

G.
 
Old 01-13-2004, 06:12 PM   #3
CanadianSlacker
LQ Newbie
 
Registered: Dec 2003
Location: Cobourg, ON
Distribution: Slackware 10/Suse 9.2
Posts: 19

Original Poster
Rep: Reputation: 0
I'm sorry if my description sucked, but that was the best I could do...

-I suspect that this is a program that I set to run at bootup in rc.d
-I don't know if it is supposed to restart the machine, but the only way to get out of it is with ctrl+alt+del, and then all of a sudden it stops and restarts the machine.
-No, I don't get as far as the login prompt.
-This particular machine is a server and I did not install X on it at all.

About booting in single mode...

Would I just type, for example, 'bare.i -single'?
 
Old 01-13-2004, 06:19 PM   #4
gurdib
Member
 
Registered: Jan 2004
Posts: 33

Rep: Reputation: 15
get into the (lilo) prompt and type "<image name> single" without the quotes. See if that works. I am not sure I remember if booting into single mode runs through rcX.d or not, I think not, that's why I say give it a shot.

G.
 
Old 01-13-2004, 06:19 PM   #5
gurdib
Member
 
Registered: Jan 2004
Posts: 33

Rep: Reputation: 15
To make it clearer:

if your image is: linux-2.6.1, you would do (in the prompt):

linux-2.6.1 single

G.
 
Old 01-13-2004, 09:00 PM   #6
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Rep: Reputation: 30
If that doesnt work here is another method put in your installation cd such as slackware 9.0 (for me) then once it boots up and then once you login in as root type

mount /dev/rootpartition /mnt

then that should mount your root partition so you can go into /etc/rc.d and edit whatever u wanna edit using pico or whatever program you use this was the easyest way i could think of to do what i belive ur trying to do GOOD LUCK!

Matt3333
 
Old 01-14-2004, 01:06 AM   #7
CanadianSlacker
LQ Newbie
 
Registered: Dec 2003
Location: Cobourg, ON
Distribution: Slackware 10/Suse 9.2
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks for the help, G.

Booting into 'single' mode did the trick. Seti@home isn't acting up anymore...
 
  


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
having trouble with the do while loop in program mshinska Programming 2 10-08-2005 10:18 PM
Running a particular program during boot undemane Linux - Newbie 3 03-24-2005 12:52 AM
continuous running a pl script sikkalgopal Linux - Software 6 02-19-2005 05:05 AM
Stop java program(threaded program..should end cleanly) rmanocha Programming 4 11-09-2004 09:36 AM
Help with running a program at boot Tw0 Linux - Newbie 3 11-24-2003 04:53 PM

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

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