zfs can't mount /usr after 9.1-release upgrade
a freebsd box doesn't boot normally since upgrading from 9.1-rc3 to 9.1-release. it boots to the point that /usr is mounted, then errors mount: /usr: unknown special file or file system if i boot to single user, zfs mount -a manually, then it comes up fine. what function key do i gotta press to make that not happen again? tom ___ 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: zfs can't mount /usr after 9.1-release upgrade
On 7/10/13 1:50 PM, Michael Sierchio ku...@tenebras.com wrote: On Wed, Jul 10, 2013 at 12:34 PM, Tom Worster f...@thefsb.org wrote: # mount -p /etc/fstab thanks for answering, michael. i have now spotted the problem. the zfs_enable line in rc.conf was fubar. i must have done some bad vi on it around the time i upgraded the base system. ___ 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
Can net.inet.tcp.msl be set per interface?
If a server has one interface to the Internet and another interface to a switch connecting to a few other servers, it seems TCP's MSL value might reasonably be set a lot lower on the private interface. I'm specifically thinking of a lot of short MySQL connections between the servers on the private LAN. The average number of MySQL client connections in TIME_WAIT will be proportional to MSL. And, while the circumstances under which a long MSL would help anything are unimaginable on the LAN, they are not on the Internet. So can net.inet.tcp.msl be set per interface? Tom ___ 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: Easiest desktop BSD distro
On 3/31/11 1:10 PM, Polytropon free...@edvax.de wrote: On Thu, 31 Mar 2011 17:33:09 +0100, Arthur Chance free...@qeng-ho.org wrote: On 03/31/11 17:06, Arthur Chance wrote: On 03/30/11 23:00, Polytropon wrote: There is a project called VirtualBSD that developed a FreeBSD system image that can be used with VirtualBox. Nitpick: the web site says VirtualBSD is a virtual appliance for VMware Following myself up, Polytropon was technically correct as the FAQ says VirtualBSD is somewhat compatible with VirtualBox, but not right away and not easily. but I suspect the level of effort needed is going to put people off trying it. Isn't VMware more common than VBox on most systems anyway? Thanks for stating that; in fact, I was confusing VMWare and VirtualBox while typing. :-) I've no experience with VirtualBSD. But I can say that VBox comes with host configs for FreeBSD 32 and 64 clients. Yesterday I fed the FreeBSD 8.2 RELEASE Disk 1 ISO into VBox and it installed very nicely. Network even came up with DHCP. ___ 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: Easiest desktop BSD distro
I only know FreeBSD so I can't recommend any other BSD as being easier. And I don't use a windowing system on it. But I've an answer to a question you didn't ask: FreeBSD in VirtualBox a convenient way of learning. It saves a lot of uninteresting messing around. And it allows me to save my project (by saving VM state), get on with some other work and come back to it later. Regarding your problems with internet speed, I think you can download one of the small FreeBSD images, run that and instruct the FreeBSD install program to get the files via FTP. Configure the installer to install only the set of OS parts you want. That should save a lot of download relative to the ISO images that contain everything. I've never done this but I expect others can help if you run into difficulty. ___ 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
DTrace in RELEASE?
Does anyone know if it's likely DTrace will ever make it into the generic RELEASEs? Tom ___ 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
lost network during freebsd-update install
i was upgrading a remote machine from 7.1 to 8.1 with freebsd-update. the freebsd-update -r 8.1-RELEASE upgrade phase was complete and i had given: # freebsd-update install Installing updates... when the wifi on my local computer went away. eventually i restarted the wifi interface but the ssh session didn't recover. i don't know if the freebsd-update command completed or not. or how to find out. and if it did not, what to do next. i'd be most grateful for any help. tom ___ 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: lost network during freebsd-update install
On 3/10/11 8:01 AM, Bas Smeelen b.smee...@ose.nl wrote: On 03/10/2011 01:52 PM, Tom Worster wrote: i was upgrading a remote machine from 7.1 to 8.1 with freebsd-update. the freebsd-update -r 8.1-RELEASE upgrade phase was complete and i had given: # freebsd-update install Installing updates... when the wifi on my local computer went away. eventually i restarted the wifi interface but the ssh session didn't recover. i don't know if the freebsd-update command completed or not. or how to find out. and if it did not, what to do next. i'd be most grateful for any help. tom You should be able to connect to your server (new ssh session) because at this stage freebsd-update is installing the new kernel. Then just repeat the freebsd-update install step and you should be fine and continue with it following the steps listed in the handbook doesn't look good: # freebsd-update install Installing updates...Bad system call (core dumped) Bad system call (core dumped) Bad system call (core dumped) Bad system call (core dumped) ... and the terminal buffer is filling up with those fast. Also screen (1) can be your friend for doing things on remote servers. do you mean ports/sysutils/screen ? ___ 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: Apple FreeBSD relationship
On 3/9/11 8:57 PM, mikel king mikel.k...@olivent.com wrote: In recent years their marketing as gone to some lengths to scrub the references to BSD UNIX from the brochures. It's like they are ashamed of their roots, again personally I think they hired some new anti-geeks that just don't get it. i think it's deeper than that. they know what they are doing. back at the beginning, os x was great. finally a decent, user-friendly gui on top of a decent unix-like thing, which, oh joy, felt like bsd. for years, apple improved os x and did some oss work. e.g. webkit is decent stuff. life was good. ms word in this window, terminal in that one, mysql, perl, then the iphone and the disaster of not having an sdk ready (other than mobile safari) happened. they wised up and everything changed. with ios apple has a strategy to get away from all that openness. they are steering developers away from the web and portable web apps. so they are backpedaling on safari and os x as best they can. if they can dominate in mobile hardware for a while longer they may achieve some serious api lock-in. then we will be in trouble. it is the same strategy ms used after they won the browser war with netscape -- they backpedaled on IE, got very deep windows api lock in, and made a load of money. it's been a curious inversion. 10 years ago, in terms of how scared i am, i'd have ranked ms, apple and google with ms at the top and both apple and google as not very scary. now i am terrified of google, very scared of apple and i hardly even think about ms. so i think the change is very canny and comes from the top, not from some anti-geeks that don't get it. and as far as investing in corporate stock is concerned, oss virtue (like environmental virtue or sweat shop virtue) is just so much marketing blather. a corporation's responsibility is to make money for its investors. business ethics is and always will be purely utilitarian. apple has good marketing but don't kid yourself. ___ 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: lost network during freebsd-update install
at this stage, i have no remote access. even if i could gain access, i wouldn't know what state it's in or how to proceed. it's probably best now to pay for the hosting company to install 8.1 from cd. On 3/10/11 8:54 AM, Bas Smeelen b.smee...@ose.nl wrote: On 03/10/2011 02:37 PM, Tom Worster wrote: freebsd-update install Installing updates...Bad system call (core dumped) But your server is running and other services are ok? Is your kernel still 7.1 ? I guess it should be. (uname -a) Looks like either a newer version of freebsd-update already got installed which is not compatible with some library or the other way around. I have never gone from 7.1 to 8.1 directly and I haven't lost my connection during the updates. Does freebsd-update rollback work? I guess maybe not but it's worth a try. Then it's time to dive into the exact workings of freebsd-update when going from 7.1 to 8.1 I guess. BTW Yes I mean sysutils/screen DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited. If you have received it by mistake please let us know by reply and then delete it from your system. ___ 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: lost network during freebsd-update install
On 3/10/11 9:13 AM, Bas Smeelen b.smee...@ose.nl wrote: On 03/10/2011 03:03 PM, Tom Worster wrote: at this stage, i have no remote access. even if i could gain access, i wouldn't know what state it's in or how to proceed. it's probably best now to pay for the hosting company to install 8.1 from cd. Well if this is an option. But before paying and with a bit of bad luck getting the same problem in 8.1 it would be nice to know what's the cause. You do not have remote console access and a way to mount a virtual cdrom? no. if i can't ssh then i need local help. i'll ask them to try rollback before resorting to cd. It sounds more like kernel and userland are not in sync or something else. This shouldn't be a problem caused by freeb-update though. the handbook describes a procedure: A) 1st freebsd-update install: The kernel and kernel modules will be patched B) reboot C) 2nd freebsd-update install: The state of the process has been saved and thus,freebsd-update will not start from the beginning, but will remove all old shared libraries and object files i'm just guessing... A) did not complete because its shell exited. i was left with a half-patched kernel. when i did freebsd-update install again, instead of doing A) over from scratch, it attempted C) and started dumping cores all over the carpet. result: system can't get the kernel up properly. or another guess... A) did complete while i was disconnected. when i repeated freebsd-update install it attempted C) but because the old kernel was still running it didn't work and started dumping cores all over the carpet. result: system hangs attempting to start some userland part. it seems a pity now that freebsd-update chose to use the same command verb for both A and C. Maybe someone has a clue about this? Is this on real hardware or hosted in a virtual machine setup? real hw. i'm considering going to the clouds. i could easily restore from a vm snapshot. but for that i need to learn linux, another big time sink. add votes here: http://feedback.rackspacecloud.com/forums/71021-product-feedback/suggestion s/989519-create-a-freebsd-image I haven't have this happen with about 30 servers the last three years going from 6 to 7 and to 8, the latter with freebsd-update, rebooting with GENERIC and then building a custom kernel. i haven't done so many but i've had good luck with freebsd-update in the past too. but i haven't had the network fail during the process before. and i didn't have the foresight to use screen. i guess using that is a bit like following the admonitions when reflashing your firmware to have a fully charged battery AND be plugged into the wall. perhaps the handbook could suggest 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: lost network during freebsd-update install
On 3/10/11 12:48 PM, Jason Helfman jhelf...@e-e.com wrote: Good idea. Rollback does work, and has worked for me in a very similar situation, and hopefully will work for you as well. After the rollback, reboot, and start again from your initial upgrade command. I would highly recommend using tmux, and also installing a remote console/management card for your system so you can control it remotely. The cost of the card is probably less than remote-hands cost on one support call. so my support person called and said that it did boot to single user mode but was in a dreadful mess and rollback didn't work. loads of really basic programs, stuff that freebsd-update uses, were missing, like id(1). oh well. ___ 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
determining freebsd-update status
to determine roughly where a server is in its updates (we're running only RELEASE) i do: 1 - check the 1st 4 fields of the tag file in the freebsd-update working dir. 2 - check the output of freebsd-update IDS. is it the case that freebsd-update IDS checks base system status relative to what's referenced in the tag file? tia tom ___ 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: determining freebsd-update status
thanks for the answers, jason. two more questions below. On 3/4/11 1:09 PM, Jason Helfman jhelf...@e-e.com wrote: On Fri, Mar 04, 2011 at 11:32:11AM -0500, Tom Worster thus spake: to determine roughly where a server is in its updates (we're running only RELEASE) i do: 1 - check the 1st 4 fields of the tag file in the freebsd-update working dir. Just because the 1st 4 fields are populated, doesn't necessarily imply it is running at that version. The tag is stating what it has recently seen as available on the update server, but that doesn't mean that those updates have been installed. ok. 2 - check the output of freebsd-update IDS. is it the case that freebsd-update IDS checks base system status relative to what's referenced in the tag file? No. The hash index file is pulled from the update server for the installed release, and your system is compared with that. the installed release being what exactly? and how does freebsd-update determine what it is? ___ 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: portmaster -a command fails - *** Error code 1
these situations arise quite often where you have to delete a port before portmaster will continue. sometimes you can predict it by reading /usr/ports/UPDATING not that this is the only reason to read UPDATING. On 3/4/11 1:37 PM, Arthur Chance free...@qeng-ho.org wrote: On 03/04/11 17:36, Ed Flecko wrote: Thanks Aurthur. :-) It's funny...I DID what it asks and it still didn't work (make deinstall, etc.). A tip for the future: always say what you've tried. It lets us save our waning mind reading powers for important cases, like working out what the wife actually wants for her birthday when all she says is oh, any little thing will do. :-) Apparently, I installed it from a package, so I did a pkg_delete automake and then started my portmaster -a again and it seems to be running fine. Ah, the third option which I forgot to mention. It's always the option one forgets to mention that works. In theory package install and port install are supposed to be the same (modulo config options). In practice there are odd cases, and automake seems to provoke them. Thinking back, I've had to pkg_delete it before now in order to upgrade, and I always install from ports. ___ 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: libsphinxclient (for the pecl sphinx api)
On 3/2/11 5:35 PM, Matthew Seaman m.sea...@infracaninophile.co.uk wrote: On 02/03/2011 21:46, Tom Worster wrote: does anyone have advice on getting libsphinxclient up an running? the sphinxsearch port seems not to do it and i'm completely failing to build the client from source. Well, as maintainer of sphinxsearch, I'm sorry about that. I did have a quick look at building libsphinxclient from both the 0.9.9 and 1.10-beta sources. You're right. It's pretty broken on FreeBSD. Patches welcome! I'll be happy to add libsphinxclient support somehow -- probably as a separate port, but right now $REALLIFE is keeping me too busy to devote much time to doing ports stuff. i wish i could help. but i'm just a user, not a developer, and i find tinkering with make files and the rest is usually a mistake. Looks like there's been some significant fixes gone into the development version -- the OP might like to try grabbing the latest code from SVN (http://code.google.com/p/sphinxsearch/) and trying that. the new stuff looks very interesting but for the production systems i generally use releases of whatever it may be on the assumption that a bit more qa goes into those. that's why i'm not even dealing with sphinx 1.10 for now as it's marked as a beta. all the same, thanks for the info. tom ___ 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
libsphinxclient (for the pecl sphinx api)
does anyone have advice on getting libsphinxclient up an running? the sphinxsearch port seems not to do it and i'm completely failing to build the client from source. tia tom ___ 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
Running two daemon instances -- rc.d or not?
I need to set up a server with two instances of SphinxSearch searchd (listening on different ports, of course). What's a good way to do it? Copying /usr/local/etc/rc.d/sphinxsearch to /usr/local/etc/rc.d/sphinxsearch2 and editing that doesn't feel very attractive. tnx tom ___ 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: FreeBSD on Rackspace Could
On 11/13/10 6:32 PM, dalesc...@shaw.ca dalesc...@shaw.ca wrote: but dedicated/vps does not offer what cloud computing does. What do feel are the advantages of the cloud? i haven't used one yet but, as far as i can tell, the interesting differences derive from how the could platform implements network, storage and compute elements in a distributed hardware system meshed up with a mesh interconnect (presumably of the high-performance computing type). the resulting advantages for me: the storage arrays are raid 10 and all their responsibility not mine; shared file systems are part of the platform so i don't need to mess around with nfs; load balancing (which i currently can't afford) is part of the network platform; so is the address juggling needed for high availability (failover and restoration); and the price for each vm seems to allow me maybe 2 or 3x as many hosts as i get with dedicated servers so i can separate the db servers from the rest of the app and assign no more memory than i need to each vm. in summary, it seems i can get the high-availability, load-sharing architecture i want at a price that's beyond my budget with dedicated hosts. and it looks like there's a bunch of other nice aspects that aren't radical but will be time savers: backups, standby images, simpler sysadmin (there's a lot less to a cloud server slice than a whole computer), monitoring, persistence. does this begin to answer your question? this weekend i tried out gentoo on a wee celeron box i have. (someone here said gentoo was the linux most like freebsd and rackspace cloud offers it). it's the first linux experience i've had in which i didn't feel like a clumsy incompetent. the similarities and differences relative to freebsd are interesting. maybe i'll write up my initial impressions. ___ 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: Why do you use a devil as a mascot?
On 11/12/10 7:18 PM, Polytropon free...@edvax.de wrote: On Fri, 12 Nov 2010 15:57:46 -0800, Charlie Kester corky1...@comcast.net wrote: On Fri 12 Nov 2010 at 15:44:01 PST Chris Brennan wrote: Must we continue to beat this already dead horse? Apparently the answer is yes, when we're not beating the equally dead horse of the CLI vs GUI debate. Why vs? It's and. So let's have the vs vs and debate. isn't that where Derrida wrote the book? ___ 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: Why do you use a devil as a mascot?
On 11/12/10 6:44 PM, Chris Brennan xa...@xaerolimit.net wrote: I think it's safe to say that either a) Mr. Silveira has unsubscribed from the list or b) learned to keep his mouth shut and scampered off into the dark to learn the proper netiquette of this list. Must we continue to beat this already dead horse? in his most recent email to me, José Silveira signed off with: Finally, I am very happy to not to be part of freeBSD community. i admit i'm happy about that too. ___ 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: FreeBSD on Rackspace Could
if i used farcebook, i might start a campaign page to drum up support for freebsd on rackspace cloud. any takers? On 11/13/10 9:20 AM, Aryeh Friedman aryeh.fried...@gmail.com wrote: Thats good news because currently we have a gentoo machine with them (the closest linux distro to FreeBSD in philosophy and implementation) and since i have been a big FB user for years I have already told them we would like to switch if they offered the option On Thu, Nov 11, 2010 at 11:43 AM, Tom Worster f...@thefsb.org wrote: I got a somewhat encouraging response from Rackspace when I asked if they were going to offer FreeBSD in addition to the 17 different Linuxes and 5 different Windowses they offer. But ultimately their decision will depend on market interest. Here's the contact info if you want to voice your interest: http://www.rackspacecloud.com/aboutus/contact A Xen expert says you could order a Windows VM and overwrite it with 64 bit FreeBSD and that will work but it's not the ideal solution. ___ 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 ___ 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: FreeBSD on Rackspace Could
On 11/13/10 8:57 AM, Wojciech Puchar woj...@tensor.gdynia.pl wrote: different Windowses they offer. But ultimately their decision will depend on market interest. Here's the contact info if you want to voice your interest: http://www.rackspacecloud.com/aboutus/contact A Xen expert says you could order a Windows VM and overwrite it with 64 bit FreeBSD and that will work but it's not the ideal solution. the ideal solution is not to use VM-style services at all. i'm not sure in what country you live but getting a place with usable network where you can put your own computer isn't even a problem in Poland which is said to have poor connectivity in my situation, the ideal solution is not dedicated servers. that's what i'm using now and implementing the fault tolerance, high availability and load sharing requirements is very expensive this way. the RS could _appears_ (from my reading of the sales blurbs) to allow me to get much farther down that road within the current budget. ___ 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: FreeBSD on Rackspace Could
i am very happy with the service i get from my provider of freebsd dedicated hosts. and there's no shortage of offerings for vps as well. but dedicated/vps does not offer what cloud computing does. On 11/13/10 4:05 PM, Nerius Landys nlan...@gmail.com wrote: Hi, I'm a 3 year customer of M5 Hosting. They are in San Diego. I am a very very pleased customer. :-) On Sat, Nov 13, 2010 at 12:19 PM, Alejandro Imass aim...@yabarana.comwrote: Use M5 Hosting. They are FBSD friendly and offer outstanding and human support. ___ 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 ___ 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: Why do you use a devil as a mascot?
On 11/12/10 2:29 PM, Jerry McAllister jerr...@msu.edu wrote: Lots of people see FreeBSD and the web site and the mascott, etc for the first time probably each day.Some of them will have the same mistaken idea since the misunderstanding of it is implanted in people's heads from an early age.Although you may get tired of hearing that same old argument again and again, I do, it does not automatically make a person a troll if they ask the question. Hmm. It is inconsiderate and lazy to ask someone else to answer a question without making any effort to answer it yourself first. The misdeed is multiplied when the culprit asks hundreds of people in a discussion group such as this. That's why it is often considered a violation of etiquette. The fact that lmgtfy.com and 'RTFM' are both well know suggests that this is not a fringe opinion. The intelligent thing is to give a reasonable answer and point the person to some web pages where they can become informed and then ignore it. I would describe that as the indulgent thing, not the intelligent thing. ___ 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 on Rackspace Could
I got a somewhat encouraging response from Rackspace when I asked if they were going to offer FreeBSD in addition to the 17 different Linuxes and 5 different Windowses they offer. But ultimately their decision will depend on market interest. Here's the contact info if you want to voice your interest: http://www.rackspacecloud.com/aboutus/contact A Xen expert says you could order a Windows VM and overwrite it with 64 bit FreeBSD and that will work but it's not the ideal solution. ___ 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
Why does apache22 port want python?
I don't need python for anything, afaik. What does apache want it for? ___ 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: Why does apache22 port want python?
I can't spot anything obvious in the config menu for apache22 or apr-ipv6-devrandom-gdbm-db42 1.4.2.1.3.10 that would lead to python dependency. Here's my selections: Options for apache 2.2.17_1 [ ] THREADS Enable threads support in APR [ ] MYSQL Enable MySQL support for apr-dbd [ ] PGSQL Enable PostgreSQL support for apr-dbd [ ] SQLITEEnable SQLite support for apr-dbd [ ] IPV6 Enable IPv6 support [ ] BDB Enable BerkeleyDB dbm [X] AUTH_BASICEnable mod_auth_basic [X] AUTH_DIGEST Enable mod_auth_digest [X] AUTHN_FILEEnable mod_authn_file [ ] AUTHN_DBD Enable mod_authn_dbd [X] AUTHN_DBM Enable mod_authn_dbm [X] AUTHN_ANONEnable mod_authn_anon [X] AUTHN_DEFAULT Enable mod_authn_default [X] AUTHN_ALIAS Enable mod_authn_alias [X] AUTHZ_HOSTEnable mod_authz_host [X] AUTHZ_GROUPFILE Enable mod_authz_groupfile [X] AUTHZ_USEREnable mod_authz_user [X] AUTHZ_DBM Enable mod_authz_dbm [X] AUTHZ_OWNER Enable mod_authz_owner [X] AUTHZ_DEFAULT Enable mod_authz_default [X] CACHE Enable mod_cache [X] DISK_CACHEEnable mod_disk_cache [X] FILE_CACHEEnable mod_file_cache [ ] MEM_CACHE Enable mod_mem_cache [ ] DAV Enable mod_dav [ ] DAV_FSEnable mod_dav_fs [ ] BUCKETEER Enable mod_bucketeer [ ] CASE_FILTER Enable mod_case_filter [ ] CASE_FILTER_INEnable mod_case_filter_in [ ] EXT_FILTEREnable mod_ext_filter [ ] LOG_FORENSIC Enable mod_log_forensic [ ] OPTIONAL_HOOK_EXPORT Enable mod_optional_hook_export [ ] OPTIONAL_HOOK_IMPORT Enable mod_optional_hook_import [ ] OPTIONAL_FN_IMPORTEnable mod_optional_fn_import [ ] OPTIONAL_FN_EXPORTEnable mod_optional_fn_export [ ] LDAP Enable mod_ldap [ ] AUTHNZ_LDAP Enable mod_authnz_ldap [X] ACTIONS Enable mod_actions [X] ALIAS Enable mod_alias [X] ASIS Enable mod_asis [X] AUTOINDEX Enable mod_autoindex [X] CERN_META Enable mod_cern_meta [X] CGI Enable mod_cgi [X] CHARSET_LITE Enable mod_charset_lite [ ] DBD Enable mod_dbd [X] DEFLATE Enable mod_deflate [X] DIR Enable mod_dir [X] DUMPIOEnable mod_dumpio [X] ENV Enable mod_env [X] EXPIRES Enable mod_expires [X] HEADERS Enable mod_headers [X] IMAGEMAP Enable mod_imagemap [X] INCLUDE Enable mod_include [X] INFO Enable mod_info [X] LOG_CONFIGEnable mod_log_config [X] LOGIO Enable mod_logio [X] MIME Enable mod_mime [X] MIME_MAGICEnable mod_mime_magic [X] NEGOTIATION Enable mod_negotiation [X] REWRITE Enable mod_rewrite [X] SETENVIF Enable mod_setenvif [X] SPELING Enable mod_speling [X] STATUSEnable mod_status [X] UNIQUE_ID Enable mod_unique_id [X] USERDIR Enable mod_userdir [X] USERTRACK Enable mod_usertrack [X] VHOST_ALIAS Enable mod_vhost_alias [X] FILTEREnable mod_filter [X] VERSION Enable mod_version [ ] PROXY Enable mod_proxy [ ] PROXY_CONNECT Enable mod_proxy_connect [ ] PATCH_PROXY_CONNECT Patch proxy_connect SSL support [ ] PROXY_FTP Enable mod_proxy_ftp [ ] PROXY_HTTPEnable mod_proxy_http [ ] PROXY_AJP Enable mod_proxy_ajp [ ] PROXY_BALANCEREnable mod_proxy_balancer [ ] PROXY_SCGIEnable mod_proxy_scgi [X] SSL Enable mod_ssl [ ] SUEXECEnable mod_suexec [ ] SUEXEC_RSRCLIMIT SuEXEC rlimits based on login class [X] REQTIMEOUTEnable mod_reqtimeout [ ] CGID Enable mod_cgid Options for apr-ipv6-devrandom-gdbm-db42 1.4.2.1.3.10 [X] THREADSEnable Threads in apr [ ] IPV6 Enable IPV6 Support in apr [ ] BDBEnable Berkley BDB support in apr-util [X] GDBM Enable GNU dbm support in apr-util [ ] LDAP Enable LDAP support in apr-util [ ] MYSQL Enable MySQL suport in apr-util [ ] NDBM Enable NDBM support in apr-util [ ] PGSQL Enable Postgresql suport in apr-util [ ] SQLITE Enable SQLite3 support in apr-util [X] DEVRANDOM Use /dev/random or compatible in apr On 11/4/10 2:59 PM, Antonio Vieiro anto...@antonioshome.net wrote: Maybe this is configurable in the port? I don't think apache22 depends on python at all, but maybe some apache plugin does. I'd try with make config install clean Cheers, Antonio On 04/11/2010 19:30, Tom Worster wrote: I don't need python for anything, afaik
Re: problems installing php (php5-spl) with portmaster
On 11/1/10 9:14 PM, John Levine jo...@iecc.com wrote: portupgrade. However, I just unregistered php5-spl, because its no longer necessary. I believe php5-spl and php5-pcre are now integrated into PHP-5.3 by default. Yes and no. pcre depends on the separate pcre package, and php will fail in baffling ways is your pcre is too old. The maintainer of the php port is aware of this but has declined both to make a one-line change to the Makefile to use the bundled pcre package, or an alternate one-line change to document the version dependency. gosh! is there a test i can run to see if my pcre is going to fail in any baffling ways? ___ 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: problems installing php (php5-spl) with portmaster
hi lystic, finally i remembered to look in /usr/ports/UPDATING which says: 20100409: AFFECTS: users of lang/php5 AUTHOR: a...@freebsd.org As of PHP 5.3, a few extensions were removed from or included into the core PHP5 package. Follow the steps below to update your installation. 1) Delete the following packages (if installed): - php5-dbase - php5-ncurses - php5-pcre - php5-spl - php5-ming - php5-mhash 2) Rebuild lang/php5 and all ports that depend on it. On 11/1/10 8:16 PM, Lystic Emsen lyst...@gmail.com wrote: I just upgrade my php5 port to php5.3 and ran into a similar problem with portupgrade. However, I just unregistered php5-spl, because its no longer necessary. I believe php5-spl and php5-pcre are now integrated into PHP-5.3 by default. I also ran into a couple of other problems. These notes may be of some help later. http://www.unixnews.net/2010/10/error-with-apr-parameter-is-incorrect.html http://www.unixnews.net/2010/10/pcre-error-with-php5-filter-and-php5.html -Lystic On Mon, Nov 1, 2010 at 5:52 PM, Tom Worster f...@thefsb.org wrote: portmaster is looping on devel/php5-spl. it seems as though php5-spl depends on itself. the excerpt below shows two cycles of the recursion. the list php5-spl-5.2.11_1 php5-spl-5.2.11_1 gets one longer on each interation. any ideas how to fix this? thanks tom === Port directory: /usr/ports/devel/php5-spl === Gathering dependency list for devel/php5-spl from ports === Starting dependency check === Checking dependency: devel/autoconf268 === Checking dependency: lang/php5 === The dependency for lang/php5 seems to be handled by php5-pcre-5.2.11_1 === The dependency for lang/php5 seems to be handled by php5-spl-5.2.11_1 === Launching child to update php5-spl-5.2.11_1 to php5-spl-5.3.3_2 pear-1.9.0 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 === Port directory: /usr/ports/devel/php5-spl === Gathering dependency list for devel/php5-spl from ports === Starting dependency check === Checking dependency: devel/autoconf268 === Checking dependency: lang/php5 === The dependency for lang/php5 seems to be handled by php5-pcre-5.2.11_1 === The dependency for lang/php5 seems to be handled by php5-spl-5.2.11_1 === Launching child to update php5-spl-5.2.11_1 to php5-spl-5.3.3_2 pear-1.9.0 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_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 ___ 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
problems installing php (php5-spl) with portmaster
portmaster is looping on devel/php5-spl. it seems as though php5-spl depends on itself. the excerpt below shows two cycles of the recursion. the list php5-spl-5.2.11_1 php5-spl-5.2.11_1 gets one longer on each interation. any ideas how to fix this? thanks tom === Port directory: /usr/ports/devel/php5-spl === Gathering dependency list for devel/php5-spl from ports === Starting dependency check === Checking dependency: devel/autoconf268 === Checking dependency: lang/php5 === The dependency for lang/php5 seems to be handled by php5-pcre-5.2.11_1 === The dependency for lang/php5 seems to be handled by php5-spl-5.2.11_1 === Launching child to update php5-spl-5.2.11_1 to php5-spl-5.3.3_2 pear-1.9.0 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 === Port directory: /usr/ports/devel/php5-spl === Gathering dependency list for devel/php5-spl from ports === Starting dependency check === Checking dependency: devel/autoconf268 === Checking dependency: lang/php5 === The dependency for lang/php5 seems to be handled by php5-pcre-5.2.11_1 === The dependency for lang/php5 seems to be handled by php5-spl-5.2.11_1 === Launching child to update php5-spl-5.2.11_1 to php5-spl-5.3.3_2 pear-1.9.0 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_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: BSD logo
On 7/24/10 5:59 PM, Chad Perrin per...@apotheon.com wrote: On Sat, Jul 24, 2010 at 12:05:14AM -0700, David Brodbeck wrote: I'm reminded that the SATAN network scanner project used to ship a utility with the source code that would patch it to rename it SANTA. I suppose someone could fork a new BSD distribution with an angel for a logo, to mollify these sorts of people. Call it BlessedBSD (BleSseD?) or something. ;) By the way . . . while I think a BelssedBSD fork is a ridiculous idea, the name BlessedBSD is *brilliant*. Pronouncing it aloud makes the high-quality pun buried in the name more obvious, for those who didn't quite catch it on the first read-through. i agree. lovely name. the pagan connection is delectable. http://is.gd/dJRn3 ___ 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: BSD logo
On 7/23/10 10:01 PM, Victor Skovorodnikov vic...@mail.ru wrote: I have always been thinking of trying FreeBSD but as a Christian I get deterred by its un-Christian logo. to me, devils, daemons and demons are mythological critters like elves, pixies and bogey men. Have you considered changing it to something else? Doesn't have to be an angel, but perhaps something neutral ;-) ? everyone is free to interpret the image as the please. there are alternatives for anyone who, after due study of the horned cartoon character, concludes that freebsd is blasphemous. ___ 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: BSD logo
On 7/26/10 12:35 PM, Pegasus Mc Cleaft k...@mthelicon.com wrote: By the way . . . while I think a BelssedBSD fork is a ridiculous idea, the name BlessedBSD is *brilliant*. Pronouncing it aloud makes the high-quality pun buried in the name more obvious, for those who didn't quite catch it on the first read-through. i agree. lovely name. the pagan connection is delectable. http://is.gd/dJRn3 After the install, does it say SoMoteItBSD? and gives you a distinctive handshake. ___ 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: upgrading form 7.1-RELEASE to 8.0-RELEASE?
On 6/16/10 1:06 PM, Matthew Seaman m.sea...@infracaninophile.co.uk wrote: On 16/06/2010 17:48:03, Tom Worster wrote: as usual i let things slip until the servers are a couple of versions behind and then i face the worries of upgrading. will freebsd-update -r 8.0-RELEASE upgrade work on a 7.1-RELEASE system or do i need to take intermediate steps? does anyone have experience or advice they'd be willing to share? and if all goes well, when i boot 8.0 are my deamons going to start and be happy: Server version: 5.0.87 FreeBSD port: mysql-server-5.0.87 Sphinx 0.9.8.1-release (r1533) Server version: Apache/2.2.13 (FreeBSD) PHP 5.2.11 with Suhosin-Patch 0.9.7 (cli) (built: Nov 20 2009 16:10:58) Yes, this upgrade should work in one step. Make sure to install the compat7x port, and all the software you installed under 7.1 will be able to keep running. Note however that the compat7x stuff is merely a measure to give yourself a breathing space between upgrading the OS and rebuilding all your ports. excellent. i wasn't aware of the port. would the order to do things be: update ports with portsnap, install misc/compat7x, upgrade with freebsd-update and reboot? You really do have to reinstall all the ports on a major version upgrade: while installed ports will still run if you don't touch them, as soon as you start updating anything, or installing anything new, it will start to go horribly poo unless you haved reinstalled everything. yes. i plan to upgrade all the apps to the current ports shortly after the base upgrade. I note that the software you're running is all a few versions behind what's current, and some of those updates involve pretty significant changes (eg. php 5.2 to 5.3; changes to the way apache ports work; i've already ported the code for 5.3. Oracle pushing to drop support for MySQL 5.0) so a bit of forethough and planning is advised, but there's no real deal-breaker there. this has been a vexing concern for some considerable time now. but it's perhaps out of scope here. if we had better insight into where oracle is taking it... Also, if you wait for a few weeks you could go directly to 8.1-RELEASE, which might be a better choice. There have been some pretty significant bugfixes between 8.0-RELEASE and 8.1-RELEASE. bug fixes sound nice. a few weeks you say? thank you for the input, matthew -- much appreciated. ___ 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
upgrading form 7.1-RELEASE to 8.0-RELEASE?
as usual i let things slip until the servers are a couple of versions behind and then i face the worries of upgrading. will freebsd-update -r 8.0-RELEASE upgrade work on a 7.1-RELEASE system or do i need to take intermediate steps? does anyone have experience or advice they'd be willing to share? and if all goes well, when i boot 8.0 are my deamons going to start and be happy: Server version: 5.0.87 FreeBSD port: mysql-server-5.0.87 Sphinx 0.9.8.1-release (r1533) Server version: Apache/2.2.13 (FreeBSD) PHP 5.2.11 with Suhosin-Patch 0.9.7 (cli) (built: Nov 20 2009 16:10:58) ___ 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
use DD mode or not? and how to set up?
options for setting up gmirror include DD or standard mode. i don't know about others. i'm about to install 8.0-RELEASE on a system with two 750g sata disks that i want to run as a mirrored pair. what are the pros/cons of the different options? and what about the installation process? set up the mirror before installing from the CD or do it like the handbook says? ___ 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: fixit and gmirror
On 12/8/09 5:00 PM, Joey Mingrone j...@mingrone.org wrote: Hello: I was upgrading a system from 7.2 to 8.0 and all was going well until the make installkernel step. The / partition filled up when the new kernel was installing. Since /boot was taking up most of the space I moved /boot to /usr/ and create a symlink in / then I did make installkernel again and everything completed. Unfortunately I didn't move the necessary bits from /usr/boot back to / before rebooting and now the system won't boot. I'm trying to use the fixit option with the livefs cd to repair the system, but I'm having problems with gmirror. The disks are in software raid0. Can anyone point me in the right direction to get /usr and / mounted from the mirror using fixit? in a recent situation which might be related, i was able to make progress with fixit only once i burned a 7.1 livefs cd. with 8.0 cds i got nowhere. with 7.1, it wasn't necessary to boot from cd1 and then insert livefs for fixit. the livefs disk booted str8 into sysinstall. ___ 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: won't boot after 8.0-RELEASE upgrade
On 12/8/09 5:21 PM, Polytropon free...@edvax.de wrote: On Tue, 8 Dec 2009 14:09:16 -0800 (PST), Ivo Karabojkov i...@kit-bg.com wrote: So I'd like to know how to distinguish mode of my current filesystems - is it standard or dangerously dedicated? If you've first created a slice on the disk, and then partitions inside the slice, it's standard mode, e. g. ad0 ab d e f g { [ (/) (swap) (/tmp) (/var) (/usr) (/home) ] } s1 If you've omitted the slice, and created the partitions on the disk device itself, it's dangerosly dedicated mode, e. g. ad0 { (/) (swap) (/tmp) (/var) (/usr) (/home) } ab d e f g You can tell by the existence of ad0s1[adefg] vs. ad0[adefg] in /dev, or by trying to print the disks's slice table. thank you. that's good to know. now that i know that my machine was not using DD mode before the upgrade to 8.0, it seems there ought to be a chance to make it boot. the boot loader can see the partitions ad4s1[abdef] but the 8.0 kernel that was installed with freebsd-update can't. isn't there some trick with dd to zero out the geom metadata and makes the partitions look like ordinary again? (i was about 30 hours into copying the data off the disk to another machine when my router died so i'm back at square 1 now, which was described in my email at 11.14am est on dec 3rd.) ___ 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: won't boot after 8.0-RELEASE upgrade
On 12/6/09 1:06 PM, Ivo Karabojkov i...@kit-bg.com wrote: Since I have some servers to manage I am very interested how should I upgrade to 8.0 Rel? this is a big question. for my production servers i like to keep things simple and use the generic binary distribution. and i've been trying to develop a habit of using freebsd-update. but now i'm very nervous. unlike the machine that failed, my production systems have hw raid and don't use gmirror so i suspect the update may go smoothly. i also have a redundant config so i can take a machine offline to do the update. nevertheless, this experience has unnerved me. ___ 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
recovering data from this disk
any suggestions how to recover data from either of the mirrored disks that i can't get to boot? the situation is described below. (i'm assuming, given the silence on this, that making the system work after the freebsd-update is a lost cause.) On 12/3/09 11:14 AM, Tom Worster f...@thefsb.org wrote: after running freebsd-update -r 8.0-RELEASE upgrade my system won't boot. it gets stuck on mountroot and i can't find the magic word it wants. the system used to have two sata drives /dev/ad4 and ad6. they were partitioned and sliced using the deafaults that sysinstall suggested. at the boot prompt, lsdev says: disk devices disk0: BIOS drive C: disk0s1a: FFS disk0s1b: swap disk0s1d: FFS disk0s1e: FFS disk0s1f: FFS disk1: BIOS drive D: disk1s1a: FFS disk1s1b: swap disk1s1d: FFS disk1s1e: FFS disk1s1f: FFS which looks right, although i'm not familiar with the disk nomenclature. entering ? at mountroot mentions ad4 and ad6. geom_mirror was being used. i've tried saying load geom_mirror and/or enable-module geom_mirror at the boot prompt. neither made any difference. nothing i've said to mountroot works: ufs:/dev/ad4s1a ufs:/dev/ad6s1a ufs:/dev/mirror/gm0s1a ufs:/dev/disk0s1a ufs:/dev/disk1s1a does anyone know the magic word? i'd be very grateful. tom ___ 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: recovering data from this disk
On 12/4/09 1:51 PM, Henrik Hudson li...@rhavenn.net wrote: On Fri, 04 Dec 2009, Tom Worster wrote: any suggestions how to recover data from either of the mirrored disks that i can't get to boot? the situation is described below. If they were indeed mirrored then try a FreeBSD live distro boot CD and boot into that then just mount one of the disk partitions that you need. thanks, henrik, but i wasn't able to make the live fs fixit shell work. i get an error message when i try to start the live fs shell: ldconfig could not create the ld.so hints file and all commands fail to work. tom (i'm assuming, given the silence on this, that making the system work after the freebsd-update is a lost cause.) On 12/3/09 11:14 AM, Tom Worster f...@thefsb.org wrote: after running freebsd-update -r 8.0-RELEASE upgrade my system won't boot. it gets stuck on mountroot and i can't find the magic word it wants. the system used to have two sata drives /dev/ad4 and ad6. they were partitioned and sliced using the deafaults that sysinstall suggested. at the boot prompt, lsdev says: disk devices disk0: BIOS drive C: disk0s1a: FFS disk0s1b: swap disk0s1d: FFS disk0s1e: FFS disk0s1f: FFS disk1: BIOS drive D: disk1s1a: FFS disk1s1b: swap disk1s1d: FFS disk1s1e: FFS disk1s1f: FFS which looks right, although i'm not familiar with the disk nomenclature. entering ? at mountroot mentions ad4 and ad6. geom_mirror was being used. i've tried saying load geom_mirror and/or enable-module geom_mirror at the boot prompt. neither made any difference. nothing i've said to mountroot works: ufs:/dev/ad4s1a ufs:/dev/ad6s1a ufs:/dev/mirror/gm0s1a ufs:/dev/disk0s1a ufs:/dev/disk1s1a does anyone know the magic word? i'd be very grateful. tom ___ 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
won't boot after 8.0-RELEASE upgrade
after running freebsd-update -r 8.0-RELEASE upgrade my system won't boot. it gets stuck on mountroot and i can't find the magic word it wants. the system used to have two sata drives /dev/ad4 and ad6. they were partitioned and sliced using the deafaults that sysinstall suggested. at the boot prompt, lsdev says: disk devices disk0: BIOS drive C: disk0s1a: FFS disk0s1b: swap disk0s1d: FFS disk0s1e: FFS disk0s1f: FFS disk1: BIOS drive D: disk1s1a: FFS disk1s1b: swap disk1s1d: FFS disk1s1e: FFS disk1s1f: FFS which looks right, although i'm not familiar with the disk nomenclature. entering ? at mountroot mentions ad4 and ad6. geom_mirror was being used. i've tried saying load geom_mirror and/or enable-module geom_mirror at the boot prompt. neither made any difference. nothing i've said to mountroot works: ufs:/dev/ad4s1a ufs:/dev/ad6s1a ufs:/dev/mirror/gm0s1a ufs:/dev/disk0s1a ufs:/dev/disk1s1a does anyone know the magic word? i'd be very grateful. tom ___ 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: won't boot after 8.0-RELEASE upgrade
On 12/3/09 11:14 AM, Tom Worster f...@thefsb.org wrote: after running freebsd-update -r 8.0-RELEASE upgrade my system won't boot. it gets stuck on mountroot and i can't find the magic word it wants. the system used to have two sata drives /dev/ad4 and ad6. they were partitioned and sliced using the deafaults that sysinstall suggested. at the boot prompt, lsdev says: disk devices disk0: BIOS drive C: disk0s1a: FFS disk0s1b: swap disk0s1d: FFS disk0s1e: FFS disk0s1f: FFS disk1: BIOS drive D: disk1s1a: FFS disk1s1b: swap disk1s1d: FFS disk1s1e: FFS disk1s1f: FFS which looks right, although i'm not familiar with the disk nomenclature. entering ? at mountroot mentions ad4 and ad6. geom_mirror was being used. i've tried saying load geom_mirror and/or enable-module geom_mirror at the boot prompt. neither made any difference. nothing i've said to mountroot works: ufs:/dev/ad4s1a ufs:/dev/ad6s1a ufs:/dev/mirror/gm0s1a ufs:/dev/disk0s1a ufs:/dev/disk1s1a does anyone know the magic word? i'd be very grateful. and i'm not getting anywhere with fixit using livefs. it says: ldconfig could not create the ld.so hints file and indeed programs like ls fail in a most ugly manner. is there anything useful to be done with the holographic shell? the only mount i can find is mount_nfs. ___ 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
my slices are gone
using sysinstall on the 8.0-RELEASE ISO Disk 1, i looked at the status of the disks and found some alarming things: the label editor shows no labels on either disk. that seems pretty bad. and the slice editor says: Disk slicing warning: chunk 'ad6p1' [40..409639] does not start on a track boundary chunk 'ad6p2' [409640..1464784583] does not start on a track boundary which seems pretty bad in two different ways. would anyone disagree that freebsd-update -r 8.0-RELEASE upgrade has left this system unusable and the only next step is reformat at reinstall (that old windows routine)? tom On 12/3/09 11:14 AM, Tom Worster f...@thefsb.org wrote: after running freebsd-update -r 8.0-RELEASE upgrade my system won't boot. it gets stuck on mountroot and i can't find the magic word it wants. the system used to have two sata drives /dev/ad4 and ad6. they were partitioned and sliced using the deafaults that sysinstall suggested. at the boot prompt, lsdev says: disk devices disk0: BIOS drive C: disk0s1a: FFS disk0s1b: swap disk0s1d: FFS disk0s1e: FFS disk0s1f: FFS disk1: BIOS drive D: disk1s1a: FFS disk1s1b: swap disk1s1d: FFS disk1s1e: FFS disk1s1f: FFS which looks right, although i'm not familiar with the disk nomenclature. entering ? at mountroot mentions ad4 and ad6. geom_mirror was being used. i've tried saying load geom_mirror and/or enable-module geom_mirror at the boot prompt. neither made any difference. nothing i've said to mountroot works: ufs:/dev/ad4s1a ufs:/dev/ad6s1a ufs:/dev/mirror/gm0s1a ufs:/dev/disk0s1a ufs:/dev/disk1s1a does anyone know the magic word? i'd be very grateful. and i'm not getting anywhere with fixit using livefs. it says: ldconfig could not create the ld.so hints file and indeed programs like ls fail in a most ugly manner. is there anything useful to be done with the holographic shell? the only mount i can find is mount_nfs. ___ 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: my slices are gone
On 12/3/09 4:34 PM, David Rawling d...@pdconsec.net wrote: -Original Message- From: owner-freebsd-questi...@freebsd.org on behalf of Tom Worster Sent: Fri 4/12/2009 8:19 AM To: freebsd-questions@freebsd.org Subject: my slices are gone using sysinstall on the 8.0-RELEASE ISO Disk 1, i looked at the status of the disks and found some alarming things: the label editor shows no labels on either disk. that seems pretty bad. and the slice editor says: Disk slicing warning: chunk 'ad6p1' [40..409639] does not start on a track boundary chunk 'ad6p2' [409640..1464784583] does not start on a track boundary which seems pretty bad in two different ways. would anyone disagree that freebsd-update -r 8.0-RELEASE upgrade has left this system unusable and the only next step is reformat at reinstall (that old windows routine)? I'm barely starting off in the FreeBSD world after a long hiatus, but might you perchance have been using Dangerously Dedicated disks? It doesn't seem to match the disk layout but you never know. Lots of people have had trouble since DD mode disappeared (it took me ages to figure out why my VMs with DD mode always broke). i don't really see why this should have been working and then stop working on a freebsd-update. ___ 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
Dtrace
is it likely that Dtrace will be coming to standard RELEASE kernels in future? i prefer not compile custom kernels for production servers but i do find the system monitoring Dtrace affords rather handy. -- View this message in context: http://old.nabble.com/Dtrace-tp26562798p26562798.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: Display TSV files with columns aligned
Karl Vogel-3 wrote: Tom Worster f...@thefsb.org said: T if only it had a way to truncate fields in a column that has a few T really long strings in it. thanks for pointing me to it. i'll see if i T can't figure out the script and how to modify it to add this trick. It would be lots easier to write a smaller script which finds and chops the columns you like, and pipe the output to align. i think you're right. that would be an easy script. thanks again! -- View this message in context: http://www.nabble.com/Display-TSV-files-with-columns-aligned-tp25979622p26008928.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: Display TSV files with columns aligned
Dan Nelson wrote: In the last episode (Oct 20), Tom Worster said: is there a cli command that lays out tsv files for display with a fixed width font? that is, it figures how wide each column needs to be and pads each field in the file with a suitable about of space? The rs command should do what you want, if you can figure out the correct commandline options. It's not easy, though... thanks dan. i spent a happy while reading the rs man page over and over, trying every every combination of flag. afaict, rs wants to make all the columns the same width. that doesn't work for me. a typical data file i want to review might have 6 columns, 5 of which are limited width and fairly narrow while the other other varies from one character to needing a widescreen 27 display. so the other feature i need is truncation of the rare extra-long values in that last column. if i knew perl... -- View this message in context: http://www.nabble.com/Display-TSV-files-with-columns-aligned-tp25979622p26002056.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: Display TSV files with columns aligned
Karl Vogel-3 wrote: On Tue, 20 Oct 2009 10:55:07 -0700 (PDT), Tom Worster f...@thefsb.org said: T is there a cli command that lays out tsv files for display with a fixed T width font? that is, it figures how wide each column needs to be and T pads each field in the file with a suitable amount of space? http://www.cs.indiana.edu/~kinzler/align/ Align is a general-purpose text filter tool that helps vertically align columns in string-separated tables of input text. You can direct how the columns are separated on input and rejoined in the aligned output. It's great. h, that was close! if only it had a way to truncate fields in a column that has a few really long strings in it. thanks for pointing me to it. i'll see if i can't figure out the script and how to modify it to add this trick. (perl for beginners.) -- View this message in context: http://www.nabble.com/Display-TSV-files-with-columns-aligned-tp25979622p26002100.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
Display TSV files with columns aligned
is there a cli command that lays out tsv files for display with a fixed width font? that is, it figures how wide each column needs to be and pads each field in the file with a suitable about of space? tom -- View this message in context: http://www.nabble.com/Display-TSV-files-with-columns-aligned-tp25979622p25979622.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
passing options thru '/etc/rc.d/foo start'
is there a general shell syntax that can be used to pass arguments to a daemon that you're starting with the /etc/rc.d/foo start command? for example, how does one start sshd using /etc/rc.d/sshd and pass it '-o X11Forwarding=no' without touching a config file? tom ___ 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: passing options thru '/etc/rc.d/foo start'
On 9/16/09 1:35 PM, Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net wrote: On Wednesday 16 September 2009 18:45:29 Tom Worster wrote: is there a general shell syntax that can be used to pass arguments to a daemon that you're starting with the /etc/rc.d/foo start command? for example, how does one start sshd using /etc/rc.d/sshd and pass it '-o X11Forwarding=no' without touching a config file? You don't. Defaults are set in /etc/defaults/rc.conf, overridden in /etc/rc.conf. Unless you add the logic yourself in /etc/rc.conf, the environment is not looked at. So this means a one-time edit of /etc/rc.conf: if test -n ${SSHD_FLAGS}; then sshd_flags=${SSHD_FLAGS} else sshd_flags=${sshd_flags} fi Then start with SSHD_FLAGS=-o X11Forwarding=no /etc/rc.d/sshd start But this is specific for sshd, as it supports _flags. There's no generic way to do this. thanks, Mel, that's good to know. i think your suggestion of modifying rc.conf will turn out to be a tidy solution for me. tom ___ 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: passing options thru '/etc/rc.d/foo start'
On 9/16/09 2:37 PM, Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net wrote: On Wednesday 16 September 2009 20:21:40 Chris Cowart wrote: Tom Worster wrote: thanks, Mel, that's good to know. i think your suggestion of modifying rc.conf will turn out to be a tidy solution for me. You could also just put: sshd_flags=-o X11Forwarding=no into your /etc/rc.conf file. What he wants is passing arguments without touching config files, which I find myself needing sometimes as well, on machines where static partitions are mounted read-only + kern.secure_level. that's right. when i read in 11.7 of the handbook: Since the rc.d system is primarily intended to start/stop services at system startup/shutdown time, ... i thought: maybe i'm making things hard by trying to use rc.d scripts when i could just execute the daemon's binary. an advantage i imagined of using rc.d is it starts the service with the same config as at boot so i don't have to remember any config items that might not be in the daemons config files. maybe all config _should_ be in the daemon's config files but then i _might_ have been both lazy and forgetful. ___ 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: passing options thru '/etc/rc.d/foo start'
On 9/16/09 3:19 PM, Matthew Seaman m.sea...@infracaninophile.co.uk wrote: Tom Worster wrote: is there a general shell syntax that can be used to pass arguments to a daemon that you're starting with the /etc/rc.d/foo start command? If you're starting service foo, then you should be able to define command arguments by setting foo_flags=-a -b -c. This is a convention, and particular services may use several more specific variables to build a command line or may simply ignore any flags variable completely, so you'll have to check each case individually. for example, how does one start sshd using /etc/rc.d/sshd and pass it '-o X11Forwarding=no' without touching a config file? In this case, setting sshd_flags will work as sshd uses the default rc start function. hi matthew, i tried this and couldn't make it work before i emailed my question. then mel answered that the /etc/rc.d/foo scripts ignore environment. and then, looking closer at man pages, i got the impression that perhaps only /etc/rc uses the foo_flags variables when it invokes /etc/rc.d/foo scripts. tom ___ 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: me in ipfw rules - does it include aliases?
On 9/8/09 2:58 AM, Nikos Vassiliadis nvass9...@gmx.com wrote: Tom Worster wrote: the ipfw man page says: me matches any IP address configured on an interface in the system. which suggests that if i code my rules using me then when i add an alias ip address to an interface with ifconfig, these me rules will immediately work for the newly added address as they do for other addresses. is that correct? Yes, the me keyword is expanded to whatever IP address is assigned on any interface in the system. It's updated whenever an IP address is added to or removed from an interface. Use the simple ruleset bellow to test it yourself: lab# ipfw list 00100 allow ip from me to me 65535 deny ip from any to any add alias ping alias = success remove alias ping alias = failure It's a really useful keyword, yet it's not panacea. When using it, one has to think the possibility of an attacker who uses me addresses. Use some interface checking as well in your ruleset... Nikos thanks, nikos. my rules were all written with me and my apache config didn't mention any ip addresses so i went ahead and cut over service from a primary server to its hot standby by removing the external ip address on the primary and adding it as an alias to the standby's external interface. both servers are attached to the same upstream ethernet bridge (not necessarily the most reliable network config, i know) and it worked well. i'm interested in your other comment about the risks of using me. for the best possible security, i'll post my ruleset here for y'all to review ... or maybe not :-) ___ 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
GEOM: the secondary GPT table is corrupt
i'm using gmirror on a server box here at home without understanding how geom works in any detail. i probably followed the handbook chapter 19.4 but it was a while ago. i'm wondering if there's a way to clear these warnings in boot logs: ad4: 715404MB SAMSUNG HD753LJ 1AA01107 at ata2-master SATA150 GEOM: ad4: the secondary GPT table is corrupt or invalid. GEOM: ad4: using the primary only -- recovery suggested. ad6: 715404MB SAMSUNG HD753LJ 1AA01107 at ata3-master SATA150 GEOM: ad6: the secondary GPT table is corrupt or invalid. GEOM: ad6: using the primary only -- recovery suggested. GEOM_MIRROR: Device mirror/gm0 launched (2/2). GEOM: mirror/gm0: the secondary GPT table is corrupt or invalid. GEOM: mirror/gm0: using the primary only -- recovery suggested. GEOM_LABEL: Label for provider mirror/gm0p1 is msdosfs/EFI. Trying to mount root from ufs:/dev/mirror/gm0s1a GEOM_LABEL: Label msdosfs/EFI removed. the array seems to be fine, according to gmirror status. googling around, it seems these warnings indicate shoddy initial setup of the disks and there's no clear answer how to sort these matters out. any advice? -tom ___ 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
me in ipfw rules - does it include aliases?
the ipfw man page says: me matches any IP address configured on an interface in the system. which suggests that if i code my rules using me then when i add an alias ip address to an interface with ifconfig, these me rules will immediately work for the newly added address as they do for other addresses. is that correct? - tom ___ 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: ZFS or UFS for 4TB hardware RAID6?
On 7/16/09 6:12 PM, Maxim Khitrov mkhit...@gmail.com wrote: I'd love to hear about any test results you may get comparing software with hardware raid. I received the hardware yesterday. There was a last minute change due to cost. Instead of getting 4x 2TB drives I opted for 6x 1TB. This limits my future expansion a bit, but that may be a few years down the line. On the plus side, I can get the 4TB of RAID6 that I originally planned for and the performance should be better because of additional disks in the array. Sometime next week I'll install FreeBSD 8 and will then be able to run a few benchmarks. After that I'll configure software RAID and repeat the process. Are there any specific tests that you guys would like me to run? Sequential read/write tests using dd are a given, beyond that I'm not familiar with any ports under benchmarks/, so if you know of anything good, tell me. sorry, i can't help. i've never done any benchmarking. if performance using zfs raid were good relative to using the dedicated raid controller then the possibility of improving system availability by eliminating that non-redundant sub-system might exist. unfortunately i don't think the comparison makes sense, at least with sas, because all the multi-port sas controller chips, iirc, are also raid controllers. ___ 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: ZFS or UFS for 4TB hardware RAID6?
On 7/13/09 3:23 PM, Maxim Khitrov mkhit...@gmail.com wrote: On Mon, Jul 13, 2009 at 2:13 PM, Richard Mahlerweinmahle...@yahoo.com wrote: I guess the last question I'll ask (as any more may uncover my ignorance) is if you need to use hardware RAID at all? It seems both UFS2 and ZFS can do software RAID which seems to be quite reasonable with respect to performance and in many ways seems to be more robust since it is a bit more portable (no specialized hardware). I've thought about this one a lot. In my case, the hard drives are in a separate enclosure from the server and the two had to be connected via SAS cables. The 9690SA-8E card was the best choice I could find for accessing an external SAS enclosure with support for 8 drives. I could configure it in JBOD mode and then use software to create a RAID array. In fact, I will likely do this to compare performance of a hardware vs. software RAID5 solution. if you do, please share any insights that come of it here. ___ 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: character sets for file names on ufs?
On 5/28/09 3:01 PM, Pieter de Goeje pie...@degoeje.nl wrote: If you set your locale to UTF-8, you can use unicode characters in filenames. works like a charm. thanks for the tip! tom ___ 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
character sets for file names on ufs?
what character set/encoding is used for file names in freebsd when i have a default ufs fs? tom ___ 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: Running Apache with as few modules as possible
On 4/29/09 4:59 PM, Charles Howse cho...@charter.net wrote: I recall Bill Gates saying, 640k is enough for anybody. I agree, it's not much of a savings, and there's always the possibility that the webmaster may add something later that needs a module that's commented, and run around in circles before she/he realizes it. right. one thing to remember about optimizations is to put your effort where you need it most. for example, in my apps that's always been in the database queries. so i have logging techniques that allow me to run pareto analyses on query timing data and use that to direct my efforts. spending a couple of weeks optimizing malloc(), a surprisingly popular activity, is seldom worth 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: Running Apache with as few modules as possible
On 4/28/09 6:45 PM, Adam Vandemore amvandem...@gmail.com wrote: OK, here we go: With Apache running on the development machine, modules commented as in my first post -- CPU: 0.8% user, 0.0% nice, 0.4% system, 0.8% interrupt, 98.1% idle Mem: 27M Active, 139M Inact, 64M Wired, 11M Cache, 34M Buf, 648K Free Swap: 512M Total, 60K Used, 512M Free Apache running on the same machine without any modules commented except mod_ssl -- CPU: 0.8% user, 0.0% nice, 0.8% system, 0.4% interrupt, 98.1% idle Mem: 27M Active, 134M Inact, 64M Wired, 13M Cache, 34M Buf, 3584K Free Swap: 512M Total, 60K Used, 512M Free I just ran 'top' after starting httpd to get these figures, maybe I should have done something different? 'bout the only thing that makes sense to me is I have more Free Memory when commenting all those modules. What is the list's opinion on this? You should probably use pmap for a more accurate comparison. you may also want to set CFLAGS= -Os for size considerations(CPUTYPE as well), and remove unnecessary modules from kernel if you haven't done so already. agreed. top lines of top are too imprecise to really tell. but so far as the data goes, this is consistent with my findings, i.e. disabling mods in the apache runtime config file doesn't save enough to justify the effort. ___ 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: Running Apache with as few modules as possible
On 4/28/09 3:14 PM, Charles Howse cho...@charter.net wrote: Can anyone see anything that I've commented that I'll be sorry for? Can anyone suggest any more testing I should do? unfortunately i can't but i'd like to ask you to tell us, once you're done with removing modules, how much memory you saved relative to where you started. i'm curious because i went through a similar exercise not long ago and would be interested to compare notes. ___ 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: portmaster -a on a live server
On 4/23/09 12:54 AM, Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net wrote: On Wednesday 22 April 2009 17:37:06 Tom Worster wrote: by the by, on my test machine i ended up with python installed. seems to be because i needed php5-gd which now depends on python. all for some simple freetype2 calls. Wrong assumption. php-gd doesn't depend on python at all. devel/apr does, so you've built php with apache module and that pulls in python OR you didn't set WITHOUT_X11=yes when building, so libxcb is pulled in which uses python: % sudo /stable/root/bin/finddep.php graphics/php5-gd lang/python26 /usr/ports/x11/xcb-proto: /usr/local/bin/python2.6 = /usr/ports/lang/python26 /usr/ports/x11/xcb-proto: /usr/local/bin/python2.6 = /usr/ports/lang/python26 /usr/ports/x11/libxcb: /usr/local/bin/python2.6 = /usr/ports/lang/python26 /usr/ports/x11/libxcb: /usr/local/bin/python2.6 = /usr/ports/lang/python26 /usr/ports/devel/apr: /usr/local/bin/python2.6 = /usr/ports/lang/python26 % sudo env WITHOUT_X11=yes /stable/root/bin/finddep.php graphics/php5-gd lang/python26 /usr/ports/devel/apr: /usr/local/bin/python2.6 = /usr/ports/lang/python26 thanks for the tip, mel. i got rid of the ports involved and reinstalled with WITHOUT_X11=yes and the install was faster and things are a lot tidier. i had no idea that i ought to be configuring port builds with env vars. is there documentation anywhere so i find out about these options in gneral? ___ 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: i had a tought
On 4/22/09 12:10 PM, Arjen Simon Scheer a.s.sch...@casema.nl wrote: why there is not a lunix operatingsystem consortium, for the kernel end the commercial userinterface isn't that OSDL? ___ 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
portmaster -a on a live server
though all i really need is mysql/apache/php i have about 100 ports installed and portmaster -a takes a long time to complete (hour or two). so i'm wondering if i ought to be concerned about new binaries being installed over the old ones on the disk while the old images are loaded and running as daemons. instead of doing portmaster -a, is there any advantage to: portmaster -a -x mysql\-server -x apache portmaster mysql\-server apache reboot in order to minimize the time that the old servers are running while the new images are on the disk? tom ___ 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: portmaster -a on a live server
On 4/20/09 3:06 PM, Matthew Seaman m.sea...@infracaninophile.co.uk wrote: Many ports will shut down a running instance of themselves when upgraded like this specifically to avoid the sort of complications that can occur when the running image does not match what is on disk. mysql does, apache doesn't. So upgrade mysql-server last thing before you reboot. so i'll try portmaster -a -x mysql-server portmaster mysql-server reboot which might work ok as mysql-server is a leaf node in my config Although I know you're not using portupgrade, this snippet from pkgtools.conf has been a blessing in minimizing outage lengths during updates on live servers: AFTERINSTALL = { '*' = proc { |origin| cmd_start_rc(origin) }, } Of couse, the best course of action is to plan sufficient downtime that you can do the upgrades comfortably plus recover from any number of ways things might go wrong, but sometimes that simply isn't possible. it's finding the optimum between minimizing downtime and having enough that i'm trying to think through. thanks for your remarks. ___ 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
use BUNDLED_PCRE in updating to php 5.2.9 with ports and apache 2.2.x?
the port configuration dialog comes up while updating from 5.2.8. to 5.2.9 with the php5 meta port. it asks if i want to use BUNDLED_PCRE, suggesting Select if you use apache 2.0.x. what about apache 2.2.x? ___ 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-update fetching files failed
a funny thing happened on wat to 7.1 today (from 7.0-p6): # freebsd-update upgrade -r 7.1-RELEASE Looking up update.FreeBSD.org mirrors... 2 mirrors found. Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. The following components of FreeBSD seem to be installed: ... Does this look reasonable (y/n)? y Fetching metadata signature for 7.1-RELEASE from update2.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. Fetching files from 7.0-RELEASE for merging... done. Preparing to download files... done. Fetching 17537 patches.102030405060708090100 ... 412041304140. done. Applying patches... done. Fetching 12842 files... failed. failed? at this point i couldn't think of anything else to do but try again: # freebsd-update upgrade -r 7.1-RELEASE Looking up update.FreeBSD.org mirrors... 2 mirrors found. Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. The following components of FreeBSD seem to be installed: ... Does this look reasonable (y/n)? y Fetching metadata signature for 7.1-RELEASE from update2.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. Fetching files from 7.0-RELEASE for merging... done. Preparing to download files... done. Fetching 7292 patches.102030405060708090100110 ... 20302040205020602070208020902100.. done. Applying patches... done. Fetching 5549 files... done. Attempting to automatically merge changes in files... done. so i'm assuming a network error during the download of the fetching files in the first attempt. but... it seems odd. if 17537 patches were downloaded...done, i.e. sucessfully, how come the second attempt downloads an additional 7292 patches? the road continues... The following file could not be merged automatically: /etc/hosts Press Enter to edit this file in vi and resolve the conflicts manually... so then i go through the manual merging of config files and later i am asked to confirm the changes: The following changes, which occurred between FreeBSD 7.0-RELEASE and FreeBSD 7.1-RELEASE have been merged into /etc/hosts: ... Does this look reasonable (y/n)? n i answered 'n' and freebsd-update turned its back on me like a huffy teenager. if it didn't want to know the truth, why did it ask? a parting message to suggest what i might do next would have been welcome. ___ 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: freebsd-update fetching files failed
On 1/19/09 4:00 PM, Tore Lund t...@next.online.no wrote: Tom Worster wrote: a funny thing happened on wat to 7.1 today (from 7.0-p6): # freebsd-update upgrade -r 7.1-RELEASE Have you tried freebsd-update -r 7.0-RELEASE upgrade? I am not sure it makes a difference, but at any rate, as far as I know, this is the right syntax. i was following these instructions: http://www.freebsd.org/releases/7.1R/announce.html but your suggestion is in line with the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading -freebsdupdate.html#FREEBSDUPDATE-UPGRADE in any case, repeating the command got me there in the end. or so it seems. ___ 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
install/upgrade FREEBSD on a remote server
what ways exist to upgrade a remote server (to which you have no terminal server attached) if the currently installed FREEBSD is too old for freebsd-update? besides asking someone local to the server to help, i mean. ___ 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.0-RELEASE-p6:/boot/kernel/linker.hints not updating?
after running freebsd-update install and rebooting, i ran freebsd-update fetch to check the status and it said: The following files will be updated as part of updating to 7.0-RELEASE-p6: /boot/kernel/linker.hints running freebsd-update install and rebooting again did not clear the message. should that be any concern? ___ 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: SOLVED: Simple swap question
On 12/19/08 10:37 AM, FreeBSD free...@optiksecurite.com wrote: Because this server is monitored by Nagios and it emails me every hour a warning because the swap is not 100% free (I know it's pretty extreme, but I want to know if the system is swapping). if a swap space is available and swapping not turned off, it seems reasonable to expect the OS to use it as it sees fit. rather than trying to tinker with the kernel's swapping policy on the fly every time you get a warning, perhaps think about either telling nagios not to worry about it or don't use swapping. i'd go with the former. but you say you want to ensure that swap doesn't get used -- so maybe get rid of the swap slice? ___ 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: Clearing SMART errors I don't care about?
On 12/19/08 11:46 AM, Kirk Strauser k...@strauser.com wrote: I just don't want to hear about them any more. :-) reconfigure smartd? i'm not convinced that smart monitoring is of much value even on disks with important data. ___ 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: Clearing SMART errors I don't care about?
On 12/19/08 12:38 PM, Kirk Strauser k...@strauser.com wrote: I beg to differ. smartctl -H /dev/ad8 says that it passes its self- assessment and doesn't expect the drive to flat-out die any day soon. I'd still like to know if the error count increased, or if it started to detect imminent failure. there are plenty of hdd failure modes that smart can't predict. google's monitoring of over 100,000 hdds over 9 months showed more than a third of failures had no warning from smart. http://storagemojo.com/2007/02/19/googles-disk-failure-experience/ so if my data matters, i need a robust hdd failure-tolerant system anyway, i.e. raid (even if it's just gmirror, which i use for non-critical servers) plus data snapshots to a remote site. now, with that in place, what do i do with a smart warning? given that smart algorithms are also prone to false positives, is there any benefit in replacing the hdd now rather than waiting for it to fail and replacing it then? not a great deal in my view. but perhaps my raid array can't tolerate more than one hdd failure. i'd be exposed to a second disk failure during the time to repair. if hdd failures are independent (which i guess might not always be true) this isn't a big concern. less of a concern than, for example, the chance of raid controller failure, which i've seen happen. one time when that happened, the controller corrupted all the disks in the array and when it was replaced rebuild was impossible. ___ 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: Clearing SMART errors I don't care about?
On 12/19/08 2:51 PM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: which means that in 2 cases of 3 you ARE warned. yes. but what do i do with a smart warning? the google paper indicates that even they haven't figured it out yet, although they express some hope. Despite those strong correlations, we Þnd that failure prediction models based on SMART parameters alone are likely to be severely limited in their prediction accuracy, given that a large fraction of our failed drives have shown no SMART error signals whatsoever. This result suggests that SMART models are more useful in predicting trends for large aggregate populations than for individual components. in managing my servers, it's the failure of individual components that count. considering also 1) false positives and 2) replacement comes with a finite chance of causing service outage, it's not clear to me that replacing a disk on the basis of a smart warning is prudent. i'm not proposing any firm conclusions should be drawn. i started this by saying i'm not convinced that smart monitoring is of much value... ___ 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
lang/php5 installed Apache 2.0 Handler for apache22
i've read that php has an Apache 2.2 Handler since 5.2. i installed the www/apache22 port and lang/php5. things seem to work but phpinfo() reports: Server API = Apache 2.0 Handler. is that as it should be? ___ 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: lang/php5 installed Apache 2.0 Handler for apache22
On 12/18/08 9:17 AM, Ott Köstner o...@zzz.ee wrote: On Thursday 18 December 2008 3:57:26 pm Tom Worster wrote: i've read that php has an Apache 2.2 Handler since 5.2. i installed the www/apache22 port and lang/php5. things seem to work but phpinfo() reports: Server API = Apache 2.0 Handler. is that as it should be? If You look further, There should be an 'apache2handler' section in the phpinfo(), with more specific information. Should report something like: Apache Version Apache/2.2.11 (FreeBSD) mod_ssl/2.2.11 OpenSSL/0.9.8e DAV/2 PHP/5.2.8 with Suhosin-Patch [...etc...] yes. but i took this as a report of information about the apache server rather than a report of the api version within 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: portsnap and portupgrade
On 12/18/08 12:12 PM, Daniel Bye danie...@slightlystrange.org wrote: On Thu, Dec 18, 2008 at 04:41:22PM +0100, Pieter Donche wrote: So since it's faster and doesn't delete user generated files, upgrade is always to be preferred over extract, right? Yes. As RW has already noted, extract will replace the entire ports tree with the pristine version in portsnap's archive. so if one plans to do portsnap fetch; portsnap extract after installing freebsd from a release CD on a new machine, there's no point in installing the ports collection from the CD using sysinstall? ___ 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
ports and disaster recovery
i'm thinking about how to prepare for disaster recovery, e.g. a disk fails and is replaced, on a server in a group of remote servers. assume that policy and procedures are in place to keep freebsd up to date and portmaster is used to keep ports up to date. my idea is to use portmaster -gt at initial setup so that reconfiguration and compilation of the ports can be avoided. backups of /usr/ports/packages would be kept on each server in the group so they can be quickly copied back to the repaired server with the new disk. what, if any, other data besides the package .tbz files do i need backup and restore to get installed ports back to baseline? is anything from /var/db required? and what about the order of tasks in the restore? 1. datacenter staff install freebsd X.Y-RELEASE from CD then i remotely : 2. freebsd-update 3. restore the packages from neighboring server in the group 4. install ports from the packages with pkg_add 5. restore application, local config files and resume service then 6. portsnap and all the remaining tidy up or does 6 need to go before 4? ___ 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: lang/php5 port
On 12/17/08 10:34 AM, Paul Schmehl pa...@utdallas.edu wrote: --On Wednesday, December 17, 2008 08:18:47 +0100 Mel fbsd.questi...@rachie.is-a-geek.net wrote: ... Though a lot of things can be handled by: 1) environment variables (temporary) 2) /etc/make.conf (permanent) 3) Makefile.local (permanent, inclusion is at bsd.port.pre.mk stage which allows you to override hardcoded settings) It is needed in some cases to edit the makefile to fix things or remove dependencies that the maintainer didn't find necessary to remove or even to fix bugs. I agree with you with one caveat. Make sure that you know what you're doing before you do this, and be prepared for the consequences. For example, if you edit any files in a port, they will be overwritten when you update your ports. That means you'll have to make those edits again. thanks. i was going to ask about that. If you're maintaining your own workstation, that might be an educational experience. If you're maintaining servers, that could cause an outage while you try to remember what your edits were. one has to remember the port's configuration whichever method is used. my memory isn't good so i keep detailed notes. recording in these notes which checkboxes in the config pseudo-gui were checked and unchecked is not convenient. i'm not sure i wouldn't prefer editing a file and keeping a diff with my notes, as i do for the other config files i change. If you think a port is incorrectly built (unnecessary dependencies, for example) there's nothing wrong with submitting a PR and asking the maintainer to update the port. If the maintainer rejects your changes, you can always edit locally later, but your submission could benefit thousands of people. IOW, if you're the smartest guy on the block, please don't keep it to yourself. i'm certainly not smart enough to know what might be a better way to design ports like php. but one thing seems odd to me. i ended up with dozens of ports installed that appeared to use nothing but the same php-5.2.8.tar.bz2 distfile. relative to what i'm used to with php (i.e. manual configure, compile, install) this seems a bit untidy and i'm nervous what it might mean for maintenance. my guess is that this approach allows the ports framework to handle conditional installation of dependent software on a relatively fine-grained basis depending which options the user chooses. that's a nice feature to have. but wouldn't it be nicer if were just one port with dependencies based off its configuration? seems that would reduce clutter in the ports tree too and maybe effort for the ports maintainer. ___ 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: lang/php5 port
On 12/17/08 1:05 PM, Matthew Seaman m.sea...@infracaninophile.co.uk wrote: Tom Worster wrote: i'm certainly not smart enough to know what might be a better way to design ports like php. but one thing seems odd to me. i ended up with dozens of ports installed that appeared to use nothing but the same php-5.2.8.tar.bz2 distfile. relative to what i'm used to with php (i.e. manual configure, compile, install) this seems a bit untidy and i'm nervous what it might mean for maintenance. Absolutely not. Don't be confused that the various php5-foo ports all use the same distfile: it's a big lump of code, and the individual modules selectively compile bits of it. Don't be perturbed that you have a large number of ports installed -- after all a port is ultimately just a set of files treated together as a block. This just means you're getting finer grained control over what you've got installed on your machine. fair enough. this seems analogous to the long list of options i used to use on ./configure when installing from the php tarball. No -- the current design of the way PHP is dealt with in ports is brilliant. Consider the alternative -- in fact the way it used to be done. relative to other ways of designing ports i can accept that the current one is better. my point of view, however, is someone transitioning from manual install to using lang/php5-extensions. it's new to me and i need to learn. the conversation here has been very helpful (thanks again, all). at the same time i'm transitioning from 6.2 to 7.0 and learning how to use freebsd-update and portmaster. previously, upgrading freebsd was such a big project that i'd do it on the production servers very infrequently and reinstalling all the apps from scratch after os upgrade seemed acceptable. but now it seems silly not to take advantage of the new automation tools for freebsd and ports updates. hence learning to use ports for everything seems like the way to go. ___ 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
lang/php5 port
is there any documentation or a helpful website for how to use ports to install php5? i'm used to compiling it with a pretty long configuration command for all the optional bits i need, e.g. --with-dom --with-dom-xslt --enable-dom --with-pear --with-gd etc. etc. on and on. i'm unclear how these options are handled in freebsd ports. is it a matter of identifying lots of individual ports, one for each of the configuration command options i'd normally use? ___ 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: lang/php5 port
On 12/16/08 8:10 PM, Amitabh Kant amitabhk...@gmail.com wrote: install the options from lang/php5-extensions . Gives you tons of options for php5. thanks for the pointer. i think i found everything i needed in there. i'm not sure how i feel about having 55 more ports installed than i would have if i'd installed from php tarball, especially with regard to updates, but i'll cross that bridge when i come to 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: lang/php5 port
On 12/16/08 8:33 PM, Steve Bertrand st...@ibctech.ca wrote: One of the reasons I've had to edit Makefile manually was because a client needed JPEG support. At the time, `make config' didn't provide that option. You make a couple of valuable points however. It would be easier if the OP's demands could be met with your method. options such as jpeg, png, freetype were not offered by make config in lang/php-extensions when i tried it today in 7.0-RELEASE-p6. however, these extensions that i do need were included with the gd option. so, for now, i don't think i need to edit the Makefile. thanks again for the helpful replys. ___ 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
netstat -i output
i'm confused by the output from netstat -i: NameMtu Network AddressIpkts Ierrs Ibytes Opkts Oerrs Obytes Coll bge0 1500 Link#1 00:30:48:5e:56:8a 7.4M 1.2K 4.9G 2.9M 0 2.6G0 bge0 1500 65.39.221/24 www1 2.9M - 414M 3.0M - 2.5G- it lists the same interface twice. what is the difference between these two? this is a web server so wny so much more input bytes than output? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problems using gmirror
i've been trying to use the procedure described at http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html i followed it to the letter. i'm using the install cd from from the freebsd 6.1-release iso. my primary disk is on sata-0 which is /dev/ad4 on my dell poweredge 400sc. in the label editor i used the auto defauts giving 5 slices for / swap /tmp /var /usr. everything goes according to plan for page 1 of that article. but the machine does not reboot. it fails while: Trying to mount root from ufs:/dev/mirror/gm0s1a because that device doesn't exist. the computer hangs at the mountroot prompt because of the keboard bug in 6.1-release. when i reboot in safe mode and enter ? to list geom managed disk devices i see only mirror mirror/gm0s1c mirror/gm0s1 mirror/gm0 and all the ad4 devices. in other words: mirror/gm0s1a and the other three slices are not listed in /dev/mirror. i've been through the install process about 5 times now carefully checking everything and i can see from ls /dev/mirror that the command: gmirror label -v -b round-robin gm0 /dev/ad4 generates only the /dev/mirror/gm0s1c in /dev/mirrior, the other four slices are not there. any suggestions? thanks tom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IP packet filtering enabled in GENERIC?
i installed 4.8-release from the disk 1 iso yesterday, built a new kernel with cpu I586_CPU and options IPFIREWALL and a couple of other things and turned on firewall_enable=YES with firewall_type=OPEN in rc.conf. the new kernel panicked (i don't know why) so i booted kernel.old (i.e. the GENERIC binary off the iso with a modification date of april 3rd) and noted that dmesg now shows: IP packet filtering initialized, divert disabled, rule-based forwarding enabled, default to deny, logging disabled and indeed the filter is working and ipfw controls it. what's going on? i thought that the packet filter was disabled in GENERIC. was this a side effect of compiling my (broken) custom kernel and installing all those .ko files in /modules? c u fsb ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]