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 file 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: 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: 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: 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 portname 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: filesystem permissions using dump on live filesystem
At 11:47 PM -0500 2/23/04, Aaron Peterson wrote: i put a user in the operator group in /etc/group: -snip- and attempted to dump a live filesystem: -snip- what am i missing here? nevermind. i had to log out and log back in. that solved my problems. now my only question is why does one have to log out and log in for addition to a new group to take effect? It is expected that the list of groups that you are a member of will not change very frequently. Thus, the list of your groups is computed at login time, and is kept in memory. If this was not done, then *anything* which checked your groups for access (such as reading a file) would have to read through all of /etc/group to re-calculate that list of groups. Now, it would be easy enough to optimize that simple case (on a machine using just /etc/group), but there is no simple optimization if on machines which are using something like NIS+ or other network directory services to hold the group information. If we really really had to, we could implement something that did that job acceptably well, but it's much easier to just tell people log out, and log back in. Or don't even logout, just 'ssh -l localhost' and start a new session. -- 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's emailing of errors to user@hostname
At 12:45 PM -0600 2/29/04, freebsd wrote: lpd will generate error messages to [EMAIL PROTECTED] specific email addresses. Is there a way to have lpd deliver to a single account (e.g. [EMAIL PROTECTED]) regardless of the [EMAIL PROTECTED] that originated the job? Not right now. I could change that. I have a few somewhat related changes in RPI's version of lpd that I still haven't merged into FreeBSD's lpd. I'm pretty busy with other side projects right now, but I hope to be getting back to lpd changes in about two weeks. -- 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: redirecting /tmp
At 9:37 PM -0500 3/4/04, Robey Holderith wrote: I'm trying to find a way to set an environmental variable so that the system will use /usr/tmp or something instead of /tmp as a temporary directory. Some utilities will pay attention to the TMPDIR environment variable. The story is that I was attempting to change the size of /usr remotely. I backed up all the data and then copied the bare necessities over to /tmp then changed fstab so the drive formerly known as /usr was never mounted and /tmp was mounted as /usr. Great! it worked... but now su isn't working... because now /tmp is 755. However, things that run setuid or setgid will probably avoid looking at environment variables. You may have painted yourself into a corner here, and will need to be at the machine to log in as root. -- 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: Usability Of NOCLEAN
At 12:37 PM -0600 3/6/04, Peter Schultz wrote: Hi, I'm just curious about the usability of NOCLEAN. If I've just updated world and things are fine with the installation, is it considered safe to use NOCLEAN? If we thought that behavior was always safe, then that would be the default behavior. It is not the default behavior, because it is not always safe... A couple updates to libc came in this morning just after I installed a fresh world and I'm wondering what others do in cases like this. I rarely use NOCLEAN. If there *are* problems due to some junk being left around, then the time I will lose to debugging those problems is bound to be much larger than the amount I save by using NOCLEAN. (and I have run into such problems, back when I did make NOCLEAN builds much more often). The only times I use NOCLEAN is if something died in buildworld or installworld. If I can find the ONE update to fix that problem, then I'll fix it and use NOCLEAN to rebuild world. I do not cvsup for all new updates, though. I only pick up the update(s) which fix the specific problem I'm seeing. It is very annoying to cvsup to pick up one fix, only to find out that you also picked up a *different* breakage... I doubt I would ever use NOCLEAN for updates to libc. My feeling is that if I don't have time to do a normal build, then I also won't have the time to deal with any problems that might come up from a NOCLEAN build. There is *always* another set of interesting-looking updates being committed to freebsd. If I have just finished a successful buildworld, then I almost always wait at least a week before I do another one. This is only describing my own habits, of course. Obviously there are many times when you *can* get away with a NOCLEAN build. It's one of those things which is very useful when you know what you're doing, but it isn't always safe 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: Moving SSH port off of port 22
At 9:01 AM -1000 3/9/04, Jason Halbert wrote: Hello All: I need some help moving SSH off of port 22, preferably onto port 23 and disabling telnet. Can I do this just by changing something in /etc/services or by means of a firewall? You change the configuration for sshd in /etc/ssh/sshd_config, un-commenting and changing the line that says '#Port 22'. You will probably find that you also want to change ~/.ssh/config files (on other hosts) to add an entry for the host where you are running sshd on port 23. You should not change /etc/services for this. -- 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 1.2.11 compilation on FreeBSD 5.2?
At 10:03 AM -0800 3/17/04, Matt Weatherford wrote: Has anyone done this? Care to share your notes? :) I want the AFS server, mainly. I dont care about the client. I have not compiled or run the server, but some friends of mine claim it wasn't too hard to do. Compiling and running a server on FreeBSD isn't too much different than running it on any other platform. It is the client which is much more of a challenge to get working on different platforms. Right now the client is working but probably-not stable, and you have to get the latest source out of the cvs repository of OpenAFS. Check www.OpenAFS.org 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: newsyslog and apache
At 5:19 PM -0800 3/22/04, Noah wrote: I ask that you please be specific as to what you think is wrong with my newsyslog.conf file because I cant seem to figure out what you are talking about here? Looks like my newsyslog.conf file matches the recommended config: Hi. I do not run apache at all, but I am the guy who has done the most-recent work on the newsyslog command. If I were to guess, I think your problem might be that you end up sending multiple USR1 signals to apache. I haven't looked at the code recently, but I think the freebsd newsyslog still does not optimize the number of signal's that it sends to a single process. What I would suggest you try is some kind of staggered setup. (it's an easy thing to try...). Something like: .../www.domain1.com/access_log 640 30 * @T00 ZN .../www.domain1.com/error_log 640 30 * @T00 Z /var/run/httpd.pid 30 .../www.domain2.org/access_log 640 30 * @T02 ZN .../www.domain2.org/error_log 640 30 * @T02 Z /var/run/httpd.pid 30 .../www.domain3.com/access_log 640 30 * @T04 ZN .../www.domain3.com/error_log 640 30 * @T04 Z /var/run/httpd.pid 30 (the ...'s are just an attempt to avoid line-wrapping in this message. you still want the full pathname in the control file) The idea is to rotate the log-and-error files for any one domain at the same time, and only specify the pid once for that group. And then wait two minutes between the files for each domain name. See if that helps you at all. -- 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: installworld failing on sparc64
At 5:48 AM + 4/3/04, Andy Miller wrote: I am currently upgrading a Sparc64 system from 5.1 to 5.2.1. buildworld was successful, as well as the build and install of the kernel. After a reboot, I ran installworld and received the following error message: === bin/csh install -s -o root -g wheel -m 555 csh /bin install -o root -g wheel -m 444 /usr/src/bin/csh/../../contrib/tcsh/complete.tcsh /usr/src/bin/csh/../../contrib/tcsh/csh-mode.el /usr/share/examples/tcsh gencat -new et_EE.ISO8859-15.cat et_EE.ISO8859-15.msg gencat:No such file or directory *** Error code 1 I'm not sure what has gone wrong. Any input on how to fix this will be greatly appreciated. I would try: cd /usr/src/usr.bin/gencat make install cd /usr/src make installworld I am not sure that will fix the problem, but it's a plausible guess at a fix. -- 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: printing over the network
At 8:02 PM +0200 12/21/02, [EMAIL PROTECTED] wrote: Are you using lpd or lprng (have to get that out of the way) lpd Is lpd running / listening? - Show me iulian#ps -ax | grep lpd 4544 ?? Is 0:00.01 lpd What does lpc status all return? Nothing What version of freebsd are you running? if 'lpc status all' returns nothing, then that indicates that lpd/lpc believes you have no printers defined. What do you get from: chkprintcap ? When lpd starts up, are there any messages written to /var/log/messages? -- 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: 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: Samba and $
At 1:41 PM +0800 8/12/03, Katinka Mills wrote: I thought in the version with Freebsd 4.8 that you could now use accounts with $ signs in them The 'pw' command has been changed so that you can create user accounts (and user groups) which end in a $. That's all samba should need. I'm pretty sure that change was included in 4.8-release. -- 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 logging
At 3:13 PM +1000 8/5/03, jason fiddian wrote: help please we have lpd -l running to log daemon activities but where does it log to? It depends on what lines you have in /etc/syslog.conf. You would want to check /var/log/lpd-errs, and you may also see the lines in /var/log/messages. If /var/log/lpd-errs does not exist, then you would need to create it before syslog will start logging to it. also we can print header pages to the local printer but not the network printers whose queues are on the same host. any ideas please? If you are saying that you can *not* get a header page on the remote-printer (and you have that specified by 'rm=' in your printcap file), then there is probably some setting that you need to change on that printer. Does the printer have some menu-based command panel on it? Some of them might allow for a web-based configuration. Different printers will call this different things. Some might call it a banner page, some will call it a separator page (or a job separator page). -- 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: Bind query logging stops after a logrotate.
At 12:04 PM -0700 9/8/03, Charlie Schluting wrote: FBSD 5.1: Using Bind9.2.2, and I have query logging turned on: logging { channel querylog { file /var/log/query.lo~g; print-time yes; }; category queries { querylog; }; }; After a logrotate, it stops logging completely. The permissions are correct, and all I have to do to make it start logging again is: rndc reload. Anyone heard of this? Any ideas? What do you mean by a logrotate? Do you mean a run of the newsyslog program? Or are you using some other program? -- 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: VMware2 build under -CURRENT ... is Broken?
At 3:49 PM -0700 4/1/03, Danilo Fiorenzano wrote: 5.0-CURRENT with sources cvsup'd on March 30. portinstall vmware2 aborts with: .../vmmon-only/freebsd/hostif.c: In function `FindMPN': .../vmmon-only/freebsd/hostif.c:186: invalid operands to binary *** Error code 1 Stop in /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only. Just wondering if the port is actually currently broken under -CURRENT or if it is something with my system. I would like to know if it builds OK for other people tracking HEAD. It happens that I rebuilt the vmware2 port on my machine on March 25th. That went OK. Just now I tried a force-rebuild of it, and I see the same error that you reported. So, it looks like something has changed in the system includes, and that is confusing the vmware2 port. (I say in the system, because the vmware2 port itself has not changed since I last built it). There were a number of other compile-time warnings before the one you listed. My guess is that /sys/sys/param.h might be getting pulled into the compile when it did not used to be pulled into it, but that is a very shaky guess. Please note that I am not likely to look into this any farther, because what I think I finally determined is that vmware2 simply does not work on my new PC (it builds fine, but crashes when I try to run it, on both stable and current). I still run it on my older PC, but that PC is running freebsd-stable, and needs to stay that way for now. -- 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: customizing printcap to email file
At 3:33 PM -0500 4/3/03, David Banning wrote: what I would like to do is have windows boxes print to a unix printer filter which would convert the file into pdf format and put the file into a directory where it could be emailed out. Anyone tried this? First off, I tried modifying the printcap if= entry to take the file and save it as a file. That was a no go - I just got an error. This is should be workable, although there are probably a number of subtle details that you'll need to pay attention to. You will probably want to set a log file (lf=) for the printer, as some useful error messages might show up there. Other errors show up in /var/log/messages or /var/log/lpd-errs. What error did you get? Note that you'd want to set if= to an executable script, and that the script should just *read* from stdin and write to where you want it written. Eg: #!/bin/sh cat /tmp/somefile First try to get it to work by writing to a /tmp file. If you get that working, you can then move on to getting it to work more like what you really want. -- 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: About newsyslog behavior
At 12:08 PM +0300 7/2/03, Jim Xochellis wrote: I suspected that some processes are confused because a *new* log file is created and these processes are making the assumption that their log file will be always the same and perhaps they open it once and then work with the FILE pointer. If a program responds to SIGHUP by re-opening all of it's files, then it really should re-open the log file. If the program does not re-open the logfile when it get a SIGHUP, then it is more accurate to say it is ignoring the SIGHUP (as far as that log file is concerned). Ie, there is no way that it is correct for the program to behave in the way you describe, if it is trying to do the right thing with the log file. I have confirmed that newsyslog actually creates a new log file (instead of copying it and then disposing its contents) by reading the source of the newsyslog.c file Yes, and that doen because it is the safest and most reliable way for it to rotate a logfile without any hitting any race-conditions. Having the above in mind, isn't it worthwhile to add an option in newsyslog in order to avoid the creation of a new log file when it is inconvenient? This does not seem like a good idea to me. It might work okay in the case where you are keeping no backup files, but it is a really bad idea if you want to rotate the information to backup files. Isn't it feasible to dispose the contents of the old log file instead of creating a new one? Anything that I am missing here? (giving the fact that I am not a unix guru, only a C programmer) If the program does not have some way to REALLY re-open the log file, then the file-pointer might also be pointing to a specific point in the file. Let's say it is at byte 125000 into the file. You empty the file. The next time the program writes to the log file, it will write to byte 125001 (depending on how the program is written). Some programs may work with this strategy, but others will not. I think you should look at the programs you are having trouble with, and see if there is some alternate way to get them to correctly handle the log file that you want to rotate. disclaimer: I am about to go on holiday/vacation for a few days, so all of the above comments were just my initial reaction. I realize this reply is not very helpful, but I'll try to write up something more helpful if no one else comes up with a good solution for you. -- 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: Question on order and targets of kernel and world builds
At 11:04 PM -0400 7/16/02, John Mills wrote: Hello - I would appreciate a bit more information on the 'world' and 'kernel' building process. Please point me at the right section of the Handbook or Greg's book if there is a succinct description. I have been doing 'CVSUP' followed by: # make buildworld # make installworld # make buildkernel # make installkernel without really knowing if this was a useful order or exactly what I was accomplishing with each target. You should check: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html for more details that you probably even need to know (because it includes information for older releases of freebsd). If you are fairly up-to-date with freebsd-stable, the preferred order would be more like: *READ* /usr/src/UPDATING [every time, just to make sure there are no special issues with this specific snapshot of freebsd] mergemaster -p make buildworld make buildkernel make installkernel [reboot, to make sure the kernel at least boots up] get into single user mode [usually by booting into it in the above step, although I often cheat on that...] make installworld mergemaster [go thru all the questions from mergemaster] reboot into your new world. You do not want to install the new world before you know whether the kernel that matches it will work on your hardware. If the kernel does *not* work (and I have had cases where this happens, although not very often on freebsd-stable), then you can easily back out by just renaming the kernel-related files in '/'. If you have done the installworld and *then* find out the new kernel does not work, well, you'll be in a world of hurt. Many people will try things in a different order, and will happen to have it work, and will thus insist that their order is the correct order (and usually that it saves them a lot of time). Their order may even work for six to eight months at a stretch, which they consider proof that it is a perfectly correct order. The documented order is the order you should stick with, because it's the only order that we actively *try* to keep working. If some other order happens to work, feel free to use it, but do not come complaining to us for the update where that alternate order does NOT happen to work... -- 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
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: 5.0-RELEASE under VMWare 3 : slowdown and even hangup
At 10:51 AM +0100 2/13/03, [EMAIL PROTECTED] wrote: I'm kinda in the same situation : XP Pro, WMWare 3.2, several virtual machines running fine (linux,w2k), but the freebsd 5-RELEASE is quite a pain to use in this env. The guest OS keeps on slowing down, to the point that it's unusable. Kris Kenna talked about a kernel option for fix this. The problem would be related to a specific opcode emulation done by VMWare. If you look in the file: /usr/src/sys/i386/conf/NOTES You will find an option called CPU_DISABLE_CMPXCHG You need to compile a kernel which has this option when running under VMWare. You can not use this option with the SMP option, but then you probably should not be using an SMP kernel when running under VMWare! I realize you then have the problem of how to compile the new kernel when it takes so long to do anything with the standard GENERIC kernel. Perhaps it would go better if you booted up in single-user mode, and then compiled and installed the new kernel. However, that is just a guess on my part. It would probably be easier to get someone else to compile a 5.0-release kernel with that CPU_DISABLE_CMPXCHG option. -- 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: machine accounts and samba
At 11:48 AM +0100 3/2/03, Per olof Ljungmark wrote: charles pelletier wrote: how do you add a machine account in samba? i've already added users using 'smbpasswd -a username password' but cannot for the life of me remember how to add a machine to the samba domain. man smbpasswd smbpasswd -m machine name Then vipw to add a $ before the name. I don't think you can add the $ with smbpasswd in FreeBSD. Somebody correct me if I'm wrong. It depends on what version of freebsd you are running. I recently committed a change to freebsd-stable so 'pw' will accept userids and groups with a last-character of '$'. That change is also in the freebsd-current branch. 4.8-release will probably be the first official release which will have that change. -- 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: Installing CUPS pkg
At 12:58 AM -0600 3/12/03, Bob McCarty wrote: JBMAC# make install === Installing for cups-1.1.18.0_4 === cups-1.1.18.0_4 is already installed - perhaps an older version? If so, you may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of cups-1.1.18.0_4 without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Try: FORCE_PKG_REGISTER=YES make install (all as one line). Or try: make FORCE_PKG_REGISTER=yes install Note that the variable name is FORCE_PKG_REGISTER and not MAKE_PKG_REGISTER -- 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: question on samba install
At 1:01 AM -0500 3/19/03, David Banning wrote: If I install samba without cups, is it still possible to print with samba? I have a small network with a few win boxes and the samba install is older. It doesn't have cups. I am just wondering, since samba now installs cups by default, whether it is actually -needed- for win boxes to print to the FreeBSD printers. From my understanding of the samba port, it will use CUPS by default *if* cups is installed. Otherwise it still uses standard bsd-lpr printing. There may be some environment variable that you'll have to set when building the samba port if you do not want the samba port to install the CUPS port. But it definitely works, if you want it to run that way. -- 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: Personal development CVS question
At 12:04 PM -0500 3/24/03, Steve Bertrand wrote: The current state of my app is ready for production, so I would like to take a snapshot of it as is, then implement it. I would like to leave this snapshot alone, and further develop in other aspects of the program now. Am I correct with this method?: - commit my current source and branch as RELEASE - download RELEASE onto production server and put into use - further work will continue normally, and the RELEASE branch will not be affected - when I am ready for the new features, I can re-branch to a new RELEASE, redownload onto production and repeat You generally want to use a special name for the release branch, such as RELEASE_1. When you later want to make a new release, you name that branch RELEASE_2. You may still want to work off the RELEASE_1 branch even though RELEASE_2 has been made. -- 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 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: 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. ATT 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 ATT 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 ATT 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: 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 makemodel 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 makemodel 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: 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: 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: 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: 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: 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: 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: 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]