[wellylug] Re: SMB server set up in Ubuntu

Bret Comstock Waldow bwaldow at alum.mit.edu
Sat Jan 28 13:00:26 NZDT 2006


On Sat, 28 Jan 2006 12:12, Andrew wrote:

> Thanks for the help guys. Tracked it down to samba failing to start but
> not reporting it to the GUI (which is what he was using). I didn't have
> access to the machine - it's in England - so couldn't see this earlier.
>
> Attempts to reinstall samba have worked but samba still is not
> starting. I guess he needs to strip out all samba related files/confs
> and start again.

How is he un-installing, re-installing?  Which tool?  What steps?  (The 
computer is explicit - he needs to be as well here, please.)

Separately, consider this sequence:

bret at ganesha:~$ sudo ps ax | grep smb
 9876 ?        Ss     0:00 /usr/sbin/smbd -D
 9901 ?        S      0:00 /usr/sbin/smbd -D
20747 pts/5    R+     0:00 grep smb

Now I know samba is running...


bret at ganesha:~$ runlevel
N 2

Now I know what runlevel my OS has stabilised at...


bret at ganesha:~$ ls /etc/rc2.d/
<snip>
K08vmware           S19hplip             S20gpsd            S20postfix 
S05vbesave          S19lirc              S20hotkey-setup    S20powernowd      
S11klogd            S20clamav-freshclam  S20laptop-mode     S20samba          
<snip>

Looking in that runlevel's scripts I see samba is set to start...


bret at ganesha:~$ man update-rc.d

This tool adds services to runlevels.


But, frankly, I'm wondering how installing a service doesn't set it up 
properly.  Debian, and Ubuntu, are well set out in that regard - something is 
off.

The anwers to the first questions above would be very interesting, and it 
wouldn't hurt to get answers to the sequence as well.

"When you are exploring the unknown, by defintion you do not know what you 
will find."

Let us know, please.

Cheers,
Bret
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20060128/18b1551b/attachment.pgp 


More information about the wellylug mailing list