LinuxQuestions.org
Review your favorite Linux distribution.
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 01-10-2011, 02:16 PM   #1
chroot/jail
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Rep: Reputation: 0
Hey Folks!


Just thought I'd drop in here and give myself a welcome to the wonderful world of Linux! I think this site will have a great use for me, so without any further delaying, I have a question if I may:

I'm currently taking a Linux System Administration class, using a book called "A Practical Guide to Fedora and Red Hat Enterprise Linux" by Mark G. Sobell, and I'm looking through this book, and unfortunately not finding the answers I'm seeking (that or I'm just overlooking some things) so I was wondering if I might get some help with some labs I'm working on. I'm running Linux through a Virtual Machine on an external Harddrive.

I've done my chkconfig to verify what the runlevels are for my processes and such, and I'm attempting to change the runlevels for my vsftpd to run levels 2 and 4.

I've tried:
vsftpd runlevel 24
vsftpd level 24
etc. etc. and when looking in the book I'm seeing runlevel changes using the following file format:
\filename\chkconfig\runlevel 24

^ The above doesn't work either. The next step after this is using the service command to start and stop vsftpd, which I can do. I just need help with the runlevel command.

Thanks in advance!
chroot/jail

edit: is there a reason no one's been able to assist me?

Last edited by chroot/jail; 01-10-2011 at 03:40 PM.
 
Old 01-10-2011, 04:14 PM   #2
chroot/jail
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Original Poster
Rep: Reputation: 0
ok well I figured out what it was I was doing wrong, but now when I root myself it tells me it doesn't now the command so I have to su to get there, and when I type in my command (chkconfig -- levels 24 vsftpd) I get:

the basic commands prompt.
 
Old 01-10-2011, 04:22 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,496

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
Quote:
and when I type in my command (chkconfig -- levels 24 vsftpd) I get:the basic commands prompt.
If there are no errors, it will return to the prompt
To see if the changes are made:
Code:
chkconfig --list vsftpd
See
Code:
man ckconfig
Kind regards
 
Old 01-10-2011, 04:27 PM   #4
chroot/jail
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for that

The correct message I get is the Usage Screen that contains list, add, del, override, and level, so I get no confirmation that anything has changed, and when I double check, nothing has changed. I'll check the man pages though again to see if I'm doing anything else wrong.

update: when I
Code:
 chkconfig --list vsftpd
I get the same message as above..

Last edited by chroot/jail; 01-10-2011 at 04:28 PM.
 
Old 01-10-2011, 04:30 PM   #5
chroot/jail
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Original Poster
Rep: Reputation: 0
Figured it out, thanks for your help! I'll have to do it line by line I guess since I can only have 1 run level inquiry per chkconfig execution.

the problem was I had a space where I wasn't supposed to... I saw the error when I looked at your code example....

-.-'

Thanks again,
chroot/jail

Last edited by chroot/jail; 01-10-2011 at 04:32 PM.
 
Old 01-10-2011, 04:35 PM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,496

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
If you get the helppage, the command isn't correct.

try
Code:
chkconfig --levels 24 vsftpd on
Code:
chkconfig --list vsftpd
Kind regards
 
Old 01-10-2011, 04:39 PM   #7
chroot/jail
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Original Poster
Rep: Reputation: 0
no, I was getting that error because instead of having
Code:
 chkconfig --levels 24 vsftpd on
I had
Code:
 chkconfig -- levels 24 vsftpd on
so I had to take the space out.
 
Old 01-10-2011, 04:56 PM   #8
chroot/jail
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Original Poster
Rep: Reputation: 0
ok next question:

Code:
Starting IrDA:  FAILED
any ideas?

Last edited by chroot/jail; 01-10-2011 at 05:07 PM.
 
Old 01-10-2011, 07:19 PM   #9
silvyus_06
Member
 
Registered: Oct 2010
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 386

Rep: Reputation: 49
Quote:
Originally Posted by chroot/jail View Post
ok next question:

Code:
Starting IrDA:  FAILED
any ideas?
open a new thread . mark this one as solved if your problem was solved.
 
  


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
Hey Folks! pdasfreak LinuxQuestions.org Member Intro 4 09-25-2010 09:53 AM
Hey folks! vstrabello LinuxQuestions.org Member Intro 1 11-02-2009 05:07 AM
Hey Hey it's the monkee! - Introduction / What do y'all think of RealBasic? MonkeeOfEvil General 6 08-19-2009 04:48 AM
LXer: Hey (Hey) You (You) Get Onto My Cloud LXer Syndicated Linux News 0 12-02-2008 11:01 PM
Hey Folks WinterOrbit LinuxQuestions.org Member Intro 1 11-27-2004 04:13 AM


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