Hi, 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: [root@usps-dc1-pc12 share]# [root@usps-dc1-pc12 share]# service smb status smbd dead but pid file exists nmbd (pid 8078) is running... [root@usps-dc1-pc12 share]# The version of RHEL and samba are as follows: [root@usps-dc1-pc12 samba]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.3 (Tikanga) [root@usps-dc1-pc12 samba]# [root@usps-dc1-pc12 samba]# [root@usps-dc1-pc12 samba]# [root@usps-dc1-pc12 samba]# yum install samba Loaded plugins: rhnplugin, security Setting up Install Process Parsing package install arguments Package samba-3.0.33-3.7.el5_3.1.i386 already installed and latest version Nothing to do [root@usps-dc1-pc12 samba]# [root@usps-dc1-pc12 samba]# [root@usps-dc1-pc12 samba]# Any pointers to fix the issue will be helpful. Thank you. Shuaib
Quoting "Shuaib Ilyas (shilyas)" <shilyas@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?
Shuaib Ilyas (shilyas) wrote:> Hi, > > 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: > > [root@usps-dc1-pc12 share]# > > [root@usps-dc1-pc12 share]# service smb status > > smbd dead but pid file exists > > nmbd (pid 8078) is running... > > [root@usps-dc1-pc12 share]#Hi Shuaib, Seems to me I had the same problem on CentOS 5.2 a few months back. Try this: 1) stop the service: /etc/rc.d/init.d/smb stop 2) erase any stray PID's: rm /var/run/smbd.pid rm /var/run/nmbd.pid 3) restart the service: /etc/rc.d/init.d/smb start If that does not work, try rebooting. HTH, -T
Hi Jonathon,
Thanks for looking into it.
The log messages are as follows:
[root@usps-dc1-pc12 samba]#
[root@usps-dc1-pc12 samba]#
[root@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@usps-dc1-pc12 samba]#
The output of testparm to check the config smb.conf is a s follows:
root@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@usps-dc1-pc12 samba]#
[root@usps-dc1-pc12 samba]#
Any ideas?
-----Original Message-----
From: samba-bounces+shilyas=cisco.com@lists.samba.org
[mailto:samba-bounces+shilyas=cisco.com@lists.samba.org] On Behalf Of
Jonathon Doran
Sent: Monday, July 13, 2009 1:23 PM
To: samba@lists.samba.org
Subject: Re: [Samba] Samba on RHEL issue
Quoting "Shuaib Ilyas (shilyas)" <shilyas@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
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 at lists.samba.org > [mailto:samba-bounces+shilyas <samba-bounces%2Bshilyas>=cisco.com@ > 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..
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..
On 14/07/09 19:02, Shuaib Ilyas (shilyas) wrote:> Hi, > > > > Here is the setting: > > > > [root at usps-dc1-pc12 share]# getenforce > > Disabled > > [root at usps-dc1-pc12 share]# > > > > Is this correct? > > > > Thanks, > > > > Shuaib > >su setenforce 0 Regards, Frank
From: Shuaib Ilyas (shilyas) <shilyas at cisco.com>> [root at usps-dc1-pc12 samba]# tail smbd.log > bind failed on port 445 socket_addr = 0.0.0.0. > Error = Address already in useIf you stop all the samba daemons, is there something listening on port 445...? JD