[Samba] Samba on RHEL issue

Shuaib Ilyas (shilyas) shilyas at cisco.com
Tue Jul 14 12:02:27 MDT 2009


Hi,

 

Here is the setting:

 

[root at usps-dc1-pc12 share]# getenforce

Disabled

[root at usps-dc1-pc12 share]# 

 

Is this correct?

 

Thanks,

 

Shuaib

 

 

 

 

From: Linux Addict [mailto:linuxaddict7 at gmail.com] 
Sent: Tuesday, July 14, 2009 6:29 AM
To: Shuaib Ilyas (shilyas)
Cc: Jonathon Doran; samba at lists.samba.org
Subject: Re: [Samba] Samba on RHEL issue

 

 

On Mon, Jul 13, 2009 at 6:00 PM, Shuaib Ilyas (shilyas)
<shilyas at cisco.com> wrote:

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 <http://cisco.com/>
@lists.samba.org <http://lists.samba.org/> 
[mailto:samba-bounces+shilyas <mailto:samba-bounces%2Bshilyas>
=cisco.com <http://cisco.com/> @lists.samba.org
<http://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
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


 

 

Check if the selinux is disabled..



More information about the samba mailing list