1834018 Members
2593 Online
110063 Solutions
New Discussion

CIFS samba startup error

 
SOLVED
Go to solution
MikeL_4
Super Advisor

CIFS samba startup error


When starting up Samba I am receiving:

Starting HP CIFS Server
Output from "/sbin/rc2.d/S900samba start":
----------------------------
Unable to start smbd & nmbd!
"/sbin/rc2.d/S900samba start" FAILED

We are running version: A.02.03
4 REPLIES 4
MikeL_4
Super Advisor

Re: CIFS samba startup error

Noticed this in the log file:

[2007/03/21 16:13:26, 1] auth/auth_util.c:make_server_info_sam(875)
User pcguest in passdb, but getpwnam() fails!
[2007/03/21 16:13:26, 0] smbd/server.c:main(860)
ERROR: failed to setup guest info.
David Nixon
Valued Contributor
Solution

Re: CIFS samba startup error

You need to check the line in your Samba configuration file begining

guest account =

for syntax errors and or invalid user IDs being listed as guests.
Steven E. Protter
Exalted Contributor

Re: CIFS samba startup error

Shalom,

There would appear to be a smb.conf problem.

CIFS/Samba provides a syntax checker called testparm

Nice and generic and hard for me to remember.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
MikeL_4
Super Advisor

Re: CIFS samba startup error

Thanks for your replies...

I did find the issue, we had moved about a year ago from an Open source version of Samba to using CIFS Server. We finally got around to doing an swremove of the old Samba installation and it removed the pcguest login from the passwd file, after re-adding the id samba started back up correctly.