Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

samba 3.0.10 its not working

Status
Not open for further replies.

Mauric

Technical User
Feb 18, 2003
72
CH
samba 3.0.10 problem on solaris 9 i386

i dont know why me samba not working

i have checked any petitions,
the machine has two lan card !
i send any config settings of samba.

for any helps iam where happy

here the log.nmbd

Netbios nameserver version 3.0.10 started.
[2004/12/30 11:52:25, 0] lib/pidfile.c:pidfile_create(91)
ERROR: nmbd is already running. File /usr/local/samba/var/locks/nmbd.pid exist
s and process id 1880 is running.


log.smbd (here its strange socket_addr = 0.0.0.0 )

[2004/12/30 11:52:26, 0] smbd/server.c:main(760)
smbd version 3.0.10 started.
Copyright Andrew Tridgell and the Samba Team 1992-2004
[2004/12/30 11:52:26, 0] lib/util_sock.c:eek:pen_socket_in(708)
bind failed on port 139 socket_addr = 0.0.0.0.
Error = Address already in use

i have certified of port 139
netstat -a |grep 139
without hits


here it's me smb.conf

# cat smb.conf
# Global parameters
workgroup = SHAREIT
security = Share
hosts allow = localhost, 10.x.x.x
hosts deny = All
interfaces = 10.x.x.x/24
[root]
path = /
comment = Solaris root
guest ok = Yes
read only = Yes
[share]
path = /var/share
comment = Solaris share
guest ok = Yes
read only = No


cat /etc/inetd.conf
# Samba Starting point
netbios-ssn stream tcp nowait root /usr/local/samba/sbin/smbd smbd
netbios-ns dgram udp wait root /usr/local/samba/sbin/nmbd nmbd
swat stream tcp nowait.400 root /usr/local/samba/sbin/swat swat


cat /etc/services
netbios-ns 137/tcp # NETBIOS Name Service
netbios-ns 137/udp # NETBIOS Name Service
netbios-dgm 138/tcp # NETBIOS Datagram Service
netbios-dgm 138/udp # NETBIOS Datagram Service
netbios-ssn 139/tcp # NETBIOS Session Service
netbios-ssn 139/udp # NETBIOS Session Service

swat 901/tcp # Samba Swat


please for any helps i am where happy
best regards
Maurizio







 
Maurizio, I don't know Samba, but the message:

ERROR: nmbd is already running. File /usr/local/samba/var/locks/nmbd.pid exists and process id 1880 is running.

seems to indicate that you're trying to start an already running process. Have you tried killing process 1880 and renaming the /usr/local/samba/var/locks/nmbd.pid file to something like mnbd.pid.old? Then try to restart the service. Let us know how you get on.
 
Hello KenCunningham,

after delete this file i restart'd the smbd und nmbd service new

and the log.nmbd was better
[2004/12/30 14:00:16, 0] nmbd/nmbd.c:main(668)
Netbios nameserver version 3.0.10 started.
Copyright Andrew Tridgell and the Samba Team 1994-2004

but the log.smbd was persist
# cat log.smbd
[2004/12/30 14:00:18, 0] smbd/server.c:main(760)
smbd version 3.0.10 started.
Copyright Andrew Tridgell and the Samba Team 1992-2004
[2004/12/30 14:00:18, 0] lib/util_sock.c:eek:pen_socket_in(708)
bind failed on port 139 socket_addr = 0.0.0.0.
Error = Address already in use

i don't know but the nmbd service i see it if i do
ps -e |grep nmbd
1968 ? 0:00 nmbd

but the smbd it's not staring :-(
please help

best regards
Maurizio



 
It does not like the
interface section of your smb.conf
(hence the 0.0.0.0 in the log)

Try removing it


"If you always do what you've always done, you will always be where you've always been."
 
i have found the problem :)

i have insert this string to smb.conf
and now it's work perfect

interfaces = iprb0


thanks in advance
Maurizio
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top