LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-05-2004, 10:14 AM   #1
AmdMhz
Member
 
Registered: Jan 2004
Location: Indiana
Distribution: Debian, OpenSUSE
Posts: 142

Rep: Reputation: 15
Samba has quit working


Hi all

I had a network printer configured for my Red hat box that was working fine yesterday. Now for some reason it can no longer find the printer or the other networked windows puters. Any help to fix this problem would be appreciated.

Thanks and take care
 
Old 02-05-2004, 10:18 AM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
When you run /sbin/ifconfig what's the output? Can you ping anything? Is the light on at the hub/switch? Have you had some coffee yet? Did the cable get unpluged? Have you made any changes lately?
 
Old 02-05-2004, 10:23 AM   #3
AmdMhz
Member
 
Registered: Jan 2004
Location: Indiana
Distribution: Debian, OpenSUSE
Posts: 142

Original Poster
Rep: Reputation: 15
LoL.. Hmm.. Yep, had my coffee. Everything is plugged in. I can ping everything. The only changes I have made is working on setting up my FTP. Here is the output file:

[root@localhost /]# /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:10:B5:10:17:0D
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1162 errors:0 dropped:0 overruns:0 frame:0
TX packets:1001 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:324275 (316.6 Kb) TX bytes:146391 (142.9 Kb)
Interrupt:10 Base address:0x8000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:44495 errors:0 dropped:0 overruns:0 frame:0
TX packets:44495 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3807500 (3.6 Mb) TX bytes:3807500 (3.6 Mb)
 
Old 02-05-2004, 10:33 AM   #4
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
Hmm...
Well, I don't think this has anything to do with ftp.
Is samba running? Run the command: service smb status

Run the commands: testparm and smbclient -L //linux_computer to see if the samba stuff is still ok.
 
Old 02-05-2004, 10:55 AM   #5
DaFrEQ
Member
 
Registered: Mar 2002
Location: Earth... for now
Distribution: SuSE9.2 AMD64; LFS; GentooAMD64; Ubuntu10.04; RHEL 5.5; Solaris10(SPARC)
Posts: 418

Rep: Reputation: 30
What version of samba are you using?
 
Old 02-05-2004, 10:55 AM   #6
AmdMhz
Member
 
Registered: Jan 2004
Location: Indiana
Distribution: Debian, OpenSUSE
Posts: 142

Original Poster
Rep: Reputation: 15
Samba was stop. I restarted it and still cant get the printer to go

[root@localhost /]# service smb status
smbd (pid 3480) is running...
nmbd (pid 3652) is running...

[root@localhost /]# smbclient -L //linux_computer
added interface ip=192.168.1.101 bcast=192.168.1.255 nmask=255.255.255.0
Connection to linux_computer failed
 
Old 02-05-2004, 11:05 AM   #7
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
Quote:
[root@localhost /]# smbclient -L //linux_computer
Sorry, substitute "linux_computer" with the name of your linux computer.
 
Old 02-05-2004, 11:12 AM   #8
AmdMhz
Member
 
Registered: Jan 2004
Location: Indiana
Distribution: Debian, OpenSUSE
Posts: 142

Original Poster
Rep: Reputation: 15
here. I cant remember what I named it
 
Old 02-05-2004, 11:35 AM   #9
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
Quote:
[root@localhost /]#
If you can't remember what you named it, you probably didn't, in which case the default name of localhost is used. This is usually displayed as part of your command prompt. Also, you could run the command:hostname to find out.
 
Old 02-05-2004, 11:47 AM   #10
AmdMhz
Member
 
Registered: Jan 2004
Location: Indiana
Distribution: Debian, OpenSUSE
Posts: 142

Original Poster
Rep: Reputation: 15
Thanks for helping me. This is what I get

[root@localhost /]# hostname
localhost.localdomain
[root@localhost /]# smbclient -L //linux_localhost
added interface ip=192.168.1.101 bcast=192.168.1.255 nmask=255.255.255.0
Connection to linux_localhost failed
 
Old 02-05-2004, 12:13 PM   #11
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
This is the command....
smbclient -L //localhost
 
Old 02-05-2004, 12:18 PM   #12
AmdMhz
Member
 
Registered: Jan 2004
Location: Indiana
Distribution: Debian, OpenSUSE
Posts: 142

Original Poster
Rep: Reputation: 15
Thanks for clearing that up.

[root@localhost /]# smbclient -L //localhost
added interface ip=192.168.1.101 bcast=192.168.1.255 nmask=255.255.255.0
Password:
session setup failed: NT_STATUS_LOGON_FAILURE

I am using the same password I always do.
 
Old 02-05-2004, 12:28 PM   #13
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
Try this command.....
ping -c 3 localhost
 
Old 02-05-2004, 12:35 PM   #14
AmdMhz
Member
 
Registered: Jan 2004
Location: Indiana
Distribution: Debian, OpenSUSE
Posts: 142

Original Poster
Rep: Reputation: 15
[root@localhost /]# ping -c 3 localhost
PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=0.150 ms64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=64 time=0.077 ms64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=3 ttl=64 time=0.079 ms
--- localhost.localdomain ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.077/0.102/0.150/0.033 ms
 
Old 02-05-2004, 12:42 PM   #15
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
Nothing wrong there.

I just thought of something....
When you got this message session setup failed: NT_STATUS_LOGON_FAILURE
Were you using the root user password?
 
  


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
azureus quit working spotslayer Linux - Software 0 07-31-2004 03:05 PM
Gnome quit working... TheMusicGuy Linux - Software 1 06-06-2004 01:30 AM
modem quit working gemsem Linux - Hardware 1 04-08-2003 12:33 AM
xmms quit working fstreed Linux - General 8 01-13-2003 02:38 PM
Samba quit working after change to DHCP rsbecker007 Linux - Networking 2 08-02-2002 01:24 PM


All times are GMT -5. The time now is 10:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration