Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

samba won't start (Error: stopping services)

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
TheEternalVortex
Apprentice
Apprentice
User avatar
Posts: 207
Joined: Tue Oct 15, 2002 6:38 am
Location: San Jose, CA
Contact:
Contact TheEternalVortex
Website

samba won't start (Error: stopping services)

  • Quote

Post by TheEternalVortex » Sat Mar 12, 2005 10:39 pm

I was using the Gentoo Samba guide, but when I try to start samba I get this error:

# /etc/init.d/samba start
* samba -> start: smbd... [ !! ]
* samba -> start: nmbd... [ ok ] * Error: stopping services (see system logs)
* samba -> stop: smbd... [ !! ]
* samba -> stop: nmbd... [ !! ]

I am using the configuration provided in the guide almost exactly (I just changed the workgroup name). What could be the problem?
-- Andy
Top
TheEternalVortex
Apprentice
Apprentice
User avatar
Posts: 207
Joined: Tue Oct 15, 2002 6:38 am
Location: San Jose, CA
Contact:
Contact TheEternalVortex
Website

  • Quote

Post by TheEternalVortex » Sat Mar 12, 2005 10:49 pm

If I try running smbd and nmbd they start fine without errors, so I'm not sure why the rc scripts are complaining.
-- Andy
Top
groovin
Guru
Guru
User avatar
Posts: 429
Joined: Sat Feb 07, 2004 8:16 pm
Location: California, USA

  • Quote

Post by groovin » Sun Mar 13, 2005 9:33 am

Error: stopping services (see system logs)
and what do the system logs say?
Top
Veldrin
Veteran
Veteran
User avatar
Posts: 1945
Joined: Tue Jul 27, 2004 5:47 pm
Location: Zurich, Switzerland

  • Quote

Post by Veldrin » Sat Mar 26, 2005 4:21 pm

Same problem here...

my smbd log show this

Code: Select all

Kor ~ # tail /var/log/samba/log.smbd
[2005/03/26 16:48:19, 1] auth/auth_util.c:make_server_info_sam(840)
  User samba, guest in passdb, but getpwnam() fails!
[2005/03/26 16:51:30, 0] smbd/server.c:main(760)
  smbd version 3.0.10 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2004
[2005/03/26 17:00:09, 0] smbd/server.c:main(798)
  smbd version 3.0.13 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2004
[2005/03/26 17:00:09, 1] auth/auth_util.c:make_server_info_sam(840)
  User samba, guest in passdb, but getpwnam() fails!
Samba-3.0.10 works fine; newer versions (especially 3.0.12 and 3.0.13) wont!
Top
smeep2k4
n00b
n00b
Posts: 5
Joined: Sun Mar 20, 2005 6:15 am

Fixed it

  • Quote

Post by smeep2k4 » Sat Mar 26, 2005 7:31 pm

All you need to do is "adduser samba", and the servers start up fine. I should probably post a bug as well, as the user should have been added by portage (at least, that's what is seemed to do for clamav).
Top
mutrox
n00b
n00b
User avatar
Posts: 9
Joined: Wed Jun 09, 2004 10:26 am

Good blees this kickin ass forum

  • Quote

Post by mutrox » Sat Aug 06, 2005 9:31 pm

I was foolish :evil: :evil: trying to guess what the hell was wrong with samba configuration until I saw that post , and then automagicaly all works the server starts and I was able to load the window drivers for cups.
Thanks a lot smeep2k4 you save my day:D :D
You can't imagin how sexy I become when I got shaved .-Chewaka
Top
parsim
Guru
Guru
User avatar
Posts: 347
Joined: Thu Aug 12, 2004 3:52 am
Location: Melbourne, Australia
Contact:
Contact parsim
Website

  • Quote

Post by parsim » Mon Aug 08, 2005 5:52 am

Same problem here! I believe it started after upgrading from to net-fs/samba-3.0.10 to net-fs/samba-3.0.14a-r2.

Code: Select all

# /etc/init.d/samba start
 * samba -> start: smbd ...                                               [ !! ]
 * samba -> start: nmbd ...                                               [ ok ]
 * Error: stopping services (see system logs)
 * samba -> stop: smbd ...                                                [ !! ]
 * samba -> stop: nmbd ...                                                [ !! ]
Nothing helpful in the system log (/var/log/messages):

Code: Select all

Aug  8 15:51:08 eve rc-scripts: Error: stopping services (see system logs)
Aug  8 15:51:08 eve nmbd[30175]: [2005/08/08 15:51:08, 0] nmbd/nmbd.c:terminate(56)
Aug  8 15:51:08 eve nmbd[30175]:   Got SIGTERM: going down...
Nor in the Samba log (/var/log/samba/log.smdb):

Code: Select all

[2005/08/08 15:51:08, 0] smbd/server.c:main(798)
  smbd version 3.0.14a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2004
As per the post above, I tried

Code: Select all

adduser samba
but it made no difference.
Top
St_Andrew
n00b
n00b
Posts: 37
Joined: Sat Feb 07, 2004 5:58 pm

  • Quote

Post by St_Andrew » Mon Aug 08, 2005 11:41 pm

parsim, try uncomment the line "guest account = pcguest" or add that account might work too. Worked for me and i had the same problem as you.
Top
parsim
Guru
Guru
User avatar
Posts: 347
Joined: Thu Aug 12, 2004 3:52 am
Location: Melbourne, Australia
Contact:
Contact parsim
Website

  • Quote

Post by parsim » Mon Aug 08, 2005 11:58 pm

Ahh, thanks for the tip. That line was already uncommented in my /etc/samba/smb.conf, but I tried commenting it out, and ta-da! It works.

I imagine it's the same reason as you implied: there was no 'pcguest' user on my system. But there is a 'nobody', the default.
Top
Chewwit
Tux's lil' helper
Tux's lil' helper
Posts: 86
Joined: Sat Feb 28, 2004 9:47 pm

  • Quote

Post by Chewwit » Fri Aug 26, 2005 6:19 pm

I have a similar problem,

Been playing round with samba trying to get a share without windows users supplying a password on a new gentoo install. Part of this lead to me

Code: Select all

 useradd nobody
as i thought one of the reasons it wasn't working was that the guest account 'nobody' didn't exist on my machine.

I now realise this isn't possible to do unless you set your security level to share, which i can't do because of my networks security policy. So i duly

Code: Select all

smbpasswd -x nobody 
and

Code: Select all

userdel -r nobody
as i don't want excess users on my system

and now i have the self same problem, samba fails on boot with

Code: Select all

auth/auth_util.c:make_server_info_sam(840)
  User nobody, gest in passdb, but getpwnam() fails!
In the log.
Remerged to no avail.

There are NO users in the passdb.

when i

Code: Select all

useradd nobody
problem is resolved, but i really don't want any additional users if possible as they are a security risk. Iam loathe to then use nobody as my samba login because it's sambas guest login, and i'm worried it wil upset/confuse it in some way.

Any suggestions?
Top
Post Reply

10 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic