[H-GEN] Samba on SuSE 8.1

Alex Delaforce alextdel at bigpond.net.au
Wed May 7 08:46:04 EDT 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

1.I have done all the steps given to install from source (my first
install of source files - any files actually) according to the book
'Samba Unleashed'. However, when I reboot I can't tell if the server is
running.
What is the quickest way to find out if the server is running. It is set
up as a daemon. I've tried using 'ps -a'. It gives a fairly long list
but doesn't seem to show some services that I know are running. I
therefore don't feel overly in control of what it is reporting.

2. In configuring the daemon processes for Samba I have:
	A. Created a file called rc.samba which I have put into
/etc/init.d/
		The file contains 
		#!/bin/sh
		/usr/local/samba/bin/smbd -D
		/usr/local/samba/bin/nmbd -D
	B. Within /etc/int.d/rc5.d created a symbolic link called
S20samba that points to 		the rc.samba file in /etc/init.d

The book Samba Unleashed indicated that I now can reboot and the thing
should work.
BUT......
I'm a bit confused:
Question - how does the file S20samba get run at boot time? Is
everything in rc.5 run as linux reaches run level 5?
Question - how does the symbolic link indicate to the samba daemon file
that it is being started or stopped? The symbolic links 'SxxFileNames'
and 'KxxFilenames' within the rc.x directories seem to point to the same
files without any parameters being passed on.

I suspect that I am missing something (apart from the obvious brain
cells through too much alcohol!). Some texts mention using a 'skeleton'
file for setting up the rc.samba file, but in looking at the skeleton
file I find the the amount of information it contains is beyond my
knowledge as it seems to have a lot of settings that need defining. So,
how do mere mortals get Samba running? (Frustration, frustration!!!)


PS. I am impressed with the level of help I have been given in the past
and the amount of time that list members will give to people such as
myself. It's a credit to the motivation and level of knowledge of those
involved. Keep it up.......please.


Alex Delaforce
  Director of Technology 
    Ormiston College
      [**alextdel at bigpond.net.au**]
        [**dir.tech at ormiston.qld.edu.au**]



--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list