[Samba] Samba on RHEL issue

Shuaib Ilyas (shilyas) shilyas at cisco.com
Mon Jul 13 16:00:49 MDT 2009


Hi Jonathon,
Thanks for looking into it.

The log messages are as follows:

[root at usps-dc1-pc12 samba]# 
[root at usps-dc1-pc12 samba]# 
[root at usps-dc1-pc12 samba]# tail smbd.log
  bind failed on port 445 socket_addr = 0.0.0.0.
  Error = Address already in use
[2009/07/13 14:38:00, 0] smbd/server.c:main(944)
  smbd version 3.0.33-3.7.el5_3.1 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2008
[2009/07/13 14:38:00, 1] param/loadparm.c:service_ok(3038)
  NOTE: Service printers is flagged unavailable.
[2009/07/13 14:38:00, 0] lib/util_sock.c:open_socket_in(822)
  bind failed on port 445 socket_addr = 0.0.0.0.
  Error = Address already in use
[root at usps-dc1-pc12 samba]#


The output of testparm to check the config smb.conf is a s follows:

root at usps-dc1-pc12 samba]# testparm /etc/samba/smb.conf
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
NOTE: Service printers is flagged unavailable.
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
 
[global]
        workgroup = WRKGRP
        netbios name = SMBSERVER
        security = SHARE
        default service = global
        path = /home
        cups options = raw
        available = No

[homes]
        comment = Home Directories
        path = /home/share
        valid users = smbuser
        admin users = smbuser
        force user = root
        read only = No
        guest ok = Yes
        browseable = No
        available = Yes

[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No
[root at usps-dc1-pc12 samba]# 
[root at usps-dc1-pc12 samba]#

Any ideas?



-----Original Message-----
From: samba-bounces+shilyas=cisco.com at lists.samba.org
[mailto:samba-bounces+shilyas=cisco.com at lists.samba.org] On Behalf Of
Jonathon Doran
Sent: Monday, July 13, 2009 1:23 PM
To: samba at lists.samba.org
Subject: Re: [Samba] Samba on RHEL issue

Quoting "Shuaib Ilyas (shilyas)" <shilyas at cisco.com>:


> I am trying to install samba on the RHEL. The installation completes
but
> after that I get the smbd dead message upon checking the status:

What does the samba logfile say about this?  On Fedora (which should
have
the same layout as RHEL), the samba logfile is in
/var/log/samba/log.smbd

Have you ran testparm to check smb.conf?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


More information about the samba mailing list