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:D |
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?
|
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) |
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. |
What version of samba are you using?
|
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 |
Quote:
|
:newbie: here. I cant remember what I named it :cry:
|
Quote:
|
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 |
This is the command....
smbclient -L //localhost |
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. |
Try this command.....
ping -c 3 localhost |
[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 |
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? |
All times are GMT -5. The time now is 05:30 PM. |