[Samba] SWAT & Segmentation Fault issues

Robin Hunt RHunt at PacificCabinets.com
Wed Dec 4 17:00:29 MST 2013


Hello, I have recently updated the  Samba 3.6.14 to 3.6.21 on a Gentoo server
PACKAGE.USE = net-fs/samba acl aio caps client ldap netapi pam readline server smbclient winbind -addns -ads -avahi -cluster -cups debug -dmapi doc -examples fam -ldb quo
1st issue I cannot get SWAT to connect using my Windows 7 PC to my linux samba server using (http//:ip_address of samba server:901
I have port 901 open and listening from /etc/services
tcp        0      0 0.0.0.0:901             0.0.0.0:*               LISTEN
26010/xinetd

& I have /etc/xinetd.d/swat configured:
# default: off
# description: SWAT is the Samba Web Admin Tool. Use swat \
#              to configure your Samba server. To use SWAT, \
#              connect to port 901 with your favorite web browser.
# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/3.6/swat.xinetd,v 1.1 201$

service swat
{
        port            = 901
        socket_type     = stream
        wait            = no
#       only_from       = localhost
        only_from       = 192.168.1.0
        user            = root
        server          = /usr/sbin/swat
        log_on_failure += USERID
        disable         = no
2nd when I execute testparm on my smb.conf I get a Segmentation Fault error the only log file is syslog reporting
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+f000]
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
Any direction to correct or file a bug report would be wonderful my  Samba 3.6.14 version started and stopped fine before the update.

Robin Hunt
Systems Administrator/RHunt at PacificCabinets.com<mailto:RHunt at PacificCabinets.com>
Pacific Cabinets, Inc. |2010 Front Street |Ferdinand, ID 83526
208-962-5546 Phone |208-962-3038 Fax



More information about the samba mailing list