LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 09-06-2004, 12:18 PM   #1
scng
Member
 
Registered: Sep 2004
Location: Hong Kong
Distribution: Fedora Core 3
Posts: 53

Rep: Reputation: 15
samba server doesnt started upon boot


may i ask how to make the samba server automactically starts when linux boots? i activate it manually everytime, it's very inconvenient.

thanks
 
Old 09-06-2004, 12:30 PM   #2
nitin_batta
Member
 
Registered: Aug 2004
Location: India
Distribution: Redhat Enterprise Server 2.1
Posts: 96

Rep: Reputation: 15
You have to put the startup script for the samba in the appropriate run level directory.

Say you run your server in init 3 so you can put your file in /etc/rc3.d directory with a Sxxsmbd where xx = a two digit no. which will tell init to load the samba prog at startup.

In redhat a simpler way would be to use the "chkconfig" command to do it.

#chkconfig --level3 smbd on


You may use the /etc/rc5 directory if you want the samba deamon to start in run level 5.
 
Old 09-09-2004, 11:53 AM   #3
scng
Member
 
Registered: Sep 2004
Location: Hong Kong
Distribution: Fedora Core 3
Posts: 53

Original Poster
Rep: Reputation: 15
may i ask what do you mean by run level?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba server ok at boot, later fails to bind to IP. smbd restart doesn't help. tisource Linux - Networking 1 04-09-2005 08:16 AM
Dedicated Samba/nfs Server boot disk ratgod Linux - General 2 12-10-2004 11:25 PM
Doesnt source .kshrc when ksh is started pkan Linux - Newbie 2 03-08-2004 07:54 PM
Samba filesytem doesnt start on boot mpooley Linux - Networking 5 11-29-2002 04:53 PM
Samba - getting smbd started jchim32 Linux - Networking 4 05-29-2001 06:25 AM


All times are GMT -5. The time now is 10:43 PM.

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