Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
samba failed to start.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
dragonuv
n00b
n00b


Joined: 06 Jun 2010
Posts: 55

PostPosted: Sat Oct 16, 2010 6:34 pm    Post subject: samba failed to start. Reply with quote

Hi,

I have emerged samba, but when I try to start it using the command /etc.init.d/samba start

I get the following output:
Code:
samba           | * Caching service dependencies ...                      [ ok ]
samba           | * samba -> start: smbd ...
samba           | * start-stop-daemon: failed to start `/usr/sbin/smbd'   [ !! ]
samba           | * samba -> start: nmbd ...
samba           | * start-stop-daemon: failed to start `/usr/sbin/nmbd'   [ !! ]
samba           | * Error: starting services (see system logs)
samba           | * samba -> stop: smbd ...
samba           | * start-stop-daemon: no matching processes found        [ ok ]
samba           | * samba -> stop: nmbd ...
samba           | * start-stop-daemon: no matching processes found        [ ok ]
samba           | * ERROR: samba failed to start
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Mon Oct 18, 2010 10:06 am    Post subject: Reply with quote

what's in your /etc/samba/smb.conf file? anything in the error logs in /var/log/something?
Back to top
View user's profile Send private message
dragonuv
n00b
n00b


Joined: 06 Jun 2010
Posts: 55

PostPosted: Tue Oct 19, 2010 9:08 pm    Post subject: Reply with quote

what a stupid mistake, i didn't have a config file!
Back to top
View user's profile Send private message
Newbee 12
n00b
n00b


Joined: 31 Oct 2012
Posts: 38
Location: Northwest, USA

PostPosted: Thu Dec 05, 2013 5:19 am    Post subject: I have installed Samba 3.6.21 and now I cannot start samba Reply with quote

Code:
 * samba -> start: smbd ...
 * start-stop-daemon: failed to start `/usr/sbin/smbd'                                                                                             [ !! ]
 * samba -> start: nmbd ...
 * start-stop-daemon: failed to start `/usr/sbin/nmbd'                                                                                             [ !! ]
 * Error: starting services (see system logs)
 * samba -> stop: smbd ...
 * start-stop-daemon: no matching processes found                                                                                                  [ ok ]
 * samba -> stop: nmbd ...
 * start-stop-daemon: no matching processes found                                                                                                  [ ok ]
 * ERROR: samba failed to start

Quote:
I have a smb.conf file and still get this error the error I have in syslog for this is

Code:
Dec  4 11:12:09 tux /etc/init.d/samba[26050]: start-stop-daemon: failed to start `/usr/sbin/smbd'
Dec  4 11:12:09 tux klogd: smbd[26051]: segfault at 7fff3a6b5f88 ip 00007effc515380d sp 00007fff3a6b5f00 error 6 in libc-2.17.so[7effc5051000+1a3000]
Dec  4 11:12:09 tux /etc/init.d/samba[26054]: start-stop-daemon: failed to start `/usr/sbin/nmbd'
Dec  4 11:12:09 tux klogd: nmbd[26055]: segfault at 7fff23e39fe8 ip 00007fc02767a7be sp 00007fff23e39fe0 error 6 in libdmalloc.so.5.5.2[7fc027675000+f00$
Dec  4 11:12:09 tux /etc/init.d/samba[26057]: Error: starting services (see system logs)
Dec  4 11:12:09 tux /etc/init.d/samba[26059]: start-stop-daemon: no matching processes found
Dec  4 11:12:09 tux /etc/init.d/samba[26062]: start-stop-daemon: no matching processes found
Dec  4 11:12:09 tux /etc/init.d/samba[26036]: ERROR: samba failed to start

Code:
testparm smb.conf Segmentation fault

_________________
Newbee 12
Back to top
View user's profile Send private message
yavuzselim
n00b
n00b


Joined: 29 Feb 2012
Posts: 2
Location: Turkiye

PostPosted: Wed Dec 18, 2013 8:11 am    Post subject: Reply with quote

Code:
 mv  /etc/samba/smb.conf.default   /etc/samba/smb.conf
Back to top
View user's profile Send private message
Mgiese
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1609
Location: indiana

PostPosted: Wed Dec 09, 2020 12:13 am    Post subject: Reply with quote

yavuzselim wrote:
Code:
 mv  /etc/samba/smb.conf.default   /etc/samba/smb.conf
thanks, quite helpful
_________________
I do not have a Superman complex, for I am God not Superman :D

Ryzen9 7950x ; Geforce1650 ; kernel 6.5 ; XFCE
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum