LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 05-19-2004, 02:44 AM   #31
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Original Poster
Rep: Reputation: 30

[2004/05/18 04:52:02, 0] smbd/server.c:main(791)
smbd version 2.2.8a started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2004/05/18 04:52:02, 0] smbd/server.c:main(835)
standard input is not a socket, assuming -D option
[2004/05/18 04:52:02, 0] lib/util_sock.cpen_socket_in(804)
bind failed on port 139 socket_addr = 0.0.0.0.
Error = Address already in use

this is from the log.smbd

my server is connected to my router just like all my other computers

if that makes any difference..

also when i click on (in my networkplaces) slackserver i can log in as user and pass user and it shows up with 2 directorys my user dir and netlogin that i don't have access too

i also have print and fax services that show up as well odn't know why but i do

i can ssh with user/user to my server as well


when i do the command testparm everything shows up fine



this is the full detail i get with windows

Note: This information is intended for a network administrator. If you are not your network's administrator, notify the administrator that you received this information, which has been recorded in the file C:\WINDOWS\debug\dcdiag.txt.

The domain name Domaintest might be a NetBIOS domain name. If this is the case, verify that the domain name is properly registered with WINS.

If you are certain that the name is not a NetBIOS domain name, then the following information can help you troubleshoot your DNS configuration.

The following error occurred when DNS was queried for the service location (SRV) resource record used to locate a domain controller for domain Domaintest:

The error was: "DNS name does not exist."
(error code 0x0000232B RCODE_NAME_ERROR)

The query was for the SRV record for _ldap._tcp.dc._msdcs.Domaintest

Common causes of this error include the following:

- The DNS SRV record is not registered in DNS.

- One or more of the following zones do not include delegation to its child zone:

Domaintest
. (the root zone)

For information about correcting this problem, click Help.



time for sleep..... brain exhusted....

i was getting some weird nmbd errors too

so i took out rc.samba from rc.d and uncommented smbd and nmbd in inetd.conf file and reboot

that took care of the nmbd error


still getting that same log.smbd error tho


Last edited by citrus; 05-19-2004 at 04:20 AM.
 
Old 05-19-2004, 08:12 PM   #32
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Well, as we can see, smbd is failing to start properly.

From the looks of it, some other service is using port 139. Do you have any idea what it could be?

Stop Samba and do:

netstat -a

Check the output of that and see if anything is listening on port 139. Figure out what it is, and either disable it, or make it listen on another port.

Port 139 is the NetBIOS service. Without this, the Windows machines are not going to be able to find the domain controller.

While you can ping it, I think you will find that if you try to ping the Slackware machine by it's hostname from the Windows machine, you will not be able to do so.

This is because while the Slackware machine has a correct IP, Samba is unable to bind this to a NetBIOS name that Windows can identify with.

As a quick fix, you could put the Slackware machine's IP in when you try to join the domain. Windows should be able to contact it then, but it would be better to fix the error than do a messy hack.

Plus, Samba failing to properly bind a NetBIOS address might cause some instability or loss of functionality in smbd.
 
Old 05-19-2004, 10:45 PM   #33
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Original Poster
Rep: Reputation: 30
well i am using nmbd as well...

and i can ping the slackware machine

ping slackserver works just fine

but i can't do that until i run nmbd
it does run at start

Last edited by citrus; 05-19-2004 at 10:48 PM.
 
Old 05-19-2004, 11:30 PM   #34
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Both smbd and nmbd are supposed to start at boot. You need both.

How are you starting them? And did you find anything listening on port 139?
 
Old 05-20-2004, 12:00 AM   #35
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Original Poster
Rep: Reputation: 30
umm there started in the inted.conf

and i didn't see anything listening on port 139
as far as netstat -a goes...

Last edited by citrus; 05-20-2004 at 12:26 AM.
 
Old 05-20-2004, 11:17 AM   #36
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
You should use the rc.samba script to start them instead.

Comment them out of inetd.conf and make rc.samba executable, then see if you still get that error when it starts.
 
Old 05-20-2004, 08:34 PM   #37
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Original Poster
Rep: Reputation: 30
ok
no more smb error now that i started it in the rc.samba

but nmbd starts in there too
and i am getting this error with log.nmbd


[2004/05/20 00:11:01, 0] nmbd/nmbd.c:main(795)
Netbios nameserver version 2.2.8a started.
Copyright Andrew Tridgell and the Samba Team 1994-2002
[2004/05/20 00:11:01, 0] nmbd/nmbd_subnetdb.c:create_subnets(239)
create_subnets: No local interfaces !
[2004/05/20 00:11:01, 0] nmbd/nmbd.c:main(873)
ERROR: Failed when creating subnet lists. Exiting.


and i cant connect with the netbios name from windows
i don't know if this has something to do with what you asked me to do... since i see the computer main listed there ....
MAIN is the computer that i was trying to get workin in the domain..

Last edited by citrus; 05-20-2004 at 08:40 PM.
 
Old 05-21-2004, 02:24 AM   #38
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Original Poster
Rep: Reputation: 30
well i am going to be formating the drive and installed slackware current in about an hour

hopefully this can work stuff out

i will let you know any problems/errors i encounter after the installation


update:


well i got everthing installed

now running version 3.0.4 of samba


changed the workgroup to MSHOME
in my smb.conf

tried to connect my xp box to the domain MSHOME

no go so far


i get no errors in my log.smbd or log.nmbd now and everythign works fine for my server expect making a PDC

please please help me

i would like to get this solved soon


Last edited by citrus; 05-21-2004 at 03:25 AM.
 
Old 05-22-2004, 03:46 AM   #39
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Original Poster
Rep: Reputation: 30
well i finally figured it out for my self

thanks

basically you forgot to put domain logons = yes
in your smb.conf file that you posted

so i finally figured that out


Last edited by citrus; 05-22-2004 at 03:47 AM.
 
  


Reply



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
Why not use Astaro as a normal day to day desktop?? chutsu Linux - General 1 10-08-2005 11:42 PM
Back up tape drive urgent spilotro47 Linux - Hardware 17 06-06-2005 07:56 AM
need a tool to back up hard drive citrus General 10 05-04-2004 06:27 PM
Back Up Hard Drive? RTB Linux - General 3 04-13-2002 12:14 PM
Want my drive back...who's going to give it to me?? rdiggidy Linux - Software 1 04-07-2002 06:19 PM

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

All times are GMT -5. The time now is 09:55 PM.

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