Samba Issues
I am having a bit of problems getting the Smaba service to run on my Red Hat 9 install.
Forgive me if this topic has already been addressed.... The smb.log is as follows: [2003/06/27 15:29:43, 0] lib/util_sock.c:open_socket_in(804) bind failed on port 139 socket_addr = 0.0.0.0. Error = Address already in use and the smbstatus command yields: Samba version 2.2.7a-security-rollup-fix Service uid gid pid machine ---------------------------------------------- Failed to open byte range locking database ERROR: Failed to initialise locking database Can't initialise locking module - exiting Any help would be gratly appreciated!! |
It sounds like somehtinng is already listenting to that port - (posibly samba is already running)
netstat -l --numeric-ports and look for somehting listening on port 139 |
sorry - just noticed I missed the "p":
netstat -lp --numeric-ports |
Maybe another program is running on port 139? Do the following :
"su -" "service smb stop" What do you see if you enter the following commands : "netstat -nlt" "lsof -i" |
Thanks for all of the help -
Actually - there was another Samba server running - I have Vmware loaded and it was using that port - I actually modified the smb.conf file and added a socket address statement with the IP address of the actual interface under the interfaces section of the file. This allowed the service to start correctly - Then I had to disable my firewall to connect. Thanks again for the help!! |
I'm having a simlar issue as well, when I run netstat -nlt I can see that it's listening for port 139 but when I try to connect to
127.0.0.1:901 I get a messages that reads Connection refused when trying to connect to that address. I also notice that I don't have a swat file on /etc/xinetd.d I am using RH 9.0 samba ver 2.2.7a-8.90 Thanks! |
With Redhat 9 you will need to install the samba-swat package:
ftp://fr.rpmfind.net/linux/redhat/9/...7.9.0.i386.rpm |
Thanks David! I also found that RH 9 includes it's own interface as well using redhat-config-samba
|
Once you get used to it, editing the config file by hand is easy too. I can add a new share in the time it takes my browser to open and get to the right page :D
|
Indeed, Thanks again for your assistance!
|
I had the same problem but I downloaded the locking files and it is working now
|
All times are GMT -5. The time now is 11:06 AM. |