Re: http://www.freebsd.org/doc/en/books/handbook/serialconsole-setup.html
On Jun 25, 2013 9:25 AM, Stephen Burke sbu...@verizon.com wrote: Does anyone know how I could push serial output to an IP port that I could SSH to? Sounds like you are looking for something like SOL (serial over LAN) which can be setup with IPMI. Google should help you find more info on setting up IPMI. -pete ___ 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: Status of Chromium port...
On Wed, May 15, 2013 at 9:01 AM, Volodymyr Kostyrko c.kw...@gmail.com wrote: 15.05.2013 18:29, J. Porter Clark: On Wed, May 15, 2013 at 11:32:31AM +0300, Volodymyr Kostyrko wrote: 14.05.2013 23:48, Peter Harrison: Hello list! Does anyone know the status of the Chromium port? It's stuck at v25 with multiple vulnerabilities. Updated versions have been available for a while, but haven't been brought into ports. I've emailed the maintainer but not had a response. Anyone know better? I'm building v27 from port now. Looks like many things have changed since v25 - new dependencies, the build flows differently. Seems to be a major update. Indeed, seems a real mess now. I told it not to use pulseaudio, it wants to install it anyway, along with gdbm and accessibility/speech-dispatcher. WTF? Might want to hold off until some of this gets fixed... Oh, a friendly soul. To ditch pulseaudio I told speech-dispatcher to use flite, this way we get really short list of extra deps. I can't build port for now due too -Werror. Clang shrieks about really bad things when compiling gcrypt (warning about deprecated interfaces) whereas gcc4.6 says the same about gssapi.h. It looks like I was able to build this version of chromium last night on my build server I use for pkgng packages: pkg info chromium chromium-27.0.1453.81 Mostly BSD-licensed web browser based on WebKit and Gtk+ I am running this build now (to compose this email actually) - i can try to dig up some build logs if that would be helpful. i don't have any special build arguments for this port. here's the uname for this build box: [pete@ranch ~]$ uname -ar FreeBSD ranch.nomadlogic.org 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 -pete -- pete wright www.nycbug.org @nomadlogicLA ___ 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: Cdorked.A
On Thu, May 9, 2013 at 2:52 PM, Joshua Isom jri...@gmail.com wrote: On 5/9/2013 12:19 PM, Per olof Ljungmark wrote: Hi, Is Apache on FreeBSD affected? Thanks, Technically, Apache isn't the problem. The hole's in cPanel probably, not Apache. The attackers replace Apache, probably patching the source code and replacing the host's with a trojaned copy. If they're patching the source code, then yes, FreeBSD, Windows, OS X, Solaris, OpenBSD, et al are possibly infected. I am not sure that is the case from the research I have been doing on this topic. For example there are reports of it being detected on lighttpd, nginx and systems that do not use cpanel: http://www.welivesecurity.com/2013/05/07/linuxcdorked-malware-lighttpd-and-nginx-web-servers-also-affected/ If anyone has a better rundown of this it would be great if you could point me in the right direction. I am having problems finding a proper examination/explanation of this backdoor. cheers, -pete -- pete wright www.nycbug.org @nomadlogicLA ___ 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: When will binary packages be back?
On Wed, Apr 10, 2013 at 10:39 AM, Brett Glass br...@lariat.net wrote: For many years, I've used FreeBSD binary packages to avoid long waits and/or having to set up a special build machine when creating small systems. But even though the development server security breach is now long past, there are no published binary packages for FreeBSD 9.1. When will they be back? can't answer for the freebsd project - but the folks at pc-bsd have made a 9.1 pkgng repository available: http://blog.pcbsd.org/2013/04/pc-bsd-announces-package-repository-for-pc-bsd-and-freebsd-9-1-release/ there is also an east coast mirror hosted by NycBUG/NYI: http://lists.nycbug.org/pipermail/talk/2013-March/014741.html -pete ___ 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: When will binary packages be back?
On Wed, Apr 10, 2013 at 11:19 AM, Brett Glass br...@lariat.net wrote: Unfortunately, I've never experimented with pkgng, so will have to come up to speed on this. Might be a temporary workaround. it is def. where the project is moving towards for binary pkg distribution, so it won't be a wasted effort :) i've been quite happy with it since it first was released, and there is still plenty of active development happening on it as well. -pete -- pete wright www.nycbug.org @nomadlogicLA ___ 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: svn new pkg system
On Sat, Mar 9, 2013 at 3:25 PM, Fbsd8 fb...@a1poweruser.com wrote: Is svn going to become part of the base system in 9.2-RELEASE? not sure about svn, but this port has recently been commited: http://www.freshports.org/net/svnup/ it is a csup replacement. -pete -- pete wright www.nycbug.org @nomadlogicLA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Question about svn
SOn Sun, Nov 18, 2012 at 5:23 PM, Stephen Montgomery-Smith step...@missouri.edu wrote: I was looking at http://svnweb.freebsd.org/ What are csrg and socsvn? my best educated guess without taking a look: csrg == Berkley's Computer Systems Research Group historical(?) code socsvn == Google Summer of Code FreeBSD related projects. -pete -- pete wright www.nycbug.org @nomadlogicLA ___ 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: 10Gb SFP+ recomendations?
On Wed, Sep 26, 2012 at 3:23 PM, Dennis Glatting d...@pki2.com wrote: I'm looking for a reasonable 10Gb SFP+ capable board supported under RELENG_9. All I need is one port that will be plugged into a Cisco C3KX-NM-10G. It's going into a Supermicro chassis. Any recomendations? I have had good success running Intel 10gig NICs supported by ixgbe(1) on 8.x systems. I see no reason as to why they would not work on 9.x as well. -pete -- pete wright www.nycbug.org @nomadlogicLA ___ 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: What replaces csup?
On Tue, Sep 18, 2012 at 6:41 AM, Warren Block wbl...@wonkity.com wrote: On Mon, 17 Sep 2012, pete wright wrote: On Mon, Sep 17, 2012 at 8:14 PM, Warren Block wbl...@wonkity.com wrote: csup updates just the files that have changed without all the overhead. svn export can get a copy of all the current files, but it copies all of them every time, not just the changes. yea i agree with you. i wonder if it would be worth the effort of sharing a svn export via rsync or httpd to make fetching delta's easier and/or more efficient from a base install? It's an interesting idea. If the repository files were directly accessible in a filesystem, that filesystem could be shared with rsyncd and some exclude settings without needing an export at all. With svn bdb, the files are not directly accessible, but I don't know for fsfs. Probably not, so a periodic export would still be required. i did some tinkering with this last night, with the thought of storing an export in a zfs filesystem and eventually making it available publicly via a jail. my findings were that an export of the 9.1 relng branch consumed ~750MB while a svn co consumed ~1.4G of disk space and a full export took roughly 10-15mins. i eventually decided that what I was doing wasn't really needed by the wider end-user community. after mulling this move from cvs/csup for a bit i came to the conclusion that really the need for a source checkout is not as important as it may have been several years ago. freebsd-update is a really great tool, and i reckon for a majority of users out there not having to rebuild the kernel+world to get updates is a good thing(tm). i also reckon running a GENERIC kernel is appropriate in maybe %90 of use-cases out there as well (i haven't had a need to build a custom kernel on various server and workstation platforms since 2008'ish frankly). in this context, going the binary distribution route seems like a really smart decision. having a majority of your users basically running the same builds of the world and kernel *should* decrease the amount of support bandwidth needed to get people updated and running current code. i also reckon having more people running the same binaries would be helpful in finding reproducible bugs and hopefully squash them. so back to my original point...for sites running many systems, or sites requiring specific builds - mirroring the source tree locally is still very doable, and fortunately there are many well known ways to do this (svn co, svn export, skv, etc..). you could even argue that having a svn checkout may make patching bugs easier as you could just import a svn diff, rebuild and test. i also feel, personally, that it is nice to allow someone else build the kernel+world and let me grab binary updates as needed. now i can spend my clock cycles on more important tasks, like building packages for my pkgng repo :) -pete -- pete wright www.nycbug.org @nomadlogicLA ___ 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: What replaces csup?
On Tue, Sep 18, 2012 at 5:44 AM, Stas Verberkt lego...@legolasweb.nl wrote: Jerry schreef op : On Tue, 18 Sep 2012 05:00:08 -0700 Michael Sierchio articulated: We are really behind the curve here. Git assumes (correctly) that disk space is inexpensive, much cheaper per byte than network bandwidth. By the time we adopt SVN completely, every serious project I know of will have moved from subversion to git. If you are going to make a sweeping change anyway, it makes no sense to do it in a half–assed manned. However, it does appear that in all too many instances, FreeBSD plays follow the leader rather then taking the bulls by the horns and getting ahead of the curve. I am sure I'll be hearing from the baby steps choir now. In any event, a comprehensive side-by-side evaluation of the two should be done by an impartial party. We should not be forgetting that Git and Subversion represent two different workflows. The latter stands for a centralistic development cycle, and the former for a distributed manner. Thus, this type of choice does not really have to do with big or small steps and leading of following, but more about the production cycle you want to have. If we were to use a Git-like system, the releng team would (probably) be in control on which patches are excepted from the pool of suggested changesets by the community of developers. This community would be more free in the manner in which they experiment, and there would be a less strong differentiation between committers and other people suggesting updates. On the other hand, our current approach has a controlled group of committers and the releng team only has the additional power of setting the schedule and taking the snapshot that becomes the release. (Gravely simplified.) It is a matter of taste. +1 one thing worth noting is that developers have been using mercurial for quite a bit of time now for FreeBSD development(1), to take advantage of the distributed model of that SCM. yet having the main tree under CVS in the past, and SVN currently, makes sense to me. i feel that it results in a cleaner public tree that is easier to navigate. so fortunately the project has been able to take advantage of both of of these philosophies of SCM. -pete (1) http://wiki.freebsd.org/LocalMercurial -- pete wright www.nycbug.org @nomadlogicLA ___ 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: What replaces csup?
On Wed, Sep 19, 2012 at 1:11 PM, Walter Hurry walterhu...@gmail.com wrote: On Mon, 17 Sep 2012 21:26:45 -0600, Warren Block wrote: For ports, it's probably worth saving the distfile directory along with local diffs. Move it back into place after the svn checkout of the ports tree. PMFJI. Newbie here: What's wrong with using SVN for src, and portsnap for ports? my personal issue is the fact that csup and portsnap are both part of the base system whereas svn would require installation via ports or the pkg utility. it is frankly a minor inconvenience - and hopefully there will be a csup like utility for svn available in base one day. -pete -- pete wright www.nycbug.org @nomadlogicLA ___ 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: What replaces csup?
On Mon, Sep 17, 2012 at 8:14 PM, Warren Block wbl...@wonkity.com wrote: On Mon, 17 Sep 2012, Robert Huff wrote: Paul Schmehl writes: Does csup use subversion now? Or do we need to use something else to fetch source? As I understand it, for the average user c(vs)up and subversion serve the same function using different methods (both in terms of identifying what files need to be fetched and actually fetching them). At this level of discussion they are mutually exclusive. I have switched from csup to subversion for ports and docs. After modest preparation it was essentially painless. The difference is that a local svn checkout has all the commit history. A comparison recently showed 700-some megabytes more space used by the svn checkout. csup updates just the files that have changed without all the overhead. svn export can get a copy of all the current files, but it copies all of them every time, not just the changes. yea i agree with you. i wonder if it would be worth the effort of sharing a svn export via rsync or httpd to make fetching delta's easier and/or more efficient from a base install? -pete -- pete wright www.nycbug.org @nomadlogicLA ___ 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: Default Samba port?
On Sun, Nov 13, 2011 at 4:37 AM, Peter Harrison four.harris...@googlemail.com wrote: Hello list, Can anyone advise me the appropriate Samba port to install - the handbook refers to samba34, but I see samba35 and samba36 in in ports. This is for a home server, so I'm not necessarily looking for production standard, but something that just works on RELEASE-8.2 amd64. your best bet may be to install a prebuilt package via: pgk_add -r samba that is unless you need some non-standard knobs tuned. -pete -- pete wright www.nycbug.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: get rel 9.0 iso
On Wed, Sep 7, 2011 at 4:59 PM, Fbsd8 fb...@a1poweruser.com wrote: What is the ftp url to fetch the most current release 9.0 .iso file? 9.0-RELEASE is not available yet. 9.0-BETA2 has been annouced today though: http://www.freebsd.org/where.html#helptest this will also be available on mirrors shortly... -pete -- pete wright www.nycbug.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: em0 NIC slow on 8.2-p1 amd64?
On Fri, Jul 22, 2011 at 1:26 PM, Michael W. Lucas mwlu...@blackhelicopters.org wrote: On Fri, Jul 22, 2011 at 04:15:11PM -0400, Mike Tancsa wrote: On 7/22/2011 4:10 PM, Michael W. Lucas wrote: Will applications such as NFS cut bandwith usage that much? I have seen similar performance degradations with NFS in the past. I have seem cases where throughput is hurt due to frequent getattr() calls by the NFS client (esp noticable on Linux hosts traversing large namespaces fwiw). Some possible workarounds/tweaks: 1) increase rsize/wsize (32k for larger files for example) of client mount 2) if performance is only requirement UDP will increase performance versus TCP with obvious downside of using UDP :) 3) jumbo frames (MTU=9000) should help in most cases if available I've also done a bit of testing with NFSv4 - and I find performance here can be a bit better than v3 due to better attribute caching (decreasing amount of getattr() calls when traversing filesystems) and other interesting bigs v4 has. Granted moving from v3 to v4 is not trivial... just my two bits :) -pete -- pete wright www.nycbug.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: Probably working too hard for this cron question
On Mon, Jun 13, 2011 at 12:52 PM, Kurt Buff kurt.b...@gmail.com wrote: All, I've googled a bunch, read some freebsd.org docs, and just can't figure this out. I have a script that should read the current date into a variable, append the time/date stamp at the beginning of the file created with the date in the variable, do a bunch of cURL stuff, then append a time/date stamp at the end of the file. It works if I run it manually, but not from cron. Here are the batchfile and the cron entry: --begin script-- dt=`/bin/date +%Y-%m-%d` /bin/date /root/$dt-external1.txt /usr/local/bin/curl -K /root/urls.txt /root/$dt-external1.txt /bin/date /root/$dt-external1.txt --end script-- --begin crontab-- 15 12 * * * /root/do-curl.sh --end crontab-- I'm doing all of this as root, as you can see. The job launches - I can see an entry for cURL in top - but no file in /root. I've tried several variations on the first line of the script, but I'm getting nowhere, though I'm sure it's something stupidly simple that I'm missing. What am I missing? #!/bin/sh ? -pete -- pete wright www.nycbug.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: Probably working too hard for this cron question
On Mon, Jun 13, 2011 at 2:14 PM, Gary Gatten ggat...@waddell.com wrote: Yeah Pete, kinda need that huh. Kurt, If that turns out to be the only issue, don't feel bad - I've forgotten it myself several times! I'm sure many others have as well! as someone who was fixing some brain dead cron entries he setup on friday this morning...i agree :^) -pete -- pete wright www.nycbug.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: Security monitoring all file changes
2011/4/21 Artem Kuchin mat...@itlegion.ru: Hello! We are running hosting servers and i think we need to monitor and log all changes in filesystems (ftp log is written already, but we give shell access and also files can be changed by scripts), so, when a client asks when the file/directory was changed or deleted and by whom we can answer that question. In what directtion should i look? Is Audit the thing for it? mtree is probably what you are looking for: http://www.freebsd.org/cgi/man.cgi?query=mtreeapropos=0sektion=0manpath=FreeBSD+8.2-RELEASEformat=html -pete -- pete wright www.nycbug.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: more dns weirdness
On Thu, Dec 9, 2010 at 2:15 PM, Paul Macdonald p...@ifdnrg.com wrote: On 09/12/2010 22:01, Andy Tornquist wrote: Have you tried a different server to query? the wider issue is that freebsd whois will use tld.whois-servers.net cnames to resolve appropriate whois servers and that whois-servers.net has nameservers from one sole provider (ultradns), which is still having problems. I'm not overally bothered about amazons' whois, but i am concerned about freebsd's whois being tied to one NS provider (ultradns) which affects dig's according to man 1 whois you can specify alternative hosts to query as well as alternative databases. specifically i think the -h switch will be of interest. -pete -- pete wright www.nycbug.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: ssh key authentication problem...
On Thu, Oct 28, 2010 at 12:39 PM, Peter Harrison peter.piggy...@virgin.net wrote: Can anyone help me debug an ssh key-based authentication problem? I have an 8.1-R server running sshd, with one user account. On the server, I've used ssh-keygen to generate id_rsa and id_rsa.pub. On my laptop I then pulled the id_rsa.pub file over and: % cat id_rsa.pub .ssh/authorized_keys i assume you copied it to ~/.ssh/authorized_keys or $HOME/.ssh/authorized_keys? other things worth checking are permissions of ~/.ssh and the files contained in there? man 1 ssh details permissions, but briefly: ~/.ssh/authorized_keys Lists the public keys (RSA/DSA) that can be used for logging in as this user. The format of this file is described in the sshd(8) manual page. This file is not highly sensitive, but the recommended permissions are read/write for the user, and not accessible by others. it also covers other files as well. HTH -pete -- pete wright www.nycbug.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: iptables equivaelnt
On Mon, Jun 21, 2010 at 10:34 AM, Chuck Swiger cswi...@mac.com wrote: Hi-- On Jun 21, 2010, at 10:28 AM, Jean-Paul Natola wrote: I'm looking for FREEBSD's equivalent of iptables I'm particuclary trying to implement some type of rate control as we are getting hammered by spam. The three major choices available with FreeBSD are documented here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html I'd humbly suggest pf + spamd if you are concerned specifically about stopping spam, both are supported by freebsd and i have had great success using these tools to combat spam. -pete -- pete wright www.nycbug.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: Gaming
On Thu, Apr 29, 2010 at 10:10 AM, Joe's Morgue joes_mor...@yahoo.com wrote: Looking thru your manuals, I have not seen anything about gaming on a FreeBSD machine. Are there drivers for higher end graphic cards available? nvidia provides a binary blob of their Unix driver for FreeBSD: http://www.nvidia.com/object/freebsd_1.0-4365.html Regarding games in particular - it really depends on which game you are looking to play, and what it's requirements are. I have played HalfLife2 via wine emulation on FreeBSD using the nvidia driver for example. HTH -pete -- pete wright www.nycbug.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: Gaming
On Thu, Apr 29, 2010 at 10:57 AM, pete wright nomadlo...@gmail.com wrote: On Thu, Apr 29, 2010 at 10:10 AM, Joe's Morgue joes_mor...@yahoo.com wrote: Looking thru your manuals, I have not seen anything about gaming on a FreeBSD machine. Are there drivers for higher end graphic cards available? nvidia provides a binary blob of their Unix driver for FreeBSD: http://www.nvidia.com/object/freebsd_1.0-4365.html arg! wrong URL! http://www.nvidia.com/object/freebsd-195.36.24.html -pete -- pete wright www.nycbug.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: 8.0 zfs install
On Fri, Dec 4, 2009 at 10:28 AM, William Taylor willi...@corp.sonic.net wrote: Does the installer in 8.0 support zfs? If not whats the easiest way to get a full zfs install done? This is probably the best place to start, in general the FreeBSD handbook is the best place to start looking for any information you may have regarding the OS: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/filesystems-zfs.html You can also get more information via the FreeBSD wiki here: http://wiki.freebsd.org/ZFS -- pete wright www.nycbug.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 is sendmail is part of the system and not a package?
On Tue, Oct 27, 2009 at 5:16 PM, Lars Eighner luvbeas...@larseighner.com wrote: You guessed wrong. We use m4, which cuts out most of the crap that you had to write into sendmail.cf. You write sendmail.mc and compile it. Sendmail.mc on my system is less than 50 lines long, including comments. http://www.sendmail.org/m4/intro.html That's as poorly documented and incomprehensible as .cf by hand. What is your interest in sendmail? Are you connected with it in someway? Surely, yours could not be the opinion of someone who doesn't get a piece of O'Reilly's royalties. It's the same old crap, give the software away, sell the documentation. well shit man - Eric's actually a super nice guy and has made some major contributions to computing so I reckon he deserves *some* respect for the work he's done on sendmail. and frankly I find it easier to setup a SMART_HOST in my .m4 and dist out my resulting configs to my servers in my production clusters. I also have the added benefit that i know sendmail is being tracked as part of the base system so it makes it easier for me to monitor patches w/o having to track ports. For more complex systems (my relay for example) - sure I use postfix, and freebsd makes this quite easy to do as well. if you don't want to use sendmail on your machines it's easy - just don't use it. -pete -- pete wright www.nycbug.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 is sendmail is part of the system and not a package?
On Tue, Oct 27, 2009 at 6:24 PM, Lars Eighner luvbeas...@larseighner.com wrote: On Tue, 27 Oct 2009, pete wright wrote: On Tue, Oct 27, 2009 at 5:16 PM, Lars Eighner luvbeas...@larseighner.com wrote: You guessed wrong. We use m4, which cuts out most of the crap that you had to write into sendmail.cf. You write sendmail.mc and compile it. Sendmail.mc on my system is less than 50 lines long, including comments. http://www.sendmail.org/m4/intro.html That's as poorly documented and incomprehensible as .cf by hand. What is your interest in sendmail? Are you connected with it in someway? Surely, yours could not be the opinion of someone who doesn't get a piece of O'Reilly's royalties. It's the same old crap, give the software away, sell the documentation. well shit man - Eric's actually a super nice guy and has made some major contributions to computing so I reckon he deserves *some* respect for the work he's done on sendmail. Evidently by making it necessary to learn yet another scripting language to configure it. Other than personal profit I cannot see why people are clinging like grim death to something this fubar. Really, let's go past this one more time: ok i'm just gonna suggest you read up on the history of sendmail to gain some perspective on why/when it was written. i'm not saying that there are no issues with it - but i think some historical perspective would do you a world of good. regarding having to learn a new language i'm not sure about that as i wouldn't say i know m4 - but I can rtfm, and the default .mc files are actually well documented. so yea... Sure, sendmail.cf is hard to work with so the solution is you learn m4! Did you look at the link he offered? How helpful is that? Beside which, m4 is a PORT. So if sendmail is not configurable without a port, why isn't it a port? sure it's a port, sendmail is a port too. but that does not mean you need to install the port to compile custom .mc files for your server. in fact if you check out /etc/mail/Makefile you might notice that m4 is actually part of the base system: /usr/bin/m4 anywho i should stop feeding the troll. -p -- pete wright www.nycbug.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 is sendmail is part of the system and not a package?
On Tue, Oct 27, 2009 at 7:14 PM, Frank Shute fr...@shute.org.uk wrote: On Tue, Oct 27, 2009 at 08:45:59PM -0200, Gonzalo Nemmi wrote: On Tuesday 27 October 2009 7:31:34 pm Jerry McAllister wrote: [snippage] So, that leaves personal preference as the only real reason for wanting to replace it. Let me get this straight .. that means that every Linux distro, NetBSD, OpenBSD and DragonFlyBSD are all doing it just out of personal preference? I'll speculate as to the reasons: NetBSD: probably wanted something smaller footprint-wise. OpenBSD: wanted something more secure. Dragonfly: started afresh, so could replace it without many headaches. RedHat: poor package management made it a pain to upgrade. FreeBSD: ? I can't think of a good reason why FreeBSD should get rid of it. Saying that, it would be neat if it was taken out of base and replaced with something minimal that could cope with the demands of cron and not much else. Then the user is expected to install a MTA of their choice out of ports. That would mean less code in base and fewer security advisories. yea i like where you are going with this frank - perhaps when opensmtpd is done we'll be in the position to import this into the freebsd tree? it sounds like it might fit the bill :) -pete -- pete wright www.nycbug.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: Mounting an NFS volume served by Mac OS X
On Tue, Sep 1, 2009 at 3:20 PM, patrickgibblert...@gmail.com wrote: I'm wondering if anyone has had any success in mounting an NFS export from a Mac OS X machine on FreeBSD 7.2? When I try, I get: RPCPROG_MNT: RPC: Authentication error; why = Client credential too weak The man page for exports on Mac OS X has: -sec=mechanism1:mechanism2... This option specifies one or more security mechanisms required for access to the exported directory. The security mechanisms currently supported are krb5p, krb5i, krb5, and sys. Multiple security mechanisms can be spec- ified as a colon separated list, and should be in the order of most preferred to least preferred. In the absence of this option, the security mechanism defaults to sys. My export does not specify this, so sys is what is being used. Not exactly sure what that means... I don't see any options in mount_nfs(8) on the FreeBSD side that has anything to do with authentication or security mechanisms... Any suggestions would be greatly appreciated! which version of NFS are you using on the server side, which version are you attempting to use on the client side. also, it may be helpful if you post your /etc/exports file from your server (or what ever configuration you are using on the OSX server) and your mount command that is failing. -pete -- pete wright www.nycbug.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: When is there going to be a USB install and run iso iamge for FreeBSD?
On Fri, Feb 20, 2009 at 6:12 PM, Fbsd1 fb...@a1poweruser.com wrote: Sergio de Almeida Lenzi wrote: Em Sex, 2009-02-20 às 20:51 +, Formula 1 escreveu: Is there going to be a possibility for FreeBSD, in the future or now, that there will be a release of it that allows for install and running of the operating system off of a USB memory stick? I have it running here... two small scripts save it from the disk into a 2mb usb stick. once in the usb you can boot (from the usb) and install it on any other disk in 5 minutes and using zfs (a 1gb ufs partition, a swap partition and a big zfs partition. if needed I can put the script in the web fo testing or download. I adivse that there is no need to enter sysinstall. Hope it can help ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Sure would like a copy of your scrips. Thanks +1 here. would it be possible to post the scripts, or a url, to the list? cheers, -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ 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: Edit user groups
sorry OT and I recommend against sudo because it's very design is a man-in-the-middle type of scenario, and one typo by the sudo devs can possibly make a mess out of things. I think sudo makes a lazy admin -- too easy to just run in and hit something. I think sudo is a false sense of security. If a user trusts another, and give sudo access, why not give the whole OS to them? Sudo's out there -- don't get me wrong, but you won't catch me dead with a box with sudo installed. I think it's a very misleading tool. And not to say they do -- but what if the devs put in a keygen...do you monitor the sudo source code? And if I remember correctly -- the way sudo gets it's work done is a SUID bit to root. Those are the devil's eggs that hatch and just cause havoc. A rogue CGI calling sudo to do something on the website, buffer overflow (with php!) and you've gotten rooted. No, no -- I hate sudo for it's own doing. It's going to eat itself alive. /rant No flames please. not a flame, but a point of order - you can grant sudo privs to a user that does not automatically give them full root/wheel privs. i recon this is something that most admins have had to come across when working in a multiuser environment. what sudo also does provides you is: 1) an audit trail of who did what, when with said escalated privs 2) a way to give non-wheel users access to run specific commands that may require escalted privs so i'm not really sure why one would want to throw out the baby with the bath water, it's just another layer on the onion - and much better than giving everyone root access, or requiring the one or two trusted users in wheel to executed any program that may require escalated privs (rndc reload, apachectl reload come to mind immediately). -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ 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: Secondary DNS or BSD Server space
On Thu, Dec 18, 2008 at 8:11 PM, Matt Emmerton m...@gsicomp.on.ca wrote: Everyone: We just got word that Neustar, which bought DNS service provider Nominum a few years ago, is shutting down Nominum's secondary.com service. The service used to provide secondary DNS for users' zones at no charge. I and the other secondary.com users I know think it's reasonable for the company to charge a small but reasonable fee for the service instead of keeping it running for free. But alas, Neustar is getting greedy. The only alternative they offer is a $50-a-month managed DNS service, which we don't want or need. (We're fine maintaining our own master servers and zones; we just need a slave to use as a secondary.) So, we're looking for alternatives. Does anyone on this list know of a good, BSD-based service which offers reasonably priced secondary DNS? Or reasonably priced servers at a server farm, where I and others can set up a secondary DNS server? There was a thread on this just the other day here. Not sure if they are BSD-based, but both dyndns.org and zoneedit.com offser secondary service for practically nothing. I'm %99 sure that dyndns.org is FBSD based. I've been using them for a while now and am quite happy with them too. if you check out their jobs board there are openings for FreeBSD engineers: http://dynamicnetworkservices.com/jobs-hiring -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ 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: nsswitch.conf man page
On Wed, Jul 16, 2008 at 11:44 AM, [EMAIL PROTECTED] wrote: I don't see anything in the man page about adding ldap into the nsswitch.conf file. Is that something that I can do so that I can get applications to use my openldap? oh that's odd - never noticed that :) I would assume I could add something to the affect of: passwd files ldap group files ldap yep that's about it, here is what i use for ldap auth on some workstations that hit an openldap cluster. passwd: files ldap shadow: files ldap group: files ldap -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Version 5.4
On Tue, May 27, 2008 at 10:43 AM, Dennis Kirschling [EMAIL PROTECTED] wrote: Hi, I have a customer running BSD that has been informed that he needs to upgrade his Apache product. I have a wealth of experience with SCO products but very little with BSD. The Apache that they are operating now is version 2.0.55? I don't have the knowledge to look into installed products or where I would gather the Apache upgrade and the installation instructions. If you can point me to any info regarding this upgrade I sure would appreciate it! The FreeBSD product has excellent documentation. The best place to start is here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ Regarding your current task, the section on ports is probably the most helpful. It looks like you will have to upgrade the Apache port that is currently installed. Is there a specific version of the Apache web server that is needed? FreeBSD supports many different versions of the Apache webserver - yet the ports system makes installing, and updating, these applications very easy. Hope this helps, -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DYNDNS server (NOT CLIENT)
On Jan 9, 2008 7:20 PM, Lou Katz [EMAIL PROTECTED] wrote: I want to set up a DYNDNS SERVER and run one myself for the folks I already provide Name Service for. Are there any pointers on how to do this? -- this looks like it may be helpful: http://www.dhis.org/ looks like both the client and server packages are available in the ports tree as well... /me is going to look into this for his own use now :) -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firewall Redirect
On Nov 30, 2007 5:59 AM, Lucas Neves Martins [EMAIL PROTECTED] wrote: Hello guys, I´m having the following problem: Redirect requests from the port 80, to the port 8082. - for apache tomcat. I´m new on freeBSD, Of course, I had looked out on google, and read the firewall section on the Handbook. snipping some ipfw rules... PS: I´m trying to do this, to make the user tomcat run the apache-tomcat, opening the port 8082, and make it transparent to users who access the domain by the common port 80. another method to achieve this that may be interesting for you is to use mod_jk to redirect requests coming in on your priv'd port 80 apache daemon to your tomcat processes on an unpriv'd port: http://tomcat.apache.org/connectors-doc/ I won't go into the whole configuration here - but going this route may give you more flexibility than using a packetfilter ruleset and will allow you take advantage of load balancing etc. with mod_jk as well. i currently use this setup for a site that serves both static content from httpd and .jsp pages from tomcat all on the same box. HTH -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: iSCSI and multi-terabyte support?
On 10/10/07, Kurt Buff [EMAIL PROTECTED] wrote: At my place of work, we're looking at implementing a SAN, most likely with iSCSI, some time next year, and likely about 5-10TBytes. I was wondering if FreeBSD could provide this on COTS hardware, but my googling hasn't been successful. From my reading of this list over the past couple of years, it seems that both parts of the solution - iSCSI support and large disk support - are still problematic, but I'd like to hear more informed opinion, as the potential cost savings is quite large. Anyone have recent-ish experience putting something like this together? IMHO opinion I do not think FreeBSD is there...yet. ZFS is addressing many of the enterprise filesystem features that would be needed to implement something on this scale, and there is the iSCSI target from NetBSD available in the ports tree. I think 7-RELEASE is going to be a solid foundation for building solutions like this - but in the mean time it may be worth considering OpenSolaris if are considering going the COTS path. or - you can take a look at a company like Isilon Systems (http://www.isilon.com/) which builds very scalable filers based on FreeBSD. I have beta tested their iSCSI implementation and it does look good. HTH -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: courier-authlib problems.
On 10/8/07, Tankko [EMAIL PROTECTED] wrote: I upgraded one of my servers to courier-authlib-base-0.60.0 from .59 and I am now getting the following errors in my mail log: Oct 8 18:21:47 myserver.net authdaemond: Shared object libauthvchkpw.so not found, required by authdaemond Oct 8 18:21:47 myserver.net authdaemond: Installing libauthpam Oct 8 18:21:47 myserver.net authdaemond: Installation complete: authpam Oct 8 18:21:47 myserver.net authdaemond: Installing libauthldap Oct 8 18:21:47 myserver.net authdaemond: Shared object libauthldap.so not found, required by authdaemond Oct 8 18:21:47 myserver.net authdaemond: Installing libauthmysql Oct 8 18:21:47 myserver.net authdaemond: Shared object libauthmysql.so not found, required by authdaemond Oct 8 18:21:47 myserver.net authdaemond: Installing libauthpgsql Oct 8 18:21:47 myserver.net authdaemond: Shared object libauthpgsql.so not found, required by authdaemond and Oct 8 18:11:33 myserver.net imapd-ssl: couriertls: connect: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number Oct 8 18:12:07 myserver.net imapd-ssl: couriertls: connect: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number Thunderbird (OSX) has doesn't seem to care, but the iphone is now unable to get email. I am using SSL to get mail via imap. I have a 2nd server that has not been upgraded to .60 yet, and it works fine. But...the upgraded server has: courier-authlib-base-0.60.0 = up-to-date with port and the non-upgraded server has: courier-authlib-0.59.3 needs updating (port has 0.60.0) courier-authlib-base-0.59.3needs updating (port has 0.60.0) courier-authlib-vchkpw-0.59.3 needs updating (port has 0.60.0) I am assuming the upgraded server had these three ports as well before the upgrade, but I can not be 100% sure. I always kept these 2 severs running the same versions of everything, so I assume they were. Anyone know how to fix this? yea ran into a similar issue yesterday myself. i had to make this modification in /usr/local/etc/courier-imap/imapd-ssl: TLS_PROTOCOL=SSL23 believe old default value was: TLS_PROTOCOL=SSL3 HTH -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backup Large FileServer
On 9/28/07, Alexandre Biancalana [EMAIL PROTECTED] wrote: Hi list, I've to backup a large window$ 2003 FileServer (~800GB) from my new FreeBSD BackupServer (before I can change this fileserver to FreeBSD). I'm trying cygwin+rsync on FileServer side and rsync+hardlinks on BackupServer side. Using rsync the two great advantages are: 1. Only copy the changes 2. on the BackupServer side I use hardlinks from the older backups, with this only space consumed is from file that where changed. on the bad side: 1. Problems with long pathnames 2. Problems with unicode filenames 3. Very slow copy ~ 2MB/s (I've doubt if this can be improved using any other copy method) I want hear some ideas from the list about the options available to accomplish this job. Alexandre - have you looked at using something like Bacula: http://www.bacula.org/ You should get much better performance (you can write your backup to disk - it does not have to be a tape device) and all windows metadata etc. should be preserved as well. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sshd config config file question
On 7/10/07, Huy Ton That [EMAIL PROTECTED] wrote: No, it was unhashed. Thanks for pointing it out though. But the strange thing is when I run: /etc/rc.d/sshd status I get no message No message for start, restart, reload etc. I am performing these commands as root. Any ideas? (couple things, please don't top post, and be sure to keep [EMAIL PROTECTED] cc'd on this thread so others can help you) i'm not sure what you mean about no message. make sure you have sshd_enabled=YES in your /etc/rc.conf. also check to see if sshd is running by using ps. if it is not, try starting it by hand - this will tell you if there are any errors on startup. once it starts cleanly by hand then use the init script in /etc/rc.d/sshd. the man page for sshd is very helpful, and should answer many of the questions you may have - including how to start the daemon by hand, etc.. type: man sshd -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help! FreeBSD: 88.78 KBps, Linux: 624.95 KBps
On 7/10/07, Kyrre Nygård [EMAIL PROTECTED] wrote: Hello. My friend is switching to Linux because FreeBSD is failing on him. When downloading a file from a FreeBSD box and a Linux box on the same network, the FreeBSD box got 88.78 KBps whereas the Linux got 624.95 Kbps. I have no idea what's wrong, but my man isn't really into good information design (e.g. taking something complex and making it easy), so his system is a mess. Maybe some of you can help me locate where the problem's at? It's probably best to start at the basics and work up: 1) uname -ar on both systems 2) do both systems have identical hardware? 3)what are you coping over, lots of small files, one large file. i.e. what kind of benchmark are you using? that's the best place to start. it looks like you have a ton of pf stuff going on, and have made many changes to your kernel via sysctl. i didn't really look at that stuff closely - that info is kinda pointless w/o the basic hardware, OS data. -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Restore UFS snapshot
On 5/26/07, Svein Halvor Halvorsen [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roland Smith wrote: Is it possible to rollback a file system snapshot, i.e. restore the file system to the state it was in at the time a mksnap_ffs command was issued? You can mount the snapshot, and then copy the files back to the original fs. Note that cp can preserve flags, but not ACLs AFAIK. Yes, I know that this is possible. However, it's a lot of work. There should be some straightforward way of rolling back to a snapshot, since the files and all the file system structure are already there. Also, there might not be room on the disk for it. well, if you are using snapshot's you already have most likely calculated the overhead that the snapshot(s) will take - so i'm a little confused at to the lack of room available for the snapshot. it's not uncommon to have hourly, daily, weekly snapshot's of given volumes. User scenario: Before a major upgrade (eg. releng-current, portupgrade -a, etc), it would be nice to mksnap_ffs, and then after the upgrade be able to either delete the snapshot if all went well, or rollback to the snapshot. You should use dump(8) in this case. Create level 0 dumps of your filesystems and store them somewhere. You can dump live filesystems with dump's -L flag. If you botch the upgrade, you can use restore(8) to revert your filesystems to the situation before the upgrade. Note that you should really make regular dumps of your filesystems as backups anyway! This is also beyond the point, although I appreciate that you suggest alternative ways to meet my objectives. dump/restore would also require additional disk space. I do actually backup my data on a regular basis, but not all of my computers really need external backup, as I could stand some downtime. However, if I could easily make a snapshot, and then either roll back or delete it afterwards, it would be a nice compromise between security and effort. And also: it seems it should be possible to do this. If not, I might want to make a tool for it. they handbook has a pretty decent example of how to use dump along side mksnap_ffs - and it seems pretty robust to me. when dealing with whole filesystems and important data i think dump(8) is really the way to go as much work has been put into ensuring that you end up with a consistent image on disk. having said that - i see no reason why one couldn't write a wrapper around dump(8) and mksnap_ffs. -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Restore UFS snapshot
On 5/26/07, Svein Halvor Halvorsen [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roland Smith wrote: You can mount the snapshot, and then copy the files back to the original fs. Note that cp can preserve flags, but not ACLs AFAIK. Yes, I know that this is possible. However, it's a lot of work. Huh? Suppose you did 'mksnap_ffs /usr /usr/.snap/20070526' Then all you have to is something like: # mdconfig -a -t vnode -f /usr/.snap/20070526 -u 0 # mount /dev/md0 /mnt/snapshot # cd /usr # tar cf - /mnt/snapshot/* |tar xpf - # umount /mnt/snapshot # mdconfig -d -u 0 How much easier could it be? You could easily create a script for this as well. Let me clarify: It is a lot of work for the computer, for the hdd. There should be some straightforward way of rolling back to a snapshot, since the files and all the file system structure are already there. Also, there might not be room on the disk for it. Snapshots take up room as well. But the snapshot is already made. Again, let me clarify: At some point in time, my file system is filled with random* bits. I then make a snapshot. - From now on, all bits** that I flip will be take up an extra bit of space. Then, after changing lots of bits, I decide I wanted the old data back, as the file system was before I started to flip bits. Now, I could either: (a) Flip alot more bits, by making copies of the snapshotted bits over some free area of the disk, or (b) Undo all the bit flipping I have done, since I made the snapshot. In (a) I will have two copies of all the bits that has changed since the original snapshot, while in (b) I am back to where i were before the snapshot. Does this make any sense? Have I not understood this correctly? hmm...i'm still a little confused as to where you are going. there are three main way's i've used snapshot's in large (~1PB) environments, two of which are applicable to you i believe: 1) dump(8) file system after snapshot, not only for backup/DR purposes - but to insure that you have a valid disk image of your critical filesystem before doing something risky (installworld etc.). in this case dump to a scratch volume 2) restore(8) dumped filesystem image if something bad happens, otherwise let tmpwatch clean remove the dump at a later date. while this may require more space, it does give you a reasonable amount of certainty that the disk image is valid and consistent (esp. pertinent for frequently modified data sets - let's say LDAP databases). now, here is an easy way to go - that should work for static dataset's: an installworld goes bad and /usr/bin is borked: $ tar cvpf - /usr/bin/.snap/ | (cd /usr/bin; tar xvpf -) or something similar. you could use rsync, but that would give you uneeded overhead IMHO. -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Restore UFS snapshot
On 5/26/07, Svein Halvor Halvorsen [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 pete wright wrote: hmm...i'm still a little confused as to where you are going. there are three main way's i've used snapshot's in large (~1PB) environments, two of which are applicable to you i believe: *snip dump/restore plug* Yes, I understand how I could use dump/restore. But forget about all this. Forget about my reasons for wanting it. All I want to know is whether or not there exists a tool that will let me rollback a snapshot without mounting it, dumping it, or anything like that. Just by flipping some bits in the superblock, or some other small changes to an (unmounted) file system. Something really easy. No extra disk, no excessive copying, no nothing. Just a simple # umount # snap_rollback *wait 10 seconds* # mount .. and I'm set. I believe it should be possible. And if nothing like that exists, it should be made. I could look into it, but I would have to learn a lot more about the inner workings of the file system first. not that i know of, and IMHO for good reason. i would not trust anything of that nature with data that i deemed important enough to snap shot in the first place. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recommended SMP Hardware
On 4/5/07, Don O'Neil [EMAIL PROTECTED] wrote: I'm getting ready to obsolete one of my old dual P2-800 servers and wanted to get some suggestions from you all... I'm going to be building a new server to replace it and need more power, but not a TON more power... Something along the lines of dual 2.5 GHz processors with 4 GB RAM should be more than enough. Any one have some suggestions for lower priced dual processor motherboards and CPU combos? Athlon, Xeon, P4, whatever, doesn't really matter. I'd like to hear from some of you who are actually using certain combos in production and your experiences (good or bad) with them and FreeBSD 6.2. I've had good luck with multi core processors esp. the Intel 5130's. They are a x86_64 capable CPU that will give you a SMP system in one socket. This should make the machine draw less power, require less cooling, and hopefully the motherboard will be less expensive than a multi-socket board. Not sure where you are located - but I saw an add for a Southern Californian Fry's that had the an Intel Core2Duo motherboard/cpu combo for pretty cheap (~$190US). I assume you can find similar deals on the 'net as well. Hope this helps! -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Patches in FreeBSD
On 2/26/07, Josh Carroll [EMAIL PROTECTED] wrote: My question is: How do I respond to this? I have seen the word patch used in security update messages - but didn't follow that path. Is that real? Does it cover kernel things essentially on the fly or is a 'time consuming' rebuild still needed? 6.2 now official supports binary patches via freebsd-update(8). From the 6.2-RELEASE announcement (http://www.freebsd.org/releases/6.2R/announce.html): freebsd-update(8) provides officially supported binary updates for security fixes and errata patches So there's your response. :) and you can update your third party packages via binary packages (which you can get from freebsd.org or build yourself)...so it seems these two solutions would be a great fit. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FTP Servers Down
On 2/14/07, Elida Waggoner [EMAIL PROTECTED] wrote: Hello I am using the ports tree with the latest BSD release and for some reason if a package is tried to be downloaded from most the ftp.Freebsd.org servers and mirrors it fails. Is there a reason for this or an updated FTP list somewhere. hmm...what's the error message you are getting when it tries to grab a package. i do not see any issues from where i am, but an error message will help folks on the list diagnose what's going on your end. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: origin of system message?
On 2/14/07, Robert Huff [EMAIL PROTECTED] wrote: Oliver Koch writes: Feb 14 17:03:50 jerusalem kernel: Connection attempt to UDP 209.6.203.219:1026 from 202.97.238.130:52821 What program/process issues this, and at what facility and level? please check if these two sysctl values are set: net.inet.tcp.log_in_vain: 1 # Log all incoming TCP connections net.inet.udp.log_in_vain: 1 # Log all incoming UDP packets Both. I don't want to stop the messages, merely re-direct them. you can set that up in your syslog.conf(5) file. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: origin of system message?
On 2/14/07, Robert Huff [EMAIL PROTECTED] wrote: pete wright writes: Feb 14 17:03:50 jerusalem kernel: Connection attempt to UDP 209.6.203.219:1026 from 202.97.238.130:52821 What program/process issues this, and at what facility and level? I don't want to stop the messages, merely re-direct them. you can set that up in your syslog.conf(5) file. pointed look And in order to do that ... what information do I need? /pointed look :-) heh, sorry. the man page for syslog.conf is pretty helpfull for setting this stuff up. the command to read it is man 5 syslog.conf so that was short hand. it'll show you how to setup rules for various log messages and how to route them to different log files(or syslogd servers). i suspect you want a log file that'll just contain these UDP and TCP connection attempts... -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie--new install on Core 2 Duo?
On 2/13/07, Gerard [EMAIL PROTECTED] wrote: On Tuesday February 13, 2007 at 01:42:23 (PM) pete wright wrote: how would you define correct? have all systems boot with a SMP kernel by default so that machines with multiple processors automatically detect all available CPU's? then what about all the users that are using uni-proc systems? i think the current state of building a system w/o SMP enabled is great. it's not that hard to do a: cd /usr/src make buildkernel KERNCONF=SMP make installkernel KERNCONF=SMP reboot this is all covered in the FreeBSD handbook, which all new admin's/users should be reading and following closely anyway ;) It is also a hugh waste of time. Doing the initial system installation, there should be an option at the very least to enable SMP. Installing a system, then having to rebuilt and and reinstall it again if counter productive. The market is moving toward multiple CPUs. The FBSD installation routine should embrace that reality and afford it the proper consideration that it deserves. hmm...didn't realize that not loading a SMP kernel by default would turn people away from running FreeBSD. building a kernel is much different from reinstalling a system though... OT, but - I know a fair amount of locations will have a custom kernel, and most large sites will script sysinstall to load a custom kernel as well. yet, for junior admins maybe a boot time option allow one to load a SMP kernel during the install phase (which would also be the kernel the system boot's from after installation) may be helpfull. There are currently options to disable ACPI (granted that's a .ko) but perhaps there is precedent to do this. anyway, sounds like a good PR :) -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual boot problems
On 2/13/07, Questions [EMAIL PROTECTED] wrote: Hello, This weekend I purchased a laptop with a core2duo processor. The laptop came with windows Vista premier. Due to some applications that I require, removing Vista and installing FreeBSD is not an issue. (Please leave the Vista/Microsoft flames at the door) When I install FreeBSD/i386, I can then install grub (instead of FreeBSD's bootloader) and I can have grub chainload the Vista bootloader. All works fine. However, when I try FreeBSD/amd64, grub won't compile (it's architecture is forced to i386 only in the Makefile. I haven't dug into why, but I'm confident there is a reason. Obviously, grub becomes a non-option. Gag has the same limitation of being i386 only. to make sure i understand this correctly, you can install FreeBSD (assuming 6.1-RELEASE)/amd64 on your system but am having problems compiling grub in this environment from the ports tree? it looks like grub may only build correctly on i386 systems, but you may be able to define your cpu as a 32bit arch in /etc/make.conf while trying to build grub to see if that works. i've never had to do this though, but it's worth a shot. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portmanager behaviour
hi all, i was wondering if anyone else ran into a problem recently when portmanager was moved to /usr/ports/ports-mgt/portmanger. i have a nightly cron which runs a portmanager -s to give me a status report in the morning on outdated ports. i believe when the move occurred that portmanager removed itself from the system. anyone else see this? -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: interpreting top output (computing n% cpu usage in actual megahertz)
On 2/1/07, Mark Jayson Alvarez [EMAIL PROTECTED] wrote: Hi, My goal is to find out how much CPU a program consumes when I execute it. In the manual, it says I can toggle from raw cpu mode to weighted cpu. However, I can't still understand the difference between the two and how it has something to do with my goal. Suppose my computer has a 1.6Ghz pentium 4 processor. I want to know how much is already in use or what percent. I also want to know how much it has increased when I run a particular program so that I can decide if this I can install this program without affecting other existing critical programs. this link should be helpful regarding the cpu utilization: http://students.cs.unipi.gr/pub/docs/sysadmin-1992-1998/html/v07/i05/a7.htm from the article: On AIX 4 systems, CPU% is computed by dividing the time the process uses the CPU by the elapsed time of the process. For example, if a process was started 60 minutes ago, and has so far used 60 seconds of the CPU, then its CPU% is 1 2/3%. This is sometimes called the weighted CPU%. which i believe gives a rough idea of how a weighted cpu average is calculated. hopefully someone more familiar with bsd internals can comment on how we arrive at this value. The same goes with memory usage.. Free doesn't mean that that are all my memory left that is useable right? The Description of Memory section just says: Active: number of pages active Inactive: number of pages inactive and so on and so forth without telling what the heck does it mean when a page is inactive and just what does pages means.. Buf, Free, Wired, Cache... don't know what are these either.. Perhaps I should consult wiki or google for this. yea that might be a good place to start. these are fairly common terms used when talking about the state of memory in operating systems. another excellent source is this book: http://www.amazon.com/Design-Implementation-FreeBSD-Operating-System/dp/0201702452 it's an excellent reference for any OS in my opinion, but is obviously very pertinent to FreeBSD. this URL may also be a decent place to start: http://en.wikipedia.org/wiki/Memory_management HTH -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: duo core question
On 1/16/07, Tsu-Fan Cheng [EMAIL PROTECTED] wrote: thank you guys for reply... very useful... :-) so for you guys who have experiecen with this cpu, do you really feel it?? i think you really need to figure out how you are going to be using the system. if you are running a farm of machines running multi-threaded app's then i'd say yes - multi-core systems are a benefit (as you get more core's to run threads on w/o generating as much heat and eating as much power as a second cpu socket). if you are running heavily multi-threaded desktop apps, i'd say yes - it may be helpful for similar reasons mentioned above. if you are using your desktop like %90 of unix people out there (web/mail and ssh'ing into servers) i'm not sure having two cores (let alone multiple CPU's) is worth the price. just my 2bit's. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: duo core question
On 1/17/07, Garrett Cooper [EMAIL PROTECTED] wrote: On Jan 17, 2007, at 11:55 AM, pete wright wrote: On 1/16/07, Tsu-Fan Cheng [EMAIL PROTECTED] wrote: thank you guys for reply... very useful... :-) so for you guys who have experiecen with this cpu, do you really feel it?? i think you really need to figure out how you are going to be using the system. if you are running a farm of machines running multi-threaded app's then i'd say yes - multi-core systems are a benefit (as you get more core's to run threads on w/o generating as much heat and eating as much power as a second cpu socket). if you are running heavily multi-threaded desktop apps, i'd say yes - it may be helpful for similar reasons mentioned above. if you are using your desktop like %90 of unix people out there (web/mail and ssh'ing into servers) i'm not sure having two cores (let alone multiple CPU's) is worth the price. Assuming you're not operating some sort of high-volume web/mail apps :). -Garrett sure, although i can't think of any multi-threaded MUA's or web browsers out there -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
iSCSI hardware HBA status
hi all, i have tried googling for the current status of iSCSI software and hardware HBA support in FreeBSD. A lot of the hit's seem pretty stale. Is there active development going on with support hardware iSCSI HBA's in current by any chance? I have not been able to find any listed cards. For example I have a Qlogic 1gig 2port HBA with a ISP4022 chipset. Is any work being done on this? I would be willing to do some testing if time permits on my end. thanks! -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Release info
On 1/9/07, Dale Johnston [EMAIL PROTECTED] wrote: Hey, so where's the release notes. what's been done/fixed/added in 6.2 vs 6.1, what was done from 6.1RC to 6.1R, etc once 6.2RELEASE is out you should be able to find them here: http://www.freebsd.org/releases/6.2R/relnotes.html -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: alittle help
On 1/5/07, Juan Ortega [EMAIL PROTECTED] wrote: Hi, I have freeBSD 6.2-RC2 I installed vmware3 from the ports tree but I get an error when I run it. ** It seems linux procfs is not mounted on /compat/linux/proc. VMware does not work without Linux procfs mounted. For details, see linprocfs(5) manpage. *** I read the linprocfs and linux handout put I'm still having problems with it. Is linprocfs a command? or something to mount it, because I cant find it on xterm. you need to mount the linux proc filesystem. a good place to start is to carefully reread the linprocfs manpage. you are going to have to enable Linux compatibility on your FreeBSD system as well. in addition to becoming familiar with the excellent online handbook this section specifically will be helpfull to you as well: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu.html -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: running out of mbuf clusters
On 12/12/06, John Oxley [EMAIL PROTECTED] wrote: Hi, I'm running a shaper system on a FreeBSD box. It is pushing sustained 8 Mbps. In the messages log I'm getting lots of Dec 11 21:03:54 ritalin /kernel: All mbuf clusters exhausted, please see tuning(7). When I run netstat -m however I get $ netstat -m 1766/5904/8 mbufs in use (current/peak/max): 1766 mbufs allocated to data 1765/5900/2 mbuf clusters in use (current/peak/max) 13276 Kbytes allocated to network (22% of mb_map in use) 30 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines Why is it saying its run out of mbuf clusters when it peaked at 5900? The machine is running FreeBSD 4.9-RELEASE. The reason for this is that it is a shaper appliance, and it was shipped to us with 4.9 on it. hmm...don't have a 4.x box handy but on 6.1-RELEASE man tuning turns this up: kern.ipc.nmbclusters may be adjusted to increase the number of network mbufs the system is willing to allocate. Each cluster represents approx- imately 2K of memory, so a value of 1024 represents 2M of kernel memory reserved for network buffers. yikes, can't remember if 4.x allows you to tune this via sysctl or if you have to define it in your kernel config. in any event if you type sysctl kern.ipc.nmbclusters that should report you maximum mbuf's that can be allocated. I am guessing you may have to increase this value. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS question - which is the server
On 12/12/06, David Banning [EMAIL PROTECTED] wrote: I have a FBSD box servering several users. We want to mount a stand-alone FBSD box to access the files on it. I am thinking NFS. When installing NFS, the stand-alone box would be the NFS server, correct? And multi-user box would be the NFS client? in this model the NFS server will be the node in which you export your data to other machines. I.e. the machine which holds the files you want to access. The client will be the machine that needs to access said files. in your case the multiuser box will be the client. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Real-time command history sharing between interactive shells
On 11/29/06, Andrew Pantyukhin [EMAIL PROTECTED] wrote: I want to be able to define groups of interactive shells (preferably even across different users) so they have one single shared command history. Any command executed in one of them should be available through all history mechanisms in the other ones. I imagine some ways to do it in tcsh. I'm sure many users would like this kind of functionality, maybe some of them have already implemented it? sounds pretty interesting. maybe i'm missing something pretty basic here, so i assume sym-linking ~/.history between multiple accounts will not be sufficient. if it is you can define $HISTFILE in bash/ksh to point to ~/.history as well. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best laptop for Freebsd
On 11/15/06, g [EMAIL PROTECTED] wrote: Hi Folks, Well I stayed off the beer and other sinful delights for a while (month or so P:) and have raked together enough cash to buy a new laptop. For those of you out there with experience what would you advise. The plan would be for ..unfortunately Windoze (vba stuff for work), Freebsd, and most likely fedora. I had no problems getting my wireless to work on the old one using the ndis stuff and freebsd beat the other two hands down for performance. Is there any one model or product that would be better for Freebsd 6 (as this is my day in day out operating system). Any experiences and or advise would be much appreciated. one site i would suggest is: http://nycbug.org/index.php?NAV=dmesgd;SQLIMIT=20 it'll allow you to search dmesg log files from various OS/Hardware combo's. I know i've put a couple thinkpad entries in there. hopefully it'll give you a good idea of the hardware support of various laptops out there. putting laptop as a search string seems to pull up a fair amount of hit's. HTH -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving jails from one computer to another
On 10/25/06, Doug Poland [EMAIL PROTECTED] wrote: Hello, I'm curious if anyone has comments on moving a jail environment from one computer to another. Not having actually tried it yet, it would seem to be possible given: Both computers: are the same arch (i386, in my case). are running the same kernel and userland (e.g., FreeBSD RELENG_6_1) have identical jail environments (e.g., sysutils/ezjail) Of course, minor modifications may need to be made for IP addresses and such. It would seem this scenario would be good for developing things like web-based applications on a development server, then deploying the final product to a production server. Comments, thoughts, criticisms welcomed. yea, this is actually one the larger benefits of jailing IMO. i've used this method to help setup distributed mirroring of websites for some OSS projects. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: unattended installation
On 10/5/06, Carlos Ramirez [EMAIL PROTECTED] wrote: Hi, how I do an unattended installation? I want to create an installation CD of a FreeBSD and run some scripts automatically after.. Some ideas? http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/extensibility.html see section on scripting sysinstall. you will most likely want to merge this with a pxeboot environment. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Memory leak in PHP on FreeBSD
On 8/30/06, Tom Grove [EMAIL PROTECTED] wrote: I was reading http://www.bsdnews.com and ran across an article about a memory leak in php and mysql on FreeBSD. This is fairly concerning considering I run quite a few servers with this setup. I haven't been able to find much documentation regarding this subject. It has been reported as a permanent hole which seems odd. However, if there is a problem does anyone have any info? -Tom yea, i wouldn't really pay attention to this, from the article: I'm just repeating what the server guys have told me. No, I don't want your offer of technical help. betting the admin's may have misunderstood something or misconfigured something... -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cacti FreeBSD Jail CPU RAM monitoring
On 8/14/06, Philippe Lang [EMAIL PROTECTED] wrote: Hi, I'd like to use Cacti for CPU and RAM usage monitoring on my FreeBSD Server. Is there a way to do monitoring for each jail independently? I guess the answer is no for CPU usage, but is there a way maybe to get the RAM usage of the processes of each jail? using cacti's scripting ability you actually may be able to get some sort of usefull info. for example, you can use ps auxwl to get some pretty detailed info on process which are in jails (third filed is %CPU, fourth %MEM). it may take a little work to sort out which jail a process resides in - . this method will only work from the master as well. similar tricks can be used inside a jail as well. HTH -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portmanger getting stuck in loop
On 8/4/06, Chris Whitehouse [EMAIL PROTECTED] wrote: pete wright wrote: Hi all, I've got a portmanager question. I've been using it for quite some time on various systems with great success - until today when i ctl+c'd in the wrong terminal and broke an upgrade that was going on. Now when i try to re-run portmanger to get a list of out of date ports I am getting this: snip 00109 :p5-Math-BigInt-1.77 /math/p5-Math-BigInt MISSING 00110 :p5-Socket6-0.19 /net/p5-Socket6 MISSING 00111 :p5-Email-Address-1.86 /mail/p5-Email-Address MISSING 00112 :lzo2-2.02_1 /archivers/lzo2 MISSING /snip I've tried various portmanager upgrade attempts (using -u/-f/ and -p) and all seem to fail with similar messages as this: skipping p5-Math-BigInt-1.77 /math/p5-Math-BigInt marked IGNORE reason: looping, 3rd attempt at make skipping p5-Socket6-0.19 /net/p5-Socket6 marked IGNORE reason: looping, 3rd attempt at make skipping p5-Email-Address-1.86 /mail/p5-Email-Address marked IGNORE reason: looping, 3rd attempt at make skipping lzo2-2.02_1 /archivers/lzo2 marked IGNORE reason: looping, 3rd attempt at make soo...my question is, is there a way to reset the state of what portmanger things is installed (and what rev's etc...). i am not even sure if portmanger does this, although i am familiar with rebuilding the pkgdb after i messed up when using portupgrade ;) thanks for any pointers/help! -pete You could try deleting or editing ignore.db. Mine's in /usr/local/share/portmanager/. Also check /usr/local/etc/portmanager/pm-020.conf. Does make run ok inside each ports directory? Just so you know nothing's really broken. Maybe delete any work directory before and after. There is a note in the man page about not interrupting it at some critical stage. Chris Thanks Chris, so I'll check out the ignore.db and the pm-020.conf. The ports are able to build with no problems on their own, which is wierd. I'll post back if any of these things work. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Portmanger getting stuck in loop
Hi all, I've got a portmanager question. I've been using it for quite some time on various systems with great success - until today when i ctl+c'd in the wrong terminal and broke an upgrade that was going on. Now when i try to re-run portmanger to get a list of out of date ports I am getting this: snip 00109 :p5-Math-BigInt-1.77 /math/p5-Math-BigInt MISSING 00110 :p5-Socket6-0.19 /net/p5-Socket6 MISSING 00111 :p5-Email-Address-1.86 /mail/p5-Email-Address MISSING 00112 :lzo2-2.02_1 /archivers/lzo2 MISSING /snip I've tried various portmanager upgrade attempts (using -u/-f/ and -p) and all seem to fail with similar messages as this: skipping p5-Math-BigInt-1.77 /math/p5-Math-BigInt marked IGNORE reason: looping, 3rd attempt at make skipping p5-Socket6-0.19 /net/p5-Socket6 marked IGNORE reason: looping, 3rd attempt at make skipping p5-Email-Address-1.86 /mail/p5-Email-Address marked IGNORE reason: looping, 3rd attempt at make skipping lzo2-2.02_1 /archivers/lzo2 marked IGNORE reason: looping, 3rd attempt at make soo...my question is, is there a way to reset the state of what portmanger things is installed (and what rev's etc...). i am not even sure if portmanger does this, although i am familiar with rebuilding the pkgdb after i messed up when using portupgrade ;) thanks for any pointers/help! -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: X11/glx question
On 7/28/06, Robert Huff [EMAIL PROTECTED] wrote: In attempting to disgnose an issue, I ran into this: from Xorg.log (II) LoadModule: glx (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so (II) Module glx: vendor=NVIDIA Corporation compiled for 4.0.2, module version = 1.0.8762 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 0.1 (II) Loading extension GLX (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found) Am I correct in believing this means I need to install x11/nvidia-drivers? And will that even work, as my video card is a Matrox G400? Hmm, I'd like to see your X.org config file. I am guessing you may have the Nvidia glx module or Nvidia graphics driver referenced in there. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: X11/glx question
On 7/28/06, Robert Huff [EMAIL PROTECTED] wrote: pete wright writes: Hmm, I'd like to see your X.org config file. I am guessing you may have the Nvidia glx module or Nvidia graphics driver referenced in there. File is appended. hmm...that's wierd. the glx and dri drivers should not be dependant upon the nvidia dirivers or blob's. you are able to load X from this config when you comment out the dri and glx lines correct? did you install the dri stuff from ports? i'm kinda stumped myself. -pete Robert Huff Section ServerLayout Identifier XFree86 Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section Files RgbPath /usr/X11R6/lib/X11/rgb ModulePath /usr/X11R6/lib/modules FontPath /usr/X11R6/lib/X11/fonts/100dpi/ FontPath /usr/X11R6/lib/X11/fonts/75dpi/ FontPath /usr/X11R6/lib/X11/fonts/misc/ FontPath /usr/X11R6/lib/X11/fonts/Type1/ FontPath /usr/X11R6/lib/X11/fonts/freefont/ FontPath /usr/X11R6/lib/X11/fonts/nucleus/ FontPath /usr/X11R6/lib/X11/fonts/local/ FontPath /usr/X11R6/lib/X11/fonts/webfonts/ FontPath /usr/X11R6/lib/X11/fonts/code2000/ FontPath /usr/X11R6/lib/X11/fonts/chinese/ukai FontPath /usr/X11R6/lib/X11/fonts/chinese/uming FontPath /usr/X11R6/lib/X11/fonts/chinese/urwfonts-ttf FontPath /usr/X11R6/lib/X11/fonts/chinese/wqy FontPath/usr/X11R6/lib/X11/fonts/local Fontpath/usr/X11R6/lib/X11/fonts/ae_fonts1/AAHS FontPath/usr/X11R6/lib/X11/fonts/ae_fonts1/AGA FontPath/usr/X11R6/lib/X11/fonts/ae_fonts1/FS FontPath/usr/X11R6/lib/X11/fonts/ae_fonts1/Kasr FontPath/usr/X11R6/lib/X11/fonts/ae_fonts1/MCS FontPath/usr/X11R6/lib/X11/fonts/ae_fonts1/Shmookh FontPath/usr/X11R6/lib/X11/fonts/ae_fonts_mono FontPath /usr/X11R6/lib/X11/fonts/Windows FontPath /usr/X11R6/lib/X11/fonts/scifi FontPath /usr/local/share/ghostscript/fonts EndSection Section Module Load extmod Load glx Load dri Load dbe Load record Load xtrap Load type1 Load freetype EndSection Section InputDevice Identifier Keyboard0 Driver keyboard Option XkbRules xfree86 Option XkbModel pc101 Option XkbLayout us EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Device /dev/sysmouse Option Protocol auto Option ZAxisMapping 4 5 EndSection Section Monitor Identifier Monitor0 VendorName PGS ModelNameEO750 HorizSync30.0 - 90.0 VertRefresh 50.0 - 160.0 ModeLine [EMAIL PROTECTED](VESA) 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync DisplaySize 300 225 Option DPMS EndSection Section Device ### Available Driver options are:- ### Values: i: integer, f: float, bool: True/False, ### string: String, freq: f Hz/kHz/MHz ### [arg]: arg optional #Option SWcursor # [bool] #Option HWcursor # [bool] #Option PciRetry # [bool] #Option SyncOnGreen # [bool] #Option NoAccel # [bool] #Option ShowCache # [bool] #Option Overlay # [str] #Option MGASDRAM # [bool] #Option ShadowFB # [bool] #Option UseFBDev # [bool] #Option ColorKey # i #Option SetMclk # freq #Option OverclockMem # [bool] #Option VideoKey # i #Option Rotate# [str] #Option TexturedVideo # [bool] #Option Crtc2Half # [bool] #Option Crtc2Ram # i #Option Int10 # [bool] #Option AGPMode # i #Option DigitalScreen # [bool] #Option TV# [bool] #Option TVStandard# [str] #Option CableType # [str] #Option NoHal # [bool] Option NoHal # [bool] #Option SwappedHead # [bool] #Option DRI # [bool] Identifier Card0 Driver mga VendorName Matrox BoardName MGA
Re: Need advice on Raid and FreeNas
On 7/19/06, Jim Freeze [EMAIL PROTECTED] wrote: Hi I am setting up a file server for a small office (10 computers). My first attempt at this I used FreeNas. It was easy to setup and I like that the system is dedicated. One downside of this method is that the write times are slower than I expected. I am using SATA2 drives w/ 8MB buffer on a 100MB network, but the write times I was getting was about 2.5GB per hour. I expected 5 GB in ten minutes. a better metric for us would be network throughput and disk I/O over a shorter period, like kilobit's per sec. The mother board I am using has a built in raid controller, but I have never read about anyone having warm fuzzies using a built in raid card. hmm...actually the oposite is generally true. what motherboard are you using, and what is the RAID controller chipset? I assume I could use a hardware raid with FreeNas and have it setup the CIFS and NFS systems. It is also nice to be able to boot from a USB drive. Another downside is that it is not easy to build and install scripts onto a FreeNas system. I'd hit the FreeNAS list regarding questions about scripting and configuration. Can someone tell me if I am heading down the wrong path using FreeNas? Should I just use a hardware raid and install FBSD so I have access to the ports and and configure samba and nfs manually? it really depends on how you would like to admin it. some folks prefer using a full FreeBSD RELEASE, others seem to prefer FreeNAS. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Does anyone run VNC with 64-bit FreeBSD (amd64)?
On 6/22/06, Greg Lane [EMAIL PROTECTED] wrote: On Thu, Jun 22, 2006 at 03:06:46PM -0700, pete wright [EMAIL PROTECTED] wrote: Did you try to build/install a 32bit version of VNC? Thanks for the suggestion. I thought about doing that, but there is still other essential software that is not 64-bit clean and our entire group needs this machine back up ASAP since currently we are sitting on our hands doing nothing till I get it back up. If I had a spare machine I could potentially spend some time getting this sorted. But we don't have a spare machine, we don't have any money to buy one, there is only me to fix it, and I have to get some real work done the usual story. hmm, so there is no way to run the app's which are not 64bit clean in 32bit mode in your environment? Also, if you are running a Unix like OS why use VNC? You can achive %90 of the same features (with less of a memory/cpu impact) by running X apps remotely. What about the other 10%? We use VNC because it saves state for those of my users who work from multiple locations, at home, at work and some are even based overseas. They don't want to restart up to 20 windows every time they logon. Remote access in this form is essential for their productivity. screen? /usr/port/sysutils/screen I hope this is taken as friendly advice to save you work -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Does anyone run VNC with 64-bit FreeBSD (amd64)?
On 6/22/06, Greg Lane [EMAIL PROTECTED] wrote: On Thu, Jun 22, 2006 at 04:04:34PM +0300, Alex Savovski [EMAIL PROTECTED] wro I have the same ,problem,But I have never run on other version,I use RELENG_6_1, AMD64 On Thu, Jun 22, 2006 at 11:29:15AM -0500, Jonathan Fosburgh [EMAIL PROTECTED] wrote: VNC (tightvnc included) as well as NXWindows (IMHO, much better than VNC) are based on old versions of XFree86 that don't support AMD64. I have had some success running the i386 package of tightvnc and starting only twm from the xstartup script. Some applications (just about anything using gtk) crash the VNC server, and some (KDE) work all right. YMMV. I have tried to make NXWindows work on amd64 but there is just too much patching that needs to be done for my meager skills. Thanks for the info. I had figured something like this. I installed the 64-bit system anticipating a future memory upgrade from the current 4GB to 8GB. However, VNC is essential for various members of my group, as is ports/devel/root (which doesn't compile on amd64) and there is some of our own (also essential) custom software which is not 64-bit clean. Since this holds up a number of people from their work and my patching skills are VERY meager, I will have to roll back to the 32-bit OS. Did you try to build/install a 32bit version of VNC? Also, if you are running a Unix like OS why use VNC? You can achive %90 of the same features (with less of a memory/cpu impact) by running X apps remotely. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Verizon Wireless PC5740 on FreeBSD?
On 6/14/06, YTResearch [EMAIL PROTECTED] wrote: Has anyone been successful with using Verizon Wireless on FreeBSD. I have read where the PC5740 card has been successfully used on Linux claiming 160mbps with a ohci-hcd module. If that's true, I was thinking this should be possible on FreeBSD. I have a mix of Darwin and FreeBSD and it seems more likely that FreeBSD would be the better bet since the linux module might run as is. Hate to put the money out and find out differently. Has anyone tried this? I have a bit of experience running these cards on OSX (10.4) and was impressed. The basic connection procedure (via the Verizon GUI) is to load the driver to the card, bring up a ppp interface which authenticates with the Verizon service (I assume that this a basic ppp authentication script). IP, routing, dns is doled out to the host after auth. i would suspect that authentication is tied to a uniq ID based on the card (probably not the MAC address from what I could tell though). You may need a compatible device to unlock the card intitally (Mac or NT). I will be getting some more of these in soon and hopefully wil have time to test them out on my 6.1 laptop -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Error in logs
On 6/13/06, Josh Paetzel [EMAIL PROTECTED] wrote: This morning my kernel.log is full of the following messages (about 300 of them) kernel: pid 44 (softdepflush), uid 0 inumber 9114634 on /var: bad block kernel: bad block 3478527437627865156, ino 9114634 This looks like a hardware issue to me but I'd like a second opinion. looks like you may have a bad disk there. i'd backup ASAP and try fsck'ing your drive. if that fails maybe it's time for a new drive. -pete -- Thanks, Josh Paetzel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hardware raid suggestions
On 6/12/06, Philip M. Gollucci [EMAIL PROTECTED] wrote: Nikolas Britton wrote: On 6/12/06, Philip M. Gollucci [EMAIL PROTECTED] wrote: Hi, I've got a dell power edge 600sc. (I realize thats getting old) I'm running FreeBSD 6.1-release. I'm looking for suggestions for a good raid setup both controls and disks. I'd like to use hardware raid and not software. I'm more interested in the performance from raid then the redundancy. Its mainly if not exclusively going to be used for compilations of software ASF software. Ideally, I'd like to NFS mount its disk on my desktop over a local gigabit lan. Any pointers appreciated. I'm willing spend up to about $1,000. How much space do you want? 500GB-1TB is probably way more then I need, but I won't complain. I think 250GB should be good. I have had good luck with LSI RAID cards (hardware reliability wise). You may want to check the archives for fully supported, non-GIANT locked cards. From a performance perspective I would invest in a card with ample onboard ram 128megs or greater, and investigate getting a BBU unit for the card as well. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Java applets asking for plugin in firefox
On 4/19/06, Gautham Ganapathy [EMAIL PROTECTED] wrote: Hi, I have jdk 1.5 built and installed on my system running 6.0-rel. However, when I open a page containing an applet in firefox, i get a message saying 'Additional plugins are required to display all the media on this page'. o found a similar reports on the net, but no solutions. anyone know how to get applets working in bsd? assuming you are running a native firefox build (and not linux-firefox) you should have this file: /usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so that should happen when you install the package or port. this is the case with the diable-jre-1.5 package for sure. also check the output of about:plugins in your URL bar in firefox to see if it's getting registered. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE + GNOME?
On 4/19/06, Duane Whitty [EMAIL PROTECTED] wrote: Duane Whitty wrote: Hello everyone, I'm contemplating installing GNOME . I am currently using KDE. Does anyone know of any issues I should be aware of before I proceed. I'm mostly concerned about dependency issues, especially wtih respect to the xorg clients and firefox. Essentially I would like to be able to choose which environment I am going to run on a per-session basis. Any hints, pointer, RTFMs, would be greatly appreciated. Sincerely, Duane Whitty Perhaps I should be more clear. Is there anyone reading who currently has KDE 3.5.x and GNOME 2.12.x installed concurrently on their systems? Did you experience installation problems with respect to dependencies? Are you able to choose between running KDE and GNOME as simply as by running startkde or startgnome (or whatever the start gnome command is)? I have this same setup (plus xfce4/fvwm2) and have no problems. Been doing it for a while via both ports and packages and they work like a charm. i'd suggest using packages, unless you have time to build everything from scratch. so yea, i can happily report no issues going this route. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: booting problems
On 4/19/06, boy red [EMAIL PROTECTED] wrote: i have so far installed freeBSD OS and set up the accounts but im having some problems. it just takes me 2 a black DOS type screen and i dont know how 2 get in. by getting in i mean that it doesnt take me to the place where i actually start using the computer. please help. Welcome to the wonderful world of FreeBSD and Unix! This is the best place to start learning about your newly installed OS: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gmail vs FreeBSD
On 4/16/06, Igor Robul [EMAIL PROTECTED] wrote: On Sun, Apr 16, 2006 at 02:11:06PM +0100, Richard Collyer wrote: Andrew Pantyukhin wrote: If your running FreeBSD just get a qmail server on the go and slap squirrelmail on there for web based mail. Not everybody in the world has 24/7 computer with direct connect to Internet. There are at least 3 reasons: 1) Too noisy. Not everyone has big house 2) Too expensive. I pay for Ethernet based connection $30, but it is not techicaly possible in every Russian house. 3) Some other reason :-) i'd suggest getting an SDF account as a backup atleast. and heck, if you pony up ~$20 (us) you get a lifetime NetBSD shell. Not too bad IMHO. -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gmail vs FreeBSD
On 4/18/06, pete wright [EMAIL PROTECTED] wrote: On 4/16/06, Igor Robul [EMAIL PROTECTED] wrote: On Sun, Apr 16, 2006 at 02:11:06PM +0100, Richard Collyer wrote: Andrew Pantyukhin wrote: If your running FreeBSD just get a qmail server on the go and slap squirrelmail on there for web based mail. Not everybody in the world has 24/7 computer with direct connect to Internet. There are at least 3 reasons: 1) Too noisy. Not everyone has big house 2) Too expensive. I pay for Ethernet based connection $30, but it is not techicaly possible in every Russian house. 3) Some other reason :-) i'd suggest getting an SDF account as a backup atleast. and heck, if you pony up ~$20 (us) you get a lifetime NetBSD shell. Not too bad IMHO. -p slapping head http://sdf.lonestar.org/ -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: clustering question.......
On 4/18/06, Wright Jim Contr 14MDSS/SGSI [EMAIL PROTECTED] wrote: Hallo ! I'm sure there is some info on this, but I can't seem to find it. I guess what I'm looking for is the FreeBSD Clustering for Dummies guide. I am fairly comfortable with FreeBSD itself, but clustering is still new to me. Any simple suggestions are greatly appreciated as well as pointing me to somewhere else on the Web, etc. Please use small words.=0) clustering is a pretty broad topic. you may find it more helpfull to first define the issue you are facing at hand. would you like to create a farm of servers running httpd for example? or maybe you would like to string a bunch of computers together to crunch data sets. in any event, if you define to us exactly what you are trying to accomplish we should be able to help more. HTH. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: clustering question.......
On 4/18/06, Charles Swiger [EMAIL PROTECTED] wrote: On Apr 18, 2006, at 12:05 PM, Wright Jim Contr 14MDSS/SGSI wrote: Hallo ! I'm sure there is some info on this, but I can't seem to find it. I guess what I'm looking for is the FreeBSD Clustering for Dummies guide. Dummies aren't qualified to set up a cluster, I'm afraid. You should start by determining what services the system needs to provide, what kind of reliability and uptime is desired, and what the budget is for hardware and software. If the budget is less than mid 5-digits (compare to low-to-mid 6-digits if doing Windows, say a clustered SQLServer solution), you aren't going to be able to configure a true cluster [1] with no single point of failure. i'd say that figure may be a little high, but i agree with your sentiment. you could easily create a web server cluster by putting your httpd nodes behind a software load balancer (a BSD box running PF/CARP or somesuch solution), and you would have created a cluster of web servers that will provide you with a reasonable amount of redundancy. this will provide one form of clustering. granted, this is just one type of clustering computers together - which is much differnet than say building a farm of machines to compute data in unison. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Free BSD Mirror
On 4/8/06, Jim Gonzalez [EMAIL PROTECTED] wrote: Hello, I am interested in donating a server and bandwidth for a freebsd mirror site. Can some one help me with this request. If you have any questions please call 443-807-8076 that's great! please read this documentation first, it should help you get started with this process: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/hubs/index.html -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: system monitors and SMP on FreeBSD
On 3/30/06, Marco Beishuizen [EMAIL PROTECTED] wrote: Hi, Is there a system monitor for freebsd that supports SMP? I've tried some (gkrellm, xosview, xsysinfo) but they all show only one cpu. Or is there a way to enable SMP in these monitors? if you have an SMP kernel, and multiple CPU's systat will should show load on a per-cpu basis. xosview should as well, although i'm not sure how you compiled/installed it. -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Script to lock the state of my MP3 files
On 1/13/06, Kristian Vaaf [EMAIL PROTECTED] wrote: Hello! I use this script to generate simple verification files (SFV) and MP3 playlist files (M3U) based on the info file (NFO) that I create for every album that I digitalize. If this is an album: ./dj_antoine-arabian_adventure-sessp010-vinyl-2005: 00-dj_antoine-arabian_adventure-sessp010-vinyl-2005.nfo 00-dj_antoine-arabian_adventure-sessp010-vinyl-2005-cover.jpg a1-dj_antoine-arabian_adventure_2-original_mix.mp3 b1-dj_antoine-arabian_adventure_2-chriss_ortega_and_thomas_gold_vocal_mix.mp3 b2-dj_antoine-arabian_adventure_2-chriss_ortega_and_thomas_gold_dub_mix.mp3 Then the script makes it into: ./dj_antoine-arabian_adventure-sessp010-vinyl-2005: 00-dj_antoine-arabian_adventure-sessp010-vinyl-2005.m3u 00-dj_antoine-arabian_adventure-sessp010-vinyl-2005.nfo 00-dj_antoine-arabian_adventure-sessp010-vinyl-2005.sfv 00-dj_antoine-arabian_adventure-sessp010-vinyl-2005-cover.jpg a1-dj_antoine-arabian_adventure_2-original_mix.mp3 b1-dj_antoine-arabian_adventure_2-chriss_ortega_and_thomas_gold_vocal_mix.mp3 b2-dj_antoine-arabian_adventure_2-chriss_ortega_and_thomas_gold_dub_mix.mp3 My script is made for regular sh though. If it were to be bashed -- how would it look like? should be the same syntax for sh and bash as bash is a decendant of sh. i would keep the #! line /bin/sh as this will make the script more portable. -pete #!/bin/sh # # Generate SFV and M3U files for MP3 albums. # $URBAN: mp3_archive.sh,v 1.0 2005/10/24 15:09:05 vaaf Exp $ # for file in `find $(pwd) -name \*.nfo`; do directory=`dirname ${file}` prefix=`basename ${file} | sed 's/.nfo//g'` current=`basename ${directory}` sfv=${directory}/${prefix}.sfv m3u=${directory}/${prefix}.m3u cd ${directory} rm -f *.sfv; rm -f *.m3u touch ${sfv}; cfv -Cq *.mp3 cat ${current}.sfv | awk '! /^;/' ${sfv} rm -f ${current}.sfv for mp3 in *.mp3; do echo ${mp3} ${m3u}; done echo $current: Done done Thanks guys, Kristian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Projects List page
On 12/10/05, Erik Nørgaard [EMAIL PROTECTED] wrote: pete wright wrote: Saw the newly posted list of projects that need volunteers. One project in particular caught my eye: http://www.freebsd.org/projects/ideas/#p-pxeinstaller (FreeBSD PXE Install support) I do not see an email contact regarding this, has anyone started working something like this? In the bottom is a list of people associated with a group of projects, so I guess you can write to one of them and ask and/or volunteer. saw that, but did not see an obvious contact, unless this is related to rel. NGin anyevent I guess I'll just keep working on what I use on my cluster and keep an eye open for any traffic -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Projects List page
Saw the newly posted list of projects that need volunteers. One project in particular caught my eye: http://www.freebsd.org/projects/ideas/#p-pxeinstaller (FreeBSD PXE Install support) I do not see an email contact regarding this, has anyone started working something like this? -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual dvi on FreeBSD
On 10/28/05, Kep Woof [EMAIL PROTECTED] wrote: Hi Guys, I've just bought a pair of TFT screens and wanted to connect them to my FreeBSD box via their DVI connectors. I've been searching with google and the list archives, and it seems that the NVidia stuff doesn't dual head and that ATI are rather unhelpful with regard to drivers. I found the project to write drivers for the x800 series cards, but they look very less than ready. I'm currently running on i386, but will be building a big amd64 workstation shortly. These boards seem to use PCI express, and I was wondering how well supported is that? What about SLI? Is anyone running an amd64 system with dual dvi tft's? Are there any dual dvi cards supported ? Anyone running with two dvi cards? Any suggestions would be extremely helpful, Which Nvidia drivers are you checking out? The propritary Nvidia drivers defiantly do Daullink DVI. You will obviously need to set it up properly in xorg.conf. Can't comment on the ati cards, but they should defiantly handle dual DVI out as well. I'd also check out Xorg's Xinimera (spelling?) extensions... -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: setting up X -- under VMWare?
On 10/24/05, N.J. Thomas [EMAIL PROTECTED] wrote: I'm setting up X on a FreeBSD 4.11 machine. I've done that before, but this is the first time I'm doing it inside a VMWare virtual machine. What monitor/video card parameters should I supply for XFree86-4 configuration? That of my real monitor/video card or some virtual VMWare one? VMware exports a virtual video device if I remember correctly. I'd try running xf86cfg to see if it recognizes it...who know's you'll get lucky ;) otherwise it .ko should be located in /kernel/modules. -pete thanks, Thomas -- N.J. Thomas [EMAIL PROTECTED] Etiamsi occiderit me, in ipso sperabo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- ~~o0OO0o~~ Pete Wright www.nycbug.org http://www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: setting up X -- under VMWare?
On 10/24/05, dick hoogendijk [EMAIL PROTECTED] wrote: On Mon, 24 Oct 2005 12:45:39 -0400 N.J. Thomas [EMAIL PROTECTED] wrote: I'm setting up X on a FreeBSD 4.11 machine. I've done that before, but this is the first time I'm doing it inside a VMWare virtual machine. What monitor/video card parameters should I supply for XFree86-4 configuration? That of my real monitor/video card or some virtual VMWare one? What I always do is run a knoppix live CD under vmware. The generated Xorg.conf is absolutely great. Write is down (or save it somewhere; put it into /etc/X11 on your freebsd virtual machine and all's well. err except that I think the default X server for 4.x is still XF86 not x.orghttp://x.org. The conf's should be mostly portable, but a few issues may pop up. -p -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- ~~o0OO0o~~ Pete Wright www.nycbug.org http://www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nagios Client on FreeBSD 5.4
On 10/20/05, Mike Woods [EMAIL PROTECTED] wrote: Deepak Naidu wrote: If I want to monitor load, disk space, http etc service I have install entire nagios package or nagios-statsd, or plugins ? SMTP, http imap etc can all be monitored over the internet by the nagios box since the check plugins for those are tcp/ip based, things like disk space will require the nrpe setup (or one of the equivilent) which only needs the plugins, I use nagios and nrpe extensivley to monitor our rack at redbus, network services are just another service definition, checks for disk access call the nrpe check command on the nagios server which connects to the nrpe service on the remote machine which in turn runs the nagios check plugin and returns the results to the nagios server! Basicly you'll need the nrpe package and the nagios plugins package but since the nagios plugins are a dependancy of the nrpe port all you'll need to install yourself is the nrpe package (assuming you're using ports), you'll also need to install the nrpe package on the linux box in order to get the check command for nagios! You can also monitor disk load and activity via net-snmp. I use net-snmp to monitor large networks of heterogenous hardware and OS's (*BSD/Linux/IRIX/Solaris/etc..) along side nagios. Granted SNMP may not be a viable protocol to use on the public internet... -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org http://www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Password
On 10/4/05, sulie halim [EMAIL PROTECTED] wrote: Hi there, i am new to freebsd, and now working as an administrator of my college system, which using freebsd. my question is, if i have 50 users in the systems, how can i view all their usernames and passwords? this because i always have problems of them forgot thier passwords, and they can't log in to the systems. until now, what i did was, delete their usernames, and create new ones because i didn't know what their passwords either. so any other alternative? help me. Thanks. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html specifically: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/users.html -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org http://www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting UFS under Linux
On 9/18/05, Eugene M. Minkovskii [EMAIL PROTECTED] wrote: Hello, please tell me, how can I (if I can) mount UFS2 partition under Linux (I install gentoo Linux 2005.1). I'd start by asking a Linux mailing list, I guess gentoo as that is the OS you need support for. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org http://www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD vs. window managers
On 9/2/05, hal [EMAIL PROTECTED] wrote: For FreeBSD 5.4 what is the: default window manager? FreeBSD does not neccessarially install X windows by default, and hence does not have a default window manager like say RedHat which has developed thier own cross of gnome and kde. When you install x.org http://x.org I belive it will install twm as a default WM. developer recommended window manager? easiest to install? I would try using packages to install window managers while checking things out. You really do not gain that much by installiing things like this from ports performance wise (that is unless you are using aggressive compile time optimizations or passing non-standard variables to configure), once you find what WM you find most usable you can always remove the packages and install your windowmanger of choice from ports. -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org http://www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: help please
On 5/23/05, Paul B. [EMAIL PROTECTED] wrote: Hi, I just installed freebsd (may 23, 2005) and when i start up my pc it goes to a text screen (which i know it is s'posed to do) but how do you go to the graphics side of freebsd where it looks like (this is a bad example) windows and you can click on things? I am running i386 5.4 release Sincerely, Paul [EMAIL PROTECTED] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual monitors - right one doesn't work right away
On 5/20/05, Paul Schmehl [EMAIL PROTECTED] wrote: I just installed 5.4 RELEASE, cvsup'd the ports and portupgraded everything to current. I'm using one ATI Radeon X300 card and two monitors with Xinerama. When I first login, only the left screen displays its half of the desktop. (I'm using gdm and gnome, but xdm with twm does the exact same thing.) After a while (30 minutes or more) the right monitor will begin displaying its half of the desktop. I've been hunting through the logs and googling trying to figure out what the cause is, but so far I'm stumped. This is a copy of the most recent display log (but they all look about the same.) I'd post a copy of your xorg.conf file. The info bellow states that it can not detect the monitor, but with out the config we can't tell if it's a problem with your setup or a hardware issue. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GimpShop and FreeBSD
On 5/17/05, Frank Staals [EMAIL PROTECTED] wrote: Hey, I'm tring to install GimpShop on my FreeBSD laptop ( 5.3 ) but when I run configure this happens: Not sure about GimpShop, although gimp is available in the ports collection. Check out /usr/ports/graphics/gimp. You should be able to tweak what parts of the package you want installed by looking at the Makefile. I personally would keep TIFF support, it is a decent image format for high resolution images and is quite portable accross platforms. HTH -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE INSALL
On 5/17/05, jean-paul natola [EMAIL PROTECTED] wrote: Hi everyone, I'm new to freebsd and you have seen my previous post I do apologize, but appraretnly I am unable post from my work email-hence the hotmail address now. I ran make install clean for kde and after 4 days i *think* I'm almost done,, I am now at a promt for GNU ghostscript drivers and have NO CLUE as to what to select , my purpose for the FREEBSD install is to run mailscanner , what should I select , if any, for the GNU ghostscritp driver selection. It's a bit late butif you are going to be using this box a mailscanner I would not suggest running KDE or X windows at all on this box. It will wate resources at best and open up more security issues that you will have to track in the long run. Most people prefer just install the base system along with the specific software for the task at hand for most servers (in your case which ever mail filtering software you will be using). The joy of unix is being able to admin. boxen remotely via ssh very easily, so there is really no need for a full blow gui on a server. for more info on setting up a mail scanner under FreeBSD I would read the online documentation carefully. I will really help you out in the long run: http://www.freebsd.org/docs.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html Please excuse my ignorance as this the first time I am installing Freebsd np welcome :) Thanks PS ; any reason I would be unable to post from legitimate work email? not sure with out more info, although willing to be there is an issue with your corporate MTA. -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: X-terminal Issues.
On 5/16/05, Ben Forson [EMAIL PROTECTED] wrote: Hello , My name is Ben and I use FreeBSD v5.0. The problem is , I can't get my X-term to work.Whenever I StartX I get an error message stating ,XF86Config file fail to open.I have checked my video card details over and over again and still get the same results. I've de-installed and re-installed the software ,but no improvement.Every other thing works fine except any application that requires some form of graphics and I get this same error message. what is the error message, you should probably post it to the list. from what you have said it looks like either the user that is starting X does not have permission to read the X config file or it does not exist. I would read the section on configuring X in the freebsd handbook which is available online at the freebsd.org website. if you are still having problems getting it to work i would post detailed error messages to the list. WHAT SHOULD I DO ?. (no need to scream, we are here to help ;) -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bittorrent client
On 5/13/05, Paulo Roberto [EMAIL PROTECTED] wrote: Hello, Any suggestions? I have been using ctorrent, but I am getting a lot of files it shows that it has downloaded 100%, but if I start it again (to seed) it was fully completed. why not use bram's own bittorrent code, it's written in python and is in the port's tree to boot: /usr/ports/net/py-bittorrent -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]