1826568 Members
3716 Online
109695 Solutions
New Discussion

SAMBA

 
SOLVED
Go to solution
Jeffrey F. Goldsmith
Super Advisor

SAMBA

I am trying to get SAMBA working again on my HPUX 11.i server. For some reason it stopped working after the server was rebooted a couple of weeks ago. Here is the error that I am getting.

[2004/08/04 13:37:08, 0] smbd/server.c:(793)
smbd version 2.2.8a based HP CIFS Server A.01.10 started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2004/08/04 13:37:08, 0] lib/util_sock.c:(804)
bind failed on port 139 socket_addr = 0.0.0.0.
Error = Address already in use


Thanks for any help.
4 REPLIES 4
Dave Olker
Neighborhood Moderator
Solution

Re: SAMBA

Is another process already using port 139? You can use netstat -an or lsof to see if this port is being used by another process.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Sundar_7
Honored Contributor

Re: SAMBA

Looks like you already have nmbd or some other process using the port 139.

As Dave has suggested, download lsof from HP-UX porting site and find out the process using the port 139.

Kill the process and restart samba again

# stopsmb

# startsmb

Learn What to do ,How to do and more importantly When to do ?
Jeffrey F. Goldsmith
Super Advisor

Re: SAMBA

Thanks for the help. I ended up rebooting my server and when it restarted samba was working properly again.
Dave Olker
Neighborhood Moderator

Re: SAMBA

Reboot is certainly another way to go. :)

You might want to consider getting a copy of lsof on the box in case this happens again.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo