LinuxQuestions.org
Visit Jeremy's Blog.
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 07-11-2004, 04:26 PM   #16
Celettu
Member
 
Registered: Jan 2004
Distribution: VectorLinux 5.0 SOHO
Posts: 90

Rep: Reputation: 15

*smacks head*

I solved this with....hold on to your horses....

mkdir /var/run/samba

Incroyable mais vrai. Things work now.

San
 
Old 07-11-2004, 05:32 PM   #17
skippuff54
Member
 
Registered: Apr 2004
Location: SC
Distribution: SuSE 9.1 Personal
Posts: 39

Original Poster
Rep: Reputation: 15
wow.

mkdir /var/run/samba did the trick. now, all machines can see each other. my firewall is still disabled however so i need to make sure everything works properly with the firewall up.

thanks for the tip, celettu!
 
Old 07-11-2004, 08:18 PM   #18
skippuff54
Member
 
Registered: Apr 2004
Location: SC
Distribution: SuSE 9.1 Personal
Posts: 39

Original Poster
Rep: Reputation: 15
now that i can see the xp box on the suse, i can't access it:

Unknown error condition in stat: Connection refused.

stumped again.
 
Old 07-11-2004, 08:53 PM   #19
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
What does the Event Log on the XP box say? (Control Panel=>Administrative Tools=>Event log is there somewhere). What do the logs in /var/log/samba and /var/log/samba3 say?
 
Old 07-12-2004, 03:05 PM   #20
skippuff54
Member
 
Registered: Apr 2004
Location: SC
Distribution: SuSE 9.1 Personal
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
What do the logs in /var/log/samba and /var/log/samba3 say?
apparently those logs don't exist
 
Old 07-12-2004, 05:38 PM   #21
skippuff54
Member
 
Registered: Apr 2004
Location: SC
Distribution: SuSE 9.1 Personal
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
What does the Event Log on the XP box say?
and where in this event log should i be looking? under all three categories (application, security, system) i don't see any events committed by a computer other than the xp itself; under security, it says that there are no items to view.
 
Old 07-12-2004, 07:25 PM   #22
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Well, I'm not the network guru who runs the Win2K box on our network, but I asked him, and the most likely place this would be recorded would be the security log... but the security log is not enabled by default (the Admin has to turn it on specifically). But it is supposed to record stuff like failed logins and such (which this would count as, I suppose--we'll test it in a minute).

You turn it on in Administrative Tools=>Local Security Settings=>Select a policy and check the "Failure" box to log... failed logins.

Hang on.... Yes, that works. I just tried to access the workgroup using an incorrect password, and two log entries appeared in the Security Log saying that... someone tried to log in to a specific account with the wrong password or username, and that there had been an authentication failure.

So you might want to try that, and see if it helps you track down what's going on on the Windows end, if Samba seems to be working correctly. I don't know why you wouldn't have any logs for Samba; that seems odd, but offhand I don't know what to do about it.
 
Old 07-12-2004, 08:04 PM   #23
skippuff54
Member
 
Registered: Apr 2004
Location: SC
Distribution: SuSE 9.1 Personal
Posts: 39

Original Poster
Rep: Reputation: 15
motub,

thanks so much for all your help.

i tried what you said on the xp end, but quite frustratingly, i've found that smb and nmb are not running again. testparm returns no errors. i'm now completely confused about what's going on with this system.

-smb and nmb are enabled to start during boot
-on boot, smb and nmb apparently start without a problem
-yast tells me that neither daemon is running
-starting manually doesn't work
-the network, which formerly worked, then didn't, then showed up but returned an unknown error, is back to not working
-testparm returns no errors
-i can connect to the internet without a problem

Last edited by skippuff54; 07-12-2004 at 08:08 PM.
 
Old 07-12-2004, 09:07 PM   #24
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
You have 2 network cards in your PC (one connected to the modem, and one connected to the network) or only one (and you get Internet via routing from the XP box)?

'Cause I'm thinking that either 1) there's a problem with your NIC (the network NIC)-- but that won't be the case if you get Internet from the XP box;

2) there's a firewall on the network somewhere (can't begin to guess which box, but I'd vote for the XP box, especially if you did a Windows Update or installed a Service Pack) that is stopping/blocking the internal network connections.

Stabbing wildly in the dark, this sounds like everything starts out working, and then is stopped... by the network going down? Which might cause both the Samba daemons to stop (sounds odd, but on the other hand, there's no use in them running if there's no network, and they do re-read their settings every minute or so)?

Does SuSE install a firewall by default? Have you configured it, if so? Have you checked your physical network connections (are all the cables securely placed, etc)? Can you try another NIC (maybe the one you have is going wonky)? Have you checked the SuSE site to see if there's anything that might be a little bit broken with regards to network connections or their implementation of the Samba server daemons?

This is pretty bizarre.
 
Old 07-13-2004, 02:13 AM   #25
Celettu
Member
 
Registered: Jan 2004
Distribution: VectorLinux 5.0 SOHO
Posts: 90

Rep: Reputation: 15
The SuSe 9.1 firewall blocks samba by default, so I had to turn it off. I'll have to configure it, but I haven't figured out yet and I'm behind a router anyway so it's not that urgent. But with the firewall switched on, the network isn't found.
 
Old 07-13-2004, 10:26 AM   #26
skippuff54
Member
 
Registered: Apr 2004
Location: SC
Distribution: SuSE 9.1 Personal
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
You have 2 network cards in your PC (one connected to the modem, and one connected to the network) or only one (and you get Internet via routing from the XP box)?
just one network card in the pc. i have cable internet that goes from the cable modem into an 8 port hub and then out to the three computers on my home network (2 xp's and the suse)

Quote:
2) there's a firewall on the network somewhere (can't begin to guess which box, but I'd vote for the XP box, especially if you did a Windows Update or installed a Service Pack) that is stopping/blocking the internal network connections.
i'll double-check when i get home (at work now).

Quote:
Stabbing wildly in the dark, this sounds like everything starts out working, and then is stopped... by the network going down? Which might cause both the Samba daemons to stop (sounds odd, but on the other hand, there's no use in them running if there's no network, and they do re-read their settings every minute or so)?
this is what really puzzles me. the samba daemons both supposedly start during boot without a hitch, but then i view them in yast and they're not running for some reason. i haven't made a single change since before they were running.

Quote:
Does SuSE install a firewall by default? Have you configured it, if so?
it does, and it was giving me issues before so i just turned it off. my network wasn't up long enough for me to test my connections with the firewall enabled.

Quote:
Have you checked your physical network connections (are all the cables securely placed, etc)?
everything is good to go.

Quote:
Can you try another NIC (maybe the one you have is going wonky)?
i have one here that i've been looking at the whole time; i'm going to give it a shot soon, maybe tonight. i just want to have explored every config option and possible problem.

Quote:
Have you checked the SuSE site to see if there's anything that might be a little bit broken with regards to network connections or their implementation of the Samba server daemons?
not thorougly so i suppose i will look around a little more.

Quote:
This is pretty bizarre. [/B]
indeed.
 
  


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
How to get a listing of running daemons / processes greengrocer Linux - Newbie 6 08-28-2005 03:36 PM
Two daemons running on the same port Quantum0726 Linux - Networking 4 08-15-2005 10:39 PM
command to see daemons running? kpachopoulos Linux - Newbie 3 09-13-2004 06:17 AM
Two Printer Daemons Running angelaramesys Linux - Software 0 07-15-2004 07:44 AM
Daemons running on unknown ports robadawb Linux - Networking 2 11-12-2003 02:11 PM

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

All times are GMT -5. The time now is 05:21 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