Hi,
I never installed Suse and I had presumed it has some commands inherited from RH. Service is one script in the /sbin directory. However, it just calls scripts located in the "/etc/rc.d/init.d". So when I wrote service smb restart, it's the same as /etc/rc.d/init.d/smb restart. Of course, you need to have the "smb" entry in this directory. In this case, in my distribution, Conectiva 8, the entry "/etc/rc.d/init.d/smb" is a link to /usr/sbin/samba. So, at the end of the day, we are talking about enter "/usr/sbin/samba restart".
Samba has two daemons: smbd and nmbd. both must be running. You can make 2 more tests to see if your samba is alive. First, enter:
Code:
ps ax|grep mbd|grep -v grep
You will see
Code:
SUSEBOX:~# ps ax|grep mbd|grep -v grep
<PIDNO> ? S 0:00 smbd -D
<PIDNO> ? S 0:00 nmbd -D
If one of this processes is not active, you need to discover what happened in the log of the process. If both are available, you have to see if you can communicate with them, entering
Code:
smbclient -L SUSEBOX -NU%
This client command will show you all the shares available on SUSEBOX
Code:
added interface ip=10.1.1.2 bcast=10.1.1.255 nmask=255.255.255.0
Domain=[PRODUCAO] OS=[Unix] Server=[Samba 2.2.7a]
Sharename Type Comment
--------- ---- -------
imploc Printer Impressora Deskjet locacao
imp1 Printer Oferta de impressora epson
laser1 Printer Oferta de impressora laser
tmp Disk Temporary file space
IPC$ IPC IPC Service (Opiii - samba versao 2.2.7a)
rais Disk Arquivos de Exportacao da GDRAIS
\ Manuais Disk Manuais DIS
fgts Disk Arquivos do SEFIP
ADMIN$ Disk IPC Service (Opiii - samba versao 2.2.7a)
Server Comment
--------- -------
OPIII Opiii - samba versao 2.2.7a
Workgroup Master
--------- -------
PRODUCAO OPIII
In this example commands I assume that you machine name is SUSEBOX based on your messages but the results I show you are response of my machine which is name "opiii".
I hope it helps.