Re: printer/tcp: bind: Address already in use
At 4:47 PM -0800 11/17/03, K Anderson wrote: Hey there all. For quite some time I've been noticing messages on the primary console as well as the message log. inetd[630]: printer/tcp: bind: Address already in use I have cups installed and happen to notice something in the /usr/local/etc/rc.d director called lprng.sh. I have, as the file says, lpd_enabled/lpd_enable equal to NO inside quotes (yep, inside rc.conf) and the darn thing still starts up. Any ideas on fixing? Are things "working", other than the annoying message? Are all the messages from the same process? And is that process really 'inetd'? If so, what kind of entries do you have in /etc/inetd.conf? -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: printer/tcp: bind: Address already in use
At 6:02 PM -0800 11/17/03, K Anderson wrote: Garance A Drosihn wrote: Are all the messages from the same process? And is that process really 'inetd'? If so, what kind of entries do you have in /etc/inetd.conf? Woa, thanks for the quick response. Just a matter of luck... :-) Yes, the process is really inetd. Since in the inetd.conf there is the following entry: printer 515/tcpspooler printer 515/udpspooler Are those lines really in your /etc/inetd.conf file? Those look more like lines from /etc/services. And the lprng.sh wants to load lpd from /usr/local/sbin. I do have cups-lpr installed but I don't recall this issue arising from it. I have no experience with cups-lpr or lprng, so I'm not sure what would be causing the problems you described. But anything named /usr/local/etc/rc.d/blah.sh will be executed at startup. (well, if it is marked as executable). I don't think inetd enters into that. But maybe the script launches another copy of inetd with a different config file. I killed the lpd process and the renamed lprng.sh to something like lprng.sh.runthisandyoudie. Now inetd doesn't complain. Of course I don't understand what application put it there. Try: pkg_info -W /usr/local/etc/rc.d/lprng.sh or pkg_which /usr/local/etc/rc.d/lprng.sh (pkg_which is under /usr/local/sbin, if you've installed the portupgrade port). You might have to move the file back to it's original name for those commands to work... -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: connection to remote printer is down
At 12:26 AM -0600 11/27/03, Charles Howse wrote: I have an HP1100 printer that I set up on machine "moe" with apsfilter, and is working perfectly. I'm trying to setup machine "larry" to print text only to the printer on "moe", but I'm not getting anywhere. Jobs get into the local spool, but time out waiting on the remote machine to "come up". I can ping the remote machine with no difficulty. I have the following in /etc/hosts.lpd: [EMAIL PROTECTED] ~]$ cat /etc/hosts.lpd # $FreeBSD: src/etc/hosts.lpd,v 1.4 1999/08/27 23:23:42 peter Exp $ # # See lpd(8) #machine.domain larry.howse.homeunix.net Here's larry's /etc/printcap: lp|hp1100:\ :lp=:rm=moe:rp=hp1100:sd=/var/spool/output/moe:lf=/var/log/lpd-errs: In your /etc/hosts.lpd file, you specify a fully-qualified name for 'larry'. But in your printcap file, you specified only 'moe', and not something like 'moe.howse.homeunix.net'. That seems a bit inconsistent to me, but I assume it is not too important. To me, it looks like lpd is not accepting remote connections on moe. That would happen if lpd is not being started during system startup, or if you have started it up with the '-s' ("secure") flag. What do you see if you type the following command on moe: ps axuww | grep lpd And what startup-variables do you find on moe if you type the following command: grep lpd /etc/defaults/rc.conf /etc/rc.conf -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: connection to remote printer is down
At 1:26 PM -0600 11/29/03, Charles Howse wrote: On Saturday 29 November 2003 01:03 pm, Garance A Drosihn wrote: > To me, it looks like lpd is not accepting remote connections on moe. That would happen if lpd is not being started during system startup, or if you have started it up with the '-s' ("secure") flag. What do you see if you type the following command on moe: The -s flag was the problem. Thanks! FEATURE. It's a FEATURE...:-) May I ask another printer-related question? Using KDE, is there a way to change the quality or resolution of a print job on the fly? For example, when I open KEdit to print a file, I don't have an option to print in a different resolution or to lower the quality setting. I'm having to edit /usr/local/etc/apsfilter/hp1100/apsfilterrc and change things to suit me before each print job at a different setting. I don't use KDE or apsfilter, so someone else will have to answer this. If I understand what you're looking for, you might be able to get the effect you want by defining multiple print queues, with different options for each queue. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD vs Samba machine account creation
At 1:12 PM + 11/30/03, Stacey Roberts wrote: Hello, Some time ago, I saw a thread on this list that had concluded that the adduser facility in FreeBSD had been amended so that samba machine accounts can be created with the required "$" at the end of the desired machine user name. The 'pw' command was changed in freebsd-current to allow a '$' to be the last character of a userid or group name. This was done in January, and MFC-ed to freebsd-stable in February. This change is more significant in freebsd-current than freebsd-stable, because 'adduser' is a perl-script in freebsd-stable. It does not use the 'pw' command. In freebsd-current, 'adduser' was rewritten (because perl is no longer in the base system), and the rewrite depends on the 'pw' command. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Why would drive run at UDMA33? (Segate 80GB)
At 4:21 PM +1100 12/8/03, JacobRhoden wrote: Hi, I have just purchased a new 80GB drive, howerver i noticed it is running significantly slower than my current 80gb drive. Dmesg says this: ad0: 76319MB [155061/16/63] at ata0-master UDMA100 ad2: 76319MB [155061/16/63] at ata1-master UDMA33 Why is one running at udma100 and my new one running at udma33? iosys reports it as 4 times slower! Is there any special tuning or kernel option i need to set? This may not be useful for you, but I hit a problem like this at one time. In my case, it turned out that the ATA cable was hooked up backwards. By that I mean that the "motherboard" end was connected to the hard disk, and the "master disk" end was connected to the motherboard. It worked, but ran at the slower speed. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: CVSup to local copy
At 9:00 AM +0800 12/12/03, <[EMAIL PROTECTED]> wrote: Hello, I need to update the sources of several servers in my network. I have already made a cvsup -g -L 2 cvs-supfile on one of the servers and placed all under /home/ncvs. I assume that /home/ncvs is a directory that is NFS-exported to all of your machines? Btw, you do not have to put your local copy of the CVS repository at /home/ncvs, even though that is the directory used for the master copy. However, you *do* want it to be on some directory which is "local" to each of your machines (local as far as CVS is concerned, I mean). NFS-mounted is fine, I believe, but you do not want to do 'cvs remote' operations with a repository the size of FreeBSD. Would anyone be so kind to tell me what to do next? Can't seem to find the concrete steps on the net. On each machine, log into root and: First, create a ~/.cvsrc file with at least the following two lines in it: checkout -P update -d -P And then you can: cd /usr rm -Rf src cvs -d /home/ncvs checkout -r BLAH src where the value of 'BLAH' will depend on which release you want to run on that system. RELENG_4 for "stable", for instance. Or RELENG_4_9 for the 4.9-"security" branch. Or RELENG_5 for the more-daring "current" branch. Then you can 'cd /usr/src' and follow the standard instructions for building from source. Strictly speaking you don't *have* to do the above as userid root, but you will have to do the 'make installkernel' and 'make installworld' steps as root. You will want that ~/.cvsrc file in whatever userid you use for checking-out or updating the src via 'cvs'. Later on, when you want to update some system, you can just cd /usr/src cvs update -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Stupid cvsup questions
At 11:41 PM +0200 12/15/03, Ion-Mihai Tetcu wrote: Hi, I have 2 identical (copy/paste) ports-supfiles on two machines: it# grep -v '#' /etc/ports-supfile *default host=cvsup.ro.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix *default compress ports-all I run it like: # cvsup -g /etc/ports-supfile on both machines. The stupid question: why on the second I have the `,v' suffix ? Is there an env variable or something ? I don't think so. Did you try copying the file from one machine to the other, and doing a direct diff? It looks like the 'tag=.' is being ignored for some reason. I suspect you have tried that, but it's hard to imagine why the two machines would be different. I'd also note that your grep command shouldn't ignore lines that have a '#' that is anywhere in the line. Only ignore lines where there is nothing interesting before the '#'. Eg: grep -v '^ *#' I don't know what else to suggest. From what you describe in your message, both hosts should be getting the same set of files. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: runaway CVSup ?
At 11:29 AM -0800 12/19/03, Toru . wrote: how long it takes to complete "make install clean" of cvsup-without-gui. It looks like the process went into a infinate loop and I keep seeing the same message over and over. Is this normal behavior? It is hard to know for sure, because you didn't really give us much information -- such as *what* message you are seeing over and over again. If you do not have a modula-3 compiler installed (and you probably do not, if this is a new install), then it will take a long time to build cvsup-without-gui, because you first have to build the modula-3 compiler. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Must root be on slice 'a'?
At 5:27 PM +0100 12/22/03, Leif Neland wrote: Does this imply that I must rename my slices, that I can't boot from /dev/ad1s3e ? It is possible to boot from other slices than 'a', but you want to do automatic boot-ups (ie, without needing to type commands into the boot loader), you will find it much easier to use slice 'a' for root, and to have that slice labelled 'a' be the first slice in the DOS-style partition. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sparc vs i386 architecture
At 12:14 PM -0800 1/8/06, Danial Thom wrote: --- Wojciech Puchar <[EMAIL PROTECTED]> wrote: > user Opteron/Athlon64 - better than both :) > AMD made RISC-like architecture that just runs i386-like > code (i386+more registers and few extra instructions, > while lots of mostly-unused instructions emulated). Thats hilarious, a "reduced instruction set" processor that has extra instructions! Good one! You should think of "RISC" as a "set of reduced instructions", and not a "reduced set of instructions". Even IBM's original RISC had a fairly large *number* of instructions, but fancier do-all instructions were removed in favor of instructions which did less, and thus could always complete in fewer CPU cycles. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Configuring a Printer - Printing Code
At 6:44 PM -0600 1/23/06, Mark Kane wrote: The problem comes when printing from this machine. Whenever trying to print, instead of printing the text of the document or website, it prints a bunch of code. Here is a short sample: --- flipXY 0 eq c3x2 c4x2 eq or {false PickCoords } { /shrink c3x2 c4x2 eq {0} {c1x2 c4x2 sub c3x2 c4x2 sub div abs} ifelse def /xshrink {c4x2 sub shrink mul c4x2 add} def [...etc...] --- That machine "Mark-Kanes-Computer.local." is the machine that's sharing it over the network, which runs Mac OS X Jaguar. Looks like you're sending postscript files from the FreeBSD machine to the MacOS machine. Pick one such postscript file. How does it start out? The first line should start with the four characters: %!PS If it does not, then add those four characters and see what happens. If that doesn't work, then try sending the job using lpr -l instead of a plain 'lpr' command. That's a lowercase-L that I'm adding there. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: AFS in FreeBSD 5.4 or 6
At 6:27 PM + 2/28/06, Craig Ryhorchuk wrote: Hello, I am looking for specific instructions on installing, maintaining and using AFS with FreeBSD 5.4 or 6. I want to set up one or more servers and make them available to clients running whatever O/S. I think Arla has the client side covered if necessary, but all I can find for server-side is a downloadable instruction-free bundle for 6.0 on the OpenAFS site. There are specific instructions for other supported O/Ss but none for FreeBSD. I have Googled and searched; not exhaustively I hope. There has to be something out there. I think there are some people who run openafs servers on FreeBSD, but probably just people who already know enough about running OpenAFS servers that it is "obvious" (to them) what you would need to do. The problem is that the openafs client-side for FreeBSD never gets quite to the point of working. So, the number of openafs users on freebsd never reaches critical mass to get some of the less exciting work done -- such as OS-specific documentation... -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: AFS in FreeBSD 5.4 or 6
At 1:31 AM -0800 3/4/06, Ted Mittelstaedt wrote: openafs has a compiled binary for FreeBSD 6.0 on their website, have either of you even tried it, or are you going to just write it off without even seeing it it works at all? I have not tried it, since the openafs mailing list had some talk of the latest (CVS) snapshots of OpenAFS not working on FreeBSD 6.1. I thought that meant OpenAFS was broken due to changes in FreeBSD, which has certainly happened in the past. But in re-reading those messages, it looks like the problem might have been specific to OpenAFS on FreeBSD/amd64. Since I am not running on AMD64 (yet...), I should take another look at the recent snapshots of OpenAFS on FreeBSD. I have been focused on the upcoming 1.4.1 release of OpenAFS, since that will include support for MacOS 10.4 (Tiger). The web pages for those release-candidates only have binary packages for MacOS 10 and Windows, and I must admit I didn't try them on FreeBSD. Thanks for prodding me along to take another look at this. (now I just have to find the time to do it...) -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: BSD License "Innocence" Clause Proposal
At 1:16 AM +0300 3/20/06, Andrew Pantyukhin wrote: We need a special clause in the license we release our work under. [...] Basically, it should state that under no circumstances and under no legislation should ever any entity be punished for breaking the license terms. So you want a license that says that there are no real terms to the license? If anything, I expect that would be called "public domain". -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: lpr errors- using /dev/ulpt0
At 3:59 PM -0800 3/21/06, Rob wrote: "lpc status lp" command reports that it is up, a job is spooled, and the printer is idle but nothing comes out. I am finding the following ... in /var/log/lpd.errs: lp: unable to open dfA000xenon ('f' line) lp: job could not be printed (cfA000xenon) xenon is the name of my computer. I am wondering if this is another problem with my hosts file? Hmm. Not sure. It might be. If you have a job sitting in the queue, then go into the spool directory for that printer (the 'sd=' value in your /etc/printcap entry). You should see one filename starting with 'cfA', and at least one more, which starts with 'dfA'. See what lines are in the control file. Chances are pretty good you have a line: fdfA000xenon So the question is whether 'dfA000xenon' is another file in that directory. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SiI3112 Controller Question
At 1:51 PM -0800 3/30/06, Richard P. Koett wrote: Some quick questions: 1) Are these SiI3112 controllers any good? They suck. They are horrible. They are very cheap to buy -- and are overpriced after you add in all the aggravation they provide. Don't waste your time on them. Buy a real SATA controller. (disclaimer: I am only commenting on their SATA controllers) I have the option of using a HighPoint HPT372 instead but was planning to use that elsewhere. Unfortunately I don't know enough to comment on other alternatives. I dumped my SiI3112 SATA controller and bought a real controller as made by Promise, but there are probably a number of other good options. 2) Would upgrading to something newer than 5.4-RELEASE help with this issue? It will probably help. That doesn't mean you will have a reliable controller, it just means that 6.x includes more work-arounds for the myriad bugs in these super- cheap controllers. Some of these work-arounds result in performance penalties. Just my opinion, of course... YMMV. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: something better then rsync for duplicating systems ... ?
At 6:46 PM -0400 3/30/06, Marc G. Fournier wrote: I have two servers, one of them a backup of the other ... right now, I'm using rsync to do it, but since rsync has to traverse both servers file systems to do its comparison, it puts a good load on the system, and takes awhile to run ... You could reduce that overhead by running rsync multiple times, each run doing a different subset of the total filesystem. (not that this is a great solution, but I did this when setting up a similar arrangement some time ago, and splitting up the amount done by any single rsync did seem to help) -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Portupgrade & Ruby | warning: Insecure world
At 3:38 PM +0200 4/5/06, Jonas Jacobsen wrote: When i use portupgrade, i get this Warning all the time /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:980: warning: Insecure world writable dir /tmp, mode 041777 have any of you seen that warning before,? and do you know how to make it go away ? This comes from a recent security-minded change made to ruby. Your PATH references something in /tmp, and since other userids *could* change things in /tmp, this is warning that you might have a security problem. I think several ruby users have found this recent change is perhaps a bit over-zealous in it's warning. Which is to say, "it is annoying". You could change your setting of PATH to avoid this. Perhaps the pkgtools.rb script could be changed to automatically change the PATH, but in this case it would have no idea *why* you reference some directory under /tmp in your PATH. So it's probably a bad idea for the script to change the value. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: newsyslog.conf question
At 2:01 AM + 4/10/06, [EMAIL PROTECTED] wrote: I have developed a boot image for a CD to be used on servers througout the organization I work for. Everything is working great, except for one small problem. When I boot from the CD I created, I receive a message stating "newsyslog: malformed 'at' value". /var/log/wtmp 640 5 * @01T05 B If I change the time specification to $M1D05 and start newsyslog, no error messages are generated. And, if I boot from the server's hard drive (from which the image was created), newsyslog does not generate any error messages. This does seem odd, since that is basically the same line that is in the distributed base system. Are you sure that's from the file you're running from? Could you send me a copy of the exact file that you have on the CD which is getting the error? Certainly what you have there *looks* like it should work. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Init can't exec /bin/sh for /etc/rc
At 8:39 PM +0200 4/14/06, Günther Darwin wrote: Hi, I was running the buildkernel command when the computer suddenly froze and the only option i had was a 'hard reset' unfortunatley it wasn't all trouble free this time. When i try to start FreeBSD I get the message: Init can't exec /bin/sh for /etc/rc Exec format error. I have tried to boot into Multiuser mode, with this error message i have tried to boot into singeuser mode, with the same error message When going into single-user mode, is there some other copy of 'sh' that you could start off with? It will ask you before starting the shell. One likely candidate would be in /rescue/sh -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Installing FreeBSD on Sparc Ultra II clone
At 5:02 PM +0100 6/21/04, Matthew Seaman wrote: On Mon, Jun 21, 2004 at 10:41:26AM -0500, Hank Allen wrote: > I would like to get some info on installing FreeBSD by booting > with floppies and using ftp to download on a Tatung machine. > I'm not sure where to get the disk images. Any help would be > greatly appreciated. Either here: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.2.1-RELEASE/floppies/ or here: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/4.10-RELEASE/floppies/ It would be an interesting "Sparc Ultra II" clone which could boot up off of i386 floppies... I do not know of FreeBSD/SPARC64 would run on that clone. You might want to check: http://www.FreeBSD.org/platforms/sparc.html or http://www.FreeBSD.org/releases/5.2.1R/hardware-sparc64.html or http://www.FreeBSD.org/releases/5.2.1R/installation-sparc64.html for more details. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Installing FreeBSD on Sparc Ultra II clone
At 8:23 PM +0100 6/21/04, Matthew Seaman wrote: On Mon, Jun 21, 2004 at 12:22:15PM -0400, Garance A Drosihn wrote: > It would be an interesting "Sparc Ultra II" clone which could > boot up off of i386 floppies... Tatung's latest products include a range of AMD Opteron and Xeon based rack mount and blade servers, plus their UK site lists some "Tablet PCs" based on Intel CPUs. I am sure you are right, but the subject on *this* thread is: Installing FreeBSD on Sparc Ultra II clone ^^ which is why I answered the way I did. Cheers... :-) -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: error during "make buildkernel" in 5.2.1
At 5:15 PM -0700 8/10/04, Mike wrote: Greetings: This is my first foray into 5.2.1. I installed and ran cvsup (standard and for ports). I went to build the kernel and and "make buildkernel" died. Here is the error message. Any comments or hints would be helpful. Did you just install 5.2.1 from the CD? Or are you trying to upgrade some older release to 5.2.1 via cvsup? What lines were in the cvsup control file that you used? -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: newsyslog
At 10:07 AM -0500 12/11/04, munn wrote: I have two FreeBSD machines running 4.10-RELEASE-p5. On machine A newsyslog rolls over the log files perfectly, on Machine B I get the message: /var/log/auth.log.0: No such file or directory The newsyslog.conf entries are : MACHINE A: /var/log/auth.log600 7 100 * Z MACHINE B: /var/log/auth.log600 7 100 $W6D0 Z An ls of the /var/log directory yields ls -ltr auth* -rw--- 1 root wheel 97872 Dec 11 00:00 auth.log.1 -rw--- 1 root wheel 95 Dec 11 00:00 auth.log.0.gz -rw--- 1 root wheel176 Dec 11 09:42 auth.log I have looked relevant permissions and files sizes on both machines and they are identical. Can anyone suggest what the problem is? Is the time entry the issue ... I just copied it from another entry in the newsyslog.conf file. I doubt the time-entry would be the issue. That will only effect *when* a file gets rotated. It should have no effect on what should be done once it is decided to rotate the file. You might try running 'newsyslog -nvv', and see if that shows a difference between the two machines. Is that 'ls' command from the machine which works, or the one which does not work? Either way, it doesn't seem quite right. You should either see 'auth.log.0.gz' and 'auth.log.1.gz', or you should see 'auth.log.0' and 'auth.log.1'. The program is complaining that it can not find 'auth.log.0', and sure enough there is no 'auth.log.0'. You might want to try 'gunzip /var/log/auth.log.0.gz', and then run newsyslog and see if it works any better. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Why reccomend Bash shell?
At 9:11 PM -0600 12/15/04, Adam wrote: In Greg Lehey's book "The Complete FreeBSD" he reccomends changing the default shell for users to bash shell. -p. 94 What are the Pro's/Con's of using bash as opposed to the other shells? Personal preferences, mostly. In my case, my first unix accounts were setup with csh. I am a programmer, and am happy to write little scripts to automate minor repetitive tasks. I came across some situations where I just couldn't get csh to do what I wanted it to do, so I started using /bin/sh for all the scripts that I wrote. As I did that more, I ended up switching my shell to bash (since it uses syntax which is much closer to standard 'sh'). There are other 'sh-ish' alternatives to csh/tcsh, but I must admit I haven't really given them a fair trial. I've been using bash for at least twelve years now, and I haven't felt any need to change. I should also admit that these days I'm more likely to write scripts in perl or ruby, unless it is something fairly simple... Those are my personal preferences. Yours may be different. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Printer
At 2:25 PM -0500 12/27/04, Leon wrote: Hi, I have a "BSD5.3" I'm trying to set-up a printer.(Dell AIO A960) I think, that this printer made by "Lexmark". They have one looks like what I have(Lexmark X6170) I do not know if "BSD" support this printer. So if you know, pleas let me know. I do not know about that particular model of Dell or Lexmark printer. I do know that at least some of Lexmark's printers work quite well, but it depends a lot on the model. The web page at: http://service.dell.com/dell/kb/tech_support/view_article/1,,967+5835+6285+12749,00.html implies that this particular printer is not going to work well with FreeBSD (since it does not work with Linux). On the other hand, it may be that this web page is talking about support for *all* of the functions in this "all-in-one" printer. It might be that you can get it to work as if it were a plain printer by pretending it is some other model of printer, but I have no idea what would work best. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Printer
At 9:34 AM -0500 12/28/04, Louis LeBlanc wrote: On 12/27/04 09:46 PM, Parv sat at the `puter and typed: > Lest somebody gets the wrong idea that all Lexmark printers behave as descried above, my Optra E310 laser printer -- US$[23]00, 199[89] -- is still going strong. It worked/works in Windows 9[58], Me, XP. It of course just works, like a PS printer, in FreeBSD 3.x, 4.x, and sure would in 5.x. Some few from that time period (very few, if I remember the weeks of research I wasted on my particular model) used standard protocols and could be easily made to work with any OS. The majority of Lexmark printers up to around 2002 (I think) used a proprietary protocol, and they guarded it like it was Microsoft code. I don't think they even released MacOS drivers. I believe most of their printers now use standard drivers, but that's still no guarantee they'll work with *nix systems. Some are explicitly supported through the various methods, but unless it was, I wouldn't even bother, myself. Sigh. We have a few hundred Lexmark printers here at RPI, covering a variety of models. We have been buying them since Lexmark was created as a separate company (a spin-off of IBM). They have all worked fine, printing from a variety of systems using standard protocols. In our case, we tend to buy Lexmarks for black-and-white laser printing. We have a few of their color printers too, but we have not been happy with the printing-results. Which is to say, they do *work*, but in general we weren't too happy with the color output, compared to the output we get from Tektronix (now Xerox) Phaser printers. We print over two million pages a year on our various Lexmark printers. They seem to do just fine for us. > Mind that i am interested mainly in sharp and clear black/white > text currently. Which would probably be a deciding factor in changing printers. My guess is you'll get another year or two with good maintennance. I vaguely remember reading somewhere that those standard protocol printers were decent quality, but the proprietary protocol models were mediocre at best. That might have been a factor in their abandoning it. I'm glad your experience with Lexmark has been better than mine. Myself, I'm pretty brand-loyal. When something works well for me, I stick with it. When a brand burns me, I avoid it like the plague unless circumstance forces me to take another chance. My experience is that Lexmark is really best at the higher-end printers, but then that's what we tend to buy here at RPI, because we do a lot of printing. I have never bought a cheap (< $100) lexmark printer, but then I don't buy cheap printers from anyone. My experience is that almost all cheap printers are more trouble than they are worth. I have wasted many many hours on a cheap HP, Epson, or Canon printer that some friend of mine has bought. I am sure that I would have similar headaches with a cheap Lexmark, assuming I were to buy one. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Backup with dd?
At 11:57 AM -0600 1/3/05, Eric F Crist wrote: Hello all, I've decided to try doing a complete system backup, attempting a bit-for-bit copy. A friend told me to try the following: # dd if=/dev/ad4 of=/dev/ad6 Both drives are identical SATA150. Is this the best way? While that will probably work, it is also somewhat risky to make a direct copy of a disk that you are actively using. You can end up with a copy that has inconsistencies, because of changes that happen on the source disk during the time it takes to do a copy. And if you are copying a huge disk, it *will* take a significant amount of time to perform that copy. By "inconsistent", I mean that when you boot up on the copy, the initial 'fsck' will fail because of inconsistencies on the disk. I have done 'dd' copies like this. I have seen fsck failures... I'm hope to be able to do a daily/weekly backup this way, and if my primary drive fails, switch the cables and just reboot. You would be better to do the copies on a per-partition basis, and first create a UFS snapshot of each partition, and then use the snapshot as the source for your copy. I actually use a 'dump -L' command, combined with 'restore'. The -L option causes dump to automatically create the snapshot for the partition you specified. It uses the snapshot for the copy, and then destroys the snapshot when the copy has finished. This assumes you're running 5.3-stable or 6.x-current. I am not sure how well snapshots would work on 4.x-stable. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Backup with dd?
At 1:03 PM -0600 1/3/05, Eric F Crist wrote: On Jan 3, 2005, at 12:46 PM, Andrew P. wrote: Eric F Crist wrote: You seem to be under the impression that I'm doing this for the sole reason of a disk crash. I'm actually doing it for more than just that reason. For example, if my system gets hacked, most hackers will probably not care about an unmounted hard drive, and screw with the current mounted partitions. [...etc...] Backing up with dd is ultimately straightforward, but is not a good idea at all. The matter is when dd is running, the source may be modified and the copy might be inconsistent. Software RAID should be the best option for your task: you can mirror a drive to a second one and then just plug the second one out of your computer. Best wishes, Andrew P. Is this vinum? Fairly difficult to setup, or is it straight-forward? Before I delve into that, any setup recommendations? Software raid seems like a messy way to handle this, when all he wants is straight copies of the partitions. Much easier to mount and umount some destination-partition(s), than it is to unplug a hard drive. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Freebsd 5.3 - long uptimes...
At 4:26 PM + 1/9/05, Robert Watson wrote: On Sun, 9 Jan 2005, Mark wrote: > FreeBSD will run for years without a boot in many cases. > Ah, this point fascinates me. Running for years? Do you ever > have to recompile your kernel? :) The longest personal uptime I've had is just under two years, and that was for a UPS-backed natbox in my parents' basement. [...] At some point, the power went out for longer than the UPS could keep it up, so the uptime went tumbling down... I think it was up for about 540-550 days at that point. My main "production-system" use of FreeBSD is for a chat server, which needs to be up all the time or everyone stops "chatting" and starts yelling at me. The longest uptimes I've had so far are: * 373 days 10 hours (a 6-hour long power outage) * 599 days 14 hours (a UPS melt-down failure) * 497 days 18 hours (hard disk failure) The third one many really have been an OS failure, which I will not bother trying to describe in detail... One problem with long uptimes like that: If the system does finally die due to an OS error, it is hard to get motivated to track it down. After all, the OS has had two years worth of changes committed to it since the time you compiled the snapshot which *maybe* has an error! To remain safe when going for long uptimes like this, I had a second machine running the same release of FreeBSD, and I could build the latest snapshot of the OS on that. I would then then copy over the bits and pieces needed to keep the production system safe (such as new versions of sendmail or sshd). -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Freebsd 5.3 - long uptimes...
At 7:27 PM -0500 1/9/05, Garance A Drosihn wrote: My main "production-system" use of FreeBSD is for a chat server, which needs to be up all the time or everyone stops "chatting" and starts yelling at me. The longest uptimes I've had so far are: * 373 days 10 hours (a 6-hour long power outage) * 599 days 14 hours (a UPS melt-down failure) * 497 days 18 hours (hard disk failure) I should note that the above uptimes were running 4.x systems (and the first one *might* even be a 3.x system). While I had forgotten that subject was talking about "FreeBSD 5.3", I obviously have not been running 5.3 for the past four years! -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Freebsd 5.3 - long uptimes...
At 8:13 PM -0600 1/9/05, Chris wrote: Long uptimes = unsecured+unpatched boxes. Long uptimes? No thanks. If you had read my earlier message, you would see that I take steps to keep the important components patched, and thus my machine has been as secure as a freshly-built system. Long uptimes are just a nice goal that I try for, so if there was a security issue where I *had* to reboot to fix it, I certainly would do so. My strategy works for me because I have spare machines, and I am constantly paying attention to freebsd changes. The strategy will not work as well for people in different situations than mine. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: WRITE_DMA errors on SATA drive under 5.3-RELEASE
At 3:53 PM +0100 2/27/05, Anthony Atkielski wrote: I've gotten two messages like the ones below today on my production server (5.3-RELEASE): ... kernel: ad10: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=4848803 ... kernel: ad10: FAILURE - WRITE_DMA timed out What do these messages mean? The referenced drive is one of two identical SATA drives on the server; it holds /tmp and /var. I don't recall seeing these messages before. Is there a way to work backwards from the LBA to the filesystem so that I can see which file was being referenced when this occurred? First question: which SATA controller are you using? And what is the make&model of the hard drives that you are using? Note: There have been several different threads on different mailing lists from users having WRITE_DMA errors similar to this. At least some of the problem is in the code which handles disk I/O. The developer who works the most on that code is in the middle of a fairly major set of improvements to it, as is described in the thread with a subject of: UPDATE2: ATA mkIII first official patches - please test! on the freebsd-current and freebsd-stable mailing list. That major set of improvements is still being tested, but it does solve some ATA/SATA issues for many users. Which issues you are running into will depend on which SATA controller you have, and the make&model of SATA hard-disks that you have attached to the controller. I realize that none of that info really helps you right now, but I just thought I would say that it may be you're not having any hardware problems. Or at least, not on the disk itself. It might be a problem with the disk-controller, or it might be fairly minor timing-problems that come up under certain kinds of load. Of course, it still *could* be your hard disk... Also note that I am not an expert on hard disks or disk I/O. It's just that I've suffered through many similar problems, and I know that Søren has been working on the newer, improved code for handling ATA/SATA. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Stupid ASCII loader prompt
At 5:06 AM -0500 3/13/05, Fafa Diliha Romanova wrote: hello i find that loader prompt very frustrating: 1. it is *VERY* unprofessional For what it's worth, the default for displaying that image has changed for freebsd 6.x. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvs question?
At 5:00 PM + 3/24/05, Osmany Guirola Cruz wrote: Hi people I am learning in the use of cvs for sync my src and ports i use this command line and works perfectly #cvs -d [EMAIL PROTECTED]:/home/ncvs co src but this line update my source tree with the current version 6.0. But i don't want this version so then i do this #cvs -d [EMAIL PROTECTED]:/home/ncvs co -rRELENG_5 src and get this error cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied What can i do? I do not know for sure, but try: #cvs -R -d [EMAIL PROTECTED]:/home/ncvs co -rRELENG_5 src -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Samba problems
At 12:29 PM -0300 3/26/05, Alejandro Pulver wrote: Hello, I am using FreeBSD 5.3 with Samba 3.0.7,1. I can read all files from a Windows 2000 Pro. But when I try to access a mount point that is an NTFS filesystem, I have no read permission (files and directories appear as zero length files) until I access them from the server machine (like doing an 'ls'). Let me see if I understand the situation: You have a FreeBSD box running Samba. You have Win2k boxes which connect to file shares on that FreeBSD box. When they do, the PC's can not access partitions on the FreeBSD box, unless the FreeBSD box has already accessed them. I don't quite understand the reference to NTFS. Are you saying that the *FreeBSD* box is mounting NTFS partitions, and it then makes those partitions available to the PC's via Samba? Where are those NTFS partitions located? Are they on the hard drives of the FreeBSD box? Or is the FreeBSD box mounting them from some other file server? Note: I have subdirectories under '/mnt' like 'w2k', 'wxp', 'cam', and 'tmp'. What am I doing wrong? What *exactly* is your /etc/fstab file? The fact that you have directories under /mnt does not tell us anything about what filesystems you are mounting, or how they are getting mounted. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to restrict lpd
At 4:37 PM -0700 4/3/05, Bill Ding wrote: Hello, I am setting up some jails and have limited all the host daemons to the host's IP except for lpd. I can't find a way of doing that. Can it be done? I know it can in LPRng, but I prefer to install as little software as possible on servers. I don't understand what you're asking for. There's /etc/hosts.lpd, but I assume you are talking about something else. Note that I have not done anything with jails, so that might be why I don't understand your question... -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: let me just throw this out there..
At 1:02 PM -0800 1/24/05, gabriel wrote: Has it ever happened to anyone here where your computer (in this case, my gateway running ipfw+natd) just restarts out of nowhere. It isn't even a crash, it just restarted. Yes. Turned out to be an overheating problem. (one of the CPU fans was starting to fail -- and eventually it completely failed). Then when the computer came back up nothing was running, dhcpd, natd, cupsd everything was just not running. Weird. I don't remember this happening, but it might have in some cases. The machine in question does not run many services. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Logo Contest
At 9:37 PM +0100 2/10/05, Anthony Atkielski wrote: Julio Capote writes: > Untrue, I know a NUMBER of emerging graphic artists, who would > kill for this kind of exposure, and are much better than any > commercialized firm I've seen. If they are so good, why would they kill for this kind of exposure? You've never heard of a startup firm? Perhaps a startup made of recent college graduates? They might not "kill" for the chance, but if they do have some spare time they might find this an attractive project to spend some time on. The world of commercial art is no exception to the rule that you get what you pay for. Uh, the same could be said for programming. So why are you using an open-source operating system which is largely supported by people who are NOT paid to work on it? And who give it away for Free? Good graphic art is worth paying for; for a price of zero dollars, you'll get zero quality. Exceptions are very, very rare, and cannot be depended on. And an amateurish logo would be quite a liability. Technically this is not for zero dollars. There is a monetary prize involved for the winner, as well as the exposure. And even if the project does not pick your logo, I believe your logo will still be seen by others, and someone *else* might think "Hey, that person has some talent!" Listen, if all we come up with is crappy logo submissions, then we won't actually switch to any new logo. We're just trying to see what people *can* come up with, and maybe reward them a little bit for making the effort. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Logo Contest
At 8:13 PM -0500 2/10/05, Mike Hauber wrote: And quite frankly, it doesn't take weeks to figure out how to use correct grammar in an announcement or a responce (and even if the grammar is left _so_ wanting, take a look at the archives for this list. It can't be all _that_ bad, can it?) Who are you to make these pronouncements of "reality"? How do you know the exact length of time it takes to get 400 developers to agree on *anything* -- never mind the wording of a public announcement? The site was written by a developer whose primary language is Japanese. Just how long would it take you to write a web page in perfect Japanese? Sure, be a smug smart-ass about how great your own damn grammar is. However, FreeBSD is a world-wide project, with hard-working developers from many countries whose primary language is NOT english. Stop thinking that the entire world revolves around the lifestyle that you happen to live in. Thank you in advance for at least a reasonable response. Thank you for another set of ill-informed and insulting speculation. It's always a pleasure dealing with "friends" who are so willing to see conspiracies at every turn. I'm also glad you didn't waste any time reading any of the other messages which I have written in this mailing list. Much better to let your own demented accusations fly, then to give anyone the benefit of the doubt, or to actually read what they are saying. Mike (FreeBSD devotee & evangelist (for now)) And me, I'm speaking solely as Garance Drosehn, FreeBSD committer for the past four years. I have done maybe a dozen presentations for FreeBSD to public groups in that time. What "evangelism" have you done? Actual evangelism, in front of a live audience? I, for one, am damn tired of explaining some stupid Unix inside-joke to people, at the same time that I'm trying to convince those same people that FreeBSD is a professional, grown-up operating system. An operating system. Code that works. That is what I care about. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Please don't change Beastie to another crap logo such as NetBSD!!!
At 8:00 AM -0500 2/11/05, Bart Silverstrim wrote: Just to sum up things as I understand it... People want to change the logo from Beastie to something else because Beastie isn't professional enough, so some committers decided to hold a contest for a new logo? We thought it would be nice, after fifteen years, to see if our much-larger user base has any interesting ideas for a new logo. We thought it would be nice to reward people with a minor amount of money as a prize. Out of curiosity, is Beastie so terrible, a logo, that a business would be stupid enough to base their server decisions based on it? Businesses are stupid. People who demand dedicated allegiance to one single cartoon image are just as stupid. Both are facts, and neither is a late-breaking news item. Someone said people change logos all the time. That's flat out wrong. When a company spends mucho dinero on marketing their logo, they don't just flip around and decide to change their logo that they spent so much money and time getting mindshare with. Have any examples of logos that have constantly changed? We do constantly see companies change their logo. That is not the same thing as saying any *one* company is constantly changing *its* logo. Apple has changed its logo. AT&T changed its logo several times. GE recently changed its one-line motto. At one point, McDonalds rebuilt every one of their stores from the old "golden-arches" look to the newer "family restaurant" look -- and that cost a hell of a lot more than any logo change. Right now we're working with an image that was picked 15 years ago for a very small open-source project. We now claim to be several orders of magnitude larger than that. I doubt there is *any* company who has stuck with it's original logo as it went from "five guys running a hobby" to "millions of users". Since when did FreeBSD, a project always driven by volunteers and not by commercial matters, suddenly gain a marketing department that is trying to steer FreeBSD into the business sector? Is FreeBSD starting to have marketing dictate technology instead of technology dictate marketing? Some of those volunteers would like to see a new logo. Others would not. The vast majority probably do not care at all. Somehow the ones who like the present logo seem to think they can simply dismiss all comments from the other volunteers who would like a new logo, as if the work done by THOSE volunteers is somehow irrelevant. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Please don't change Beastie to another crap logo such as NetBSD!!!
At 4:34 PM -0500 2/11/05, Frank Laszlo wrote: Chad Leigh -- Shire.Net LLC wrote: FreeBSD is driven by commercial matters. Many of the people that work on it are paid to work on it by their employers, who are using it commercially. I wouldnt say many, there are few commiters who are actually paid to work on it, most commiters/developers do it as a hobby. ...but there is a mighty long list who would love to get paid to work on FreeBSD! :-) Many of us are paid to work on some Linux machines, and I think it would be much much nicer if we could convince our employer to go with FreeBSD instead. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Please don't change Beastie to another crap logo such asNetBSD!!!
At 2:56 PM -0800 2/11/05, Joshua Tinnin wrote: On Friday 11 February 2005 02:44 pm, Anthony Atkielski <[EMAIL PROTECTED]> wrote: Joshua Tinnin writes: > > Hmmm, let's see, Anthony Atielski, 30 posts on this subject > > alone, on a tech help list. Makes you wonder what sort of > > priorities you have. > At the moment, I'm worried about FreeBSD. Listen. You come in here making vague accusations of legal wrongdoing, not just once, but TWICE! With no foundation or background, I might add. You make these accusations with close to zero actual knowledge of the situations involved. Do you know what that's called? That's called a cartooney threat. Oh come on now. Given the recent cartoony lawsuit by SCO against IBM over Linux, I can understand his concern. *He* is not threatening anyone, he's just asking a few worthwhile questions. And the answer is that the Project is well aware that it needs to pay attention to these legal issues. First off, we already won the earlier AT&T lawsuit against FreeBSD, and second off we did notice the SCO lawsuit. We are checking in with lawyers more than we used to, and deciding just how far we need to go wrt these issues. Even if we could easily win any cartoony lawsuit, the lawsuit itself takes money and time-resources that we would rather not lose. Certainly the AT&T lawsuit in the 1990's caused a major slowdown in progress for FreeBSD while it was being fought. Speaking as a programmer, it is very very annoying that we have to spend time on these issues, but the fact remains that we *DO* have to pay attention to them. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: smblog format?
At 12:15 PM -0800 1/8/04, Matt Staroscik wrote: When I connect my PocketPC to my Samba server, the device has a very strange name in smblog: netbios connect: local=server remote=_cerdrc9cb8005 _cerdrc9cb8005 (192.168.1.94) connect to service Music as user USER (uid=, gid=) (pid 44909) "_cerdrc9cb8005" is just an example, the exact string changes. My other samba clients have "normal" names in the log. Where is Samba getting this string from? Note the part:_cerdrc9cb8005 (192.168.1.94) I would guess that means _cerdrc9cb8005 is considered the hostname for IP address 192.168.1.94. Do you have a DHCP server setup? If not, the PocketPC may be picking a name out of thin air. That is what I would guess is happening. However, I believe the message you're talking about is one that you can specify the format of. None of my logfiles look like the line that you have. (I'm running samba 2.2.8a). Check your smb.conf file and see what you have in that line. (it might be that you ARE seeing the default line -- because I certainly do customize the messages on my server...) -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: What is the end of FreeBSD ?!
At 2:19 AM +0200 1/9/04, Vahric MUHTARYAN wrote: Hi Everybody , I don't know Who can answer it or Do FreeBSD creators watching this list but I wonder What is the end of FreeBSD OS. I mean Does it like RedHat ?! one day will come and FreeBSD will inform "After this date, We are Not Free" RedHat is a company, with employees it has to pay, and shareholders that it has to answer to. They *must* have a standalone business model -- one that allows them to make money. FreeBSD is still a group of volunteers, some who work for companies and some who work for fun. The companies do not make money from FreeBSD directly, but by using FreeBSD to get "something else" done, and they make the money from "something else". In my case, I work for a college. The college doesn't actually care at all about FreeBSD, but they pay me to make sure "Printing" works. I happen to do that with some programs from FreeBSD, so any work that I do on "printing" could be given back to FreeBSD without my college caring about it. Note that RedHat is not the only source for linux, so there are still ways to get linux for free. In fact, you can still get it for free from RedHat, but it's called Fedora and it will change at a much faster pace than Redhat used to change. To my mind, Fedora is pretty much the same idea as the freebsd-current branch. A cutting-edge product, appropriate for people who have the time to deal with the constant stream of (possibly incompatible) changes. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: The fear of cvsupping my ports...
At 10:24 PM +0100 1/27/04, Henrik W Lund wrote: Greetings! Now, the thing is, I run into problems when I've cvsupped my ports tree. "make index" bails out afer about 2 seconds, and "portsdb -U" spews out about 3000 lines of " missing:" " dependency list incomplete". Do you 'refuse' anything when you're cvsup-ing? Such as refusing all chinese ports, or games, or whatever category of the ports collection that you are not interested in? -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can someone explain where the cvsup-mirror port puts it's crontab entry?
At 4:06 PM -0500 1/29/04, stan wrote: I've just installed this wonderful port, and with some kind help from the list got it working. Thanks to everyone. Now, I've got a "learning" question. This port creates a crontab entry to schedule updates. I looked in /var/cron/tabs, and I don't see it.... So, where does it create this crontab entry? The port tacks an entry on to the end of /etc/crontab -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SCP fails while ssh works...
At 1:08 PM -0800 2/9/04, twig les wrote: Hey all, I have to identical boxes running 4.6 and all of a sudden one stopped taking SCP even though it still takes ssh connections. This may not help you at all, but every time I've had a problem where scp fails and ssh works, it has been because the userid on the remote side printed out some extra text while it was logging in. Something like 'Welcome to ' in the .bashrc, for instance. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Wireless S-L-O-W Samba Domain Logon...
At 9:59 AM -0700 9/17/03, RA Cohen wrote: I needed to extend the reach of the wiring in one of the buildings and installed an SMC inexpensive router/access point running the latest and greatest 802.11G. ... Everything works but the domain logins are so slow as to be almost unuseable. Does that wireless access-point do NAT? We have our wireless connections behind a NAT box, and that does cause problems for things like WINS and some kinds of samba connections. I have no idea if that is related to what you are seeing, but if the box is doing NAT then that could be significant. I am not a samba expert though, so I can't really answer your question. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: AFS -> OpenAFS
At 10:27 AM -0400 10/3/03, Jerry McAllister wrote: > > I am wondering how I might go about connecting to an AFS cell > on my FreeBSD 4.8 system. Any input would be helpful. Currently, as far as I know, there is no version of AFS client available for FreeBSD although I keep hearing about openAFS coming.I wish it would. We use AFS here and so have to use something besides FreeBSD on those systems that need AFS access - unfortunately. For 4.x systems, you might be able to use the ARLA port. It's an afs-compatible client. I *think* it works under the 4.x-branch, but I have never tried it. But, I suppose creating a complete OpenAFS has ... If someone has any more encouraging information than this, please post it and indicate where this can best be tracked. All that the OpenAFS client needs is more developers who have time to work on it. Recently Garrett Wollman has started to work on getting OpenAFS to work on freebsd 5.x. He is hoping that he won't break the progress which has been made on the openafs client for freebsd-4.x, but he does not have a lot of 4.x systems to test on, and he needs to concentrate on 5.x. The openafs project has a web site at http://www.openafs.org/ Recently a request went out to the openafs-info mailing list, for people to help test Garrett's changes on the 4.x branch. Ie, to take his changes for 5.x, and test those changes on 4.x to make sure that patches needed for 5.x will not cause problems for 4.x. There is also a openafs mailing list for the port of openafs to freebsd. So, Check: https://lists.openafs.org/mailman/listinfo/port-freebsd https://lists.openafs.org/mailman/listinfo/openafs-info -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: AFS Server + MAC + Jail
At 8:08 PM -0400 10/5/03, Kenny Freeman wrote: I'm using the latest release of openafs, plus I keep my entire system and kernel up to date with patches. ... Anyways, my question is really just about AFS and whether or not it works on 5.1-RELEASE. My understanding is that the server-side should work OK, but I don't know anyone who tried to run it in a jail. There is some work going on to get the OpenAFS client working on freebsd-current. You should follow the OpenAFS mailing list for more details. Some details show up on the special list for the freebsd port of OpenAFS, and some freebsd info shows up on the general-info mailing list. So, Check: https://lists.openafs.org/mailman/listinfo/port-freebsd https://lists.openafs.org/mailman/listinfo/openafs-info -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Latest "stable" fixes are unstable
At 4:14 PM -0400 10/9/03, Jeffrey Wheat wrote: Apologies for being so vague... All that happens on the 4.8(4.9RC) servers is they suddenly reboot without leaving anything in the log files at all, so it is very difficult to provide more details on the crash. In the case of the 4.9 systems, are you VERY up-to-date? There were a few changes recently made which did cause problems for some users, but it should be true that all of those are now fixed. You'd pretty much want to be running *today's* sources to get all those. I think it should be telling you that the system name is 4.9-RC2 if it has (what we think are) all the fixes. (I might be wrong on that, I haven't actually rebuilt my 4.x machine yet this week). On the 5.0 servers, I get page faults. I am going to enable crash dumps on these servers now. I'm having some odd problems with 5.x-current right now, but I haven't been able to figure out what it is yet. In my case, it *might* still be a hardware problem, though it seems odd that I have zero trouble with 4.9 on the same hardware (and my problems with 5.x didn't start until this September). For me, the problem with the 5.x is that the machine completely locks up, which makes it a real hassle. It is also true that a week (or two?) ago there were changes to 5.x which caused problems for many people. Again, make sure you're up-to-the-minute with what you're running. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /usr/local/etc/rc.d/*sh and slow build world in FreeBSD 5.1
At 11:58 AM +0100 10/10/03, [EMAIL PROTECTED] wrote: 1) I can't get /usr/local/etc/rc.d/*sh to work. I don't have any ideas to offer on this. 2) Building kernels/worlds is MUCH slower than under 4.X. A kernel used to take around an hour; it's taking about 4 under 5.1 (Cyrix 166mhz/64Mb RAM). Is there still a lot of debugging code in 5.1 which could slow things down? a) I assume you've read /usr/src/UPDATING in your 5.x system, which explains some settings that you can look at if you are wondering about performance. b) the 5.x-series uses gcc 3.3.x for its compiler, while freebsd-4.x has stayed with gcc 2.94. gcc 3.3.x is definitely much slower at *compiling* code. If your only performance measurement is buildworld and buildkernel, then this difference in compile times is the reason for most of the slowdown that you're seeing. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: lpd setup for remote printer
At 2:17 PM -0400 10/15/03, Tom Parquette wrote: I'm trying to configure printing on the "local" machine (Stargate) to point to lp on P3R-272. This is what I currently have coded in Stargate's printcap file: lp|HP2000 on P3R-272:\ :sh:\ :sd=/var/spool/lpd/lp:lf=/var/log/lpd-errs:\ :rm=P3R-272.Tom.Parquette.name: If you do not have 'rp=' specified, then (iirc) lpd will assume you mean a local printer. Try addingrp=lp: to the above printcap entry. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Clarification on CVS Tags
At 11:00 AM -0800 10/28/03, Jason Williams wrote: Thanks Matthew for your explanation. You answered a lot of my questions. Makes sense now really. Just out of curiosity, why would someone want to use: RELENG_4_8_0_RELEASE? Is there some type of benefit? One would think that the best option for production servers is: RELENG_4_8 Thanks for your insight. The "security" or "safe" branches (such as RELENG_4_8) are relatively new. We still have to have tags such as RELENG_4_8_0_RELEASE for the release process, and you can use any tag for cvsup. Before the "security" branches existed, we used to encourage people to upgrade to those release-tags instead of upgrading to stable. There are still times when you might want to cvsup to a release point. Of course, once you do the buildworld for that point, then you'll never see any new changes until you switch to a different tag for cvsup. For instance, it might be quite reasonable to cvsup to a release tag, and once you know that worked you would then cvsup to some later release tag, or to RELENG_4 ("stable"). -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Smbd process not disconnecting
At 7:42 AM -0600 10/29/03, Charles Howse wrote: Note below, that the connection was opened on the 28th, but did not close, however the connection to "Seeds" closed about 4 mins after I opened it. Snippet from /var/log/moe.log [2003/10/28 12:11:13, 1] smbd/service.c:make_connection_snum(698) moe (192.168.254.4) connect to service WWW initially as user nobody (uid=65534, gid=65534) (pid 3064) [2003/10/28 15:31:04, 1] smbd/service.c:make_connection_snum(698) moe (192.168.254.4) connect to service Seeds initially as user nobody (uid=65534, gid=65534) (pid 3064) [2003/10/28 15:35:49, 1] smbd/service.c:close_cnum(880) moe (192.168.254.4) closed connection to service Seeds Am I way off target here, or do I have a process that isn't disconnecting when it should? How can I find out why the connection to "WWW" didn't close, and prevent that from happening in the future? I believe that what happens is that samba starts a process which handles connections as they come-and-go from the client machine. If you make additional connections, you'll notice that they all happen to 'pid 3064' (in the above example). I expect samba does this because there are times when the windows client will make a whole bunch of very short-lived connections, and it's better to have one process which keeps track of client-information than to rebuild all that information every time. I'm not much of an expert on the low-level details, but I can say that what you're seeing is also what I've seen, and that I believe samba is supposed to work that way. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Smbd process not disconnecting
At 1:22 PM -0600 10/29/03, Charles Howse wrote: Garance wrote: > I'm not much of an expert on the low-level details, but I can say that what you're seeing is also what I've seen, and that I believe samba is supposed to work that way. I just checked again, and the connection was closed at 12:13 local time, about 24 hours later. I guess that's acceptable, as long as it *does* finally close on it's own. Thanks for the reply! I believe there's an option which controls how long that process will stay around. Glancing at my smb config file, it might be the one called "dead time". -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: problems with LPD
At 8:45 PM -0700 10/28/03, <[EMAIL PROTECTED]> wrote: I have a printer configured in the BSD, is working fine, now I need to enable that other systems print in this printer, to do this I add 2 lines to the file /etc/hosts.lpd 10.192.2.134 as_nte.intranet.telmex.com. but the remote system can't print, so I run lpd with -c flag to enable all the connections error via syslog. In the file /var/log/lpd-errs I have this message repeated Oct 28 20:25:11 bsdsis lpd[10575]: Host name for remote host (10.192.2.134) not known (8) why doesn't print, if the ip is in the file hosts.lpd? If I run the command "host 10.192.2.134", it return me 3 names and one of them is "as_nte.intranet.telmex.com" You should only need the real hostname in /etc/hosts.lpd. You do not need to list the real IP address in addition to the hostname. To get the mapping between hosts and IP addresses to work, you would have to put an entry in /etc/hosts: 10.192.2.134 as_nte.intranet.telmex.com and then put just the line: as_nte.intranet.telmex.com in /etc/hosts.lpd Also, I like to enable the printers (all) in this server to be accessible to any one in the net 10. I saw your earlier question on this, and I believe the answer is that there isn't any good way to do this. You might be able to set something up with a netgroup, although that is not documented very well. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: problems with LPD
At 8:55 PM -0700 10/31/03, <[EMAIL PROTECTED]> wrote: Hi Garance. Thanks for your answer, ... I think that the solution to my dilemma, is modify the source code of LPD. But before this I like to try the "netgroup" option, where can I begin to read? Well, you can check: man hosts.lpd which will tell you almost nothing. Now it happens that the hosts.lpd is actually processed by the same code that handles hosts.equiv, although that is not documented. So, it happens to be true that: man hosts.equiv will tell you some additional hints as to what is available. However, you will notice that the man page for hosts.equiv does little more than point you to the source code. So, that is not very helpful either. There is also: man netgroup which will tell you the format of the /etc/netgroup file. I should mention that I have never actually used netgroups, so I am not sure that they will help you in this case. I have skimmed through all of the above, and my guess is that your original idea is probably the easiest one to do. It should be easier to change the source code in lpr/lpd/lpd.c to make it behave the way you want it to behave. Now that I have read more about netgroups, I expect that they are not very useful for what you really want to do. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBsd , I REALLY need some help :-)
At 1:47 PM +0100 11/4/03, Nic Bergen wrote: Hi, I'm trying to install freebsd on an old i486 (75mhz) with 40mb ram I have two harddrives 260 and 349mb. Which version of FreeBSD are you trying to install? -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I *really* need help PLEASE - buildworld failing on mkdep libstdc++can't find unwind.h but it *is* there
At 2:41 PM -0600 4/12/04, P.D. Seniura wrote: Chuck Swiger wrote: > It is not clear to me what problem you are trying to solve by > the activities you are pursuing: perhaps you ought to install > 5.2.1 or 4.9 from a .iso image and get on with other tasks, > and revisit the issue of recompiling world later? Nutshell: I have gone back to using the system gcc. But now we are not able compile libstdc++ and other related pieces; the headers _are_ there as mentioned in the earlier msg. Just about every other thing under world _does_ compile & link properly -- it is just the libstdc-type stuff. ... I don't know what else to check on, I'm needing another pair of eyes. ;) I am not a gcc or gcc++ expert. I can offer the following observation, but don't ask me what it means. gcc is a major project in its own right, and I do not know the ins-and-outs of it. In your logfile, you have the sequence: ===> gnu/lib/libstdc++ sed -e ...etc... > strstream-fixed.cc rm -f .depend mkdep -f .depend -a-DIN_GLIBCPP_V3 -DHAVE_CONFIG_H -I/src/gnu/lib/libstdc++ -I/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++ -I/src/gnu/lib/libstdc++/../../../contrib/gcc /src/gnu/lib/libstdc++/../../../contrib/libstdc++/libmath/nan.c ...etc... mkdep -f .depend -a /src/gnu/lib/libstdc++/../../../contrib/libstdc++/src/bitset.cc ...etc... The second one does not have the -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H or the three settings of -I. In a logfile of one of my own buildworlds, both of those mkdep's seem to start out with the same set of options. I expect the missing options are significant, but I do not know why they would be missing, or what to do about them. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: confusing printing error
At 7:53 PM -0500 5/13/04, Eric Crist wrote: Hey list, I re-ran the apsfilter setup routine, and now my printer seems to work fine, except I can only print with: # lpr -Paps1 I can't print from Kmail, or anything else, as I get the following error: A print error occurred. Error message received from system: /usr/local/bin/lpr -P 'aps1' '-#1' '/tmp/kde-ecrist/kdeprint_jpEBaXb0' : execution failed with message: lpr: unable to print file: server-error-service-unavailable This is often a conflict due to different versions of lpr/lpd on the system. When you do the `lpr' that works, which `lpr' are you getting? Are you getting the base-system lpr i /usr/bin/lpr, or are you getting the alternate one which you (apparently) have installed in /usr/local/bin/lpr ? -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dual processor and FreeBSD 4.9
At 8:16 PM +0200 5/10/04, Vivailsud Staff Member wrote: Hello, I am in trouble with FreeBSD 4.9p, I have got dual processor server (2 x Pentium II 400MHz) and I would like that FreeBSD could be able to use the both of them. I have read that you need to compile the kernel once again, but I would like to know which modifies I should apply to resolve this trouble. When you look under /usr/src/sys/i386/conf, you will see a file called GENERIC. That is the kernel-definition that FreeBSD is distributed with. You will want to make a copy of that file, to whatever file name you want. Maybe call it DUALCPU. Inside the file, you will see the lines: # To make an SMP kernel, the next two are needed #optionsSMP # Symmetric MultiProcessor Kernel #optionsAPIC_IO # Symmetric (APIC) I/O You will want to uncomment those two 'option' lines, to get: # To make an SMP kernel, the next two are needed options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O Earlier in the same file, you will see the lines: machine i386 cpu I386_CPU cpu I486_CPU cpu I586_CPU cpu I686_CPU ident GENERIC Comment out the lines for 'I386_CPU' and 'I486_CPU', and change the word 'GENERIC' to match the name you have chosen for your kernel configuration. So: machine i386 #cpuI386_CPU #cpuI486_CPU cpu I586_CPU cpu I686_CPU ident DUALCPU You then want to follow the instructions for building a kernel with the filename that you used for the kernel-configuration. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Strange pkg_info output
At 2:01 PM -0400 5/25/04, Chuck Swiger wrote: Jorn Argelo wrote: Recently I came across something which kind of bothered me. Every time when pkg_info removes and/or registers a package it gives this output: pkg_info: package bsdpan-DBD-mysql-2.9003 has no origin recorded pkg_info: package bsdpan-DBI-1.42 has no origin recorded pkg_info: package bsdpan-GD-1.19 has no origin recorded I've seen the same type of messages either when updating a Perl module using CPAN, or now when using perl-5.8.4 (via local modification to the port). Should I be worried about this? Or, how do I fix this? The messages are annoying but mostly harmless. I have seen this too. In fact, I think I ran into it the last time I updated the ports on some of my systems. I annoyed me enough that I kept trying things until it went away, but to be honest I don't remember what exactly I did that cured it. In my case, it was happening on something that I had always upgraded via ports & portupgrade. It was not bsdpan (which I do not even have installed...), but I do not remember what it was. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Strange pkg_info output
At 4:49 PM -0400 5/25/04, Chuck Swiger wrote: Garance A Drosihn wrote: [ ...snip thread about "pkg_info: ... has no origin recorded" messages... ] In my case, it was happening on something that I had always upgraded via ports & portupgrade. It was not bsdpan (which I do not even have installed...), but I do not remember what it was. If you install perl from ports, you apparently get bsdpan included. Hmm. How would I know if I had it? I don't seem to have any port with the letters 'pan' in it. and `locate bsdpan' does not find anything. I guess I don't really know what I should be looking for... -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Strange pkg_info output
At 5:41 PM -0400 5/25/04, Chuck Swiger wrote: Garance A Drosihn wrote: At 4:49 PM -0400 5/25/04, Chuck Swiger wrote: If you install perl from ports, you apparently get bsdpan included. Hmm. How would I know if I had it? I don't seem to have any port with the letters 'pan' in it. and `locate bsdpan' does not find anything. I guess I don't really know what I should be looking for... How about this: 22-sec% cat /usr/ports/lang/perl5.8/distinfo MD5 (perl-5.8.2.tar.gz) = fa356b74f99166b63a68a322c3c68f91 SIZE (perl-5.8.2.tar.gz) = 11896287 MD5 (BSDPAN-5.8.0_1.tar.gz) = af9f075e073b14714cfeb8a7582013e7 SIZE (BSDPAN-5.8.0_1.tar.gz) = 6338 ...? :-) Ugh. When I tried grepping /var/db/pkg/*/*, I only looked for a lowercase 'bsdpan'. Yes, I do have it installed. thanks. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ho hum. Make installworld
At 11:06 AM +0100 6/3/04, Edd wrote: I checked it out of a pserver like always. setenv CVSROOT=bla bla cvs login cvs co src I find it much better to use 'cvsup' over pserver, but I think you will have better luck if you change that last line to: cvs co -P src (or have a .cvsrc with the two lines: checkout -P update -d -P in it) -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD.org e-mail addresses
At 5:20 AM + 6/8/04, Andreas Carnaily wrote: Hello All! I have a strange question and I couldn't answer it myself in any documentation. Can I get some e-mail address [EMAIL PROTECTED] If I can, what should I do or who should I be? You have to be an active committer to the FreeBSD project, which means you have to first get people inside the project who like your work, and who have the time to mentor you so you know all the rules of being a FreeBSD committer. I need this for working with FreeBSD people and mailing lists. You should not "need" a freebsd.org address for working with any FreeBSD person. If you do, then *that* person should be guiding you through the process of becoming a committer, or providing you with some other kind of access if you need special access in order to work with them. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /boot on a separate partition
At 9:30 PM +0100 7/18/05, Ross Kendall Axe wrote: ... I want to place the /boot directory in a small 25MB partition at the start of the drive. Setting up the partition with sysinstall is easy enough, but does anyone have any suggestions of how to diddle the bootloader to accept this configuration? I doubt you can on FreeBSD. The problem is that the OS would have to mount both / and /boot before it could do anything, and FreeBSD doesn't do that. It assumes the partition that you are loading from is '/', and uses that to find (for instance) /etc/fstab so it can find out what the other partitions are. I know that linux supports this, as well as some other clever trickery with partitions at system-startup, but FreeBSD doesn't. I don't particularly want to go for the standard 'small / partition and separate partitions for /usr, /var, /home...' since I only have a 1GB drive to play with and judging the partition sizes down the nearest KB would be... tricky. Create a small-ish / partition, a swap partition, and huge /usr partition. FreeBSD creates a symlink from /home to /usr/home, so your home directories are in /usr anyway. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Shell script frustration
At 11:14 PM +0100 7/27/05, [EMAIL PROTECTED] wrote: echo ldapdelete -W -D $binddn \"cn=$1, $group_base\" ldapdelete -W -D $binddn \"cn=$1, $group_base\" when run ('./rmgroup users') it outputs - ldapdelete -W -D "cn=Manager,dc=orbweavers,dc=co,dc=uk" "cn=users, ou=groups,dc=orbweavers,dc=co,dc=uk" Enter LDAP Password: ldap_bind: Invalid DN syntax (34) additional info: invalid DN However, if I copy and paste the echod statement (the first line of the output) straight to the shell, it run fine. What I do in this cases is create a script called "list_args.sh": #!/bin/sh printf "\nlist_args.sh at `date +%H:%M:%S` with \$# = $#\n" # Process all parameters. N=0 while test $# != 0 ; do N=$(($N+1)) printf "\$$N = [%3d] '$1'\n" ${#1} shift done Then in your script, replace the ldapdelete command with list_args.sh. That way you'll see *exactly* what ldapdelete is seeing for parameters, and that might help. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: nvi for serious hacking
At 1:25 PM -0600 10/17/05, M. Warner Losh wrote: In message: <[EMAIL PROTECTED]> Gary Kline <[EMAIL PROTECTED]> writes: : vi was the first screen/cursor-based editor in computer : history. Are you sure about this? I was using screen oriented editors over a 1200 baud dialup line in 1977 on a PDP-11 running RSTS/E on a Behive BH-100. Seems like one year from vi to being deployed at Berkeley to a completely different video editor being deployed on a completely different os in the schools that I used this in seems fast. So I did some digging. vi started in about 1976[1] as a project that grew out of the frustration taht a 200 line Pascal program was too big for the system to handle. These are based on recollections of Bill Joy in 1984. It appears that starting in 1972 Carl Mikkelson added screen editing features to TECO[2]. In 1974 Richard Stallman added macros to TECO. I don't know if Carl's work was the first, but it pre-dates the vi efforts. Other editors may have influanced Carl. Who knows. I arrived in RPI in 1975. In December of 1975, we were just trying out a mainframe timesharing system called "Michigan Terminal System", or "MTS", from the university of Michigan. The editor was called 'edit', and was a Command Language Subsystem (CLS) in MTS. That meant it had a command language of it's one. One of the sub-commands in edit was 'visual', for visual mode. It only worked on IBM 3270-style terminals, but it was screen-based and cursor-based. The editor would put a bunch of fields up on the screen, some of which you could modify and some you couldn't. The text of your file was in the fields you could type over. Once you finished with whatever changes you wanted to make on that screen, you would hit one of 15 or 20 interrupt-generating keys on the 3270 terminal (12 of which were "programmable function keys", in a keypad with a layout similar to the numeric keypad on current keyboards). The 3270 terminal would then tell the mainframe which fields on the screen had been modified, and what those modifications were. The mainframe would update the file based on that info. I *THINK* the guy who wrote that was ... Bill Joy -- as a student at UofM. I can't find any confirmation of that, though. The closest I can come is the web page at http://www.jefallbright.net/node/3218 , which is an article written by Bill. In it he mentions: By 1967, MTS was up and running on the newly arrived 360/67, supporting 30 to 40 simultaneous users. ... By the time I arrived as an undergraduate at the University of Michigan in 1971, MTS and Merit were successful and stable systems. By that point, a multiprocessor system running MTS could support a hundred simultaneous interactive users, ... But he doesn't happen to mention anything about editors or visual mode. My memory of his connection to MTS's visual-mode could very well be wrong, since I didn't come along until after visual-mode already existed. I just remember his name coming up in later discussions. However, I also think there was someone named Victor who was part of the story of 3270 support in MTS. And Dave Twyver at University of British Columbia was the guy who wrote the 3270 DSR (Device Support Routine), as mentioned on the page at: http://mtswiki.westwood-tech.com/mtswiki-index.php/Dave%20Twyver In any case, I *am* sure that MTS had a visual editor in December of 1975, which puts before vi if vi started in 1976. Unfortunately, all of the documentation of MTS lived in the EBCDIC world, and pretty much disappeared when MTS did (in the late 1990's). -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Printing problem with CUPS && LPD
At 12:16 PM +0100 11/12/05, Frank Staals wrote: Hey, I have a HP LaserJet 1010 and I was trying to get it working with FreeBSD, so I installed CUPS and configured it to recoginize the printer and it does, I can successfully print a testpage using the webinterface. So I was trying to print a file from commandline with lpr, but there is something weird. This is the ouput of lpstat: [EMAIL PROTECTED] lpstat -p -v -d printer HP1010 is idle. enabled since Jan 01 00:00 CUPS v1.1.23 is ready to print. device for HP1010: usb:/dev/ulpt0 system default destination: HP1010 but when I try printing a file using the command: [EMAIL PROTECTED] lpr -PHP1010 /etc/motd this shows up at my dmesg : Nov 12 12:05:16 Print lpd[1905]: /dev/lp: No such file or directory LPD is trying to print to /dev/lp instead of /dev/ulpt0, but ... Does CUPS install its own version of `lpr'? I suspect it does. See if you have a /usr/local/bin/lpr in addition to /usr/bin/lpr. If you do, then see if that version of lpr works. What you probably need to do is remove /usr/bin/lpr, or make it into a symlink to /usr/local/bin/lpr. You would also want to add to /etc/make.conf a line something like: NO_LPR=yes -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: CVSUP Issues FBSD 6.0
At 2:09 PM + 11/12/05, Robert Slade wrote: Hiya, I'm having a problem with newly installed system. cvsup -g L 2 supfile gives Release not specified for collection "default" with the supfile (based on standard-supfile) containing: default host=cvsup2.FreeBSD.org default base=/var/db default prefix=/usr default release=cvs default tag=RELENG_6_0 default delete use-rel-suffix src-all You do not want "default" as a collection. You want to *set* default values for some variables. To set default values, you need to have an '*' character before the word 'default'. E.g.: *default host=cvsup2.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs *default tag=RELENG_6_0 *default delete use-rel-suffix src-all Note that you do not want to add a '*' before 'src-all', because 'src-all' is the name of a collection that you want to track. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Looking for commercial code gone open source
At 1:10 PM +0100 8/13/04, Jonathon McKitrick wrote: Does anyone know where there are any web-accessible examples of large or medium sized commercial software products that have been open sourced? I'd like to see some examples of code that were not written from the beginning with the intention of being open source. OpenAFS might qualify, or it might not. I think it started out more as a university research project, and then turned into a commercial entity which IBM eventually bought. Several years later IBM decided to open-source all the code that they had the rights to open-source. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: find -exec surprisingly slow
At 8:31 AM +0930 8/15/04, Paul A. Hoadley wrote: Hello, I'm in the process of cleaning a Maildir full of spam. It has somewhere in the vicinity of 400K files in it. I started running this yesterday: find . -atime +1 -exec mv {} /home/paulh/tmp/spam/sne/ \; It's been running for well over 12 hours. It certainly is working---the spams are slowly moving to their new home---but it is taking a long time. It's a very modest system, running 4.8-R on a P2-350. I assume this is all overhead for spawning a shell and running mv 400K times. Some of it is that, and some of it is the performance-penalty of deleting files from a directory which has 400K filenames in it, only to add the same files into a directory which will eventually have 400K filenames in it. Directory adds/deletes are not fast when a directory has that many filenames. It is probably even worse if there are other processes still working on the same directory (such as sendmail importing more mail). Where is '.' in the above `find .' command? Is it is on the same partition as /home/paulh/tmp/spam/sne/ ? You may find it much faster to do something like: mkdir usermail.new chown user:group usermail.new mv usermail usermail.bigspam mv usermail.new usermail cd usermail.bigspam find . \! -atime +1 -exec mv {} ../usermail \; My assumption there is that you have a LOT fewer "good files" than you have "bad files", so there will be fewer files to move. But I am also making the assumption that all your files are in a single directory (and not a tree of directories), which may be a bad assumption. Is there a better way to move all files based on some characteristic of their date stamp? Maybe separating the find and the move, piping it through xargs? The thing to use is the '-J' option of xargs. That way you can have the destination-directory be the last argument in the command that gets executed, and yet you're still moving as many files in a single `mv' command as possible. E.g., change my earlier `find' command to: find . \! -atime +1 -print0 | xargs -0J[] mv [] ../usermail Check the man page for xargs for a description of -J -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PROCFS
At 10:08 PM -0700 8/17/04, Kris Kennaway wrote: On Tue, Aug 17, 2004 at 09:14:06PM -0700, Dennis George wrote: Hi all, > Can I disable PROCFS (through kernel configuration[sysctl/GENERIC] ) > in freeBSD Yes. It's clear from the GENERIC config how to do this (remove the entry)). Is there also some entry needed in /etc/fstab? I do PROCFS and PSEUDOFS, but I do not have a proc filesystem. If the filesystem is not mounted, is there any risk from it? -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: top for 4.10 jail - looking to work with a someone to make it work
At 8:24 PM -0500 8/18/04, george donnelly wrote: I need top for 4.10 jails to work, and i know a lot of other people would like it. So i am looking for someone who like to develop a new patch for it (if it doesn't already exist?) and then keep the patch up to date. we're willing to pay and would of course want to release it back to the community. Disclaimer: I have not worked with jails... What does `top' do in jails right now? What would you like it to do? I assume you want people to only see the processes in their own jail, and not other the ones in other jails. Does `ps' work in jails the way you would like it to work? -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Way OT: How long does your box run for?
At 9:45 AM +0100 9/3/04, Andy Holyer wrote: I explained that generally some upgrade comes along that requires a reboot, but I realized that I don't know how long a box would stay up in the maximum. So, come on, this should be fun, what's the biggest uptime you've ever had for a BSD box? I don't think it would ever "require" a reboot. The question is whether you need to reboot to apply some prudent updates and security fixes. I have one server that I try to keep up as much as possible. The three longest runs on that machine are: 373 days 10 hours, ending in July 2000 (long power outage) 599 days 14 hours, ending in Sept 2002 (UPS failure) 497 days 18 hours, ending in Apr 2004 (disk failure) The first one ended because a power-station going into campus was flooded (due to some construction in the area), and the building did not have any power for about four hours. My UPS lasted about three and a half hours before giving out. The second one was that the UPS itself melted down! Well, it did not quite melt, but it was seriously overheating and I had to shutdown all the machines connected to it and unplug everything. The UPS was literally too hot for me to touch, and once it cooled down enough (which took about four hours), I could see that the battery had started to melt. The third was a disk problem, but I also believe it was a OS error because the disk *getting* the error was one I should have been able to ignore. However the OS was confused over which disk got the error, and it kept resetting the disk-controller for the main system disk, instead of the one for the disk which had the errors. So, I suspect the fault for that reboot is half hardware and half the OS itself. If you are going for long up times, then the stupidest thing you can do is "install it and forget it". While I have long uptimes on this machine, I also have only a few network services running, and there are only two or three people who can log onto the machine (and I trust them). I use the ports collection to keep many things up-to-date, and for some things in the base system (like sendmail), I recompile them on a different machine and then copy the pieces over to this server. So, I manage to apply the vast majority of security fixes, even though I do not reboot and I do not have to stop/restart the main service that this machine provides. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Which Laser Printer for FreeBSD
At 8:08 AM -0600 9/17/04, Warren Block wrote: On Fri, 17 Sep 2004, Martin Moeller wrote: I guess a laser printer is the best choice for Unix, and I'm wondering which one I should buy. I thought about the HP Laserjet 6L or something in this category. Avoid the 5L and 6L, as they have failure-prone paper feeds. Newer versions of this top feed printer may share the same problem. Used 4/4M/4M+ or 5/5M/5M+ series can be found inexpensively; the "M" models (for "Mac") have Adobe PostScript. The LaserJet 4000/4050 is a very nice printer, as is the LaserJet 5000 if you need 11x17. Both have a non-Adobe PostScript clone which works pretty well. Internal JetDirect cards are cheap for the 4/5 series, more expensive for 4000/5000, but very convenient. Having PostScript in the printer makes setup easier, and makes printing faster in some cases. I agree with everything Warren has said here. Here at RPI, we have also used Lexmark for black&white laser printers, and they have worked very well. We've also had a few Lexmark color laser printers. We have not been as happy with those, but I assume you are not looking for a color printer. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD Developer
At 7:04 PM +0200 10/11/04, [EMAIL PROTECTED] wrote: Hi there, I'm going to develop software for the FreeBSD project. How do I get listed on the official FreeBSD page as developer and is it possible to get a mail alias like [EMAIL PROTECTED] I am not sure what kind of development you are expecting to do. Are you developing some separate product of your own which will run on FreeBSD? Or do you hope to make changes to the project itself? In the first case, you might be able to be listed under the web pages for "Vendors" (software) on www.FreeBSD.org. I suspect it will depend on what kind of software you develop. Generally you do not get an email account for that. In the second case, you write up changes, and send them in as PR's. Once you start doing enough of these, some FreeBSD committer will notice and will see about "mentoring" you as a new committer to the project. It can sometimes be tricky to get the attention of some developer, depending on what parts of the system you want ot work on. If you get to be a committer, then you would get an account on FreeBSD.org. In both cases, we'd want to see some *working* product or some written-and-working patches. So, you have to write the code first, and then worry about getting listed as a developer (or as a committer) after we see the result. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Freebsd 5.2.1 Performance Woes
At 5:51 PM -0400 9/29/04, [EMAIL PROTECTED] wrote: While I was had a nice little test set up, I figured I'd test Freebsd 4.9 against 5.2.1 since I had fresh installs handy on separate drives. It would be interesting to try a fresh install of the most recent 5.3-beta ISO's. A lot has changed between 5.2.1 and today, and some of that should result in significant performance improvements. Note that 5.2.1 was released back in February. A lot has changed. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD compilation
At 9:31 AM -0700 9/30/04, D S wrote: Does anybody knows to compile FreeBSD with HAVE_INT64_TIMESTAMP? Well, the simple answer would be "Yes, it is easy to compile FreeBSD with that variable defined". However, the more useful answer would be to point out "There is nothing in the system which references that variable, so it does not matter if you define it..." I suspect you *might* be thinking of the recent change on the sparc64 platform, which happened after 5.2.1-release. *IF* you are running freebsd on sparc64 hardware, then the instructions for that change are included in a file under /usr/src (note that file was only added after 5.2.1-release). However, those instructions do not reference any variable named HAVE_INT64_TIMESTAMP. Where did you get that variable name from? Are you compiling some program which expects that variable to exist? That sounds like something which would be generated by an auto- configure script. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /var/log/wtmp always reseting to 0
At 6:52 PM -0400 10/1/04, questions wrote: On Fri, 1 Oct 2004, Richard Lynch wrote: man logrotate > Probably the logs are getting rotated and old ones discarded. man logrotate does nothing On FreeBSD, the utility is called newsyslog. The entry would be in /etc/newsyslog.conf . You should have an entry in there for /var/log/wtmp, but all that will do is rotate the file. It isn't going to truncate it. __Snip Command Output_ $ cd /var/log $ ls -al wtmp* -rw-r--r-- 1 root wheel 308 Oct 1 18:34 wtmp -rw-r--r-- 1 root wheel0 Oct 1 05:48 wtmp.0 -rw-r--r-- 1 root wheel0 Oct 1 05:42 wtmp.1 -rw-r--r-- 1 root wheel0 Oct 1 05:36 wtmp.2 -rw-r--r-- 1 root wheel0 Oct 1 05:30 wtmp.3 $ ___End Snip__ Uh, it seems odd that all those files have a date of "Oct 1". newsyslog should only rotate the file once on any given day, not five times, once every six minutes. Did someone change the entry for newsyslog in /etc/crontab ? The only reference to newsyslog in /etc/crontab should look like: # Rotate log files every hour, if necessary. 0 * * * * rootnewsyslog -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: What version of FBSD does Yahoo run?
At 11:15 AM -0700 10/7/04, Kris Kennaway wrote: On Thu, Oct 07, 2004, [EMAIL PROTECTED] wrote: > > > > why don't you post some of these impressive benchmarks to > > substantiate your seemingly flimsy position? On a single > > processor system please, for the 99% of us who don't use > > SMP. Hopefully the only good reason to run 5.x won't be > > if you run 4 processor systems. > > Already done so. > > Kris > > Is it really too difficult for you to post a pointer or > reference for those of us who don't have the time to spend > our entire lives reading mailing lists archives? Uh, it was in a reply to your message. This topic may be going on in multiple threads, so apologies if I am missing something. In this thread I notice a reply with the benchmark: Here's one benchmark, showing UDP packet/second generation rate from userland on a dual xeon machine under various target loads: Desired Optimal 5.x-UP 5.x-SMP 4.x-UP 4.x-SMP 5 5 5 5 5 5 75000 75000 75001 75001 75001 75001 10 10 10 10 10 10 125000 125000 125000 125000 125000 125000 15 15 150015 150014 150015 150015 175000 175000 175008 175008 175008 169097 20 20 20 179621 181445 169451 225000 225000 225022 179729 181367 169831 25 25 242742 179979 181138 169212 275000 275000 242102 180171 181134 169283 30 30 242213 179157 181098 169355 That does show results for both single-processor (5.x-UP 4.x-UP) and multi- processor (5.x-SMP, 4.x-SMP) benchmarks. It may be that he ignored the table as soon as he read "dual Xeon". But when he asked for a "pointer or reference", I was expecting to see a URL which pointed to some additional benchmarks. I did not notice any URL's in any of your replies in this thread. Did you think that you had included a URL in some reply, or were you referring to the above benchmark? Or did I just miss the reply which included that URL? Mind you, the above benchmark is very encouraging, so I am not complaining about it. I am only wondering if there were additional benchmarks written up. Well, I am also wondering what the reason is for both a "desired" and "optimal" column in the above. When would "desired" ever be different than "optimal"? :-) -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Managing /etc/hosts.lpd??
At 1:19 PM -0500 1/28/03, Bill Moran wrote: Mark wrote: Is there a better way to manage lpd permissions than specifying individual hosts in /etc/hosts.lpd? I have a heterogeneous network here (there are a few Winder's machines in addition to a bunch of Unix machines) that has a bunch of machines on it, all of which are listed in a local DNS server. What I'd really like to be able to do is just say: "Allow any machine from this local domain to connect to lpd." The documentation for hosts.lpd doesn't help out on format here, and the source code for lpd.c seems to confirm that there is, indeed, no wildcarding supported. Any other options? I wouldn't normally chime in like this, but I want to add a "me too" here. In my case it would be perfectly acceptable to eliminate all host checking on the part of LPD, since the LPD port is firewalled off from everything but our local network anyway. Haven't been able to find any way to do this (or what Mark asks for) in the docs anywhere. Am I missing something? The docs do not admit this, but iirc you can list a netgroup in your /etc/hosts.lpd file. Unfortunately, that is not a useful or convenient option for many users. I have been thinking I should add simple pattern-matching support, but I haven't decided exactly how I'd like that to work. I will move that higher in my list of things to do to lpr. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: lpd/lpr "stopped" working
At 8:39 PM +0100 2/3/03, Bjarne Wichmann Petersen wrote: Hi! I'm a bit pussled. I can print from OpenOffice and Phoenix. But konq chokes: "A print error occured. Error message received from system: /usr/local/bin/lpr -P 'laserjet' '/var/tmp/kde-mekanix/kdeprint_pYNslYF' : execution failed with message: lpr: unable to print file: server-error-service-unavailable" Note that the message refers to '/usr/local/bin/lpr'. You have probably installed some port which (one way or another) installed an alternate version of lpr. The behavior you will see from different applications will depend on what PATH they are using when they run. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: FreeBSD 4.7-RELEASE and X11R6 build on 5.0-CURRENT in one set
At 9:15 PM +0700 1/16/02, Pavel Burovsky wrote: Excuse me for, perhaps, plaqued question. FreeBSD 4.7-RELEASE (I obtained it from www.linuxcenter.ru) contains the XFree86 server built on 5.0-CURRENT snapshot(anyway it so reported by XFree86 server). Is it normal? FAQ says it's not. I would pleased for every answer :) It does sounds odd, but it isn't necessarily wrong. Are you seeing any problems with it? If it was really built on a 5.0-system, then I would expect that it would not even start to run on a 4.7-release system. Also note that the computer you sent that message on seems to be living in the wrong year. The timestamp on your message says January 16 2002, but we're now in 2003. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: printing error
At 8:44 PM -0800 2/8/03, chip wiegand wrote: I just setup my new Epson C62 printer, works great on my freebsd box. I am using samba to share it with the rest of the family pc's. They see it in network neighborhood, connect, install the drivers, all fine. but the test page won't print. Nothing appears in the queue with 'lpc stat all'. In the samba log I get the following error - printing/print_cups.c:cups_queue_get(731) Unable to connect to CUPS server localhost - Connection refused As I mentioned, I'm using samba, so why am I getting cups errors? How do I disable cups, it's not a running process that I can find. You probably built samba without the magic environment variable that causes it to skip CUPS. That probably resulted in CUPS being installed. And the error message is because samba is *expecting* to connect to CUPS, but that is failing. Thus, there is no CUPS process actually running. Re-check what makefile options you have when building the samba port. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: /var/run/printer?
At 6:30 PM -0700 7/23/02, Ed Yu wrote: >When I try to run 'lpc restart all', >it shows lp: > cannot open lock file >lp: >lpc: unable to connect to /var/run/printer: no such >file or directory >lpc: check to see if the master 'lpd' process is >running. > couldn't start daemon > > >However, ps aux shows that lpd is running >daemon 138 lpd: lpd waiting(lpd) > >ls -l /var/run shows >lpd.515 and lprng but no /var/run/printer > >I read that /var/run/printer should be created by lpd >but it is not. Why? The version of lpd which comes as part of freebsd does use /var/run/printer for communication between various processes (lpd, lpr, lpc, etc). This version of lpd should be on your system in /usr/sbin/lpd . The fact that you got that error message from lpc indicates that you were definitely running the version of lpc which also comes as part of the base freebsd operating system. You do have an lpd process running, but you say it shows up in 'ps' as: lpd: lpd waiting(lpd) The version of lpd which comes with freebsd would not show up that way. You also said /var/run had a file for 'lprng'. I do not run lprNG, but I expect that you have installed it, and that you have it running. It may even be working perfectly fine. The problem could be as simple as that you're using the base-system lpc, when you want to be using the version of 'lpc' which came with the lprNG package. The base-system lpc is in: /usr/sbin/lpc while I suspect that lprNG would have one in: /usr/local/sbin/lpc So, everything might be working perfectly fine, except that you do not have '/usr/local/sbin' in your setting for PATH. Thus, you are getting the system version of lpc instead of the lprNG version. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: /var/run/printer?
At 3:34 PM -0700 7/24/02, Ed Yu wrote: >You are right. When I restart the machine after I >uncommented LPD_ENABLE="YES", /var/run/printer shows >up. I also did check /usr/local/sbin and there are lpc >and lpd in it. I basically totally mixed LPR and >LPRng. Hmm. I am not completely sure I understand what you did. It sounds like now you might have both the "standard lpr" and the alternative lprNG running. You only need to have one of them running. You just need to make sure you are using the versions of 'lpc' and 'lpr' which match the version of 'lpd' that you are using. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Help debugging printing
At 1:50 PM -0400 10/6/02, Gerard Samuel wrote: >I setup and installed a printer yesterday, and installed LPRng and >apsfilter from ports (fresh cvsup), and had apsfilter print out that >funky test page. In continuing the setup the box, I am trying to >print a file, and getting these results -> > >hivemind# lpr lprng.sh >lpr: Unable to connect to /var/run/printer: No such file or directory >lpr: Check to see if the master 'lpd' process is running. >jobs queued, but cannot start daemon. This probably means you are executing the version of 'lpr' which is in the base system, which is not the version from lprNG. You would want to get the version in /usr/local/bin/lpr. >- >The lpd daemon is running. >hivemind# ps aux | grep lpd >daemon 530 0.0 0.3 1476 1096 ?? Is1:07PM 0:00.00 lpd: >lpd Waiting (lpd) I expect this is the version of lpd that comes with lprNG (which, of course, is what you wanted). The base-system lpr will not work with it. >I ran LPRng's checkpc utility and got this -> >hivemind# checkpc >Warning - lp: cannot open lp device '/dev/ulpt0' - Permission denied > >I know for a fact that /dev/ulpt0 exists, so I deleted it and >created it again. >hivemind# rm ulpt0 && ./MAKEDEV ulpt0 && ls -al ulpt0 >crw--- 1 root wheel 113, 0 Oct 6 13:46 ulpt0 > >Does anyone know where my problem may be?? This part is all lprNG specific, so I have no idea what you need to do. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: LPD protocol screwup and ctl_renametf error
At 1:12 PM -0400 10/18/02, TheGlenMann wrote: Docs on the subtleties on LPD seem to be in short supply. It looks like the PAGEPROTECT thing breaks the whole system, then the cannot rename seems to be Windows trying again to send the file... How can I determine what is wrong? I suspect that permissions are preventing transfer of the actual print file (given on the l line), as I cannot find it on the system. I do a lot of the support for lpr/lpd in freebsd. From a quick look at your message, I suspect that the windows side is not doing the right thing when it comes to sending the data-file for a print job. I'll try to take a longer look at your report, and give you a better answer within the next few days. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: samba printing stopped after upgrade to 2.2.6
At 12:03 PM -0500 10/28/02, Vivek Khera wrote: > "DN" == Dan Nelson <[EMAIL PROTECTED]> writes: but I have not enabled CUPS in samba at all. Does anyone know what I need to do to migrate successfully from samba 2.2.5 to 2.2.6? Here's my config: DN> When you did the install, you probably just skipped that options dialog DN> that came up, right? All the options on that page are "select to DN> enable", except CUPS which is "select to _disable". Rebuild samba, and DN> select the "Without CUPS" line. Quite annoying. I work around it by DN> adding WITHOUT_CUPS=yes in /etc/make.conf, and setting BATCH=yes in DN> net/samba/Makefile. CUPS is linked in both 2.2.5 and 2.2.6, but in 2.2.6 it seems to want to actually *use* it even though I don't configure it. Also, if I select the "Disable CUPS" flag, all it accomplishes is to not register the dependency. CUPS is still linked for some reason. Does your smbd have cups linked (as reported by ldd)? Be a little careful here. It sounds like you: 1) installed samba-with-cups a) which by definition would install CUPS, if you did not already have it installed. 2) backed off to previous version of samba a) which backs out the version of *samba* that was installed, but probably does not back out versions of any other ports which were installed while installing a new samba. 3) installed samba-without-cups a) ...but CUPS is probably still installed. b) if so, the configure scripts for samba will notice that CUPS is on the machine, and will probably use it. This would be the correct behavior, IMO, because if you *do* have CUPS installed then samba *should* use it. Some of that is just guessing on my part, but it sounds pretty plausible. I would suggest that you see if CUPS is installed. Also check to see if it is a recent install. If so, then /usr/local/sbin/pkg_deinstall cups and then try the samba-without-cups install once again. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Samba taking too long to upload files.
At 6:56 AM -0800 11/4/02, Roberto Armenteros wrote: The download process is very fast, but not the upload process. When I upload to my other windows machine it goes five times as fast as my bsd box. What could be the problem? Make sure your ethernet card has the correct setting wrt half-duplex vs full-duplex. I had a situation where the card was assuming a half-duplex connection, but the network port (on the gateway) was hardwired to 100Mbit full-duplex. The performance penalty for samba file transfers was enormous. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: xargs -J
At 10:10 PM -0500 11/25/02, David S. Jackson wrote: Hi, I've been trying to use |xargs -J [] mv [] [].suffix but to no avail. I've tried |xargs -J mv \[\] \[\].suffix and variations but that doesn't seem to work either. It seems to work fine with the -i command under GNU xargs, but not under Freebsd. If you're using '-i' with GNU xargs, then you probably don't want '-J' on the xargs in freebsd. -J is meant to solve a problem that can not be handled via -I. An example would be $ touch one two three $ ls one two three | xargs -J [] mv [] [].suffix I should now have one.suffix two.suffix three.suffix. At least, that's what happens with GNU and the -i \{\}. (FreeBSD manpage says to use -J [] without escapes though.) Can anyone lend me a clue here please? The man page for xargs says: Furthermore, only the first occurrence of the replstr will be replaced. in the description of -J. For your example, what you should use is -I, not -J. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Problem pulling particular directory from CVS
At 1:43 PM -0800 11/26/02, Paul A. Scott wrote: > From: Dan Nelson <[EMAIL PROTECTED]> > Are you maybe running out of space on your local drive? You might > also have a corrupted CVS repo, but I don't think you'd be getting > those errors in that case. No, I have over 40GB available on the filesystem. CVSROOT is set to :pserver:[EMAIL PROTECTED]:/home/ncvs so, if the repository is corrupt, then someone else has to fix it. It's possible that it's the /tmp directory on the remote side which is running out of disk space. CVS does not work well over a remote connection, when dealing with a very large repository. If I had 40-gig to play with, I would much rather cvsup the CVS tree to my local hard disks, and then CVS to *that* repository. In fact, that's exactly what I do, on all my freebsd machines (except my sparc), and most of my machines have less than 10-gig available. This is much better for everyone involved, if you have an extra 2 gig or so that you can use for holding the repository. (extra in addition to the space you'll need for /usr/src when you check it out from your copy of the repository). -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Interest in diskless booting?
At 12:48 PM +1030 12/8/02, Greg 'groggy' Lehey wrote: I was at a local installfext yesterday (http://installfest.auug.org.au/), and a number of people were interested in doing diskless booting, either for reasons of economy or reliability. I'm currently about to finish the manuscript of the fourth edition of "The Complete FreeBSD", and I was wondering if there was enough interest in this topic for me to include it in the book. If *you* are interested, please let me know. I'll make a decision depending on the amount of feedback I get. There's at least two cases, right? diskless booting off something like a custom CD-ROM, and diskless booting over the network? One of the students here at RPI worked on a project for the custom cd-rom idea. It's at http://www.sourceforge.net/projects/freebsdtogo/ He's used this to make CD's which boot up a laptop, and run without touching anything on the hard disk. I know he has it working for the 4.x-branch, and I believe he also updated it for the 5.0-current branch. This is very useful for having students use there laptops to take tests, while having the instructor have complete control over "what they are running". (and not having to worry about the state of things on the student's hard disk) -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Interest in diskless booting?
At 12:28 AM -0500 12/8/02, Garance A Drosihn wrote: At 12:48 PM +1030 12/8/02, Greg 'groggy' Lehey wrote: If *you* are interested, please let me know. I'll make a decision depending on the amount of feedback I get. There's at least two cases, right? diskless booting off something like a custom CD-ROM, and diskless booting over the network? One of the students here at RPI worked on a project for the custom cd-rom idea. It's at http://www.sourceforge.net/projects/freebsdtogo/ Uh, the point of me mentioning this is that the project is still in "testing" stage (*), he has made no effort to promote the project, and yet he has gotten a fair amount of interest in it. So, I expect many people would be interested in the issues involved with making such a setup. (* - it works fine for his specific needs, but it could probably use some more polish so others could easily use it) -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Interest in diskless booting?
At 12:54 PM -0800 12/8/02, Gary W. Swearingen wrote: I mostly-wasted a bunch of time investigating web sites and articles which had schemes for diskless booting, and then discovered that the "picobsd" manpage told me everything I needed to know (to set up a non-harddisk filtering bridge booting off a floppy) in a staightforward, non-confusing manner. PicoBSD is great if you want to do what PicoBSD is geared for, but many people can think of their own custom systems that they would like to have burned on a CD-ROM. Not "pico" small, but still much less than the full-blown freebsd, and does not require a working hard disk to run. For those people, PicoBSD is *too* successful at being small. Besides, if you had a nice book with an accurate and detailed info on how to do build such systems, then you wouldn't have to waste any time searching those web sites... :-) Another example of where this information is useful is for hardware like the small, diskless boxes at http://www.soekris.com/. One of the CS grad students set up freebsd on a box like that, and gave a presentation of it at a local Unix users group, and everyone was very interested in what he had done. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message