Please answer if anybody has solved this problem: [1999/07/19 20:59:41, 1] smbd/files.c:file_init(216) file_init: Information only: requested 10000 open files, 246 are available. Thanks in advance.
On Tue, 20 Jul 1999 19:40:21 +1000, hai scritto:>Please answer if anybody has solved this problem: > >[1999/07/19 20:59:41, 1] smbd/files.c:file_init(216) > file_init: Information only: requested 10000 open files, 246 are available.This is not a problem, is "information only". It says you have 246 file descriptors available. It may be a problem if you open many many files at the same time. -- giulioo@tiscalinet.it
On Tue, 20 Jul 1999, Alexander Javoronkov wrote:> Please answer if anybody has solved this problem: > > [1999/07/19 20:59:41, 1] smbd/files.c:file_init(216) > file_init: Information only: requested 10000 open files, 246 are available.It means what is says. Something requested an ten thousand open file handles, and only 246 are available. What on Earth are you running that thinks it needs to open 10,000 files? ---------------------------------------------------------------------- Benjamin Scott <bscott@hamptonsys.com> PSTN: (603)431-7315 x105 Software Developer/System Administrator DSN : 852-3581 x105 Hampton Systems Group, Inc. http://www.hamptonsys.com ======================================================================
I have a samba server that now has 350 smbd processes. What effects does that have to the samba server? the load is really low... I have plenty of network bandwidth so that is not an issue. What problems could arise? This is a IBM RS6000 running AIX 4.1.5
When the world was young, Brian Salter-Duke <b_duke@lacebark.ntu.edu.au> carved some runes like this:> Does anyone know what error 1025 is? It might throw some light > on the problem.It's probably listed in the win95 resource kit; if you want I can send you the RK stuff in a (humongous) .hlp file.> Apart from that does anyone have any other thoughts?Yeah, AIX is kindof brain-dead (else, why would IBM be porting linux to the RS-6000?). You could get rid of it...> Excel files do exactly the same. They work on Dec alpha and fail > on RS6000. However html files and files with extension for a > browser pluggin fire up internet explorer and display fine. If I > click on a *.txt file on the RS6000 share, it asks me for an > application and if I select MS Word it works fine. It is just the > *.doc and *.xls files that fail and then only in the RS6000 case. > I can see no relevent differences between the two machines.Are the file/dir permissions the same on the Alpha and AIX shares? Are both versions of samba the same? It doesn't sound like the Word file-saving problem; did you compile the samba stuff yourself, or are you running pre-built binaries? You could try compiling the AIX samba code with different options/flags. Wasn't there some makefile or source code mod needed for AIX? HTH, Steve ****************************************************************** Stephen L Arnold http://www.rain.org/~sarnold #include <std_disclaimer.h> ******************************************************************
Stephen L Arnold
1999-Jul-20 20:18 UTC
Print filters when sending jobs to windows printer?
When the world was young, Ryan Robinson <nebulous@inconnect.com> carved some runes like this: [snip]> The relevent tidbit of smbprint... how the heck should I modify > this? (feel free to edit in the reply)I have two different smbprint scripts; I think the older one is being used (but I'm still running RH4.2 and samba 1.9.18p8 here). The RedHat printtool has a nice setup for defining an SMB printer; here's the printcap: ##PRINTTOOL3## SMB ljet4 600x600 letter {} LaserJet4 Default 1 lp|smb:\ :sd=/var/spool/lpd/lp:\ :mx#0:\ :sh:\ :if=/var/spool/lpd/lp/filter:\ :af=/var/spool/lpd/lp/acct:\ :lp=/dev/null: The above if (filter script) is RedHat's magic filter, but in this case it calls the smbprint script installed in the /usr/lib/rhs/rhs- printfilters, after it determines the filetype, etc. The ghostscript/text/etc settings are in the spool dir. The old RedHat setup used a combination of ghostscript and nenscript to handle text/ps files. It looks like you'll need to install your magic filter as the if in printcap, let it do it's magic, then send the output through smbprint to the windoze printer. This is all done for you by RedHat's printtool. I once setup manual printcap/scripts for a netware queue, but that was long ago... You should be able to test everything manually; just cat the test file through your magic filter and pipe the output to smbprint (all at the shell prompt). once it prints, you can install the filters in the right places. Did you uncomment the debug output in smbprint? The printing HOWTO is also helpful. Steve ****************************************************************** Stephen L Arnold http://www.rain.org/~sarnold #include <std_disclaimer.h> ******************************************************************
When the world was young, Bo Kersey <bo-lists-samba@vircio.com> carved some runes like this:> Volker, I think that you misunderstood... I've got WINS running > on both sides of the router... I want workgroup A to show up as > an accessible workgroup on the other side of the subnet..If you want both workgroups visible in NetHood, shouldn't you only have one WINS server? Also, I assume you have both machines running as local master browsers, but only one domain master, right? Have you tried using one samba box as the Domain controller? Maybe you have a large number of clients; have tried butting both networks in lmhost files on all the machines? Steve **************************************************************** Stephen L. Arnold Senior Systems Engineer ENSCO Inc. email: arnold.steve@ensco.com P.O. Box 5488 www: http://www.ensco.com Vandenberg AFB, CA 93437 voice: 805.606.8838 fax: 805.734.4779 #include <std_disclaimer.h> ****************************************************************
When the world was young, Jonathan Kelly <j.kelly@julien.ca> carved some runes like this:> I have a problem with smbmount between two Linux (both: RH 6.0, > kernel 2.2.9, samba 2.0.4c) boxes. When I use smbmount, the > share loads and I can read files just fine, but when I copy ("cp > file") to the share, the first 512 bytes of the file are copied > and then the copy just freezes there. Trying several times to > kill -9 the process didn't work. I had to reboot the server. Now > I tried both the smbmount included in samba 2.0.5-pre3 and in > smbfs-2.0.4b-19990519.i386.rpm on the samba ftp site. Both had > the same effect.The only time I've seen a hard lockup like this (with linux, samba, netware, windoze, whatever) was due to a bad NIC. Oh, it looked like it worked, most of the time (with a DOS/Win Netware Client setup), but with linux running the ncpfs client I could make it barf repeatedly just by copying a file larger than 16 megs. When I replaced the NIC with an SMC 8*13 card, the problems disappeared. What happens when you move some data using ftp, nfs, etc? If it's not bad hardware, then something is hosed in your samba/smbfs setup. I haven't used RH6 or samba 2.x yet, but I've seen a few glitches mentioned on the list (eg, the 64-bit file locking glitch on linux- intel). Have you tried samba 1.9.18? Sorry I couldn't help more, Steve ****************************************************************** Stephen L Arnold http://www.rain.org/~sarnold #include <std_disclaimer.h> ******************************************************************