Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I made a scriptfile on my redhat 9 to mount a netwerkshare on a Windows 2000 Server (kyara).
>> mount -t smbfs //kyara/share /mnt/nfs -o username=blah,password=bloeh
This works, but when I test it on a Redhat 8, I get this error:
32123: session request to KYARA failed (Not listening on called name)
32123: session request to *SMBSERVER failed (Not listening on called name)
SMB connection failed
I've tried smbmount, checked shares with smbclient -L, but nothing
When I check smbstatus on the Redhat8 server i get this:
Samba version 2.2.7
Service uid gid pid machine
----------------------------------------------
Failed to open byte range locking database
ERROR: Failed to initialise locking database
Can't initialise locking module - exiting
I've checked many threads on this forum, the internet, but I've found nothing that solved my problem.
It maybe that your linux box is unable to resolv the name of u're M$ box. Edit this file /etc/hosts and place this entry xxx.xxx.xxx.xxx KYARA. To test then ping KYARA and see if name gets resolved. Also try the following smbclient -L //remote_server to see if any shares come up. Then mount the way u had mentioned before. If u want to mount this automatically each time then place a entry //remote_server/share /mnt/network smbfs username=xxx,password=xxx 0 0.
I was wondering if you've set up your /etc/samba/smb.conf correctly, the reason I saying that, is when you run smbstatus, it's showing a pid, but the files are locked.(that tells me that nobody is using any shared resources on your linux machine. I'm thinking that you might not have renamed your workgroup in the etc/samba/smb.conf
What I understood from u're question is a straight forward mount from a windows pc therefor u need not have samba running on your box. When u type // RH recognizes that this is a samba share u trying to mount. Check one more thing which is Nessa's to connect smb shares. chkconfig --list netfs this should say that netfs on for runlevel 345. To change this setup (menu) or chkconfig --level 345 netfs on then reboot and try again.
First of all, thx for the many and quick response !!!
Answers to all of the above:
- I've changed the workgroup in smb.conf-file. Smbstatus ok.
- chkconfig --list netfs = runlevel 345 ON.
- On the redhat8 I disabled the firewall.
- I've tried mounting with \\\\server\\share , smbmount,...
and...still the same problem
So if you guys still feel like helping, i'm not gonna stop ya )
32123: session request to KYARA failed (Not listening on called name)
32123: session request to *SMBSERVER failed (Not listening on called name)
SMB connection failed
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.