From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc3 Firefox/1.0.7 Description of problem: I cannot start samba properly using the service command (FC4 x86_64). Version-Release number of selected component (if applicable): initscripts-8.11.1-1.x86_64 How reproducible: Always Steps to Reproduce: 1. service smb start 2. 3. Actual Results: Starting SMB services: /etc/init.d/functions: line 83: 31114 Aborted $nice $* [FAILED] Starting NMB services: [ OK ] Expected Results: samba should start normally Additional info: After using "service smb start" and starting smbd by hand samba performs normal. Stopping samba with "service smb stop" works without problems. Re-installing initscripts did not solve the problem. System if fully updated.
Some further debugging shows that the line in /etc/rc.d/functions which should start smbd (with $nice $*) always returns 134 ($? = 134) for smbd while starting nmbd returns 0 as it should. Very odd problem. Is smbd missing some variables when started via the startup scripts?
This bug also occurs in a i386 system: [root@alidrus cron]# service smb start Starting SMB services: /etc/init.d/functions: line 83: 26516 Aborted $nice $* [FAILED] Starting NMB services: [ OK ]
I have found a peculiar workaround which seems to work for me: [root@alidrus cron]# bash --debugger /etc/init.d/smb start Starting SMB services: [ OK ] Starting NMB services: [ OK ] [root@alidrus cron]# ps xa|grep "\(smb\|nmbd\)"|grep -v grep 26806 ? Ss 0:00 smbd -D 26807 ? S 0:00 smbd -D 26809 ? Ss 0:00 nmbd -D I have no idea what this means, but I hope that people who have the same problem will find this useful.
I can confirm that using 'bash --debugger /etc/init.d/smb start' samba starts normally!
Another bug report against samba suggested " sh /etc/init.d/smb start " and this seems to work as well.
This report targets the FC3 or FC4 products, which have now been EOL'd. Could you please check that it still applies to a current Fedora release, and either update the target product or close it ? Thanks.
Sorry about that, I thought I already closed this one. No longer relevant.