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 09-15-2002, 12:40 PM   #1
Paasan
LQ Newbie
 
Registered: Sep 2002
Location: Norway
Posts: 9

Rep: Reputation: 0
Question Run on Startup?


How do i get services like Samba to start up automaticly??

Kristoffer
 
Old 09-15-2002, 01:43 PM   #2
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
in console, you would use chkconfig
if u use mandrake or redhat
you could find a gui configuration tool.
plz, specify your distribution, people will let you know where u can find it

under mandrake
configuration->other->mandrake control center

gl
 
Old 09-15-2002, 01:44 PM   #3
Paasan
LQ Newbie
 
Registered: Sep 2002
Location: Norway
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks. Im using RedHat 7
 
Old 09-15-2002, 02:06 PM   #4
Paasan
LQ Newbie
 
Registered: Sep 2002
Location: Norway
Posts: 9

Original Poster
Rep: Reputation: 0
when i try "chkconfig --add samba" it says "error reading information on service samba: No such file or directroy.". I tryed "chkconfig --add /usr/sbin/samba" to but the same message came. Any solutions? The file is a "shell script" that starts 2 other "Executables", "smbd -D" and "nmbd -D".

(It works writing samba start, stop, restart, status in the console)
 
Old 09-15-2002, 04:32 PM   #5
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
Try typing ntsysv
 
Old 09-16-2002, 11:37 AM   #6
Paasan
LQ Newbie
 
Registered: Sep 2002
Location: Norway
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks Hanzerik. that was what i was looking for
 
  


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
k3b startup will not run as anyone! mpoland Linux - Software 0 08-27-2004 05:15 PM
Run a script at startup iain.ross Linux - Newbie 8 08-27-2004 05:03 PM
run program at startup.. me again.. :) rohan208 Linux - General 2 05-26-2004 09:03 PM
I want MySQL to run at startup WorldBuilder Linux - General 12 06-14-2003 02:45 AM
RH 8.0, run app on startup? rivethead Linux - Software 1 02-04-2003 02:19 PM


All times are GMT -5. The time now is 06:45 AM.

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