LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-15-2003, 09:03 AM   #1
koy
Member
 
Registered: Apr 2003
Distribution: SuSe 10
Posts: 55

Rep: Reputation: 15
Samba problem (while starting)


This is a very simple and prolly simple to solve problem but as i'm pretty newbie at linux i dunno how to solve it :p

Here is what i get when i start smbd:

Code:
lib/util_sock.c:open_socket_in(804)
  bind failed on port 139 socket_addr = 0.0.0.0.
  Error = Address already in use
it does not say that in the console but it does in the log (the console starts it but it stops after about 0.5 secs). To solve the problem u prolly need to find out wich program is using the adress and disable ir or smth, i dunno how to do that do :S
 
Old 04-15-2003, 09:11 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
It sounds like something is already listening on the Samba port. You want to check that you don't already have samba running (hint - ps -ef | grep smbd), if its not already running (the ps command returned no 'smbd' processes) then it may be that inetd or xinetd is listening on the port. Take a look at /etc/inetd.conf or your xinetd conf (dunno where the conf files are for this I don't use it). The ouput from netstat -a may also be useful, look for mention of things listening on port 139.

HTH

Jamie...
 
Old 04-15-2003, 03:49 PM   #3
koy
Member
 
Registered: Apr 2003
Distribution: SuSe 10
Posts: 55

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jharris
It sounds like something is already listening on the Samba port. You want to check that you don't already have samba running (hint - ps -ef | grep smbd), if its not already running (the ps command returned no 'smbd' processes) then it may be that inetd or xinetd is listening on the port. Take a look at /etc/inetd.conf or your xinetd conf (dunno where the conf files are for this I don't use it). The ouput from netstat -a may also be useful, look for mention of things listening on port 139.

HTH

Jamie...

Tanx the ps command told me that vmware was running samba, i forgot about that. But as i don't need vmware anymore could u tell me how to uninstall it as i installed it via source and not rpm?
 
Old 04-16-2003, 02:55 AM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
I can't say I've played with VMWare but my normaly way of uninstalling source-installed programs is to use good old rm although I've seen some programs where you can download the same version of the source, do the same ./configure as before then do a make uninstall but I've never tried myself.

cheers

Jamie...
 
Old 04-16-2003, 03:21 AM   #5
koy
Member
 
Registered: Apr 2003
Distribution: SuSe 10
Posts: 55

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jharris
I can't say I've played with VMWare but my normaly way of uninstalling source-installed programs is to use good old rm although I've seen some programs where you can download the same version of the source, do the same ./configure as before then do a make uninstall but I've never tried myself.

cheers

Jamie...
Tanx m8! I thought that i had seen a script like taht in the source so i re-downed it and it worked perfectly.


BTW:How would the rm work? thought it was only for deleting single files :S
 
Old 04-16-2003, 03:23 AM   #6
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
rm is for deleteing things! You would delete all the files that VMWare had put on the system!

cheers

Jamie...
 
Old 04-16-2003, 05:19 AM   #7
koy
Member
 
Registered: Apr 2003
Distribution: SuSe 10
Posts: 55

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jharris
rm is for deleteing things! You would delete all the files that VMWare had put on the system!

cheers

Jamie...

thats what i thought, would have been complicated that way

Anyways it's all workin now, Tanx for ur help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with starting Samba service honghebox Linux - Newbie 6 01-03-2006 11:20 PM
Problem starting Samba Service on Mandrake 9 Box StewieG Linux - Networking 3 05-15-2005 12:38 AM
Starting Samba agallant AIX 7 10-31-2004 06:30 AM
Samba Starting problem pnh73 Linux - Networking 2 08-20-2003 12:06 PM
Starting Samba AMDPwred Linux - General 5 01-27-2002 11:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration