Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-06-2004, 12:18 PM   #1
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.

Old 09-06-2004, 12:30 PM   #2
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
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?


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
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 > Forums > Linux Forums > Linux - Networking

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