Frederic Soulier wrote on Thu, Oct 03, 2002 at 07:12:19PM +0100 : > OK fair enough but then there's a problem with "service smb stop" that > cannot handle this 2nd nmbd process correctly. > # service smb start > Starting SMB services: [OK] > Starting NMB services: [OK] > # service smb status > smbd (pid 4094) is running... > nmbd (pid 4105) is running... > 4104 (pid ) is running... > # service smb stop > Shutting down SMB services: [OK] > Shutting down NMB services: /etc/init.d/smb: line 253: kill: (4105) No > such process > # service smb status > smbd is stopped > nmbd (pid 4180) is running...
Unrepeatable by me: [root@fiji ~]# service smb start Starting SMB services: [ OK ] Starting NMB services: [ OK ] [root@fiji ~]# service smb status smbd (pid 4462) is running... nmbd (pid 4473) is running... 4472 (pid ) is running... [root@fiji ~]# service smb stop Shutting down SMB services: [ OK ] Shutting down NMB services: [ OK ] [root@fiji ~]# service smb status smbd is stopped nmbd is stopped I suspect that one process that is running is missing from the pid cache file for some strange reason. I suggest that you do 'killall -9 nmbd' and then repeat the above sequence of commands. If nothing else, do a pstree and see what is spawning that stray nmbd process. Notice how it's a pid that is different from the 3 that are listed in the status command. That is strange. Blue skies... Todd -- | MandrakeSoft USA | Sometimes you get what you want. | | http://www.mandrakesoft.com | Sometimes you get experience. | | http://www.mandrakelinux.com | --unknown origin | Cooker Version mandrake-release-9.0-0.3mdk Kernel 2.4.19-16mdk
msg77985/pgp00000.pgp
Description: PGP signature
