[Samba] auto start

Stephen Kuhn stephen.kuhn at gmx.net
Mon Jan 13 20:49:00 GMT 2003


On Tue, 2003-01-14 at 07:41, Roland Thompson wrote:
> Hi,
> 
> I'm fairly new to both linux and samba.
> I'm running RH8 with Samba 2.2.7a.
> Samba's installed and is basically working, but can anyone tell me how I
> can get samba to start when linux boots up?
> I'm currently having to start it by running the following commands;
> ./usr/local/samba/sbin/smbd -D
> ./usr/local/samba/sbin/nmbd -D
> 
> I've got the Using samba book from o'reilly, but it doesn't tell you how
> to set conf xinetd
> 
> Thx in advance
> 
> Roland

You should be able to run "serviceconf" and put a tick next to the
service you want to run - but Samba SHOULD be running by default. Either
which, running "serviceconf" and then doing a "save" will ensure that
it's starting at bootup - if it isn't already.

Another thing to do is when it dies or if you want to restart it, is to
open a term and run:

service smb --full-restart

Cheers! HTH
-- 
Tue Jan 14 07:45:00 EST 2003
  7:45am  up 1 day,  9:31,  5 users,  load average: 1.52, 0.56, 0.33
------------------------------------------------------------------
|            __    __          | kuhn media australia            |
|           / ,, /| |'-.       | http://kma.0catch.com           |
|          .\__/ || |   |      |=================================|
|       _ /  `._ \|_|_.-'      | stephen kuhn                    |
|      | /  \__.`=._) (_       |  email: skuhn at telpacific.com.au |
|      |/ ._/  |"""""""""|     |  email: stephen.kuhn at gmx.net    |
|      |'.  `\ |         |     |    icq: 5483808                 |
|      ;"""/ / |         |     |                                 |
|  smk  ) /_/| |.-------.|     | mobile: 0410-728-389            |
|      '  `-`' "         "     | Berkeley, New South Wales, AU   |
------------------------------------------------------------------
* linux user:267497 * RH 7.3+ * PC/Mac/Linux/Networking/Consulting
------------------------------------------------------------------

A lie in time saves nine.



More information about the samba mailing list