Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-14-2007, 02:29 PM   #1
LQ Newbie
Registered: Jun 2007
Posts: 2

Rep: Reputation: 0
"failed to make symlink " error

hello friends

i am using FC4 and i am just a novice to linux
i had a problem using chkconfig which showed always
"bash: chkconfig: command not found"
for which i added /sbin and /usr/sbin to the user's PATH after which i tried using chkconfig again:
$ chkconfig sshd on

but this time it showed :
failed to make symlink /etc/rc2.d/S55sshd: File exists
failed to make symlink /etc/rc3.d/S55sshd: File exists
failed to make symlink /etc/rc4.d/S55sshd: File exists
failed to make symlink /etc/rc5.d/S55sshd: File exists

i am totally confused what to do now ..
please reply

thanx for any help
Old 06-14-2007, 03:28 PM   #2
Registered: Jul 2006
Posts: 134

Rep: Reputation: 15
Try to run the command as root. You should see the $ sign turn into a # sign.

So instead of:

[HTML]$ chkconfig sshd on[/HTML]

you would see:

[HTML]# chkconfig sshd on[/HTML]
Old 06-16-2007, 01:27 PM   #3
LQ Newbie
Registered: Jun 2007
Posts: 2

Original Poster
Rep: Reputation: 0
thanx for the reply

one more thing ..
if i want to run the command as not as root but as some other user then what should i do ?


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
Problems emerging " /etc/make.profile symlink?" Portage tree complete? stl222 Linux - Software 2 02-11-2006 10:38 PM
Please help on "Mplayer plugin" failed when using "Make" Blue Jacket Linux - Software 9 10-20-2005 02:29 AM
error running "make" and "arkollonrc"... Toro Linux - Software 1 04-19-2004 12:24 AM
LFS 4.1: Stalled at Perl, "missing seperator" error from "make" SparceMatrix Linux From Scratch 1 06-07-2003 03:31 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration