1828625 Members
1782 Online
109983 Solutions
New Discussion

Samba Problem

 
Rene_17
Regular Advisor

Samba Problem

Samba Version 2.2.8a
HPUX11i (Version 11.11)

Couldn´t start smbd daemon !
Teh nmbd daemon is running !

Errormessage:
[2003/09/22 09:50:16, 0] lib/util_sock.c:(804)
bind failed on port 139 socket_addr = 0.0.0.0.
Error = Address already in use

Can somebody help me !

Thanks Ren
11 REPLIES 11
T G Manikandan
Honored Contributor

Re: Samba Problem

some other service is using the port 139 which samba uses by default.

It might be hte netbios service running on that machine.

Just do a

#lsof -i tcp:139

to find out the serice that is stopping smbd to start.

Rene_17
Regular Advisor

Re: Samba Problem

the command that you send me don´t work
Robert-Jan Goossens
Honored Contributor

Re: Samba Problem

Hi Rene,

Download and install lsof from this site,

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.67/

Hope it helps,

Robert-Jan.

T G Manikandan
Honored Contributor

Re: Samba Problem

Do you have lsof installed?


you can try smbd using a different port using

#smbd -p

revert
Rene_17
Regular Advisor

Re: Samba Problem

Thanks on the other port it works !
But I have a new Problem:

Errormessage:
[2003/09/22 13:10:12, 0] smbd/service.c:(597)
pc17-c803 (138.232.81.32) Can't change directory to /tmp (Permission denied)

Anybody know what´s that
T G Manikandan
Honored Contributor

Re: Samba Problem

Make sure yout /tmp has

1777 permissions.

ie,rwxrwxrwxt

revert
Rene_17
Regular Advisor

Re: Samba Problem

it has 777 permission !
that´s not the problem
Rene_17
Regular Advisor

Re: Samba Problem

i take the port 140 for smbd !
T G Manikandan
Honored Contributor

Re: Samba Problem

Are you using a Linux machine for this samba server?

Revert
Rene_17
Regular Advisor

Re: Samba Problem

I change the startnumber of the startscript
The script starts now earlier at startup !
Now it works ! I don´t know what prozess uses the port 139 ?

Thanks for your attention
Suresh Patoria
Super Advisor

Re: Samba Problem

Hi,

samba service enable into /etc/rc.config.d/file

then start /sbin/init.d/


Thanx