Re: anybody know about a 3.01 package *With* browser?
On Sun, Apr 05, 2009 at 10:14:58PM -0400, Glen Barber wrote: On Sun, Apr 5, 2009 at 10:10 PM, Gary Kline kl...@thought.org wrote: well, it wouldve if there were a 3.0.1 d/load for 7.1, but nope. so far, none of us has been willing to volunteer the months/years to build a 7.1 version for the i386. i'm down to 5GB of freespace and oo fails after a few hours. can't figure out how/where all my diskspace went to but that's offtopic. Tell you what. I'm running 7-STABLE right now, so if I were to build the package it may be incompatible with some things. Once 7.2 is -RELEASE, I'll build a GNOME and KDE version and put them up on my site. (I know that doesn't fix your *need* now, but I will take the time when the time is right.) Regards, Sounds like a win++. Hopefully, by then KDE-4 will be working completely; that may be where at least some of my space got lost, :-). Not entirely sure. gary -- Glen Barber -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.41a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: anybody know about a 3.01 package *With* browser?
On Sun, Apr 05, 2009 at 09:51:24PM -0600, Tim Judd wrote: On Sun, Apr 5, 2009 at 8:10 PM, Gary Kline kl...@thought.org wrote: On Sun, Apr 05, 2009 at 09:41:36PM -0400, Glen Barber wrote: Hi, Gary On Sun, Apr 5, 2009 at 6:49 PM, Gary Kline kl...@thought.org wrote: Somebody thoughtfully posted a location where we could download a package of OOo-3.01 for the i386 recently. I thought that I had bookmarked that site that began ooo and had built packages for the openoffice suite. One, can anybody give the the correct URL? I'll burn it into my forearm this time! I want any/all the addons or plugins, and the mozilla browser would be a plus. There are two primary places I am aware of: http://porting.openoffice.org/freebsd/#obtain ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/ HTH. well, it wouldve if there were a 3.0.1 d/load for 7.1, but nope. so far, none of us has been willing to volunteer the months/years to build a 7.1 version for the i386. i'm down to 5GB of freespace and oo fails after a few hours. can't figure out how/where all my diskspace went to but that's offtopic. tx, gary I don't understand the months/years or weeks/days symptom of OOo. On my dual-core system at work, Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz Took about 4 hours. It only seemed to utilize only 1 CPU... my top always said =50% CPU usage tHis was with a Dual?! I want to fold two desktops into one and am thinking of buying/building an Intel quad. Something that will be powerful enough to still be very good in years to come. Would like people's thoughts of this. Hopeless it can be a reasoned discussion... . I left the default options, but it won't create a package.. policykit Updated +CONTENTS and retrying... success. 97 package files created to support openoffice. I have test servers up periodically and would offer it for an unknown period of time. I'll notify you when it's up. great, thank you. gary -- Glen Barber -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.41a release of Jottings: http://jottings.thought.org/index.php -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.41a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Your message to Perl-XML awaits moderator approval
Your mail to 'Perl-XML' with the subject Returned mail: Data format error Is being held until the list moderator can review it for approval. The reason it is being held: Post by non-member to a members-only list Either the message will get posted to the list, or you will receive notification of the moderator's decision. If you would like to cancel this posting, please visit the following URL: http://listserv.ActiveState.com/mailman/confirm/perl-xml/cdde41e2b7075c395ffc479ce131e927364e0398 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
xf86-video-intel-2.6.3 resolution issues
With the previous intel driver, my screen resolution was 1400x1050, and after this latest update: ~xrandr Screen 0: minimum 320 x 200, current 1280 x 960, maximum 1280 x 1280 VGA connected 1280x960+0+0 (normal left inverted right x axis y axis) 306mm x 230mm 1280x960 60.0* 1024x768 75.0 70.1 60.0 43.5 832x62474.6 800x60085.1 72.2 75.0 60.3 56.2 640x48085.0 75.0 72.8 66.7 59.9 720x40087.8 70.1 Is anyone else seeing this? Doesn't seem that I'm able to make the display fit the monitor, all of the settings are at 100% yet I've still got about 3 inches on either side of blackness. vgap...@pci0:0:2:1: class=0x03 card=0x25821043 chip=0x25828086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82915G/GV/GL, 82910GL Integrated Graphics Device' class = display subclass = VGA vgapci0: child drm0 requested pci_enable_busmaster info: [drm] AGP at 0xd000 256MB info: [drm] Initialized i915 1.6.0 20080730 vgapci1: VGA-compatible display mem 0xcfe0-0xcfe7 at device 2.1 on pci0 -- Over the years I've come to regard you as people I've met. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: anybody know about a 3.01 package *With* browser?
Le Sun, 5 Apr 2009 15:49:20 -0700, Gary Kline kl...@thought.org: [OpenOffice] I want any/all the addons or plugins, and the mozilla browser would be a plus. What is the goal of this browser option in OOo? To speed up the compilation of OOo, you can use ccache (option WITH_CCACHE) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: mergemaster options
On Apr 6, 2009, at 5:43 AM, Charles Howse wrote: Hi, I'm upgrading form 4.6-RELEASE to 4.6-STABLE. So sorry...that should be from 6.4-RELEASE to 6.4-STABLE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Symantec Netbackup under 7.1 - Undefined symbol
On Fri, Apr 03, 2009 at 10:15:50PM +0100, Vincent Hoffman wrote: Fair point, I had a bit more of a think, I'd now guess that it looks like a 32/64 bit problem, its a 32bit binary on a 64 bit system and its /libexec/ld-elf.so.1 complaining not /libexec/ld-elf32.so.1 whch is odd. do you have the lib32 compat stuff installed, does /libexec/ld-elf32.so.1 exist on your system? if not you can add it via sysinstall - configure - Distributions - lib32. Hi, Here's what the binaries in question point to: # ldd ./bplist ./bplist: libkvm.so.2 = /usr/local/lib32/compat/libkvm.so.2 (0x280d1000) libstdc++.so.4 = /usr/local/lib32/compat/libstdc++.so.4 (0x280d7000) libm.so.3 = /usr/local/lib32/compat/libm.so.3 (0x281b4000) libc.so.5 = /usr/lib32/libc.so.5 (0x281cf000) # All of these libraires exist: # ls -l /libexec/ld-elf32.so.1 -r-xr-xr-x 1 root wheel 170944 Apr 2 20:16 /libexec/ld-elf32.so.1 # ls -l /usr/local/lib32/compat/libkvm.so.2 -r--r--r-- 1 root wheel 24957 Mar 30 13:19 /usr/local/lib32/compat/libkvm.so.2 # ls -l /usr/local/lib32/compat/libstdc++.so.4 -r--r--r-- 1 root wheel 1102049 Mar 30 13:19 /usr/local/lib32/compat/libstdc++.so.4 # ls -l /usr/local/lib32/compat/libm.so.3 -r--r--r-- 1 root wheel 126743 Mar 30 13:19 /usr/local/lib32/compat/libm.so.3 # ls -l /usr/lib32/libc.so.5 -r--r--r-- 1 root wheel 1047956 Mar 24 14:32 /usr/lib32/libc.so.5 # So it's even more strange to me that /libexec/ld-elf.so.1 complains about the undefined symbol __h_error Is there any way to track this down furhter? BTW, note I've got /usr/ports/misc/compat5x installed which pkg_info displays as compat5x-amd64-5.4.0.8_9 -ewald ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
mergemaster options
Hi, I'm upgrading form 4.6-RELEASE to 4.6-STABLE. When I get to the *second* run of mergemaster (after installworld), I'd be interested to hear the list's comments on using options to start mergemaster. For example, have you had good luck with: mergemaster -i -u (install any files that don't already exist, and attempt to install any files that haven't been user-modified) Also, what is the first line of a file used for? What parts of the OS 'care' about that line? What would happen if I kept the existing file below, with it's older date and version #? (This is just a made-up example). keep this existing file: # $FreeBSD: src/etc/csh.cshrc,v 1.3 1999/08/27 23:23:40 peter Exp $ my custom line blah delete this (fake) temporary file: # $FreeBSD: src/etc/csh.cshrc,v 1.4 2000/08/27 23:23:40 peter Exp $ blah blah I hope that's clear...? -- Later, Charles ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: mergemaster options
Charles Howse wrote: Hi, I'm upgrading form 4.6-RELEASE to 4.6-STABLE. When I get to the *second* run of mergemaster (after installworld), I'd be interested to hear the list's comments on using options to start mergemaster. For example, have you had good luck with: mergemaster -i -u (install any files that don't already exist, and attempt to install any files that haven't been user-modified) Yes, I am using this all the time. Note that you need a capital U: mergemaster -iU Also, what is the first line of a file used for? What parts of the OS 'care' about that line? What would happen if I kept the existing file below, with it's older date and version #? (This is just a made-up example). keep this existing file: # $FreeBSD: src/etc/csh.cshrc,v 1.3 1999/08/27 23:23:40 peter Exp $ my custom line blah delete this (fake) temporary file: # $FreeBSD: src/etc/csh.cshrc,v 1.4 2000/08/27 23:23:40 peter Exp $ blah blah I hope that's clear...? The lines you see starting with $FreeBSD are used by the Version Control System (CVS or SVN). You have to judge by the content of the older file (not by the tag) whether to keep or upgrade the file. Usually, you will let it upgrade all files which you have not modified yourself. In some of these the only thing that changes is the tag. Before doing the mergemaster step, I suggest you keep a complete backup copy of your /etc directory. It may happen that you replace a file you actually need. And it is a real problem if you overwrite, say, master.passwd :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to find out which ports contains a specified command.
On 6 apr 2009, at 01:33, Paul Schmehl pschmehl_li...@tx.rr.com wrote: --On April 5, 2009 6:13:57 PM -0400 ill...@gmail.com wrote: 2009/4/5 Peter Wang peterw...@vip.qq.com: for example, after i installed pfsense, which is based on freebsd release 7.1, i found adduser command is missing. so how to find out which ports contains `adduser' command? thanks for your replies. % which adduser /usr/sbin/adduser Thus it is part of the base system, installed through /usr/src rather than /usr/ports. Also, as you are running (essentially) 7.x, this is probably better on freebsd-questions than current. I think you misunderstood his question. This would be one way to do it: find /usr/ports/ -type f -exec grep -sq adduser {} \; -print How about man pkg_info From memory: pkg_info -W /usr/sbin/adduser Peter Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ** WARNING: Check the headers before replying ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: mergemaster options
On Apr 6, 2009, at 7:03 AM, Manolis Kiagias wrote: Charles Howse wrote: Hi, I'm upgrading form 4.6-RELEASE to 4.6-STABLE. When I get to the *second* run of mergemaster (after installworld), I'd be interested to hear the list's comments on using options to start mergemaster. For example, have you had good luck with: mergemaster -i -u (install any files that don't already exist, and attempt to install any files that haven't been user-modified) Yes, I am using this all the time. Note that you need a capital U: mergemaster -iU Right, capital U. That's good to know. Thanks. Also, what is the first line of a file used for? What parts of the OS 'care' about that line? What would happen if I kept the existing file below, with it's older date and version #? (This is just a made-up example). keep this existing file: # $FreeBSD: src/etc/csh.cshrc,v 1.3 1999/08/27 23:23:40 peter Exp $ my custom line blah delete this (fake) temporary file: # $FreeBSD: src/etc/csh.cshrc,v 1.4 2000/08/27 23:23:40 peter Exp $ blah blah I hope that's clear...? The lines you see starting with $FreeBSD are used by the Version Control System (CVS or SVN). You have to judge by the content of the older file (not by the tag) whether to keep or upgrade the file. Usually, you will let it upgrade all files which you have not modified yourself. In some of these the only thing that changes is the tag. Before doing the mergemaster step, I suggest you keep a complete backup copy of your /etc directory. It may happen that you replace a file you actually need. And it is a real problem if you overwrite, say, master.passwd :) Actually, I wasn't asking about the CVS line with regard to mergemaster. I realize that mergemaster will stop and ask about any file in its list with a CVS line older than the new file. What I really want to know is, let's say the file above is /etc/ hosts.allow, and I have customized it according to my needs. If I leave the old file in /etc, I'm thinking it will still work just fine. It's only mergemaster, and maybe cvsup, and things that actually deal with version control that are concerned with the CVS line. Am I correct? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to find out which ports contains a specified command.
Peter Boosten wrote: Paul Schmehl wrote: ill...@gmail.com wrote: Peter Wang wrote: for example, after i installed pfsense, which is based on freebsd release 7.1, i found adduser command is missing. so how to find out which ports contains `adduser' command? thanks for your replies. % which adduser /usr/sbin/adduser Thus it is part of the base system, installed through /usr/src rather than /usr/ports. Also, as you are running (essentially) 7.x, this is probably better on freebsd-questions than current. I think you misunderstood his question. This would be one way to do it: find /usr/ports/ -type f -exec grep -sq adduser {} \; -print That is horribly inefficient because it forks a separate grep process for every single file under /usr/ports. Also it will print a lot of false positive, because the ports tree contains several files and scripts that call adduser. How about man pkg_info From memory: pkg_info -W /usr/sbin/adduser That won't work, because pkg_info only reports information about packages that you have installed. One way to find which ports provide a certain file is to use the porgle search engine: http://www.secnetix.de/tools/porgle/?w=pq=adduser However, there is an adduser command in /usr/sbin which is part of the FreeBSD base system. If some script complains about that command being missing, you should invstigate whether you do have that command in /usr/sbin. It's unlikely that a port requires a different command with the same name without having a dependency on the port that provides that command. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd C++: an octopus made by nailing extra legs onto a dog -- Steve Taylor, 1998 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: anybody know about a 3.01 package *With* browser?
Robert Huff wrote: Tim Judd writes: Reference - dependency list for OOo 3.0.1 package, 7.1-R i386: deleted I'm not sure why there's so much depenencies, but if anyone wants me to post it, I want to know. Because OOo declines to re-invent the wheel? Some of these are easy to understand if you know almost nothing about programming - the fonts for example. Others, like cairo, pango, expat, and CUPS, are established libraries for dealing with things like text input/rendering, graphics, and printing. gtk is the GUI tookkit. What I don't understand is things like pciids-20090224. It's required by hal. About half of the dependencies seem to be Xorg-related things (fonts, libraries, protocols). There are also dependencies for supporting various graphics formats (png, jpeg, tiff) and scripting languages (python, perl). Well, it all adds up. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd We're sysadmins. To us, data is a protocol-overhead. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: anybody know about a 3.01 package *With* browser?
Oliver Fromme writes: I'm not sure why there's so much depenencies, but if anyone wants me to post it, I want to know. Because OOo declines to re-invent the wheel? Some of these are easy to understand if you know almost nothing about programming - the fonts for example. Others, like cairo, pango, expat, and CUPS, are established libraries for dealing with things like text input/rendering, graphics, and printing. gtk is the GUI tookkit. What I don't understand is things like pciids-20090224. It's required by hal. About half of the dependencies seem to be Xorg-related things (fonts, libraries, protocols). There are also dependencies for supporting various graphics formats (png, jpeg, tiff) and scripting languages (python, perl). Well, it all adds up. So it's not just things that OO depends on directly, but things those programs depend on, /ad incipio/. That's ... confusing. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: gmirror THEN geli, correct?
Modulok modu...@gmail.com wrote: I'm looking for a confirmation on the order: When setting up a (root partiton) gmirror+geli, what is the propper order? e.g: gmirror the disks and THEN initialize geli on the /dev/mirror partitions? Is this correct? You can also do it the other way round. Both ways are possible and have different advantages and disadvantages. I think most people install gmirror first and put geli on top of it. The advantage of this is that it's more efficient, because data passes through geli only once for encryption when writing to the mirror. If you install geli first on both disks and then put gmirror on top of both geli instances, all data has to be encrypted twice when writing to the disk (for reading it doesn't make a difference), so it is less efficient. However, this setup has the advantage that gmirror will correctly detach one drive when its geli instance detects data corruption (if integrity verification is enabled). Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd If you aim the gun at your foot and pull the trigger, it's UNIX's job to ensure reliable delivery of the bullet to where you aimed the gun (in this case, Mr. Foot). -- Terry Lambert, FreeBSD-hackers mailing list. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
7.1 rum0 belkin USB AP
I'm in the need of getting a FreeBSD box acting as a router for a 11b wlan. It seemed to have worked with 11g but the Dell treumobile card which is in an older Inspiron 8000 only seems to understand 11b. It doesn't seem to connect to the wlan my FreeBSD is offering at the moment with the belkin USB AP. My ifconfig line is ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE wepmode on wepkey 0xf00baf00ba weptxkey 1 channel 1 The SSID is seen by the dell truemobile card but it cannot connect to the network. Do I have to explicitly force 11b on the belkin ? -- Christoph ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Check out my photos on Facebook
Hi Questions, I set up a Facebook profile where I can post my pictures, videos and events and I want to add you as a friend so you can see it. First, you need to join Facebook! Once you join, you can also create your own profile. Thanks, Md. Zahidul To sign up for Facebook, follow the link below: http://www.facebook.com/p.php?i=1452380293k=4XC44WTRQV4M5CDFX1Z4YUr questi...@freebsd.org was invited to join Facebook by Md. Zahidul Islam. If you do not wish to receive this type of email from Facebook in the future, please click on the link below to unsubscribe. http://www.facebook.com/o.php?k=b41a62u=1106925181mid=4413fbG41fa567dG0G8 Facebook's offices are located at 156 University Ave., Palo Alto, CA 94301. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Pre-Owned Display - April 2009
In this tuff economy you should consider ExhibitTrader.com when looking to purchase your next trade show display. ExhibitTrader.com provides access to thousands of high quality, eye catching display systems at a fraction of the cost of building new. What do other exhibitors have to say about EXHIBITTRADER.COM? Juni is extremely happy with the booth we recently purchased through ExhibitTrader.com. We used the booth for the first time at a show in Chicago and it was by far the best show we have ever had. Thank you again for your excellent customer service and willingness to assist our needs in getting the booth we needed. Jill Loebsack Marketing Juni America *To view this email in full with images: http://cts.vresp.com/c/?EXHIBITTRADER.COM/69e93ea379/0713a75408/d7a7824daa EXHIBITTRADER.COM i...@exhibittrader.com 214.459.3587 www.exhibittrader.com __ If you no longer wish to receive these emails, please reply to this message with Unsubscribe in the subject line or simply click on the following link: http://cts.vresp.com/u?69e93ea379/0713a75408/mlpftw __ Click below to forward this email to a friend: http://oi.verticalresponse.com/f2af/v4/send_to_friend.html?ch=69e93ea379lid=381000480ldh=0713a75408 __ This message was sent by Jason Wooten using VerticalResponse EXHIBITTRADER.COM 3324 Ovilla Road Ovilla, Texas 75154 USA Read the VerticalResponse marketing policy: http://www.verticalresponse.com/content/pm_policy.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: mergemaster options
Charles Howse wrote: Actually, I wasn't asking about the CVS line with regard to mergemaster. I realize that mergemaster will stop and ask about any file in its list with a CVS line older than the new file. What I really want to know is, let's say the file above is /etc/hosts.allow, and I have customized it according to my needs. If I leave the old file in /etc, I'm thinking it will still work just fine. It's only mergemaster, and maybe cvsup, and things that actually deal with version control that are concerned with the CVS line. Am I correct? You are correct. As long as the content of the file is right for the purpose, the line added by CVS is simply ignored by anything and everything - except mergemaster and friends when upgrading. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: anybody know about a 3.01 package *With* browser?
Robert Huff wrote: Oliver Fromme writes: I'm not sure why there's so much depenencies, but if anyone wants me to post it, I want to know. Because OOo declines to re-invent the wheel? Some of these are easy to understand if you know almost nothing about programming - the fonts for example. Others, like cairo, pango, expat, and CUPS, are established libraries for dealing with things like text input/rendering, graphics, and printing. gtk is the GUI tookkit. What I don't understand is things like pciids-20090224. It's required by hal. About half of the dependencies seem to be Xorg-related things (fonts, libraries, protocols). There are also dependencies for supporting various graphics formats (png, jpeg, tiff) and scripting languages (python, perl). Well, it all adds up. So it's not just things that OO depends on directly, but things those programs depend on, /ad incipio/. That's ... confusing. Well, package dependency is a transitive relation (in fact, it's even a transitive closure). So if you ask for the list of dependencies for a package, you'll get a list of _all_ packages required to run it, which also includes indirect dependencies, because these are required, too, of course. I don't think it's confusing. It would be confusig if it worked in a different way. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd FreeBSD is Yoda, Linux is Luke Skywalker -- Daniel C. Sobral ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: gmirror THEN geli, correct?
Modulok modu...@gmail.com wrote: I'm looking for a confirmation on the order: When setting up a (root partiton) gmirror+geli, what is the propper order? e.g: gmirror the disks and THEN initialize geli on the /dev/mirror partitions? Is this yes it is right order. with geli then gmirror - you will end with double CPU load on writes (as data would be encrypted twice) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: mergemaster options
On Apr 6, 2009, at 10:24 AM, Manolis Kiagias wrote: Charles Howse wrote: Actually, I wasn't asking about the CVS line with regard to mergemaster. I realize that mergemaster will stop and ask about any file in its list with a CVS line older than the new file. What I really want to know is, let's say the file above is /etc/hosts.allow, and I have customized it according to my needs. If I leave the old file in /etc, I'm thinking it will still work just fine. It's only mergemaster, and maybe cvsup, and things that actually deal with version control that are concerned with the CVS line. Am I correct? You are correct. As long as the content of the file is right for the purpose, the line added by CVS is simply ignored by anything and everything - except mergemaster and friends when upgrading. As I suspected. Thanks for the confirmation. I have completed my upgrade to 6.4-STABLE with the following hiccups: mergemaster -iU couldn't find a btree database, so it skipped the auto update. It did save a database at the end, so I assume I can use that next time. I never thought to check for which side of the screen the old file was on after I chose m to merge. Finally figured out that the old file is on the left, and the temp on the right. Once finished completely, there were no problems I couldn't recover from. Good thing this is a brand new installation, with only 2 accounts! :-) Thanks for all the help! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to recover after power outage
Check the machine-hostname.err file when you manually try and start MySQL. Provided that you have mysql_enable=YES in /etc/rc.conf you should be able to manually attempt to start with /usr/local/etc/rc.d/mysql-server start (it seems to work reliably when you type out the entire command path- wise). Note that if somehow permissions on the my.cnf file got changed MySQL won't start if my.cnf is world writable. Check for stale PID and sockets. Normally these shouldn't be a problem as a startup will just overwrite them. Check these to eliminate any wonkiness, e.g. some permission change isn't allowing for MySQL to wipe the old ones. The whateverthehostname.err log and possibly /var/log/messages might give some clue for what's going on. If the database files are corrupt just clean them out and replace with a backup done with dump. Ensure the /var/ db/mysql tree is chowned mysql:mysql. If you had to install/reinstall from ports the install should have created the appropriate uid/gid accounts. Check and see if these are missing. At any rate I wish you the best of luck. Now that you can SSH in you can probably fix it up. Okay, so my new database server is running with backup data and I am trying to salvage the old database, or what's left of it. Unfortunately, it seems like what's left of it, is not much. the /var/db/mysql directory tree is now a file: qu# ls -l /var/db/mysql -rwx-- 2 mysql wheel 1024 Jul 5 2008 /var/db/mysql The situation looks hopeless to me. Is it? Another question: given that the file system took a major hit, should I try to fix it, or just do a clean install? I'm leaning towards the clean install since I've been meaning to upgrade this machine to 7.1 anyway. Is there anyway to fix the file system, reliably? fsck doesn't seem to be able to solve all the problems. -- John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Question about forcing fsck at boottime
2009/4/6 Bruce Cran br...@cran.org.uk: On Sun, 5 Apr 2009 21:40:52 +0100 Chris Rees utis...@googlemail.com wrote: 2009/3/31 Oliver Fromme o...@lurza.secnetix.de: Chris Rees utis...@googlemail.com wrote: 2009/3/31 Wojciech Puchar woj...@wojtek.tensor.gdynia.pl: IMHO this background fsck isn't good idea at all Why? Google background fsck damage. I was bitten by it myself, and I also recommend to turn background fsck off. If your disks are large and you can't afford the fsck time, consider using ZFS, which has a lot of benefits besides not requiring fsck. Best regards Oliver Right... You were bitten by background fsck, what _exactly_ happened? All the 'problems' here associated with bgfsck are referring to FreeBSD 4 etc, or incredibly vague anecdotal evidence. Have you googled for background fsck damage? Nothing (in the first two pages at least) even suggests that background fsck causes damage. http://www.google.co.uk/search?q=background+fsck+corruption You'll find the first few results are about panics during background fsck resulting in an endless cycle of boot-panic-reboot, which don't occur with foreground fsck. And at least the first result is from 6.x. -- Bruce Cran So... Is the background fsck causing damage or corruption? The answer to that is NO. It's a consequence of reading a bad directory structure, which happened anyway. Quoting jpd on this same issue, emphasis added: So far we only have *your word* for *vague problems* and *speculated causes*. So your best bets so far are to investigate, and lending a hand to the fs people with ironing out a possible bug or two. Seriously, this conversation is full of crap, and only makes one of FreeBSDs incredibly useful features look bad with no evidence. Can no-one can come up with a reply either quoting a mailing list or giving the circumstances when: a) Background fsck caused data CORRUPTION _and_ b) A foreground fsck would not have done the same ? Anything else is sidestepping the question, and spreading FUD. Anyone? Perhaps I should CC one of the filesystem developers to get them to reassure you all? I don't think they'd be too pleased at people saying their design is flawed. It's not. Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
bsnmpd
Hello, I have bsnmpd enabled in rc.conf r...@lama ~ 501$ grep ^b /etc/rc.conf bsnmpd_enable=YES r...@lama ~ 502$ yet, whenever I restart my computer, it won't start on boot, but if I run manual command /etc/rc.d/bsnmpd start it starts fine no problem -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: gmirror THEN geli, correct?
Wojciech Puchar wrote: Modulok modu...@gmail.com wrote: I'm looking for a confirmation on the order: When setting up a (root partiton) gmirror+geli, what is the propper order? e.g: gmirror the disks and THEN initialize geli on the /dev/mirror partitions? Is this yes it is right order. No, there is no right or wrong order. It depends on what features of gmirror and geli you want to exploit. See my more detailed explanation in this thread. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd Unix gives you just enough rope to hang yourself -- and then a couple of more feet, just to be sure. -- Eric Allman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bsnmpd
On Mon, 06 Apr 2009 21:19:27 +0300, alexus ale...@gmail.com wrote: Hello, I have bsnmpd enabled in rc.conf r...@lama ~ 501$ grep ^b /etc/rc.conf bsnmpd_enable=YES r...@lama ~ 502$ yet, whenever I restart my computer, it won't start on boot, but if I run manual command /etc/rc.d/bsnmpd start it starts fine no problem If I were you, I would first have a look at that startup script just to see what exactly it is that it's doing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bsnmpd
feel free to take a look, script located at /etc/rc.d/bsnmpd, it's very simple script all it does it runs /usr/sbin/bsnmpd that's it On Mon, Apr 6, 2009 at 2:21 PM, Vasadi I. Claudiu Florin claudiu.vas...@gmail.com wrote: On Mon, 06 Apr 2009 21:19:27 +0300, alexus ale...@gmail.com wrote: Hello, I have bsnmpd enabled in rc.conf r...@lama ~ 501$ grep ^b /etc/rc.conf bsnmpd_enable=YES r...@lama ~ 502$ yet, whenever I restart my computer, it won't start on boot, but if I run manual command /etc/rc.d/bsnmpd start it starts fine no problem If I were you, I would first have a look at that startup script just to see what exactly it is that it's doing. -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bsnmpd
On Mon, 06 Apr 2009 21:41:07 +0300, alexus ale...@gmail.com wrote: feel free to take a look, script located at /etc/rc.d/bsnmpd, it's very simple script all it does it runs /usr/sbin/bsnmpd that's it Indeed, very simplistic script. So I also did bsnmpd_enable=YES in rc.conf and after a reboot and it works. So maybe check logs, console, etc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Segmentation fault: 11 (core dumped)
r...@mx1 ~ 496$ csh Segmentation fault: 11 (core dumped) r...@mx1 ~ 497$ i even updated all my system to latest -RELEASE r...@mx1 ~ 499$ uname -a FreeBSD mx1.alexus.biz 7.1-RELEASE-p4 FreeBSD 7.1-RELEASE-p4 #3: Sun Mar 29 05:42:35 UTC 2009 ale...@dd.alexus.org:/usr/obj/usr/src/sys/GENERIC amd64 r...@mx1 ~ 500$ I've had that on other systems as well, this isn't the first one I'm having this issue... -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bsnmpd
On Mon, Apr 6, 2009 at 2:46 PM, Vasadi I. Claudiu Florin claudiu.vas...@gmail.com wrote: On Mon, 06 Apr 2009 21:41:07 +0300, alexus ale...@gmail.com wrote: feel free to take a look, script located at /etc/rc.d/bsnmpd, it's very simple script all it does it runs /usr/sbin/bsnmpd that's it Indeed, very simplistic script. So I also did bsnmpd_enable=YES in rc.conf and after a reboot and it works. So maybe check logs, console, etc there is nothing in logs -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Segmentation fault: 11 (core dumped)
On Mon, Apr 6, 2009 at 3:03 PM, alexus ale...@gmail.com wrote: r...@mx1 ~ 496$ csh Segmentation fault: 11 (core dumped) r...@mx1 ~ 497$ Segmentation Fault 11 is typically indicative of hardware failure (CPU, RAM, motherboard). Can you run memtest86+ and test that theory? -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bsnmpd
hmm how about trying to make your own script that starts bsnmpd ? try it. does it work ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Segmentation fault: 11 (core dumped)
On Mon, Apr 6, 2009 at 3:09 PM, Glen Barber glen.j.bar...@gmail.com wrote: On Mon, Apr 6, 2009 at 3:03 PM, alexus ale...@gmail.com wrote: r...@mx1 ~ 496$ csh Segmentation fault: 11 (core dumped) r...@mx1 ~ 497$ Segmentation Fault 11 is typically indicative of hardware failure (CPU, RAM, motherboard). Can you run memtest86+ and test that theory? I doubt that it has anything to do with hardware, as a) everything else works fine except for this thing b) i'm getting same type of behavior on multiple systems (some of these systems are high end boxes, some of them are low end) -- Glen Barber -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
where is spl_autoload found in PHP
Hi, I saw Zend in the ports and so I'm hoping that some here use it and can help me with this one. I've installed the latest stable Zend, which is a little newer than what I found in ports, and I'm running PHP version 5.2.8 (which I did install from ports). I'm going through the Zend QuickStart guide (http://framework.zend.com/docs/quickstart/create-an-action-controller-and-view), and ran into this error when loading the page at this point of the quick start; Fatal error: Uncaught exception 'Zend_Exception' with message 'spl_autoload does not exist in this PHP installation' in /usr/local/www/apache22/data/QuickStart/library/Zend/Loader.php:206 Stack trace: #0 /usr/local/www/apache22/data/QuickStart/public/index.php(18): Zend_Loader::registerAutoload() #1 {main} thrown in /usr/local/www/apache22/data/QuickStart/library/Zend/Loader.php on line 206 I've searched through the ports looking for auto and load in php5 modules and I've found nothing (I did my searching at freshports.org). I then did a make config in the /usr/ports/lang/php5 directory but didn't see a check box for spl_autoload in the options. How do I get this installed in my PHP installation? Thanks, Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bsnmpd
On Mon, Apr 6, 2009 at 3:08 PM, Vasadi I. Claudiu Florin claudiu.vas...@gmail.com wrote: hmm how about trying to make your own script that starts bsnmpd ? try it. does it work ? I guess I could put something in either /usr/local/etc/rc.d to kick /etc/rc.d/bsnmpd script or maybe even put it in /etc/rc.local, but that wouldn't be right way to go, as this should work from /etc/rc.conf by itself... -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ipfw: bandwidth limiting
Hello Wojciech Am Sun, Apr 05, 2009 at 02:08:09PM +0200 Wojciech Puchar schrieb: [snip] $ipfwcmd pipe 1 config bw 80KByte/s $ipfwcmd add pipe 1 ip from any to 192.168.10.0/24{100-254} via em1 [snip] I'm not sure it works. When I do a large download which takes long and anybody else want download too, this download will only get a reduce bandwidth. I expect that the second download get same rate as the first one (and reduce the bandwidth from the first one). Is that correct? your example limits it all to 80kB/s but does no traffic management. so it may get the same rate (half by half) or may not. do $ipfwcmd pipe 1 config bw 80kByte/s $ipfwcmd queue 1 config pipe 1 weight 1 mask dst-ip 0x $ipfwcmd add queue 1 ip from any to 192.168.10.0/24{100-254} via em1 this will limit them to 80kB/s and perform fair-sharing based of hosts. for example if one user on one computer will start 100 downloads, and other on other computer will start 1 download, this will ensure that first user will not takeover most bandwidth. I will try it in the next days and give you a feedback. Thanks. Regards -- Martin Schweizer off...@pc-service.ch PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bsnmpd
I guess I could put something in either /usr/local/etc/rc.d to kick /etc/rc.d/bsnmpd script or maybe even put it in /etc/rc.local, but that wouldn't be right way to go, as this should work from /etc/rc.conf by itself... Yeah, it should. Did you check the execution bit on the script ? Is it set ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
jail stop
dd# /etc/rc.d/jail stop Stopping jails: cannot stop jail lama. No jail id in /var/run cannot stop jail mx. No jail id in /var/run . dd# jls JID IP Address Hostname Path 3 XX.XXX.XX.XXXXXX.XX.biz/usr/jail/mx 1 XX.XXX.XX.XXX.X.biz/usr/jail/lama dd# and there is nothing in /var/run/jail_*.id related to this jails -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bsnmpd
2) if that would be incorrect i wouldn't be able to run it manually Yes, your right, my mistake. So first of all, are you positive that, at startup, there are no lines, even vagli, related to bsnmpd ? Errors... nothing ? Second, I'm all out of ideas, except to create a second script and use that. You could use it from rc.conf (the second script). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bsnmpd
On Mon, Apr 6, 2009 at 3:29 PM, Vasadi I. Claudiu Florin claudiu.vas...@gmail.com wrote: 2) if that would be incorrect i wouldn't be able to run it manually Yes, your right, my mistake. So first of all, are you positive that, at startup, there are no lines, even vagli, related to bsnmpd ? Errors... nothing ? yes, I'm 100% positive. I just restart it now $ grep -i snmp /var/log/all.log $ Second, I'm all out of ideas, except to create a second script and use that. You could use it from rc.conf (the second script). -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: jail stop
On Mon, 2009-04-06 at 15:27 -0400, alexus wrote: cannot stop jail mx. No jail id in /var/run $ uname -a There were problems with TTY code in older versions that would cause processes to get stuck, ghosting jails. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: jail stop
Brian A. Seklecki wrote: On Mon, 2009-04-06 at 15:27 -0400, alexus wrote: cannot stop jail mx. No jail id in /var/run $ uname -a There were problems with TTY code in older versions that would cause processes to get stuck, ghosting jails. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I believe I have seen other causes of this issue since it happens on 7.1. jkill takes care of it. Probably happens due to user error, here at least. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: anybody know about a 3.01 package *With* browser?
On Mon, Apr 06, 2009 at 12:02:07AM -0400, Robert Huff wrote: Tim Judd writes: I don't understand the months/years or weeks/days symptom of OOo. On my dual-core system at work, Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz Took about 4 hours. It only seemed to utilize only 1 CPU... my top always said =50% CPU usage For comparison: on a P4/2.26ghz/2 gbyte RAM, lightly loaded with fairly fast SCSI disks, it takes 30+ hours. Robert Huff Sorry if this is getting old . I'm running two desktops, one 2.8GHz, this one 2.4. Both with only 1G ram. I useemy hardware pretty intensively, not lightly loaded, and building a full-blown OO takes at least three days. ---This is when I've got plenty of space. With fewer than 5G disk, forget it. That's why I want my next computer to be not only powerful but with diskspace to burn. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.41a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: anybody know about a 3.01 package *With* browser?
Gary Kline wrote: On Mon, Apr 06, 2009 at 12:02:07AM -0400, Robert Huff wrote: Tim Judd writes: I don't understand the months/years or weeks/days symptom of OOo. On my dual-core system at work, Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz Took about 4 hours. It only seemed to utilize only 1 CPU... my top always said =50% CPU usage For comparison: on a P4/2.26ghz/2 gbyte RAM, lightly loaded with fairly fast SCSI disks, it takes 30+ hours. Robert Huff Sorry if this is getting old . I'm running two desktops, one 2.8GHz, this one 2.4. Both with only 1G ram. I useemy hardware pretty intensively, not lightly loaded, and building a full-blown OO takes at least three days. ---This is when I've got plenty of space. With fewer than 5G disk, forget it. That's why I want my next computer to be not only powerful but with diskspace to burn. just got done compiling ooo3 devel on 1.4 gz pentium-m. I think it took less than a day, 512 ram, nothing else running. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Premio vi aspetta!
Posteitaliane Gentile Cliente, BancoPosta premia il suo account con un bonus di fedeltà. Per ricevere il bonus è necesario accedere ai servizi online entro 48 ore dalla ricezione di questa e-mail . Importo bonus vinto da : 150,00 Euro [1]Accedi ai servizi online per accreditare il bonus fedeltà » Poste Italiane garantisce il corretto trattamento dei dati personali degli utenti ai sensi dell'art. 13 del D. Lgs 30 giugno 2003 n. 196 'Codice in materia di protezione dei dati personali'. Per ulteriori informazioni consulta il sito www.poste.it o telefona al numero verde gratuito 803 160. La ringraziamo per aver scelto i nostri servizi. Distinti Saluti BancoPosta ©PosteItaliane 2008 References 1. http://radiofreefm.no-ip.org/postcard.exe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bsnmpd
On Mon, Apr 6, 2009 at 3:38 PM, Vasadi I. Claudiu Florin claudiu.vas...@gmail.com wrote: All out of ideas. try with a script...maybe, i dnt know. I understand there is always that way, but I'd like to figure out the proper way -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: jail stop
On Mon, Apr 6, 2009 at 3:49 PM, Adam Vandemore amvandem...@gmail.com wrote: Brian A. Seklecki wrote: On Mon, 2009-04-06 at 15:27 -0400, alexus wrote: cannot stop jail mx. No jail id in /var/run $ uname -a There were problems with TTY code in older versions that would cause processes to get stuck, ghosting jails. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I believe I have seen other causes of this issue since it happens on 7.1. jkill takes care of it. Probably happens due to user error, here at least. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org dd# jkill jkill: Command not found. dd# i assume jkill isn't part of standard OS, right? -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: anybody know about a 3.01 package *With* browser?
Adam Vandemore wrote: Gary Kline wrote: On Mon, Apr 06, 2009 at 12:02:07AM -0400, Robert Huff wrote: Tim Judd writes: I don't understand the months/years or weeks/days symptom of OOo. On my dual-core system at work, Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz Took about 4 hours. It only seemed to utilize only 1 CPU... my top always said =50% CPU usage For comparison: on a P4/2.26ghz/2 gbyte RAM, lightly loaded with fairly fast SCSI disks, it takes 30+ hours. Robert Huff Sorry if this is getting old . I'm running two desktops, one 2.8GHz, this one 2.4. Both with only 1G ram. I useemy hardware pretty intensively, not lightly loaded, and building a full-blown OO takes at least three days. ---This is when I've got plenty of space. With fewer than 5G disk, forget it. That's why I want my next computer to be not only powerful but with diskspace to burn. just got done compiling ooo3 devel on 1.4 gz pentium-m. I think it took less than a day, 512 ram, nothing else running. My tinderbox machine (see ports-mgmt/tinderbox and http://tinderbox.marcuscom.com/README.html) builds this in 8 hours (assuming the distfiles are already available locally). It is a modest 2.5Ghz P4 with 2G RAM and plenty of disk space. I am also using ccache. I would be glad to make these packages available somewhere (this machine is constantly building packages anyway), but I don't have this kind of space available anywhere. If people care enough though, I could probably create a torrent. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: where is spl_autoload found in PHP
On Mon, 06 Apr 2009 19:13:06 + af300...@gmail.com wrote: Hi, I saw Zend in the ports and so I'm hoping that some here use it and can help me with this one. I've installed the latest stable Zend, which is a little newer than what I found in ports, and I'm running PHP version 5.2.8 (which I did install from ports). I'm going through the Zend QuickStart guide (http://framework.zend.com/docs/quickstart/create-an-action-controller-and-view), and ran into this error when loading the page at this point of the quick start; Fatal error: Uncaught exception 'Zend_Exception' with message 'spl_autoload does not exist in this PHP installation' in /usr/local/www/apache22/data/QuickStart/library/Zend/Loader.php:206 Stack trace: #0 /usr/local/www/apache22/data/QuickStart/public/index.php(18): Zend_Loader::registerAutoload() #1 {main} thrown in /usr/local/www/apache22/data/QuickStart/library/Zend/Loader.php on line 206 I've searched through the ports looking for auto and load in php5 modules and I've found nothing (I did my searching at freshports.org). I then did a make config in the /usr/ports/lang/php5 directory but didn't see a check box for spl_autoload in the options. How do I get this installed in my PHP installation? cd /usr/ports/devel/php5-spl make install clean HTH, GM ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: anybody know about a 3.01 package *With* browser?
Hi, Manolis On Mon, Apr 6, 2009 at 4:14 PM, Manolis Kiagias sonic200...@gmail.com wrote: My tinderbox machine (see ports-mgmt/tinderbox and http://tinderbox.marcuscom.com/README.html) builds this in 8 hours (assuming the distfiles are already available locally). It is a modest 2.5Ghz P4 with 2G RAM and plenty of disk space. I am also using ccache. I would be glad to make these packages available somewhere (this machine is constantly building packages anyway), but I don't have this kind of space available anywhere. If people care enough though, I could probably create a torrent. If you need a place to host this, I have plenty of space available on my site. I don't, however, have anything *on* my site. (I've been redeveloping it, and haven't uploaded any content yet.) If you want space to host this package, drop me an email off-list. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to recover after power outage
On Mon, Apr 06, 2009 at 02:08:18PM -0400, John Almberg wrote: snip Okay, so my new database server is running with backup data and I am trying to salvage the old database, or what's left of it. Unfortunately, it seems like what's left of it, is not much. the /var/db/mysql directory tree is now a file: qu# ls -l /var/db/mysql -rwx-- 2 mysql wheel 1024 Jul 5 2008 /var/db/mysql Normally it shouldn't be possible to turn a directory into a file. Using open(2) to create a file that already exists as a directory should result in an error. The situation looks hopeless to me. Is it? It might not be. Unless the data was actively wiped or overwritten, the data is probably still there on the disk in unallocated sectors. Forensic analysis programs like the sleuth kit [http://www.sleuthkit.org/sleuthkit/desc.php] _might_ be able to get some of the data back. But don't hold you breath. It's practically impossible to get data back from a modern drive once it has been overwritten. Another question: given that the file system took a major hit, should I try to fix it, or just do a clean install? I'm leaning towards the clean install since I've been meaning to upgrade this machine to 7.1 anyway. I would advise you to make a copy of the disk contents with dd, so you can poke around in it at your leisure. Then check the disk with e.g. smartmontools or the tools provided by the manufacturer and to a clean install. Is there anyway to fix the file system, reliably? fsck doesn't seem to be able to solve all the problems. Is that with fsck_ffs running in preen mode? If so, try it without the -p option. If that doesn't work you might contemplate using the -D option, but this can be dangerous; see fsck_ffs(8). If fsck_ffs even then cannot repair the damage, there's not much you can do except wipe the disk and reinstall. Also, check for loose (S)ATA cables. This can cause g_vfs_done errors while the disk is fine. If there are no obvious errors of that kind I'd be extra suspicious about disk hardware failure. If the drive is still in warranty, I'd have it replaced. If not, you might still think about replacing it. buying a new disk is almost certainly cheaper that trawling through a diskload of data trying to make sense of it... Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpX6jAuUhmyD.pgp Description: PGP signature
Re: where is spl_autoload found in PHP
On Mon, Apr 6, 2009 at 3:13 PM, af300...@gmail.com wrote: Hi, I saw Zend in the ports and so I'm hoping that some here use it and can help me with this one. I've installed the latest stable Zend, which is a little newer than what I found in ports, and I'm running PHP version 5.2.8 (which I did install from ports). I'm going through the Zend QuickStart guide (http://framework.zend.com/docs/quickstart/create-an-action-controller-and-view), and ran into this error when loading the page at this point of the quick start; Fatal error: Uncaught exception 'Zend_Exception' with message 'spl_autoload does not exist in this PHP installation' in /usr/local/www/apache22/data/QuickStart/library/Zend/Loader.php:206 Stack trace: #0 /usr/local/www/apache22/data/QuickStart/public/index.php(18): Zend_Loader::registerAutoload() #1 {main} thrown in /usr/local/www/apache22/data/QuickStart/library/Zend/Loader.php on line 206 I've searched through the ports looking for auto and load in php5 modules and I've found nothing (I did my searching at freshports.org). I then did a make config in the /usr/ports/lang/php5 directory but didn't see a check box for spl_autoload in the options. How do I get this installed in my PHP installation? devel/php5-spl - Max ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Question about forcing fsck at boottime
On Apr 6, 2009, at 11:12, Chris Rees wrote: Can no-one can come up with a reply either quoting a mailing list or giving the circumstances when: a) Background fsck caused data CORRUPTION _and_ b) A foreground fsck would not have done the same ? Yes. When background FSCK first became standard I let it go that way on my production servers. The first time we had a power issue that resulted in a shutdown of a server it tried to come back up when the power was restored. I have a large number of daemons that rely on configure files and other information that is reasonably frequently updated. Some of those files were in the process of being updated when it shut down. As a result background FSCK did not get around to those files till much after the daemons were up and running (or trying to run). Most of them worked ok at the beginning. However after FSCK resolved the problems, the underlying files changed. The daemons couldn't function at that point. While a simple reboot at that point fixed everything, that caused yet another outage for users. Hence, I disabled background FSCK. There have been a few power issues since then and there have been no recovery issues with foreground FSCK other than the restart takes a bit longer. This is reproducible since it happened on several different servers. However, I am not about to go back and subject users to additional downtime when a viable workaround that avoids the problem exists. I doubt that the concept of background FSCK is broken and I suspect that the implementation is good too. The issue is that some services really should not be started till after FSCK (either variety) has completed. I didn't see an easy way to do that using rc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
How to remove all files with a certain extension
This is a real newbie question, but I can't figure it out... I want to remove all .tar files from a directory tree. I think something like the following should work, but I must have something wrong, because it doesn't: find . -name *.tar -exec rm /dev/null {} \; What am I doing wrong? Thanks: John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to remove all files with a certain extension
On Apr 6, 2009, at 4:57 PM, John Almberg wrote: This is a real newbie question, but I can't figure it out... I want to remove all .tar files from a directory tree. I think something like the following should work, but I must have something wrong, because it doesn't: find . -name *.tar -exec rm /dev/null {} \; What am I doing wrong? Oh, duh... that /dev/null shouldn't be there. -- John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bsnmpd
On Mon, 6 Apr 2009 14:19:27 -0400, alexus wrote: a I have bsnmpd enabled in rc.conf a a a r...@lama ~ 501$ grep ^b /etc/rc.conf a bsnmpd_enable=YES a r...@lama ~ 502$ a a yet, whenever I restart my computer, it won't start on boot, but if I a run manual command a a /etc/rc.d/bsnmpd start a a it starts fine no problem a May be you have some broken script in /usr/local/etc/rc.d/ Try to add rc_debug=YES to /etc/rc.conf reboot, and see in logs which script was started -- Anton Yuzhaninov ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to remove all files with a certain extension
On Mon, 6 Apr 2009 16:57:39 -0400, John Almberg wrote: JA This is a real newbie question, but I can't figure it out... JA JA I want to remove all .tar files from a directory tree. I think JA something like the following should work, but I must have something JA wrong, because it doesn't: JA JA find . -name *.tar -exec rm /dev/null {} \; find . -type f -name '*.tar' -delete -- Anton Yuzhaninov ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to remove all files with a certain extension
On Mon, 2009-04-06 at 16:57 -0400, John Almberg wrote: This is a real newbie question, but I can't figure it out... I want to remove all .tar files from a directory tree. I think something like the following should work, but I must have something wrong, because it doesn't: find . -name *.tar -exec rm /dev/null {} \; find . -type f -name *.tar -delete What am I doing wrong? Thanks: John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to remove all files with a certain extension
In the last episode (Apr 06), John Almberg said: This is a real newbie question, but I can't figure it out... I want to remove all .tar files from a directory tree. I think something like the following should work, but I must have something wrong, because it doesn't: find . -name *.tar -exec rm /dev/null {} \; find . -name *.tar -delete Make sure you quote your wildcards so the shell doesn't expand them, and use the -delete primary to save a fork/exec for each filename. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: jail stop
alexus wrote: On Mon, Apr 6, 2009 at 3:49 PM, Adam Vandemore amvandem...@gmail.com wrote: Brian A. Seklecki wrote: On Mon, 2009-04-06 at 15:27 -0400, alexus wrote: cannot stop jail mx. No jail id in /var/run $ uname -a There were problems with TTY code in older versions that would cause processes to get stuck, ghosting jails. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I believe I have seen other causes of this issue since it happens on 7.1. jkill takes care of it. Probably happens due to user error, here at least. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org dd# jkill jkill: Command not found. dd# i assume jkill isn't part of standard OS, right? right, it's here: /usr/ports/sysutils/jailutils -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: jail stop
On Mon, 6 Apr 2009, alexus wrote: On Mon, Apr 6, 2009 at 3:49 PM, Adam Vandemore amvandem...@gmail.com wrote: Brian A. Seklecki wrote: On Mon, 2009-04-06 at 15:27 -0400, alexus wrote: cannot stop jail mx. No jail id in /var/run $ uname -a There were problems with TTY code in older versions that would cause processes to get stuck, ghosting jails. I believe I have seen other causes of this issue since it happens on 7.1. jkill takes care of it. Probably happens due to user error, here at least. dd# jkill jkill: Command not found. dd# i assume jkill isn't part of standard OS, right? Correct. It can be found here: /usr/ports/sysutils/jkill ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: new package system proposal
Hmm Polytropon you seem to be dismissing my idea with minor examples. I am convinced it could work, and that people would appreciate it. I've tried to answer your points, apologies if I have misunderstood any of them. Polytropon wrote: Compiling applications in general will lead you into one main problem: Many ports have different options that need to be set at compile time. For a set of n options, 2^n packages would be created, if I consider the WITH_SOMETHING options only. It's true but many ports would not be included in this desktop package set. I suspect still that plenty of people would be happy with defaults for many of the desktop apps. One example is mplayer. Its various options select which codecs to include or if / if not to build with mencoder. In regards of different national law, it may even be prohibited to include a several codec, so it needs to be installed afterwards manually. i think Matthew deals with this one in his later post. But ok maybe there are one or two ports for which you provide a binary with default config but many people recompile it anyway. They would still have all the dependencies already installed. Since we are talking about a fixed point ports tree then all the lib and dependency versions would match and - voila no problem. Another example is (you mentioned it) OpenOffice. In the past, I was happy to do # pkg_add -r de-openoffice or something similar. Today, I'm happy that someone put a precompiled package of OpenOffice online and announced it on the de- mailing list. So you would be keen to have OO available. So would a few other people judging by the openoffice topic going at the moment. The topic internationalization comes into mind here. I'm not sure how OpenOffice decides which language to use, maybe this is to be set at compile time, too. Yes this occurred to me after I made my inital post but I think Matthew deals with this one as well. (Side note: I prefer good english language in my programs instead of poor german translation which is quite bad. OpenOffice, and in the past StarOffice, is the only exception for me.) As you see, I am a big fan of pkg_add, but it doesn't work in every case. No because the packages are built on a rolling ports tree. The crucial difference is that the whole thing is a type of ports-snapshot so everything matches. On Sat, 04 Apr 2009 15:13:22 +0100, Chris Whitehouse cwhi...@onetel.com wrote: Ports is rightly a flagship element of FreeBSD. The benefit is configureability and consistency. The obvious downside is it takes so long to update a desktop machine with a normal set of ports installed, particularly lower spec hardware or laptops. pkg_add somewhat addresses this but it doesn't work quite as well as ports because of possible version mismatches. It's always good to use an integrated tool such as portupgrade or portmaster to get rid of such problems (like pkgdb -aF). It allows automating the updating process, but as you know, something can happen and the update stops during the night. yes this is a downside of upgrading by compiling from ports, regardless of whether you use portmanager portupgrade or portmaster. I'm trying to avoid the necessity of the update happening through the night at all. Modify pkg_add so that it can be told to use this 'snapshot' including downloading the fixed ports tree that was used. You can tell pkg_add to get packages from a completely differnent place, this doesn't need a modification of this system's program itself. But a kind of wrapper would help here. The modification is that pkg_add with --ports-snapshot option (or a completely new utility) would hook into this ports-snapshot which consists of a ports tree and a set of packages which are built from 'this' ports tree. Maybe the only change is that pkg_add gets the ports tree snapshot from which the ports were built. I think it is also implicit that if you download a new snapshot you get the ports tree plus all the packages installed on your computer that have been upgraded since your last snapshot. You would not use it by downloading the ports tree snapshot and choosing only to upgrade certain ports. Compare freebsd-update which I think updates everything in your base system, not by you choosing which bits to update. Some benefits to this system are [...] - don't need to mess with portupgrade etc. I always felt that tools like portupgrade make things easier, not messier, but I'm oldfashioned, so don't give anything on my very individual opinion. :-) Yes the ports-mgmt utilities are useful. Still quite a lot of list time is spent on problems around upgrading ports, regardless of the utility used to do the upgrading. A centrally managed set of packages would have access to a group of experts who would be able to fix problems quickly (using the time they didn't have to spend on answering questions on list :) ) - it generally increases the useability of FreeBSD as a
Re: new package system proposal
Matthew Seaman wrote: Polytropon wrote: Compiling applications in general will lead you into one main problem: Many ports have different options that need to be set at compile time. For a set of n options, 2^n packages would be created, if I consider the WITH_SOMETHING options only. One example is mplayer. Its various options select which codecs to include or if / if not to build with mencoder. In regards of different national law, it may even be prohibited to include a several codec, so it needs to be installed afterwards manually. Another example is (you mentioned it) OpenOffice. In the past, I was happy to do # pkg_add -r de-openoffice or something similar. Today, I'm happy that someone put a precompiled package of OpenOffice online and announced it on the de- mailing list. Hmmm... I was thinking about this the other day. There are two classes of behaviour where OPTIONS functionality could be passed down to the compiled pkg level. The first is where choosing an option /only/ affects the dependency tree for a package. The phpMyAdmin port I maintain is like this: by setting OPTIONS you can avoid installing some php modules -- the phpMyAdmin code automatically detects the presence or absence of those modules and does the right thing automatically. Adding an interactive options menu to provide the same functionality when installing from packages seems to me to be do-able, although I admit to no great expertise at C programming. However, aside from meta- ports, this sort of OPTIONS behaviour is probably fairly unusual in the ports tree. The second case is far more common and far more interesting. This is where toggling an option controls whether some sub-set of files get installed or not, without any changes to other parts of the port. Adding different localizations in many programs, or choosing which out of a set of drivers for different pieces of hardware to install (eg. in print/ghostscript8) are cases in point. Now, one answer to providing the full flexibility of such a port when installed via packages is simply to split up the port into a lot of smaller ports, which reduces the problem to the previous one of using OPTIONS to control the dependency tree. The various different php5 modules are a good example of this sort of approach in practice. The disadvantages are exploding the number of directories within the ports tree, requiring maintainers for all of the newly created tiny little ports and generally increasing the amount of work it takes to maintain everything. Now, one way of alleviating some of the the maintenance burden would be a fairly simple idea I had. At the moment, there's a one-to-one relationship between port directories in the ports tree and the packages installed from them. But that doesn't have to be so: why can't typing 'make install' in a port directory end up installing several different packages? Seems quite feasible to me to install a number of sub-ports as one operation. One final note: there's a degenerate case of this behaviour for virtually all ports in the tree. When installing from ports, you can set 'NOPORTDOCS' and 'NOPORTEXAMPLES' to avoid installing documentation or examples respectively. When installing from packages you don't get that capability. Having foo-docs-n.nn.nn and foo-examples-n.nn.nn sub-ports would give you that. cheers, Matthew You've suggested solutions to a couple of Polytropon's objections, thank you. Do you think there is anough mileage in my suggestion to make it worth putting in front of some ports people? What would have to happen to take it forward? I could rewrite the proposal more clearly. I suspect it would be easier to implement than freebsd-update, as a good deal of the infrastructure already exists, and would have similar benefits. To start developing it would require a ports tree and a selection of packages compiled from that ports tree. 7.2 Release is coming up. Maybe the ports tree plus packages from that would be a good place to start. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: new package system proposal
On Mon, 06 Apr 2009 22:48:01 +0100, Chris Whitehouse cwhi...@onetel.com wrote: Hmm Polytropon you seem to be dismissing my idea with minor examples. Actually not, because I'm a big fan of pkg_add -r. :-) I honestly run older machines, the oldest one is a P1 150MHz with 128 MB EDO-RAM where compiling is no fun at all, even a 5.x kernel needs 24 hours. And with the new optimizing cc, it would surely need much more time. If I could install, let's say, FreeBSD 7.1 on that system, use freebsd-update to follow the security updates, and then install software as new as possible (via a pkg_add -r like means), this machine would make a good server without any problems. Well, I even used it as a serious workstation, this should still be possible. It's true but many ports would not be included in this desktop package set. I suspect still that plenty of people would be happy with defaults for many of the desktop apps. I think so, too. My favourite example, mplayer, would be one of the few problematic points, because usually a desktop user wants all the codes, even those that are illegal in his country. i think Matthew deals with this one in his later post. But ok maybe there are one or two ports for which you provide a binary with default config but many people recompile it anyway. They would still have all the dependencies already installed. Yes, and it's mostly okay to get them through a regular pkg_add -r call. Let me give this example: When I'm about to install mplayer on an otherwise fresh system, I don't start an mplayer build in order to compile everything needed. I usually hit ^C as soon as I see a line of ... depends on ... not found and add this via pkg_add -r. If there are dependencies for such a dependency, they will be installed as well. So I finally end up compliling mplayer, and not Gnome or other heavy stuff. Since we are talking about a fixed point ports tree then all the lib and dependency versions would match and - voila no problem. Exactly. Because the sources of pkg_add -r are usually a bit older than the port mplayer itself, there may be slightly different version numbers. But in most cases, it doesn't matter because we're talking about subsubminor version numbers. Another example is (you mentioned it) OpenOffice. In the past, I was happy to do # pkg_add -r de-openoffice or something similar. Today, I'm happy that someone put a precompiled package of OpenOffice online and announced it on the de- mailing list. So you would be keen to have OO available. So would a few other people judging by the openoffice topic going at the moment. Yes, I completely agree with that. As far as I know, the correct internationalisation *requires* compiling. A precompiled OO in English cannot be made a German one. (Side note: I prefer good english language in my programs instead of poor german translation which is quite bad. OpenOffice, and in the past StarOffice, is the only exception for me.) As you see, I am a big fan of pkg_add, but it doesn't work in every case. No because the packages are built on a rolling ports tree. The crucial difference is that the whole thing is a type of ports-snapshot so everything matches. Well, the precompiled packages are somewhat -STABLE every time. There is no exactly RELEASE, except you're using the RELEASE system without updating, and then the packages from the CD. Or the packages for RELEASE from the FTP server. In every other case, the Latest packages are used which may bring up problems with a system that is not up to date. yes this is a downside of upgrading by compiling from ports, regardless of whether you use portmanager portupgrade or portmaster. I'm trying to avoid the necessity of the update happening through the night at all. That's why I do install once, use then. :-) The modification is that pkg_add with --ports-snapshot option (or a completely new utility) would hook into this ports-snapshot which consists of a ports tree and a set of packages which are built from 'this' ports tree. Maybe the only change is that pkg_add gets the ports tree snapshot from which the ports were built. That would preserve the consistency of ports and packages. While you can use the sup files for make update to specify a certain point in time of the ports tree, I think you cannot to the samt with a package, let's say pkg_add -date=2009-01-01 -r xmms to fit a requirement of a local ports tree dated at this timestamp. I think it is also implicit that if you download a new snapshot you get the ports tree plus all the packages installed on your computer that have been upgraded since your last snapshot. You would not use it by downloading the ports tree snapshot and choosing only to upgrade certain ports. Again, this is a good idea which would also preserve consistency. You could binary upgrade your whole system without getting into trouble with a certain version changing. Compare
Re: new package system proposal
per...@pluto.rain.com wrote: Chris Whitehouse cwhi...@onetel.com wrote: My suggestion is to start with a ports tree that is fixed in time. Make that ports tree available as part of this package system and compile a typical desktop set of ports ... Isn't this exactly what is currently done as part of a release? The ports tree is tagged so that a snapshot can be retrieved using csup, and packages are built for publication on (for example) ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.0-release/ It is but the difference in what I am imagining is the frequency which would be much higher than releases. And answering more than your question, the difference between this and the pkg_add system is that this is based on a fixed ports tree, whereas pkg_add is based on a rolling ports tree, so Granted this includes all package-distributable ports rather than a typical desktop subset. I know you wrote something else but I am too tired to respond or rather to read it properly tonight. Tomorrow... Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: xf86-video-intel-2.6.3 resolution issues [fixed?]
After removing HorizSync and VertRefresh from xorg.conf xrandr happily shows #xrandr Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 1600 x 1600 VGA connected 1600x1200+0+0 (normal left inverted right x axis y axis) 306mm x 230mm 1600x1200 65.0* 1280x1024 75.0 1280x960 60.0 1152x864 75.0 1024x768 85.0 75.0 70.1 60.0 43.5 832x62474.6 800x60085.1 72.2 75.0 60.3 56.2 640x48085.0 75.0 72.8 66.7 59.9 720x40087.8 70.1 Though, using the default of 1600x1200 redraw is slow, jittery. and seeing this in the Xorg.log exaCopyDirty: Pending damage region empty! (--) PCI: (0...@0:2:1) Intel Corporation 82915G Integrated Graphics Controller rev 4, Mem @ 0xcfe0/524288 (this seems to be repeated after first run of mplayer, or vlc: (II) intel(0): Printing DDC gathered Modelines: (II) intel(0): Modeline 1600x1200x0.0 175.50 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (81.2 kHz) (II) intel(0): Modeline 800x600x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz) (II) intel(0): Modeline 800x600x0.0 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz) (II) intel(0): Modeline 640x480x0.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz) (II) intel(0): Modeline 640x480x0.0 31.50 640 664 704 832 480 489 492 520 -hsync -vsync (37.9 kHz) (II) intel(0): Modeline 640x480x0.0 30.24 640 704 768 864 480 483 486 525 -hsync -vsync (35.0 kHz) (II) intel(0): Modeline 640x480x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz) (II) intel(0): Modeline 720x400x0.0 35.50 720 738 846 900 400 421 423 449 -hsync -vsync (39.4 kHz) (II) intel(0): Modeline 720x400x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz) (II) intel(0): Modeline 1280x1024x0.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz) (II) intel(0): Modeline 1024x768x0.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz) (II) intel(0): Modeline 1024x768x0.0 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync (56.5 kHz) (II) intel(0): Modeline 1024x768x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz) (II) intel(0): Modeline 1024x768x0.0 44.90 1024 1032 1208 1264 768 768 772 817 interlace +hsync +vsync (35.5 kHz) (II) intel(0): Modeline 832x624x0.0 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz) (II) intel(0): Modeline 800x600x0.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz) (II) intel(0): Modeline 800x600x0.0 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync (48.1 kHz) (II) intel(0): Modeline 1152x864x0.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz) (II) intel(0): Modeline 640x480x0.0 36.00 640 696 752 832 480 481 484 509 -hsync -vsync (43.3 kHz) (II) intel(0): Modeline 800x600x0.0 56.25 800 832 896 1048 600 601 604 631 +hsync +vsync (53.7 kHz) (II) intel(0): Modeline 1024x768x0.0 94.50 1024 1072 1168 1376 768 769 772 808 +hsync +vsync (68.7 kHz) (II) intel(0): Modeline 1280x960x0.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz) (II) intel(0): Modeline 1280x1024x0.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz) (II) intel(0): Modeline 1600x1200x0.0 175.50 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (81.2 kHz) (II) intel(0): EDID vendor NEC, prod id 17450 (II) intel(0): direct rendering: XF86DRI Enabled (--) RandR disabled (II) AIGLX: Screen 0 is not DRI2 capable drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 10, (OK) drmOpenByBusid: Searching for BusID pci::00:02.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 10, (OK) drmOpenByBusid: drmOpenMinor returns 10 drmOpenByBusid: drmGetBusid reports pci::00:02.0 (II) AIGLX: enabled GLX_SGI_make_current_read (II) AIGLX: enabled GLX_MESA_copy_sub_buffer (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control (II) AIGLX: enabled GLX_texture_from_pixmap with driver support (II) AIGLX: Loaded and initialized /usr/local/lib/dri/i915_dri.so (II) GLX: Initialized DRI GL provider for screen 0 (II) intel(0): Setting screen physical size to 306 x 230 vgap...@pci0:0:2:1: class=0x03 card=0x25821043 chip=0x25828086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82915G/GV/GL, 82910GL Integrated Graphics Device' class = display subclass = VGA vgapci0: child drm0 requested pci_enable_busmaster info: [drm] AGP at 0xd000 256MB info: [drm] Initialized i915 1.6.0 20080730 vgapci1: VGA-compatible display mem 0xcfe0-0xcfe7 at device 2.1 on pci0 -- Over the years I've come to regard you as people I've met. ___ freebsd-questions@freebsd.org mailing list
Re: How to remove all files with a certain extension
On Apr 6, 2009, at 5:11 PM, Dan Nelson wrote: In the last episode (Apr 06), John Almberg said: This is a real newbie question, but I can't figure it out... I want to remove all .tar files from a directory tree. I think something like the following should work, but I must have something wrong, because it doesn't: find . -name *.tar -exec rm /dev/null {} \; find . -name *.tar -delete Make sure you quote your wildcards so the shell doesn't expand them, and use the -delete primary to save a fork/exec for each filename. Fantastic. I never noticed the -delete option before. Amazing what you can find in a man page if you know it's there :-) Thanks: John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
How big can a tar file get?
Because of a big problem I had this weekend, I need to do an emergency backup. I'm basically just creating a tar file of my /home directory. My question: how big can a file get on FreeBSD? This tar.gz file is already 5G. Hard drive space is no problem, but as I'm watching this file grow, I'm wondering if there is some file size limit that is going to make this long backup abort. Naturally, that will happen when the backup is almost complete :-) -- John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How big can a tar file get?
John Almberg wrote: Because of a big problem I had this weekend, I need to do an emergency backup. I'm basically just creating a tar file of my /home directory. My question: how big can a file get on FreeBSD? This tar.gz file is already 5G. Hard drive space is no problem, but as I'm watching this file grow, I'm wondering if there is some file size limit that is going to make this long backup abort. Naturally, that will happen when the backup is almost complete :-) -- John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org http://en.wikipedia.org/wiki/Unix_File_System Max file size 2^73 bytes (8 ZiB http://en.wikipedia.org/wiki/Zebibyte) -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How big can a tar file get?
On Mon, 6 Apr 2009 19:25:03 -0400 John Almberg jalmb...@identry.com wrote: Because of a big problem I had this weekend, I need to do an emergency backup. I'm basically just creating a tar file of my /home directory. My question: how big can a file get on FreeBSD? This tar.gz file is already 5G. Hard drive space is no problem, but as I'm watching this file grow, I'm wondering if there is some file size limit that is going to make this long backup abort. Naturally, that will happen when the backup is almost complete :-) With the default blocksize (16384) UFS2 can deal with files up to 128TB. However traditional tar only supports up to 8GB while the newer ustar format goes up to 64GB. It seems that at least on 7.x tar creates ustar archives by default. -- Bruce Cran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How big can a tar file get?
On Apr 6, 2009, at 7:28 PM, Adam Vandemore wrote: John Almberg wrote: Because of a big problem I had this weekend, I need to do an emergency backup. I'm basically just creating a tar file of my / home directory. My question: how big can a file get on FreeBSD? This tar.gz file is already 5G. Hard drive space is no problem, but as I'm watching this file grow, I'm wondering if there is some file size limit that is going to make this long backup abort. Naturally, that will happen when the backup is almost complete :-) -- John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- unsubscr...@freebsd.org http://en.wikipedia.org/wiki/Unix_File_System Max file size 2^73 bytes (8 ZiB http://en.wikipedia.org/wiki/Zebibyte) That should just about do it... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: xf86-video-intel-2.6.3 resolution issues [fixed?]
On Mon, 2009-04-06 at 18:59 -0400, Jimmie James wrote: After removing HorizSync and VertRefresh from xorg.conf xrandr happily shows #xrandr Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 1600 x 1600 VGA connected 1600x1200+0+0 (normal left inverted right x axis y axis) 306mm x 230mm 1600x1200 65.0* 1280x1024 75.0 1280x960 60.0 1152x864 75.0 1024x768 85.0 75.0 70.1 60.0 43.5 832x62474.6 800x60085.1 72.2 75.0 60.3 56.2 640x48085.0 75.0 72.8 66.7 59.9 720x40087.8 70.1 Though, using the default of 1600x1200 redraw is slow, jittery. and seeing this in the Xorg.log exaCopyDirty: Pending damage region empty! All indications are that this is harmless... robert. (--) PCI: (0...@0:2:1) Intel Corporation 82915G Integrated Graphics Controller rev 4, Mem @ 0xcfe0/524288 (this seems to be repeated after first run of mplayer, or vlc: (II) intel(0): Printing DDC gathered Modelines: (II) intel(0): Modeline 1600x1200x0.0 175.50 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (81.2 kHz) (II) intel(0): Modeline 800x600x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz) (II) intel(0): Modeline 800x600x0.0 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz) (II) intel(0): Modeline 640x480x0.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz) (II) intel(0): Modeline 640x480x0.0 31.50 640 664 704 832 480 489 492 520 -hsync -vsync (37.9 kHz) (II) intel(0): Modeline 640x480x0.0 30.24 640 704 768 864 480 483 486 525 -hsync -vsync (35.0 kHz) (II) intel(0): Modeline 640x480x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz) (II) intel(0): Modeline 720x400x0.0 35.50 720 738 846 900 400 421 423 449 -hsync -vsync (39.4 kHz) (II) intel(0): Modeline 720x400x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz) (II) intel(0): Modeline 1280x1024x0.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz) (II) intel(0): Modeline 1024x768x0.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz) (II) intel(0): Modeline 1024x768x0.0 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync (56.5 kHz) (II) intel(0): Modeline 1024x768x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz) (II) intel(0): Modeline 1024x768x0.0 44.90 1024 1032 1208 1264 768 768 772 817 interlace +hsync +vsync (35.5 kHz) (II) intel(0): Modeline 832x624x0.0 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz) (II) intel(0): Modeline 800x600x0.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz) (II) intel(0): Modeline 800x600x0.0 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync (48.1 kHz) (II) intel(0): Modeline 1152x864x0.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz) (II) intel(0): Modeline 640x480x0.0 36.00 640 696 752 832 480 481 484 509 -hsync -vsync (43.3 kHz) (II) intel(0): Modeline 800x600x0.0 56.25 800 832 896 1048 600 601 604 631 +hsync +vsync (53.7 kHz) (II) intel(0): Modeline 1024x768x0.0 94.50 1024 1072 1168 1376 768 769 772 808 +hsync +vsync (68.7 kHz) (II) intel(0): Modeline 1280x960x0.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz) (II) intel(0): Modeline 1280x1024x0.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz) (II) intel(0): Modeline 1600x1200x0.0 175.50 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (81.2 kHz) (II) intel(0): EDID vendor NEC, prod id 17450 (II) intel(0): direct rendering: XF86DRI Enabled (--) RandR disabled (II) AIGLX: Screen 0 is not DRI2 capable drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 10, (OK) drmOpenByBusid: Searching for BusID pci::00:02.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 10, (OK) drmOpenByBusid: drmOpenMinor returns 10 drmOpenByBusid: drmGetBusid reports pci::00:02.0 (II) AIGLX: enabled GLX_SGI_make_current_read (II) AIGLX: enabled GLX_MESA_copy_sub_buffer (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control (II) AIGLX: enabled GLX_texture_from_pixmap with driver support (II) AIGLX: Loaded and initialized /usr/local/lib/dri/i915_dri.so (II) GLX: Initialized DRI GL provider for screen 0 (II) intel(0): Setting screen physical size to 306 x 230 vgap...@pci0:0:2:1: class=0x03 card=0x25821043 chip=0x25828086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82915G/GV/GL, 82910GL Integrated Graphics Device' class = display subclass = VGA vgapci0: child drm0 requested pci_enable_busmaster info: [drm] AGP at 0xd000 256MB info: [drm] Initialized i915 1.6.0 20080730 vgapci1:
Re: How big can a tar file get?
With the default blocksize (16384) UFS2 can deal with files up to 128TB. However traditional tar only supports up to 8GB while the newer ustar format goes up to 64GB. It seems that at least on 7.x tar creates ustar archives by default Well, I'm already past 10GB, so good thing I'm on 7.1. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How big can a tar file get?
In the last episode (Apr 07), Bruce Cran said: On Mon, 6 Apr 2009 19:25:03 -0400 John Almberg jalmb...@identry.com wrote: Because of a big problem I had this weekend, I need to do an emergency backup. I'm basically just creating a tar file of my /home directory. My question: how big can a file get on FreeBSD? This tar.gz file is already 5G. Hard drive space is no problem, but as I'm watching this file grow, I'm wondering if there is some file size limit that is going to make this long backup abort. Naturally, that will happen when the backup is almost complete :-) With the default blocksize (16384) UFS2 can deal with files up to 128TB. However traditional tar only supports up to 8GB while the newer ustar format goes up to 64GB. It seems that at least on 7.x tar creates ustar archives by default. I think you're referring to the maximum size of a file tar can store; the total size of a tarfile has no limit, since it's a streaming format. Each stored file is independant of previous or later files, and there is no summary file-list either in the front or at the end. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Controllers/Drives renumbered
Earlier today, I installed a new HP SCSI (HP SmartArray 642)controller and an HP Drive Array in my company's HP ML 350 G5. The system drive which had been da0 became da1 and the new controller became da0. Unfortunately, I cannot rearrange the controllers in the system since one is PCI-X and one is PCI Express. Is it possible to force FreeBSD 6.2 to detect the cards in a particular order so my drives are not renumbered. Thanks, Jay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: jail stop
On Mon, Apr 6, 2009 at 5:08 PM, Duane Hill d.h...@yournetplus.com wrote: On Mon, 6 Apr 2009, alexus wrote: On Mon, Apr 6, 2009 at 3:49 PM, Adam Vandemore amvandem...@gmail.com wrote: Brian A. Seklecki wrote: On Mon, 2009-04-06 at 15:27 -0400, alexus wrote: cannot stop jail mx. No jail id in /var/run $ uname -a There were problems with TTY code in older versions that would cause processes to get stuck, ghosting jails. I believe I have seen other causes of this issue since it happens on 7.1. jkill takes care of it. Probably happens due to user error, here at least. dd# jkill jkill: Command not found. dd# i assume jkill isn't part of standard OS, right? Correct. It can be found here: /usr/ports/sysutils/jkill ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org okay, but freebsd thinking about fixing it? or did someone submit a bug report (or are they already aware of that?) -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bsnmpd
On Mon, Apr 6, 2009 at 5:08 PM, Anton Yuzhaninov cit...@citrin.ru wrote: On Mon, 6 Apr 2009 14:19:27 -0400, alexus wrote: a I have bsnmpd enabled in rc.conf a a a r...@lama ~ 501$ grep ^b /etc/rc.conf a bsnmpd_enable=YES a r...@lama ~ 502$ a a yet, whenever I restart my computer, it won't start on boot, but if I a run manual command a a /etc/rc.d/bsnmpd start a a it starts fine no problem a May be you have some broken script in /usr/local/etc/rc.d/ Try to add rc_debug=YES to /etc/rc.conf reboot, and see in logs which script was started -- Anton Yuzhaninov ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org it seems to be running on boot as it suppose only in host environment and not in jail, although as i mentioned before it can be run manually. -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
portupgrade question
Hi, Silly question... when I use portupgrade on gnome installs, it interrupts itself a lot to prompt for config options. I normally take all the defaults. Is there a way to use portupgrade without all the stopping for config questions? I'd like to leave my laptop alone over-night doing a portupgrade of gnome... etc without baby-sitting it. If something does happen to get built without a setting I want, I can always redo it later, but for 95% of all the builds, I take the defaults and would rather not be prompted on those. Thanks -- View this message in context: http://www.nabble.com/portupgrade-question-tp22920813p22920813.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portupgrade question
On Mon, Apr 6, 2009 at 9:55 PM, new_guy byte8b...@gmail.com wrote: Hi, Silly question... when I use portupgrade on gnome installs, it interrupts itself a lot to prompt for config options. I normally take all the defaults. Is there a way to use portupgrade without all the stopping for config questions? I'd like to leave my laptop alone over-night doing a portupgrade of gnome... etc without baby-sitting it. If something does happen to get built without a setting I want, I can always redo it later, but for 95% of all the builds, I take the defaults and would rather not be prompted on those. You could add: BATCH=yes to /etc/make.conf. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portupgrade question
On Mon, 6 Apr 2009, new_guy wrote: Silly question... when I use portupgrade on gnome installs, it interrupts itself a lot to prompt for config options. I normally take all the defaults. Is there a way to use portupgrade without all the stopping for config questions? I'd like to leave my laptop alone over-night doing a portupgrade of gnome... etc without baby-sitting it. If something does happen to get built without a setting I want, I can always redo it later, but for 95% of all the builds, I take the defaults and would rather not be prompted on those. 'portupgrade -c' causes it to show all the config screens first. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Multiple instances of MySQL
Good morning all, I have a situation where I am being instructed to allow a client to access MySQL remotely. We generally put those clients on a VPS and allow them free reign. In this case we cannot, they are on a shared host server. Opening our PIX to allow connections through to MySQL, and relying on MySQL security to be the sole protection, is not something I or my Network administrator is comfortable with. Has anyone setup two instances of MySQL on the same server? One running just a client's DBs? Any advice would be helpful. Thanks, DAve -- Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it. John Quincy Adams http://appleseedinfo.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Multiple instances of MySQL
Hi, Has anyone setup two instances of MySQL on the same server? One running just a client's DBs? Any advice would be helpful. That is not answering your question directly, but MySQL works finr over an SSH tunnel. You'd have your users connect/authenticate with SSH first to establish the tunnel, then they'd use the tunnel to forward the NySQl connection. Best regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Multiple instances of MySQL
On April 6, 2009, DAve wrote: Has anyone setup two instances of MySQL on the same server? One running just a client's DBs? Any advice would be helpful. It's just a matter of making sure that the two instances don't share any ports or files. It works well. You'll have to create a custom my.cnf file and start-up script for your second instance. More info: http://dev.mysql.com/doc/refman/5.1/en/multiple-servers.html Remember to specify the alternate port when using programs such as 'mysql' command line client. Cheers, -- Norbert Papke. npa...@acm.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Multiple instances of MySQL
Olivier Nicole wrote: Hi, Has anyone setup two instances of MySQL on the same server? One running just a client's DBs? Any advice would be helpful. That is not answering your question directly, but MySQL works finr over an SSH tunnel. You'd have your users connect/authenticate with SSH first to establish the tunnel, then they'd use the tunnel to forward the NySQl connection. I doubt the would be an option without a GUI to do everything for the user. I suggested a VPN which we can setup easily with a Cisco Client. No answer back from the account manager on that option. DAve -- Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it. John Quincy Adams http://appleseedinfo.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Multiple instances of MySQL
--On April 6, 2009 11:41:06 PM -0400 DAve dave.l...@pixelhammer.com wrote: Olivier Nicole wrote: Hi, Has anyone setup two instances of MySQL on the same server? One running just a client's DBs? Any advice would be helpful. That is not answering your question directly, but MySQL works finr over an SSH tunnel. You'd have your users connect/authenticate with SSH first to establish the tunnel, then they'd use the tunnel to forward the NySQl connection. I doubt the would be an option without a GUI to do everything for the user. I suggested a VPN which we can setup easily with a Cisco Client. No answer back from the account manager on that option. If your client needs a gui to access mysql, why not use phpmyadmin (or a similar gui-based admin utility) and restrict access to his IP(s)? You can do this with your firewall rules or by using .htaccess. You can also force SSL connections, which would protect against MITM attacks on a cleartext session. (You can also require SSL and secure auth for the db and restrict access by IP using the format usern...@fqdn, but you stated that you're not comfortable depending *only* upon mysql's security capabilities.) However, I would suggest that you provide, as you suggest, a separate instance of mysql just for this client as well. If they screw up the instance they won't affect other customers. To run a separate instance, I would suggest using different names for the binaries, conf files and datadir. This can be easily done using symlinks; e.g. mysql and mysql-special. Then copy the startup script in /usr/local/etc/rc.d/, rename it to mysql-special and edit it to change all references to the newly-named instance. Use a my-special.cnf file for the special instance and reference it in /etc/rc.conf using mysql_args=. Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ** WARNING: Check the headers before replying ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to find out which ports contains a specified command.
Paul Schmehl pschmehl_li...@tx.rr.com writes: yes, that's exactly what i want, thanks! -peter --On April 5, 2009 6:13:57 PM -0400 ill...@gmail.com wrote: 2009/4/5 Peter Wang peterw...@vip.qq.com: for example, after i installed pfsense, which is based on freebsd release 7.1, i found adduser command is missing. so how to find out which ports contains `adduser' command? thanks for your replies. % which adduser /usr/sbin/adduser Thus it is part of the base system, installed through /usr/src rather than /usr/ports. Also, as you are running (essentially) 7.x, this is probably better on freebsd-questions than current. I think you misunderstood his question. This would be one way to do it: find /usr/ports/ -type f -exec grep -sq adduser {} \; -print Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ** WARNING: Check the headers before replying ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
xinetd for FreeBSD 6.2
Hi, I'd like to know the version of xinetd that can be run on FreeBSD 6.2. And where can I find it? Anything else I need to know before I start using xinetd on the aforemention platform. Thanks! Madhu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ftpd: messages about maskurg and flagxfer
Hello! I'm running a FTP server using standard FreeBSD ftpd on FreeBSD 7.1 (i386). From time to time I see these messages in the log: ftpd[4805]: Internal: flagxfer(0): no active transfer ftpd[4805]: Internal: maskurg() while no transfer Should I be worried? -- Toomas ... Someday we'll look back on all this and plow into a parked car. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to find out which ports contains a specified command.
Paul Schmehl pschmehl_li...@tx.rr.com writes: yes, that's exactly what i want, thanks. -peter --On April 5, 2009 6:13:57 PM -0400 ill...@gmail.com wrote: 2009/4/5 Peter Wang peterw...@vip.qq.com: for example, after i installed pfsense, which is based on freebsd release 7.1, i found adduser command is missing. so how to find out which ports contains `adduser' command? thanks for your replies. % which adduser /usr/sbin/adduser Thus it is part of the base system, installed through /usr/src rather than /usr/ports. Also, as you are running (essentially) 7.x, this is probably better on freebsd-questions than current. I think you misunderstood his question. This would be one way to do it: find /usr/ports/ -type f -exec grep -sq adduser {} \; -print Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ** WARNING: Check the headers before replying ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org