LinuxQuestions.org
Help answer threads with 0 replies.
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-03-2005, 09:21 AM   #1
danthehat
LQ Newbie
 
Registered: Oct 2004
Location: Ontario, Canada
Distribution: Gentoo, all the way
Posts: 11

Rep: Reputation: 0
Broken links?


Well here's the deal. I run a server program that I put together myself (doesn't really matter what it does) and I need it to start up in runlevel 3. Sooo, I made a symlink from the script I use to start it to /etc/rc.d/rc3.d/S99server, right? Well, the thing won't start up and I can't figure out why!

When I go to /etc/rc.d/rc3.d and do an ls, I see the link to my script appears t o be broken (ie, the background is red and flashing). This cannot be. The script is located on the root filesystem, the folder its in should not be a problem to get to (unless permissions matter...?)

So in the end, I need to figure out what the hell is going on because I've never seen this kind of behaviour before.

I run mandrake 10, if you need to know, and thank you for your time.
 
Old 02-03-2005, 11:11 AM   #2
justin_p
Member
 
Registered: Jan 2004
Location: Virginia, USA
Distribution: slack 13; I've used it all :)
Posts: 433

Rep: Reputation: 30
Not sure..but have you looked at the /etc/inittab? File. Post its contents. If the server only runs in run level, then shouldn't you always be running in run level 3 in order to run the server?
 
Old 02-03-2005, 11:15 AM   #3
danthehat
LQ Newbie
 
Registered: Oct 2004
Location: Ontario, Canada
Distribution: Gentoo, all the way
Posts: 11

Original Poster
Rep: Reputation: 0
Yeah, that's the way of it. No worries there, I'm always running at level 3.
 
Old 02-03-2005, 02:18 PM   #4
LasseW
Member
 
Registered: Oct 2004
Distribution: Fedora 7, OpenSuse 10.2
Posts: 108

Rep: Reputation: 15
Did you use a full path for the script, ie

ln -s /home/myscripts/server ...

The first argument of the ln command will be the contents of the link.
 
Old 02-03-2005, 03:06 PM   #5
danthehat
LQ Newbie
 
Registered: Oct 2004
Location: Ontario, Canada
Distribution: Gentoo, all the way
Posts: 11

Original Poster
Rep: Reputation: 0
Yes, the script path is complete.

It is interesting though, when I actually went to investigate the first time to see if the script was still in tact and where it was supposed to be, i checked the link again and it seemed complete, as in no more flashing red background.
 
  


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
links (hard links and soft links..) sachitha Programming 1 08-10-2005 12:10 PM
Broken simbolic links ale_murakami Amigo 2 05-20-2005 06:06 AM
How can I fix an ungodly amount of broken symbolic links? spoonz Slackware 1 05-07-2004 03:04 PM
Konqueror and broken links lachlan Linux - Software 0 07-29-2002 09:23 PM
Micro$oft = broken links sewer_monkey LQ Suggestions & Feedback 8 06-19-2002 02:46 PM


All times are GMT -5. The time now is 11:03 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration