LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-03-2005, 03:01 PM   #1
DSLC
LQ Newbie
 
Registered: Jun 2004
Location: Ireland
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
rc.local command halting startup


I modified my rc.local startup script a few hours ago. I inserted a command whose purpose was to start JACK (Jack Audio Connection Kit) automatically on startup. After rebooting however, I realised that it's halting the startup procedure - it just stops. I can't even get to a terminal - never mind get into X.

I think (..in fact it seems very likely - or even obvious - that) the problem is due to the fact that I didn't _background_ the process - with the & switch at the end. This would be a problem wouldn't it? If not necessarily _the_ problem? I can't even remember the command now (...I simply copied and pasted from a `ps aux ¦ grep 'jack'`), and can't re-read the file to check it.

Can anyone tell me how to rectify this problem? (...I have to use another computer until I fix this problem.)

System: Slackware 10.1
Xorg installed

In case it's relevant, I'll mention that the command was issued as part of an `su -c` command - i.e.:

Code:
su me -c `jackd ....`.
(...I think I've read somewhere that jack should be started as root, but I've found that not to be necessary for what I do.) I had done this before - 'su me -c `jackd ...`' and it worked fine (...I'm guessing I backgrounded the process that time though)!

Also, it's almost definitely the `jackd ...` command that's halting the startup process - it was fine until I made this modification.

Last edited by DSLC; 06-03-2005 at 03:24 PM.
 
Old 06-03-2005, 03:19 PM   #2
verzonnen
Member
 
Registered: Aug 2003
Posts: 31

Rep: Reputation: 15
If you can't get a console at all you can try booting save mode if available in slackware or boot from a (live) CD and mount the hard drive..
 
Old 06-03-2005, 03:28 PM   #3
DSLC
LQ Newbie
 
Registered: Jun 2004
Location: Ireland
Distribution: Slackware
Posts: 11

Original Poster
Rep: Reputation: 0
Yes - off the top of my head - that seems like an entirely viable suggestion - it didn't occur to me during my relative panic. I still have my slackware installation cds, and I'll try it once I get back to my computer.

Thanks!
 
Old 06-03-2005, 06:11 PM   #4
DSLC
LQ Newbie
 
Registered: Jun 2004
Location: Ireland
Distribution: Slackware
Posts: 11

Original Poster
Rep: Reputation: 0
I just wanted to say ...
...that worked - thank you!
 
Old 06-04-2005, 08:35 AM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
For future reference, if you don't have a bootable CD around, you can always boot into single mode from LILO by adding the word single or the number 1 after you select a kernel. Single mode avoids most of the startup scripts and almost always allows you to log into a console and fix things.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
New Startup command mpgram Linux - Software 2 09-19-2005 07:30 PM
rc.local yes/no option during startup jkassemi Linux - General 2 03-06-2005 10:54 AM
How can I connect to my local machine using FTP at the command line? imagirlgeek Linux - Newbie 12 08-26-2004 02:57 PM
startup command skull98 Linux - Newbie 2 04-14-2004 09:37 AM
Startup Services Command loadedmind Debian 3 11-11-2003 03:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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