hi all, I just installed samba 2.2.0 on a Digital SMP server and I can tell that administering it via SWAT is the bigest step since man walking on the moon. but... SWAT eroneously reports smbd/nmbd not working while they are working. And even more, the smbd/nmbd [start]/[restart] buttons have dissapeared. Why is that ? Claudiu premises: hardware: Digital server 2xPII 266/128MB/2x4GB SCSI software: RedHat 5.2 with kernel 2.2.0 samba 2.0 from *.rpm
>> but... >> >> SWAT eroneously reports smbd/nmbd not working while they are working. >> And even more, the smbd/nmbd [start]/[restart] buttons have dissapeared. >> Why is that ? >> > >SWAT reports status fine for my system. The start/restart buttons will >only show if you log in with root access. >here's the status page (attached) and as you can see one user is logged in while smbd/nmbd are !working. Claudiu -------------- next part -------------- 3j?Zr??? ???y??v?????
>> here's the status page (attached) and as you can see one user is loggedin>> while smbd/nmbd are !working. >> > >Is samba actually running? When you do a ps do you see the smbd >process listed by swat? Try stopping smbd and nmbd and then removing >the files *.pid and STATUS..LCK from the samba/var/locks directory >then start swat and see what it reports. >I did stop smbd/nmbd then removed *.pid and STATUS..LCK. Then I restarted it. "ps ax" reports "smb -D" and "nmb -D" (see attachment) yet SWAT declares them "not running" it is not such a big deal since samba works, but i would like to have this fine tool reporting properly. Claudiu -------------- next part -------------- 3j?Zr??? ???y??v????? -------------- next part -------------- A non-text attachment was scrubbed... Name: smb Type: application/octet-stream Size: 174 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/19990129/ce222c6f/smb.obj
>Here's a possibility. We noticed this here at work, and our problem was >that localhost (127.0.0.1) was not in the list of interfaces (since we >have more than one.. For example: ) >interfaces = 192.168.1.1/16 127.0.0.1 > >This seemed to allow swat to "see" if smbd and nmbd are running. If you >look in the source under source/web/diagnose.c at the functions >smbd_running and nmbd_running, you will see that the functions try to >connect to the localhost address to query the server daemons. > >Hope this helps! >Bruce >ok, that's it ! thanks Bruce.