I'm stumped on this one, and I'm hoping someone can help me. I've set up Samba systems before, so I think I've avoided most novice mistakes. Samba installs fine, seems to run fine, but nothing works. I'm using the precompiled binaries for Solaris 2.7 - I install the packages, I disabled the inetd startup (in favor of /etc/init.d startup), I edited smb.conf, and successfully ran testparm. I then start smbd and nmbd using "/etc/init.d/samba start", which appears to work fine. I can see the smbd and nmbd programs running, and the log.smb and log.nmb logfiles appear normal (I've set debug to 1, so that I get log files as soon as samba starts). When I run TEST 3 of DIAGNOSIS.txt (smbclient -L sambaserver), I get # ./smbclient -L bigserver added interface ip=XXX.XXX.XXX.XXX bcast=XXX.XXX.XXX.XXX nmask=XXX.XXX.XXX.XXX session request to BIGSERVER failed (Called name not present) session request to *SMBSERVER failed (Called name not present) running "smbstatus" results in the message: Couldn't open status file /var/opt/samba/locks/STATUS..LCK (although /var/opt/samba/locks contains "browse.dat", "nmbd.pid", and "smbd.pid" files). I've got a TRIVIAL smb.conf file (no hosts allow/deny etc.) WHAT AM I DOING WRONG?!?!? I feel like I must be missing SOMETHING, but for the life of me, I can't figure what it is. Please, any help would be appreciated. I'm told that someone else tried to install Samba on this machine before using the source code and latest gcc, and THAT didn't work either. As far as I can tell, there are no remnants left of that attempt - I cleaned things up before using the binary packaged version. Thanks in advance for any help you can give me... - john nelson (jpn@genrad.com)
John, The smbclient -L command is saying that it can't find a netbios name "bigserver" on the network. There could be any number of reasons for this: is your system's hostname "bigserver"? if not do you have a "netbios name" parameter in your smb.conf specifying "bigserver"? Do you have multiple lan cards and ip addresses in your system? If you post the results of the following, it might help get a handle on this: 1. your 'trivial' smb.conf file 2. results of "nslookup bigserver" 3. results of "hostname" 4. results of "uname -a" 5. might also try smbclient -L bigserver -I<ipaddress of bigserver> to make sure you are really connecting to who you think you are with the name 'bigserver'. Hope this helps, Don -----Original Message----- From: jpn@genrad.com [mailto:jpn@genrad.com] Sent: Thursday, January 18, 2001 9:23 PM To: samba@samba.org Subject: Samba installs, runs, but doesn't respond I'm stumped on this one, and I'm hoping someone can help me. I've set up Samba systems before, so I think I've avoided most novice mistakes. Samba installs fine, seems to run fine, but nothing works. I'm using the precompiled binaries for Solaris 2.7 - I install the packages, I disabled the inetd startup (in favor of /etc/init.d startup), I edited smb.conf, and successfully ran testparm. I then start smbd and nmbd using "/etc/init.d/samba start", which appears to work fine. I can see the smbd and nmbd programs running, and the log.smb and log.nmb logfiles appear normal (I've set debug to 1, so that I get log files as soon as samba starts). When I run TEST 3 of DIAGNOSIS.txt (smbclient -L sambaserver), I get # ./smbclient -L bigserver added interface ip=XXX.XXX.XXX.XXX bcast=XXX.XXX.XXX.XXX nmask=XXX.XXX.XXX.XXX session request to BIGSERVER failed (Called name not present) session request to *SMBSERVER failed (Called name not present) running "smbstatus" results in the message: Couldn't open status file /var/opt/samba/locks/STATUS..LCK (although /var/opt/samba/locks contains "browse.dat", "nmbd.pid", and "smbd.pid" files). I've got a TRIVIAL smb.conf file (no hosts allow/deny etc.) WHAT AM I DOING WRONG?!?!? I feel like I must be missing SOMETHING, but for the life of me, I can't figure what it is. Please, any help would be appreciated. I'm told that someone else tried to install Samba on this machine before using the source code and latest gcc, and THAT didn't work either. As far as I can tell, there are no remnants left of that attempt - I cleaned things up before using the binary packaged version. Thanks in advance for any help you can give me... - john nelson (jpn@genrad.com)
Thanks for your suggestions, but so far, no joy. I used "bigserver" as an alias in my original email - just to match the DIAGNOSIS.TXT directions. The actual machine name is "shiva", actually, "shiva.nicimg.com", and I tried to connect using "smbclient -L shiva". I've tried both with and without "netbios name" parameter set. Here is my entire smb.conf: [global] workgroup = GRCORP netbios name = SHIVA security = SHARE local master = No [home] path = /export/home writeable = Yes guest ok = Yes ------------------------------- # nslookup shiva Server: ns1.nicimg.com Address: 216.98.131.10 Name: shiva.nicimg.com Address: 216.98.131.85 # hostname shiva # uname -a SunOS shiva 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-250 # smbclient -L shiva -I 216.98.131.85 added interface ip=216.98.131.85 bcast=216.98.131.255 nmask=255.255.255.0 session request to SHIVA failed (Called name not present) session request to *SMBSERVER failed (Called name not present) What's odd is that nmblookup seems to be working: # nmblookup -S shiva querying shiva on 216.98.131.255 216.98.131.85 shiva<00> Looking up status of 216.98.131.85 received 5 names SHIVA <00> - B <ACTIVE> SHIVA <03> - B <ACTIVE> SHIVA <20> - B <ACTIVE> GRCORP <00> - <GROUP> B <ACTIVE> GRCORP <1e> - <GROUP> B <ACTIVE> num_good_sends=0 num_good_receives=0 -----Original Message----- From: MCCALL,DON (HP-USA,ex1) [SMTP:don_mccall@hp.com] Sent: Friday, January 19, 2001 7:55 AM To: 'jpn@genrad.com'; samba@samba.org Subject: RE: Samba installs, runs, but doesn't respond John, The smbclient -L command is saying that it can't find a netbios name "bigserver" on the network. There could be any number of reasons for this: is your system's hostname "bigserver"? if not do you have a "netbios name" parameter in your smb.conf specifying "bigserver"? Do you have multiple lan cards and ip addresses in your system? If you post the results of the following, it might help get a handle on this: 1. your 'trivial' smb.conf file 2. results of "nslookup bigserver" 3. results of "hostname" 4. results of "uname -a" 5. might also try smbclient -L bigserver -I<ipaddress of bigserver> to make sure you are really connecting to who you think you are with the name 'bigserver'. Hope this helps, Don -----Original Message----- From: jpn@genrad.com [mailto:jpn@genrad.com] Sent: Thursday, January 18, 2001 9:23 PM To: samba@samba.org Subject: Samba installs, runs, but doesn't respond I'm stumped on this one, and I'm hoping someone can help me. I've set up Samba systems before, so I think I've avoided most novice mistakes. Samba installs fine, seems to run fine, but nothing works. I'm using the precompiled binaries for Solaris 2.7 - I install the packages, I disabled the inetd startup (in favor of /etc/init.d startup), I edited smb.conf, and successfully ran testparm. I then start smbd and nmbd using "/etc/init.d/samba start", which appears to work fine. I can see the smbd and nmbd programs running, and the log.smb and log.nmb logfiles appear normal (I've set debug to 1, so that I get log files as soon as samba starts). When I run TEST 3 of DIAGNOSIS.txt (smbclient -L sambaserver), I get # ./smbclient -L bigserver added interface ip=XXX.XXX.XXX.XXX bcast=XXX.XXX.XXX.XXX nmask=XXX.XXX.XXX.XXX session request to BIGSERVER failed (Called name not present) session request to *SMBSERVER failed (Called name not present) running "smbstatus" results in the message: Couldn't open status file /var/opt/samba/locks/STATUS..LCK (although /var/opt/samba/locks contains "browse.dat", "nmbd.pid", and "smbd.pid" files). I've got a TRIVIAL smb.conf file (no hosts allow/deny etc.) WHAT AM I DOING WRONG?!?!? I feel like I must be missing SOMETHING, but for the life of me, I can't figure what it is. Please, any help would be appreciated. I'm told that someone else tried to install Samba on this machine before using the source code and latest gcc, and THAT didn't work either. As far as I can tell, there are no remnants left of that attempt - I cleaned things up before using the binary packaged version. Thanks in advance for any help you can give me... - john nelson (jpn@genrad.com)
That IS odd, John. could you do me a favor - add log level = 10 to your smb.conf global section, and try your smbclient test again. Then send me the log.smb file that gets generated; maybe I will spot something. Thanks, Don -----Original Message----- From: jpn@genrad.com [mailto:jpn@genrad.com] Sent: Friday, January 19, 2001 12:58 PM To: samba@samba.org Subject: Re: Samba installs, runs, but doesn't respond Thanks for your suggestions, but so far, no joy. I used "bigserver" as an alias in my original email - just to match the DIAGNOSIS.TXT directions. The actual machine name is "shiva", actually, "shiva.nicimg.com", and I tried to connect using "smbclient -L shiva". I've tried both with and without "netbios name" parameter set. Here is my entire smb.conf: [global] workgroup = GRCORP netbios name = SHIVA security = SHARE local master = No [home] path = /export/home writeable = Yes guest ok = Yes ------------------------------- # nslookup shiva Server: ns1.nicimg.com Address: 216.98.131.10 Name: shiva.nicimg.com Address: 216.98.131.85 # hostname shiva # uname -a SunOS shiva 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-250 # smbclient -L shiva -I 216.98.131.85 added interface ip=216.98.131.85 bcast=216.98.131.255 nmask=255.255.255.0 session request to SHIVA failed (Called name not present) session request to *SMBSERVER failed (Called name not present) What's odd is that nmblookup seems to be working: # nmblookup -S shiva querying shiva on 216.98.131.255 216.98.131.85 shiva<00> Looking up status of 216.98.131.85 received 5 names SHIVA <00> - B <ACTIVE> SHIVA <03> - B <ACTIVE> SHIVA <20> - B <ACTIVE> GRCORP <00> - <GROUP> B <ACTIVE> GRCORP <1e> - <GROUP> B <ACTIVE> num_good_sends=0 num_good_receives=0 -----Original Message----- From: MCCALL,DON (HP-USA,ex1) [SMTP:don_mccall@hp.com] Sent: Friday, January 19, 2001 7:55 AM To: 'jpn@genrad.com'; samba@samba.org Subject: RE: Samba installs, runs, but doesn't respond John, The smbclient -L command is saying that it can't find a netbios name "bigserver" on the network. There could be any number of reasons for this: is your system's hostname "bigserver"? if not do you have a "netbios name" parameter in your smb.conf specifying "bigserver"? Do you have multiple lan cards and ip addresses in your system? If you post the results of the following, it might help get a handle on this: 1. your 'trivial' smb.conf file 2. results of "nslookup bigserver" 3. results of "hostname" 4. results of "uname -a" 5. might also try smbclient -L bigserver -I<ipaddress of bigserver> to make sure you are really connecting to who you think you are with the name 'bigserver'. Hope this helps, Don -----Original Message----- From: jpn@genrad.com [mailto:jpn@genrad.com] Sent: Thursday, January 18, 2001 9:23 PM To: samba@samba.org Subject: Samba installs, runs, but doesn't respond I'm stumped on this one, and I'm hoping someone can help me. I've set up Samba systems before, so I think I've avoided most novice mistakes. Samba installs fine, seems to run fine, but nothing works. I'm using the precompiled binaries for Solaris 2.7 - I install the packages, I disabled the inetd startup (in favor of /etc/init.d startup), I edited smb.conf, and successfully ran testparm. I then start smbd and nmbd using "/etc/init.d/samba start", which appears to work fine. I can see the smbd and nmbd programs running, and the log.smb and log.nmb logfiles appear normal (I've set debug to 1, so that I get log files as soon as samba starts). When I run TEST 3 of DIAGNOSIS.txt (smbclient -L sambaserver), I get # ./smbclient -L bigserver added interface ip=XXX.XXX.XXX.XXX bcast=XXX.XXX.XXX.XXX nmask=XXX.XXX.XXX.XXX session request to BIGSERVER failed (Called name not present) session request to *SMBSERVER failed (Called name not present) running "smbstatus" results in the message: Couldn't open status file /var/opt/samba/locks/STATUS..LCK (although /var/opt/samba/locks contains "browse.dat", "nmbd.pid", and "smbd.pid" files). I've got a TRIVIAL smb.conf file (no hosts allow/deny etc.) WHAT AM I DOING WRONG?!?!? I feel like I must be missing SOMETHING, but for the life of me, I can't figure what it is. Please, any help would be appreciated. I'm told that someone else tried to install Samba on this machine before using the source code and latest gcc, and THAT didn't work either. As far as I can tell, there are no remnants left of that attempt - I cleaned things up before using the binary packaged version. Thanks in advance for any help you can give me... - john nelson (jpn@genrad.com)