- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Samba Server Error- Not able to start
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2007 05:26 PM
тАО01-04-2007 05:26 PM
Samba Server Error- Not able to start
We are facing a issue while starting samba service ,
while starting the service is saying not able to start samba and the nmbd server is not starting
/opt/samba/bin-> ps -ef |grep samba
root 7975 7928 1 23:07:09 ttyp0 0:00 grep samba
root 22273 1 0 06:38:32 ? 0:00 /opt/samba/bin/smbd -D
/opt/samba/bin-> ps -ef |grep nmbd
root 7977 7928 1 23:07:14 ttyp0 0:00 grep nmbd
/opt/samba/bin-> ./stopsmb
Samba successfully shut down.
/opt/samba/bin-> ps -ef |grep samba
root 10821 7928 0 23:16:57 ttyp0 0:00 grep samba
/opt/samba/bin-> ./startsmb
Unable to start Samba!
For more information, refer to files log.smbd and log.nmbd in /var/opt/samba
error: No such file or directory on file log.nmbd
acomd1:/opt/samba/bin-> tail -f /var/opt/samba/log.nmbd
Copyright Andrew Tridgell and the Samba Team 1994-2002
[2007/01/04 06:38:32, 0] lib/util_sock.c:(804)
bind failed on port 137 socket_addr = 0.0.0.0.
Error = Address already in use
[2007/01/04 23:07:42, 0] nmbd/nmbd.c:(795)
Netbios nameserver version 2.2.12 based HP CIFS Server A.01.11.04 started.
Copyright Andrew Tridgell and the Samba Team 1994-2002
[2007/01/04 23:07:42, 0] lib/util_sock.c:(804)
bind failed on port 137 socket_addr = 0.0.0.0.
Error = Address already in use
/opt/samba/bin-> tail -f /var/opt/samba/log.smbd
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2007/01/04 06:38:32, 0] smbd/server.c:(793)
smbd version 2.2.12 based HP CIFS Server A.01.11.04 started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2007/01/04 23:07:42, 0] smbd/server.c:(793)
smbd version 2.2.12 based HP CIFS Server A.01.11.04 started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2007/01/04 23:17:23, 0] smbd/server.c:(793)
smbd version 2.2.12 based HP CIFS Server A.01.11.04 started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
/opt/samba/bin->
Expecting your valuable suggestions on this pls
Regards
Kumar.S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2007 06:39 PM
тАО01-04-2007 06:39 PM
Re: Samba Server Error- Not able to start
"bind failed on port 137 socket_addr = 0.0.0.0.
Error = Address already in use"
Is there someting already bound to port 137?
What is the output of
# lsof -i:137
?
lsof is to download e.g. from:
http://hpux.asknet.de/hppd/hpux/Sysadmin/lsof-4.77/
rgds
HGH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2007 07:10 PM
тАО01-04-2007 07:10 PM
Re: Samba Server Error- Not able to start
thanks for your reply ,
the port 137 is not used by any service
Help me out what is causing the problem
/opt/samba/bin-> lsof -i:137
/opt/samba/bin-> netstat -an |grep 137
tcp 0 0 *.13783 *.* LISTEN
tcp 0 0 *.13782 *.* LISTEN
tcp 0 0 *.13724 *.* LISTEN
tcp 0 0 *.13722 *.* LISTEN
udp 0 0 *.137 *.*
/opt/samba/bin-> netstat -an |grep 139
tcp 0 0 130.29.154.44.139 *.* LISTEN
tcp 0 0 130.29.154.210.139 *.* LISTEN
tcp 0 0 130.29.157.70.139 *.* LISTEN
tcp 0 0 *.139 *.* LISTEN
/opt/samba/bin-> cat /etc/services |grep netbi
netbios_ns 137/tcp # NetBIOS Name Service
netbios_ns 137/udp #
netbios_dgm 138/tcp # NetBIOS Datagram Service
netbios_dgm 138/udp #
netbios_ssn 139/tcp # NetBIOS Session Service
netbios_ssn 139/udp #
/opt/samba/bin-> cat /etc/inetd.conf |grep netbi
#netbios_ssn stream tcp nowait root /opt/samba/bin/smbd smbd
#netbios_ns dgram udp wait root /opt/samba/bin/nmbd nmbd
/opt/samba/bin->
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2007 07:36 PM
тАО01-04-2007 07:36 PM
Re: Samba Server Error- Not able to start
in your "netstat -an" output is the line:
udp 0 0 *.137 *.*
tcp 0 0 *.139 *.* LISTEN
That tells me there are some processes bound to that ports. What additional software is installed on your system?
Can you do again a
# lsof -i:137,138,139,445
Whats the version of lsof you use?
rgds
HGH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2007 07:48 PM
тАО01-04-2007 07:48 PM
Re: Samba Server Error- Not able to start
udp 0 0 *.137 *.*
I'm pretty sure that means the daemon is registered.. since it's udp, I would suspect it is indeed an nmbd daemon.
Were these lines in your inetd.conf already commented out, or did you do that recently ? In case of the latter, did you reload inetd ?
While you can see the above line from netstat, is there -no- nmbd process ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2007 03:55 PM
тАО01-05-2007 03:55 PM
Re: Samba Server Error- Not able to start
# lsof -i:137,138,139,445
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
NBdaemon 2323 root 2u inet 72,0x72 0t0 TCP Server1:netbios_ssn(LISTEN)
NBdaemon 2323 root 4u inet 72,0x72 0t0 TCP Server2:netbios_ssn (LISTEN)
NBdaemon 2323 root 8u inet 72,0x72 0t0 TCP server3:netbios_ssn (LISTEN)
smbd 12153 root 30u inet 0x6dd40268 0t0 TCP *:netbios_ssn (LISTEN)
version of the LSOF is
Lsof revision 4.66
Wouter,
These Lines in the inetd were already commented out , I tried uncommenting them ,
I also did a inetd -c & Kill -HUP
Help me out to fix samba & nmbd service
Regards
Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2007 12:52 AM
тАО01-06-2007 12:52 AM
Re: Samba Server Error- Not able to start
can you do a
# swlist -l files |grep NBdaemon
and look to what Software this NBdaemon belongs?
You may have already installed a software providing CIFS services.
A googlesearch for "NBdaemon" pointed to "samba for mpe/ix" ?
rgds
HGH