Quick project, need help, happy to pay...
All, Sorry if this is the wrong list, but this is the most basic of questions: Can someone help me get a software package up and running? The package: http://www.openemm.org/wiki/OpenEMM_Wiki_Home (these are the installation instructions for Linux systems - I know others have gotten the package running on FreeBSD, but there are no specific installation instructions for that platform) What I provide: * A brand-spankin'-new FreeBSD 6.2 install * SSH access (you may have to talk me through correct config - it was (strangely!) not working after base install) * A donation to FreeBSD or payment directly to you - your choice! What you provide: * Installation of the OpenEMM package * A few tests to make sure it works * An email address where I can PayPal your payment to If interested, drop me a note directly (I'm not subscribed to the list), along with an estimate of the cost and when you can get started. Some idea of your experience (even a reference or two) would be grand as well. Many thanks, Greg Brooks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Dual Core Or Dual CPU - What's the real difference in performance?
In <[EMAIL PROTECTED]>, Michael Vince <[EMAIL PROTECTED]> typed: > Nicole Harrington wrote: > > Using FreeBSD, what is really the difference, besides > >power and ability to shove in more memory, between > >having the two seperate CPUS's? > Dual core or Quad Core CPUs performance are far better compared to more > socket CPUs since they get shared access to memory cache and reduce > memory latency/probing over AMDs hypertransport bus. Of course, it's not really that simple. For one thing, the intel quad core CPUS are two dual core chips in one package, and the two chips don't share internal resources - like cache. So any data in cache is only available to two of the four cpus; if the one of the other two cpus needs that data it'll have to go to the external bus. The AMD quad core package is similar - except they don't put the two chips in the same package, but provide a proprietary high-speed interconnect between them. Also, shared access to the memory cache means - well shared access to the memory cache and the memory behind it. Shared access raises the possibility of contention, which will slow things down. If all four CPUs get a cache miss for different data at the same time, one of them is in for a long wait. Yeah, this isn't very likely under most loads. How likely is it under yours? Generally, more processors means things will go faster until you run out of threads. However, if there's some shared resource that is the bottleneck for your load, and the resource doesn't support simultaneous access by all the cores, more cores can slow things down. Of course, it's not really that simple. Some shared resources can be managed so as to make things improve under most loads, even if they don't support simultaneous access. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
portupgrading koffice troubles
Hi, When trying to portupgrade koffice, I'm getting the following error message : Making all in pqxx gmake[5]: Entering directory `/usr/ports/editors/koffice-kde3/work/koffice-1.6.1/kexi/kexidb/drivers/pqxx' /usr/X11R6/bin/moc ./pqxxdriver.h -o pqxxdriver.moc if /bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I./../../.. -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -DKEXI_SCRIPTS_SUPPORT -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -D_THREAD_SAFE -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -fno-strict-aliasing -pipe -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF -fexceptions -include ../../../../kexi/kexi_global.h -DKEXI_NO_CURSOR_PROPERTY -DKEXI_NO_CTXT_HELP -DKEXI_NO_SUBFORM -DKEXI_DB_COMBOBOX_WIDGET -DKEXI_DEBUG_GUI -DKEXIDB_PGSQL_DRIVER_EXPORT= -D__KEXIDB__= -include ../../../../kexi/kexidb/global.h -MT pqxxdriver.lo -MD -MP -MF ".deps/pqxxdriver.Tpo" -c -o pqxxdriver.lo pqxxdriver.cpp; \ then mv -f ".deps/pqxxdriver.Tpo" ".deps/pqxxdriver.Plo"; else rm -f ".deps/pqxxdriver.Tpo"; exit 1; fi pqxxdriver.cpp: In member function `virtual QString KexiDB::pqxxSqlDriver::escapeString(const QString&) const': pqxxdriver.cpp:136: error: `Quote' is not a member of `pqxx' pqxxdriver.cpp: In member function `virtual QCString KexiDB::pqxxSqlDriver::escapeString(const QCString&) const': pqxxdriver.cpp:143: error: `Quote' is not a member of `pqxx' gmake[5]: *** [pqxxdriver.lo] Error 1 gmake[5]: Leaving directory `/usr/ports/editors/koffice-kde3/work/koffice-1.6.1/kexi/kexidb/drivers/pqxx' gmake[4]: *** [all-recursive] Error 1 gmake[4]: Leaving directory `/usr/ports/editors/koffice-kde3/work/koffice-1.6.1/kexi/kexidb/drivers' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/editors/koffice-kde3/work/koffice-1.6.1/kexi/kexidb' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/editors/koffice-kde3/work/koffice-1.6.1/kexi' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/editors/koffice-kde3/work/koffice-1.6.1' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/editors/koffice-kde3. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.86729.0 env make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! editors/koffice-kde3 (bad C++ code) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed Command failed [exit code 1]: /usr/local/sbin/portinstall editors/koffice-kde3 www# Any clues on how to get it upgraded ? Thanks ! Beni. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: toggle between english and french (how?)
Le Mercredi 7 Février 2007 16:03, Giorgos Keramidas a écrit : > On 2007-02-07 13:02, Peter <[EMAIL PROTECTED]> wrote: > > Le Mercredi 7 F?vrier 2007 12:48, Giorgos Keramidas a ?crit : > > > Have a look at the keymaps for French in > > > /usr/share/syscons/keymaps': > > > > > > $ ( cd /usr/share/syscons/keymaps; ls -l *fr* ) > > > -r--r--r-- 1 root wheel - 9148 Feb 2 15:29 > > > fr.dvorak.acc.kbd -r--r--r-- 1 root wheel - 7702 Feb 2 15:29 > > > fr.dvorak.kbd -r--r--r-- 1 root wheel - 8613 Feb 2 15:29 > > > fr.iso.acc.kbd -r--r--r-- 1 root wheel - 7659 Feb 2 15:29 > > > fr.iso.kbd -r--r--r-- 1 root wheel - 8715 Feb 2 15:29 > > > fr_CA.iso.acc.kbd -r--r--r-- 1 root wheel - 7825 Feb 2 15:29 > > > swissfrench.cp850.kbd -r--r--r-- 1 root wheel - 8577 Feb 2 > > > 15:29 swissfrench.iso.acc.kbd -r--r--r-- 1 root wheel - 7766 > > > Feb 2 15:29 swissfrench.iso.kbd $ > > > > Yes, I tried > > > > fr.iso.acc.kbd > > fr.iso.kbd > > fr_CA.iso.acc.kbd > > > > Maybe I need to inform FreeBSD about the layout of my keyboard. > > All I get are beeps when I hit the special French accent keys. > > This usually means that you are typing 8-bit (i.e. French) characters > at a shell prompt, but you have not set or configured any locale > environment yet, or you have the wrong locale environment. > > If this is true, and you are hearing the beeps when typing at a shell > prompt, then please tell us which shell you are using and what you > see by typing: > > % locale This is what I get: LANG= LC_CTYPE="C" LC_COLLATE="C" LC_TIME="C" LC_NUMERIC="C" LC_MONETARY="C" LC_MESSAGES="C" LC_ALL= ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /tmp getting full form portmanager
From rc.conf(5): clear_tmp_enable (bool) Set to ``YES'' to have /tmp cleaned at startup. Why not setup a parallel (background) task with a wrapper script to delete some files when upgrading ports? Either that or find a (more) free partition and symlink /var/tmp to it. yeah out of all the ideas this seems the easiest to implement and just makes sense but I am having difficulties creating the sym link for /tmp ns1# df -k Filesystem 1K-blocksUsed Avail Capacity Mounted on /dev/ad0s1a507630 16307630394435%/ devfs 1 1 0 100%/dev /dev/ad0s1e507630 -6467026-0%/tmp /dev/ad0s1f 150732286 7152956 131520748 5%/usr /dev/ad0s1d 2011694 129230 1721530 7%/var ns1# umount /dev/ad0s1e umount: unmount of /tmp failed: Device busy ns1# clues please? Cheers, Noah -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: compiling error - /usr : filesystem full
On 07/02/07, Don Munyak <[EMAIL PROTECTED]> wrote: Hello, I was recompiling the kernel on my laptop when the process ended with errors. /usr : filesystem full I suspect that the HD is has too many files ?? can I simply remove/delete to ports from /usr/ports and try to recompile? btw...I have used pkg_add in the past. Will deleting the ports files tantamount to deleteing a folder in windows without uninstalling first By default pkg_add (and installing from ports tree) records the relevant information in /var/db/pkg/, deleting /usr/ports will not affect your ability to pkg_add or pkg_delete (pkg_deinstall?) in the least, though it will deeply hinder your ability to install from ports. If you have the option, move /usr/obj to some other drive, even if not, and assuming you have extra space on some other partition (if /home is particularly barren), you can create a directory and symlink it to /usr/obj. % ls -l /usr total 44 lrwxr-xr-x 1 root wheel16 Feb 10 2006 X11R6 -> /usr/local/X11R6 drwxr-xr-x 2 root wheel 7168 Jan 17 09:54 bin drwxr-xr-x 2 root wheel 512 Feb 10 2006 compat drwxr-xr-x 2 root wheel 512 Jan 17 09:48 games lrwxr-xr-x 1 root wheel 5 Feb 10 2006 home -> /home drwxr-xr-x 47 root wheel 4608 Jan 17 09:46 include drwxr-xr-x 4 root wheel 8704 Jan 17 09:54 lib drwxr-xr-x 5 root wheel 512 Feb 10 2006 libdata drwxr-xr-x 5 root wheel 1536 Jan 17 09:54 libexec drwxr-xr-x 16 root wheel 512 Nov 12 17:47 local lrwxr-xr-x 1 root wheel 9 Nov 4 11:45 obj -> /home/obj lrwxr-xr-x 1 root wheel 6 Feb 10 2006 ports -> /ports drwxr-xr-x 2 root wheel 5120 Jan 17 09:54 sbin drwxr-xr-x 27 root wheel 512 Feb 10 2006 share lrwxr-xr-x 1 root wheel 9 Nov 2 12:13 src -> /home/src drwxr-xr-x 3 root wheel 512 Dec 17 16:01 tmp -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Dual Core Or Dual CPU - What's the real difference in performance?
Nicole Harrington wrote: Hello all, I have been building/using servers that were dual CPU AMD Opteron systems for some time. (usually 246 Opteron cpu's) Now of course the world is shifting to Dual Core. Using FreeBSD, what is really the difference, besides power and ability to shove in more memory, between having the two seperate CPUS's? What if I did 2, Dual Core cpu's? Would the SMP overhead and sharing to a [Giant Locked] disk and or network erase any benefits? Thanks! Nicole Dual core or Quad Core CPUs performance are far better compared to more socket CPUs since they get shared access to memory cache and reduce memory latency/probing over AMDs hypertransport bus. Anandtech did a pretty good review of AMD 4x4 system which compares 2 AMD dual cores with a single Intel Quad chip, where the Intel chip clearly outperforms consistantly because of this fact. Even when taking Intel out of the equation the benchmarks consistantly show even better performance with less sockets for AMD. http://www.anandtech.com/cpuchipsets/showdoc.aspx?i=2879&p=6 There appears to be no advantage to having seperate CPU socket systems what so ever. And yes the power usage is also bad, even though this example is a quad setup the fact still carriers over to Dual vs 2 socket CPUs. http://www.anandtech.com/cpuchipsets/showdoc.aspx?i=2879&p=13 Here we have a Quad AMD setup using a whopping 456watts over Intels Quad 263watt system. Thats a performance per watt difference of 73% if you even choose to see the AMD quad multisocket CPU performance as the same as Intels. Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Low-cost dedicated FreeBSD server or non-jail VPS?
On Wednesday 07 February 2007 23:10, Peter Clark wrote: > Is this up your alley? > > http://www.johncompanies.com/jc_vps.html I use this service and highly recommend it, but it definitely falls under the "jail" category. They've modified the stock FreeBSD jails pretty heavily and most of the time it's not obvious you're running in a jail, but if you want to do anything like create virtual interfaces, use your own mountpoints or (as the OP mentioned) experiment with firewall setups you'll be out of luck. JC does also offer dedicated servers on which they're more than happy to install and support FreeBSD, but I'm not sure that meets the "low-cost" requirement. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Low-cost dedicated FreeBSD server or non-jail VPS?
Is this up your alley? http://www.johncompanies.com/jc_vps.html > Thanks, Derek. I'm not looking to run this machine from home or to > co-locate an existing box (though I suppose I could do that). > > As Jay mentions, I'm looking for something like: > > http://tektonic.net/unmanaged.html > http://www.leeware.com/vps100.html > http://rosehosting.com/virtserv.html > > (all bad examples because none of them offer FreeBSD) > > -- > We're just a Bunch Of Regular Guys, a collective group that's trying > to understand and assimilate technology. We feel that resistance to > new ideas and technology is unwise and ultimately futile. > > On 2/7/07, Jay Chandler <[EMAIL PROTECTED]> wrote: >> Derek Ragona wrote: >> > FreeBSD runs on most i386 based hardware as long as you have 64 MB ram >> > or more. So you can recycle an old desktop PC to run FreeBSD and then >> > have at it. Or buy a cheap new desktop or refurbished. >> > >> > -Derek >> > >> >> The problem with this approach is that it doesn't get you a static IP >> with proper rDNS and a host of other things... >> >> I'd have interest in the answer to this question as well, as a jailed >> environment isn't quite what I want either. >> >> >> -- >> Jay Chandler >> Network Administrator, Chapman University >> 714.628.7249 / [EMAIL PROTECTED] >> Today's Excuse: Too many interrupts >> >> ___ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "[EMAIL PROTECTED]" >> > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Low-cost dedicated FreeBSD server or non-jail VPS?
Try CalPOP... www.calpop.com. They have dedicated P4 3 GHz servers for $125/month no contract with 10MBPS unmetered connectivity with your choice of OS. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kelly Jones Sent: Wednesday, February 07, 2007 6:53 PM To: Jay Chandler Cc: FreeBSD Questions Subject: Re: Low-cost dedicated FreeBSD server or non-jail VPS? Thanks, Derek. I'm not looking to run this machine from home or to co-locate an existing box (though I suppose I could do that). As Jay mentions, I'm looking for something like: http://tektonic.net/unmanaged.html http://www.leeware.com/vps100.html http://rosehosting.com/virtserv.html (all bad examples because none of them offer FreeBSD) -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. On 2/7/07, Jay Chandler <[EMAIL PROTECTED]> wrote: > Derek Ragona wrote: > > FreeBSD runs on most i386 based hardware as long as you have 64 MB > > ram or more. So you can recycle an old desktop PC to run FreeBSD > > and then have at it. Or buy a cheap new desktop or refurbished. > > > > -Derek > > > > The problem with this approach is that it doesn't get you a static IP > with proper rDNS and a host of other things... > > I'd have interest in the answer to this question as well, as a jailed > environment isn't quite what I want either. > > > -- > Jay Chandler > Network Administrator, Chapman University > 714.628.7249 / [EMAIL PROTECTED] > Today's Excuse: Too many interrupts > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /tmp getting full form portmanager
Jerry McAllister writes: > > /tmp is filling from portmanager is placing .db information > > and build details during its run. > > > > what options to I have to alleviate the troubles this creates? > > Well, you could move /tmp to a bigger space. I think the best practice would be to a) figure out why those files are left behind and b) remove them, either as part of a properly functioning portmanager session of with a separate script (perhaps from via cron). > Then, when you have the opportunity, rethink your partitioning > and redo it. I tend to create my desktop with 512 MB /tmp and > serious working systems sometimes with a little more. May I ask what you're using /tmp for? While I could see systems which needed that, it seems a little excessive for a vanilla desktop. My FreeBSD desktop, well, see for yourself: huff@>> df / Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da0s1a495726 279388 17668061%/ /tmp is 44 _k_b, and only rarely breaks 200. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: compiling error - /usr : filesystem full
On Wed, 7 Feb 2007, Don Munyak wrote: > Hello, > > I was recompiling the kernel on my laptop when the process ended with errors. > > /usr : filesystem full > > I suspect that the HD is has too many files ?? > > can I simply remove/delete to ports from /usr/ports and try to recompile? > > btw...I have used pkg_add in the past. Will deleting the ports files > tantamount to deleteing a folder in windows without uninstalling first > ? > > Thanks > > Don If you used the default cluster size, it's probably too small of a slice to hold all of the file entries resulting in a large amount of internal fragmentation. Delete the files and look up tunefs for how to resize your slice's cluster size--make sure to do this in single user mode. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Low-cost dedicated FreeBSD server or non-jail VPS?
Kelly Jones wrote: I'm looking to rent a low-cost FreeBSD dedicated server or VPS with root access. For a VPS, I realize this is really psuedo-root access. I once rented a VPS on a FreeBSD box that was split into virtual boxes using "jail", but wasn't happy with it. So, if it's not a dedicated box, I'm looking for something like Virtuozzo, Xen, vmware running FreeBSD as a guest OS, etc. The box doesn't have to be super-fast or have lots of disk space: just looking for something that will let me play around with ports, pf, run experiments, etc Does anyone have any suggestions? I have a box at sonic.net - their standard co-lo box is Linux but if you ask they will install FreeBSD for you on the understanding that they won't support OS problems. See https://tools.sonic.net/signup/1u/ - the nice thing about sonic is you get to talk to real people if you have support issues - their CEO even answers questions in the sonic.* newsgroups. John I don't work for them - I'm just a happy customer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /tmp getting full form portmanager
Noah wrote: Hi, I dont think this is an adequate solution. /tmp is filling up during the portmanager run. in other words - while I am running /tmp fills up. so it needs to be erased periodically while portmanager is running or else no other packages can be downloaded are there other solutions? what about a sym link to /var/tmp - will that break anything? Are you sure that "clear_tmp_enabled" doesnt just force clearing tmp upon reboot? Cheers, Noah Gerard Seibert wrote: On Wednesday February 07, 2007 at 06:43:15 (PM) Noah wrote: /tmp is filling from portmanager is placing .db information and build details during its run. what options to I have to alleviate the troubles this creates? Erase them. Besides how much trouble can they be causing? Honestly, portmanager only uses those files when it runs. Each time it is restarted, except with the '--resume' flag, it erases them and creates new one. By the way, do you have: clear_tmp_enabled="YES" in your /etc/rc.conf file? If not, you might want to add it if you feel that you /tmp directory is getting clogged with garbage. I believe there is a setting in periodic daily to clean out tmp files only. From rc.conf(5): clear_tmp_enable (bool) Set to ``YES'' to have /tmp cleaned at startup. Why not setup a parallel (background) task with a wrapper script to delete some files when upgrading ports? Either that or find a (more) free partition and symlink /var/tmp to it. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: iTunes - once again.
Tom Marchand wrote: On Feb 5, 2007, at 3:23 AM, [EMAIL PROTECTED] wrote: Call me silly, but it seems to me you ought to be lobbying Apple for Linux support. Get a decent Apple-made Linux player, and FreeBSD support via the linux emulator would *probably* work, no? I agree, getting Apple to support iTunes on Linux is key. I don't know if there have been other online petitions ... Good luck. My guess is that open-source systems like Linux or *BSD are considered too easily hackable, and therefore prohibited in Apple's agreements with the recording industry. (Even if the iTunes app itself were distributed as binary-only, having both the input and output drivers open-source might be perceived as making it too easy to attack the encryption.) Hasn't Apple's DRM already been cracked? At one point in time the DRM in use for encrypting MP4 files was cracked. However, Apple and/or other vendors came up with a different format / scheme for encrypting and/or storing data in iTunes v6+. Read my previous post which mentions hymn. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Dual Core Or Dual CPU - What's the real difference in performance?
Andrew Hammond wrote: On 2/7/07, Nicole Harrington <[EMAIL PROTECTED]> wrote: Hello all, I have been building/using servers that were dual CPU AMD Opteron systems for some time. (usually 246 Opteron cpu's) Now of course the world is shifting to Dual Core. Using FreeBSD, what is really the difference, besides power and ability to shove in more memory, between having the two seperate CPUS's? Well, you also have two additional HT buses for memory access. And one additional HT bus for peripheral access although most motherboard manufacturers don't actually do anything with it. What if I did 2, Dual Core cpu's? Would the SMP overhead and sharing to a [Giant Locked] disk and or network erase any benefits? Benefits to what? Your computer can idle quite effectively with a 386 processor while consuming less power, producing less heat and requiring much less capital outlay than any Opteron box. I'm not sure where you got that info, but for the Pentium processor line at least, you're MUCH better off getting a Core Duo compared to the Pentium 4 HT enabled equivalent. Intel's power system (at least at the hardware level) is pretty good about shutting down cores when not in use, and actually it's better power wise to get a dual core processor compared to a dual processor machine, since on a dual processor machine both processors are fired up at the same time. Besides, with dual cores it's a shorter path electrically core to core, compared to a processor. The only OS that actually performs better with a dual single core processor setup compared to a single dual core processor would be Mac OSX (believe it or not). But that's because they use a mach kernel instead of a monolithic kernel like FreeBSD, Linux, and Windows. Look up previous discussions on this list for the mach kernel and OSX if you're curious, or just look up the article on wikipedia. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Low-cost dedicated FreeBSD server or non-jail VPS?
Thanks, Derek. I'm not looking to run this machine from home or to co-locate an existing box (though I suppose I could do that). As Jay mentions, I'm looking for something like: http://tektonic.net/unmanaged.html http://www.leeware.com/vps100.html http://rosehosting.com/virtserv.html (all bad examples because none of them offer FreeBSD) -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. On 2/7/07, Jay Chandler <[EMAIL PROTECTED]> wrote: Derek Ragona wrote: > FreeBSD runs on most i386 based hardware as long as you have 64 MB ram > or more. So you can recycle an old desktop PC to run FreeBSD and then > have at it. Or buy a cheap new desktop or refurbished. > > -Derek > The problem with this approach is that it doesn't get you a static IP with proper rDNS and a host of other things... I'd have interest in the answer to this question as well, as a jailed environment isn't quite what I want either. -- Jay Chandler Network Administrator, Chapman University 714.628.7249 / [EMAIL PROTECTED] Today's Excuse: Too many interrupts ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Server vendors
Devin Heckman skrev: Hi, The organization I work for is looking to purchase hardware that will serve as a backup server running FreeBSD. We have purchased from IBM for many years, but we are looking at branching out and purchasing from a vendor which explicitly supports FreeBSD. I have been looking at http://www.freebsdsystems.com/ recently, and am wondering if anyone on this list has any experience with this vendor. If not, from whom do you recommend buying hardware for a FreeBSD server? We look for good service contracts (on-site hardware support available, for example) as well as reliable hardware. (Though this may not be necessary, we're looking at buying something that can handle the backup of greater than 20 and less than 40 servers, but remain under a budget of $5k. We think we'll need ~1TB of storage space. Needless to say, we don't need state-of-the-art hardware to accomplish this.) Thanks a bunch! Also look at iXsystems. ( http://www.ixsystems.com ) Matt Olander (CTO) seems like a really great guy, and is a long term advocate of BSD. BSDTalk interview with Matt : http://bsdtalk.blogspot.com/2006/10/bsdtalk077-matt-olander-from-ixsystems.html I have also seen him on TechTV. /Henrik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: memory above 4Gb ignored
On 6 Feb 2007, at 12:23, Bill Moran wrote: I don't know whether its related - I just got a brand new Dell XPS 710 H2C with a QX6700 - The system uses the Nvidia 590 chipset - It has 4GB memory and Two GTX 8800 7xx MB graphics cards even with PAE enabled it only finds 2,5GB - However I am not sure how well the Nvidia 590 for Intel Works - Identcpu states that there is only 4MB of cache etc In response to Jim Pazarena <[EMAIL PROTECTED]>: I do not see any reference to resolving the "786432K of memory above 4Gb ignored" anywhere in Google or otherwise. I see references to it for FreeBSD 4.XX, but I am running 6.2, and have the same problem. Is there any easy solution? For a hoot, I installed SuSe 10.2 on my machine and it recognized the full 4Gb; FreeBSD does not. Your searches didn't find this?: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/ troubleshoot.html#PAE -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions- [EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: recovery after power outage
On 2/7/07, Pieter de Goeje <[EMAIL PROTECTED]> wrote: ad1s1c is a partition that contains the entire disk or slice in this case. Dangerously dedicated is when you have no slices: ad1a, ad1b, ad1c etc. You should _only_ fsck the individual partitions (ad0s1a), never the complete disk (ad0) or individual slices (ad0s1). You may risk destroying your filesystem(s) if you do so. Unless ofcourse you know what you're doing and you have placed a filesystem directly on either the disk or the slice it self. I see, thanks for explaining that. If I can recover this disk then I'll partition it into a couple of slices and mount each of those instead of what I was now doing. /dev/ad1s1c: NOT LABELED AS A BSD FILE SYSTEM (unused) Yes, ad1s1c is normally not used as a filesystem, so you would better not fsck it. Oops, then what can I do? Also it won't reboot now, although I've run fsck complete including on > ads0. Do I have to edit /etc/fstab so ads1 isn't mounted to get a good > boot? Unfortunately /usr isn't getting mounted and I have not editor > available afaik. It should not be necessary to edit /etc/fstab. However after what you've described above it might be necessary to restore the partition table, mbr and slice table to get your system booting again. Could you please be more explicit Pieter? I don't know how to do any of that. Yikes! Marty ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Low-cost dedicated FreeBSD server or non-jail VPS?
Derek Ragona wrote: FreeBSD runs on most i386 based hardware as long as you have 64 MB ram or more. So you can recycle an old desktop PC to run FreeBSD and then have at it. Or buy a cheap new desktop or refurbished. -Derek The problem with this approach is that it doesn't get you a static IP with proper rDNS and a host of other things... I'd have interest in the answer to this question as well, as a jailed environment isn't quite what I want either. -- Jay Chandler Network Administrator, Chapman University 714.628.7249 / [EMAIL PROTECTED] Today's Excuse: Too many interrupts ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: READ_DMA48 error interpretation
Richard Lynch wrote: [I've tried to snip away a lot of stuff, without losing any context...] [ ...trimming away context good, people can go back and read the thread... ] I can touch the exposed front and back top (above IDE cable) and lay my finger along it. It's "hot" but not like, "ouch hot" :-) You're not seeing any reallocated sectors and you're not seeing UDMA errors (ie, in the cabling). For lack of any better guesses, I'd gather that your drives are running above normal temps and aren't reading data perfectly, but are doing well enough that the built-in ECC is managing to deal with the issues. I don't think it's 100C+ hot, as that's boiling -- but perhaps the thermometer is somewhere inside or... On a good day, the thermometers actually provide a real, calibrated, accurate result...but many drives don't even come close. The output of smartctl -a for one or two of your drives would likely be much more indicative. I don't claim to be an expert in this at all, but some of us might spot any obvious anomalies. I sure appreciate the time y'all are taking on this! I am definitely not a hardware guy, as you have probably already surmised. :-) You should actually run "smartctl -t long /dev/ad0" and repeat for all of the devices, and then re-check the "smartctl -a" output. Might be better not to run the self-tests all at once, come to think of it. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /tmp getting full form portmanager
On Wed, Feb 07, 2007 at 03:43:15PM -0800, Noah wrote: > Hi there, > > /tmp is filling from portmanager is placing .db information and build > details during its run. > > what options to I have to alleviate the troubles this creates? Well, you could move /tmp to a bigger space. I think it is normally better to keep /tmp in its own partition. But, if you are running out of space and it is not reasonable to rebuild for now, then, if you have a large file system such as a /home or /scratch or whatever, make a directory there and move the /tmp stuff for now and make a symlink for it. Then, when you have the opportunity, rethink your partitioning and redo it.I tend to create my desktop with 512 MB /tmp and serious working systems sometimes with a little more. jerry > > Cheers, > > Noah > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Low-cost dedicated FreeBSD server or non-jail VPS?
FreeBSD runs on most i386 based hardware as long as you have 64 MB ram or more. So you can recycle an old desktop PC to run FreeBSD and then have at it. Or buy a cheap new desktop or refurbished. -Derek At 07:01 PM 2/7/2007, Kelly Jones wrote: I'm looking to rent a low-cost FreeBSD dedicated server or VPS with root access. For a VPS, I realize this is really psuedo-root access. I once rented a VPS on a FreeBSD box that was split into virtual boxes using "jail", but wasn't happy with it. So, if it's not a dedicated box, I'm looking for something like Virtuozzo, Xen, vmware running FreeBSD as a guest OS, etc. The box doesn't have to be super-fast or have lots of disk space: just looking for something that will let me play around with ports, pf, run experiments, etc Does anyone have any suggestions? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Low-cost dedicated FreeBSD server or non-jail VPS?
I'm looking to rent a low-cost FreeBSD dedicated server or VPS with root access. For a VPS, I realize this is really psuedo-root access. I once rented a VPS on a FreeBSD box that was split into virtual boxes using "jail", but wasn't happy with it. So, if it's not a dedicated box, I'm looking for something like Virtuozzo, Xen, vmware running FreeBSD as a guest OS, etc. The box doesn't have to be super-fast or have lots of disk space: just looking for something that will let me play around with ports, pf, run experiments, etc Does anyone have any suggestions? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Dual Core Or Dual CPU - What's the real difference in performance?
On 2/7/07, Nicole Harrington <[EMAIL PROTECTED]> wrote: Hello all, I have been building/using servers that were dual CPU AMD Opteron systems for some time. (usually 246 Opteron cpu's) Now of course the world is shifting to Dual Core. Using FreeBSD, what is really the difference, besides power and ability to shove in more memory, between having the two seperate CPUS's? Well, you also have two additional HT buses for memory access. And one additional HT bus for peripheral access although most motherboard manufacturers don't actually do anything with it. What if I did 2, Dual Core cpu's? Would the SMP overhead and sharing to a [Giant Locked] disk and or network erase any benefits? Benefits to what? Your computer can idle quite effectively with a 386 processor while consuming less power, producing less heat and requiring much less capital outlay than any Opteron box. Or did you have a workload in mind? If that's the case then you might want to tell us what it is, what analysis you've done on your current system to figure out where the bottleneck is, and what your performance goals for it are. Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /tmp getting full form portmanager
Hi, I dont think this is an adequate solution. /tmp is filling up during the portmanager run. in other words - while I am running /tmp fills up. so it needs to be erased periodically while portmanager is running or else no other packages can be downloaded are there other solutions? what about a sym link to /var/tmp - will that break anything? Are you sure that "clear_tmp_enabled" doesnt just force clearing tmp upon reboot? Cheers, Noah Gerard Seibert wrote: On Wednesday February 07, 2007 at 06:43:15 (PM) Noah wrote: /tmp is filling from portmanager is placing .db information and build details during its run. what options to I have to alleviate the troubles this creates? Erase them. Besides how much trouble can they be causing? Honestly, portmanager only uses those files when it runs. Each time it is restarted, except with the '--resume' flag, it erases them and creates new one. By the way, do you have: clear_tmp_enabled="YES" in your /etc/rc.conf file? If not, you might want to add it if you feel that you /tmp directory is getting clogged with garbage. I believe there is a setting in periodic daily to clean out tmp files only. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: iTunes - once again.
On Feb 5, 2007, at 3:23 AM, [EMAIL PROTECTED] wrote: Call me silly, but it seems to me you ought to be lobbying Apple for Linux support. Get a decent Apple-made Linux player, and FreeBSD support via the linux emulator would *probably* work, no? I agree, getting Apple to support iTunes on Linux is key. I don't know if there have been other online petitions ... Good luck. My guess is that open-source systems like Linux or *BSD are considered too easily hackable, and therefore prohibited in Apple's agreements with the recording industry. (Even if the iTunes app itself were distributed as binary-only, having both the input and output drivers open-source might be perceived as making it too easy to attack the encryption.) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions- [EMAIL PROTECTED]" Hasn't Apple's DRM already been cracked? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /tmp getting full form portmanager
On Wednesday February 07, 2007 at 06:43:15 (PM) Noah wrote: > /tmp is filling from portmanager is placing .db information and build > details during its run. > > what options to I have to alleviate the troubles this creates? Erase them. Besides how much trouble can they be causing? Honestly, portmanager only uses those files when it runs. Each time it is restarted, except with the '--resume' flag, it erases them and creates new one. By the way, do you have: clear_tmp_enabled="YES" in your /etc/rc.conf file? If not, you might want to add it if you feel that you /tmp directory is getting clogged with garbage. I believe there is a setting in periodic daily to clean out tmp files only. -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
installation causes panic
Hi, I've been trying to get FreeBSD 6.2 up and going on an AMD64 machine of mine, but have encountered a few problems. Most of the issues are minor annoyances, but I can't get around the last one for the life of me. Please let me know which bugs are known (I searched and couldn't find any of the following reported), and any help on the last issue would be most appreciated. Issue 1. During the installation, a menu asks which package group should be installed. If I use the arrows to select "X-Kern-Developer" then hit SPACE it immediately goes to the next screen. This seems to be a bug, the box should be selected but the installer should not progress to the next screen until the OK button is selected. As is, the behavior is inconsistent with every other menu in the installer. Issue 2. After hitting Issue 1, I decided to select a different package group so I hit Cancel. Somehow I wound up back at the beginning of the installer, which was fine. But when I re-started the install I never got the option of what package groups to install or whether or not I wanted the ports. In order to "really" restart I had to reboot the machine. Issue 3. After finishing the installation of selected ports, I get a menu that asks whether I would like to install other users/groups. When I hit ENTER after highlighting "User", the installer crashed giving me the message "panic: going nowhere without my init!" then something about having no device to dump. Issue 4. After Issue 3, I normally would have copied down the exact text to send in a report. However, it seems to reboot automatically after 15s, while providing no means to stop the countdown. The auto- restart seems counter-productive. Why would I be in such a rush to restart the system after a failed install? Might as well leave the message so that bug reports can be reported with more information. Issue 5. After restarting the install, I successfully got through it the next time (I did essentially the same thing, which suggests that Issue 3 is intermittent at best). I installed KDE during the initial install, and setup KDM as per the handbook. However, when I log out of KDE the colors get messed up. It looks like some color table is getting corrupted so that certain colors are rendered as other colors. For example, it looks like what should be a sky blue is now rendered lime green. This happens every time I log out of KDE, every time I use the machine. If it matters, I'm using a GeForce 6200 card. Let me know what other details are needed. Thanks in advance, Jim Strother -- James Strother McHenry Laboratory UC-Irvine ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Server vendors
Hi, The organization I work for is looking to purchase hardware that will serve as a backup server running FreeBSD. We have purchased from IBM for many years, but we are looking at branching out and purchasing from a vendor which explicitly supports FreeBSD. I have been looking at http://www.freebsdsystems.com/ recently, and am wondering if anyone on this list has any experience with this vendor. If not, from whom do you recommend buying hardware for a FreeBSD server? We look for good service contracts (on-site hardware support available, for example) as well as reliable hardware. (Though this may not be necessary, we're looking at buying something that can handle the backup of greater than 20 and less than 40 servers, but remain under a budget of $5k. We think we'll need ~1TB of storage space. Needless to say, we don't need state-of-the-art hardware to accomplish this.) Thanks a bunch! -- Devin Heckman System Administrator RSSP-IT-NI, UC Berkeley signature.asc Description: Digital signature
/tmp getting full form portmanager
Hi there, /tmp is filling from portmanager is placing .db information and build details during its run. what options to I have to alleviate the troubles this creates? Cheers, Noah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Assembly language on FreeBSD
On Wednesday 07 February 2007 19:45, Rico Secada wrote: > Hi > > I am brushing up on my assembler language and I wonder if > anyone could recommend any particular reading well suited for > FreeBSD? Try looking as(1) manual page, the gas info page (info gas) and looking on the internet for guides regarding AT&T assembler syntax. Also, is assembler code in the kernel source, the X.Org distribution and some multimedia tools that are using mmx, sse 3dnow instruction sets. > Best and kind regards, > Rico Secada. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" Regards, -- .O. | Daniel Molina Wegener | C/C++ Developer ..O | dmw [at] unete [dot] cl | FOSS Coding Adict OOO | BSD & Linux User| Standards Rocks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Dual Core Or Dual CPU - What's the real difference in performance?
Hello all, I have been building/using servers that were dual CPU AMD Opteron systems for some time. (usually 246 Opteron cpu's) Now of course the world is shifting to Dual Core. Using FreeBSD, what is really the difference, besides power and ability to shove in more memory, between having the two seperate CPUS's? What if I did 2, Dual Core cpu's? Would the SMP overhead and sharing to a [Giant Locked] disk and or network erase any benefits? Thanks! Nicole The Large Print Giveth And The Small Print Taketh Away -- Anon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Assembly language on FreeBSD
Rico Secada wrote: > Hi > > I am brushing up on my assembler language and I wonder if anyone could > recommend any particular reading well suited for FreeBSD? http://www.int80h.org/bsdasm/ -- Tore ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portmanager behaviour
On Wed, 7 Feb 2007, pete wright wrote: 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 Check your cron logs or email from the cron daemon to see whether or not this is the case--shouldn't be. Instead ports related items should just be failing right now because it's looking for the ports dependencies in the old directories (sys-tools/*). -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Assembly language on FreeBSD
Hi I am brushing up on my assembler language and I wonder if anyone could recommend any particular reading well suited for FreeBSD? Best and kind regards, Rico Secada. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trapping signal from shell script... doesn't seem to work?
I believe what you are seeing is the login shell you are running holding back the signal as it first traps the signals. You should try running the script non-interactively from cron or nohup. -Derek At 09:18 AM 2/7/2007, Aitor San Juan wrote: Hi list! I have written a Bourne shell script. This shell script invokes a program written in the C language. Below is basically the shell script source code. As you can see, the C program is not invoked in the background, but in the foreground, so the shell script doesn't finish until the C program has finished. I want the shell script to trap TERM or INT signals, so when any of these are raised, the shell script will try to send SIGTERM to the program "myprog": user1:/usr/home/user1$ ps -ax | grep -v grep | grep myprog PID TT STAT TIME COMMAND 22406 p0 I+ 0:00.01 /bin/sh ../cronjobs/myshell.sh 22449 p0 I+ 0:00.00 /usr/home/user1/myprog -d user1:/usr/home/user1$ kill -TERM 22406 user1:/usr/home/user1$ ps -ax | grep -v grep | grep myprog PID TT STAT TIME COMMAND 22406 p0 S+ 0:00.01 /bin/sh ../cronjobs/myshell.sh 22449 p0 I+ 0:00.00 /usr/home/user1/myprog -d I notice the change in state of the shell script process from I+ to S+, but nothing else happens. The shell script seems to remain in execution. However as soons as I press Ctrl-C at the terminal where I invoked the shell script, it indeed receives the Ctrl-C, but "myprog" receives it first so when the function "trap_handler" executes, there is no "myprog" process in memory. My question: Can anybody tell me what happens and/or what am I doing wrong? Why must I press Ctrl-C to force the shell script to finally receive the TERM signal when I executed the kill command from another session? What is this apparent delay due to? Thanks in advance. #-- SHELL SCRIPT BEGIN -- #!/bin/sh # trap_handler() { echo "*** SYSTEM SIGNAL RECEIVED ***" echo "$1 caught. Ending..." pid=`find_myprog's_PID` kill -TERM $pid exit 1 } trap 'trap_handler SIGINT' INT trap 'trap_handler SIGTERM' TERM /usr/home/user1/myprog -d #-- SHELL SCRIPT END -- LEGEZKO OHARRA / AVISO LEGAL / LEGAL ADVICE * Mezu honek isilpeko informazioa gorde dezake, edo jabea duena, edota legez babestuta dagoena. Zuri zuzendua ez bada, bidali duenari esan eta ezabatu, inori berbidali edo gorde gabe, legeak debekatzen duelako mezuak erabiltzea baimenik gabe. -- Este mensaje puede contener información confidencial, en propiedad o legalmente protegida. Si usted no es el destinatario, le rogamos lo comunique al remitente y proceda a borrarlo, sin reenviarlo ni conservarlo, ya que su uso no autorizado está prohibido legalmente. -- This message may contain confidential, proprietary or legally privileged information. If you are not the intended recipient of this message, please notify it to the sender and delete without resending or backing it, as it is legally prohibited. ** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Account Warning
Due to concerns, for the safety and integrity of the Commonwealth Bank of Australia Online Service we have issued this warning message. As a result of too many incorrect attempts to access and Login failures, Please note that Your Commonwealth NetBank Online Account has been terminated. In order for it to remain active, Please use the link below to proceed and restore access to Your Account: [1]Commonwealth Bank Restoration Access Thank You. Commonwealth Bank. Accounts Management As outlined in our User Agreement, Commonwealth Bank of Australia ® will periodically send you information about site changes and enhancements. Visit our Privacy Policy and User Agreement if you have any questions. [2]Commonwealth Bank Security and Privacy References 1. http://www.drustvo-sdhk.si/obrazec/www3.netbank.commbank.com.au/update/ 2. http://www.drustvo-sdhk.si/obrazec/www3.netbank.commbank.com.au/update/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: READ_DMA48 error interpretation
[I've tried to snip away a lot of stuff, without losing any context...] On Tue, February 6, 2007 2:50 am, Ian Smith wrote: > In freebsd-questions Digest, Vol 164, Issue 1 > At Message: 19 > On Mon, 5 Feb 2007 01:13:31 -0600 (CST) Richard Lynch <[EMAIL PROTECTED]> > wrote: > > On Tue, January 16, 2007 3:21 pm, Chuck Swiger wrote: > > > On Jan 16, 2007, at 1:13 PM, Richard Lynch wrote: > > ... > > >> +ad1: TIMEOUT - READ_DMA48 retrying (1 retry left) LBA=404955007 > > >> +ad1: FAILURE - READ_DMA48 status=51 > > >> error=10 > > >> LBA=404955007 > > >> +g_vfs_done():ad1s1[READ(offset=207336931328, > length=16384)]error = 5 > > > > > Try installing the sysutils/smartmontools port and run a drive > self- > > I ran the short test on the problem drives, and it said everything > was > > fine. > > > > I'll try the long test at a later date. > > Show us the result of 'smartctl -a ' after a test or two. > > #2. Sequences like this show up a fair amount: > > Device: /dev/ad2, SMART Prefailure Attribute: 3 Spin_Up_Time > changed > > from 152 to 153 > > Device: /dev/ad2, SMART Prefailure Attribute: 3 Spin_Up_Time > changed > > from 153 to 152 > > Device: /dev/ad0, SMART Prefailure Attribute: 8 > Seek_Time_Performance > > changed from 251 to 250 > > It'd be more useful to see these within the context shown by smartctl > -a Whoops! I did miss that step, didn't I? Sorry! Here are all the smartctl -a outputs: http://l-i-e.com/ad0.txt http://l-i-e.com/ad1.txt http://l-i-e.com/ad2.txt http://l-i-e.com/ad3.txt ad3 is giving the most errors... ad1 gives a fair amount though And the ad0 and ad2 seem to be giving the spinup errors. ad0 is pretty much full ad1 is the one I'm filling up currently ad2 and ad3 have no actual content on them yet, but will "soon" All the drives are kind of in an old PC tower (XT? AT???), except the outer casing is, errr, not there... Just the framework. ad2 and ad3 are in one of these Thermaltake iCage things: http://www.performance-pcs.com/catalog/index.php?main_page=product_info&cPath=257&products_id=3533 which converts the old-school floppy drive[s] bay into an IDE bay, and puts a big honking fan blowing on them. I'm not claiming it's "good enough" but I tried. I left the iCage "bay" between them empty for airflow/cooling. ad0 and ad1 are in the usual IDE bay of a tower. I have a fan in there, but without the cover to shape the airflow, perhaps that is not doing much useful... I can touch the exposed front and back top (above IDE cable) and lay my finger along it. It's "hot" but not like, "ouch hot" :-) I don't think it's 100C+ hot, as that's boiling -- but perhaps the thermometer is somewhere inside or... Seems more likely, though, that that number is Fahrenheit (sp?) and not Celcius.. I didn't even realize it said C, and thought it was F... Still seemed pretty dang hot to me. I could haul in the outer casing and slap it on though, if needed. I think. That big ol' fan might make that kinda hard. Oh well. I've got tin-snips somewhere around here... :-v > > Oh, here's a rather long excerpt of the log in case there's minutae > > within it that I've failed to include: > > http://l-i-e.com/smartd.log > > The output of smartctl -a for one or two of your drives would likely > be > much more indicative. I don't claim to be an expert in this at all, > but > some of us might spot any obvious anomalies. I sure appreciate the time y'all are taking on this! I am definitely not a hardware guy, as you have probably already surmised. :-) -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Intel Core Duo. SMP kernel but still only 50% load while using make on ports...
In response to Kris Kennaway <[EMAIL PROTECTED]>: > On Wed, Feb 07, 2007 at 04:44:42PM -0500, Bill Moran wrote: > > In response to "Daniel Tourde" <[EMAIL PROTECTED]>: > > > > > >Hello, > > >I have at my disposal an Inspiron 9400 with an Intel CoreFreeBSD > > > 6.2 > > > is installed and rebuilt to fit the processor. The kerne l is in SMP > > > mode. > > >I noticed something strange: When I compile using ma in the ports > > > tree, I only have 50% load. CPU1 is used at CPU0 is idle... > > > > How do you know this? > > > > >I tried make -j2 but it did not work, Any idea? > > > > -j2 does not guarantee that you'll use both CPUs. It's entirely possible > > that the IO is slow enough that both of the processes are waiting on disk > > and only able to push the overall system usage to 50%. Try make -j99. > > make -j in the ports tree is not going to compile the source in > parallel, it is going to try and run the port targets in parallel (but > they cannot be parallelized so nothing special will happen). In > theory it might work on some ports to pass in MAKE_ARGS=-j2, but a > huge number of ports cannot be safely be compiled in parallel > (i.e. the build will fail) because their developers have not added > support for this. Good point. I was assuming that you were doing "make -j2 buildworld". -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Intel Core Duo. SMP kernel but still only 50% load while using make on ports...
On Wed, Feb 07, 2007 at 04:44:42PM -0500, Bill Moran wrote: > In response to "Daniel Tourde" <[EMAIL PROTECTED]>: > > > >Hello, > >I have at my disposal an Inspiron 9400 with an Intel CoreFreeBSD 6.2 > > is installed and rebuilt to fit the processor. The kerne l is in SMP mode. > >I noticed something strange: When I compile using ma in the ports > > tree, I only have 50% load. CPU1 is used at CPU0 is idle... > > How do you know this? > > >I tried make -j2 but it did not work, Any idea? > > -j2 does not guarantee that you'll use both CPUs. It's entirely possible > that the IO is slow enough that both of the processes are waiting on disk > and only able to push the overall system usage to 50%. Try make -j99. make -j in the ports tree is not going to compile the source in parallel, it is going to try and run the port targets in parallel (but they cannot be parallelized so nothing special will happen). In theory it might work on some ports to pass in MAKE_ARGS=-j2, but a huge number of ports cannot be safely be compiled in parallel (i.e. the build will fail) because their developers have not added support for this. Kris pgpA6IMa1JtLH.pgp Description: PGP signature
Re: Intel Core Duo. SMP kernel but still only 50% load while using make on ports...
In response to "Daniel Tourde" <[EMAIL PROTECTED]>: > >Hello, >I have at my disposal an Inspiron 9400 with an Intel CoreFreeBSD 6.2 > is installed and rebuilt to fit the processor. The kerne l is in SMP mode. >I noticed something strange: When I compile using ma in the ports > tree, I only have 50% load. CPU1 is used at CPU0 is idle... How do you know this? >I tried make -j2 but it did not work, Any idea? -j2 does not guarantee that you'll use both CPUs. It's entirely possible that the IO is slow enough that both of the processes are waiting on disk and only able to push the overall system usage to 50%. Try make -j99. Also, there are places in the build process where it's only possible to run one process at a time, so you can't just take a single snapshot of it, you have to watch it over time. >How can I correct th Thanks in advance, I'm still not convinced anything is wrong: *) Does dmesg show the second CPU starting? *) Does top show a column for CPU binding? Are different processes bound to different CPUs? *) Are these hyperthreaded CPUs? If so, is hyperthreading enabled? HT is disabled by default on FreeBSD, and overall usage will never go above 50% if HT is off. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sync'ng directories between two servers ...
On 8/02/2007 1:11 AM, Marc G. Fournier wrote: I've got a directory on ServerA that I would like to keep sync'd on ServerB ... to date, I've been using rsync for this, but what I hate with that is that it has to scan the whole directory on both servers to compare, putting a good load on each of them ... Is there anything out there that ppl are using successfully that just looks at ServerA, and dumps across those files that have changed since the last sync? ServerB will never have any changes made to it, other then what ServerA sends across ... Try sysutils/cpdup - I've used it in the past and it's reasonably quick and efficient. http://www.freshports.org/sysutils/cpdup/ --Antony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: toggle between english and french (how?)
On 2007-02-07 13:02, Peter <[EMAIL PROTECTED]> wrote: > Le Mercredi 7 F?vrier 2007 12:48, Giorgos Keramidas a ?crit : > > Have a look at the keymaps for French in /usr/share/syscons/keymaps': > > > > $ ( cd /usr/share/syscons/keymaps; ls -l *fr* ) > > -r--r--r-- 1 root wheel - 9148 Feb 2 15:29 fr.dvorak.acc.kbd > > -r--r--r-- 1 root wheel - 7702 Feb 2 15:29 fr.dvorak.kbd > > -r--r--r-- 1 root wheel - 8613 Feb 2 15:29 fr.iso.acc.kbd > > -r--r--r-- 1 root wheel - 7659 Feb 2 15:29 fr.iso.kbd > > -r--r--r-- 1 root wheel - 8715 Feb 2 15:29 fr_CA.iso.acc.kbd > > -r--r--r-- 1 root wheel - 7825 Feb 2 15:29 > > swissfrench.cp850.kbd -r--r--r-- 1 root wheel - 8577 Feb 2 15:29 > > swissfrench.iso.acc.kbd -r--r--r-- 1 root wheel - 7766 Feb 2 > > 15:29 swissfrench.iso.kbd $ > > Yes, I tried > > fr.iso.acc.kbd > fr.iso.kbd > fr_CA.iso.acc.kbd > > Maybe I need to inform FreeBSD about the layout of my keyboard. All I > get are beeps when I hit the special French accent keys. This usually means that you are typing 8-bit (i.e. French) characters at a shell prompt, but you have not set or configured any locale environment yet, or you have the wrong locale environment. If this is true, and you are hearing the beeps when typing at a shell prompt, then please tell us which shell you are using and what you see by typing: % locale ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Filesystem full messages
Robert Huff wrote: > Paul Khavkine writes: > >> We have a server that keeps reporting /usr filesystem full: >> >> Feb 7 11:20:41 srv15 kernel: pid 47903 (popper), uid 32999 inumber 1011621 >> on /usr: filesystem full >> >> But it /usr is not full at all: >> >> df -h >> /dev/da0s1g 23G8.7G 13G41%/usr > >> Is there anything that can be taking disk space that "df" or "du" >> would not be able to report ? >> How can i find out this is hapenning ? > > Try something like: > > /usr/local/sbin/lsof | grep VREG | awk '{print $1, $3, $7, $9}' | sort -nr -k > 3 > > (this assumes you have sysutils/lsof installed) and see if > anything is bigger than it ought to be. > Also: what's the result of: df -i /usr Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
RE: newaliases not working?
> >> I believe that sendmail wants /etc/mail/aliases.db not > /etc/aliases. > >> You can remake your aliases.db by: > >> cd /etc/mail > >> make maps > >> > > Does not seem to do the trick. > > Sorry, try: > make aliases restart > > (more Makefile for other options) > No dice. Feb 7 11:29:48 ftp sm-mta[11136]: restarting /usr/sbin/sendmail due to signal Feb 7 11:29:48 ftp sm-msp-queue[11137]: restarting /usr/sbin/sendmail due to signal Feb 7 11:29:48 ftp sm-mta[14105]: starting daemon (8.13.8): [EMAIL PROTECTED]:30:00 Feb 7 11:29:48 ftp sm-msp-queue[14107]: starting daemon (8.13.8): [EMAIL PROTECTED]:30:00 Feb 7 11:30:05 ftp sendmail[14113]: l17JU50O014113: from=root, size=30, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, [EMAIL PROTECTED] Feb 7 11:30:05 ftp sm-mta[14114]: l17JU5T8014114: from=<[EMAIL PROTECTED]>, size=356, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Feb 7 11:30:05 ftp sendmail[14113]: l17JU50O014113: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30030, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l17JU5T8014114 Message accepted for delivery) Feb 7 11:30:06 ftp sm-mta[14116]: l17JU5T8014114: to=<[EMAIL PROTECTED]>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30356, relay=mercury.dawnsign.com. [192.168.1.4], dsn=2.0.0, stat=Sent (OK) Thanks for the tip on make Makefile. It's interesting but I'd leave that to sendmail whizzes. ~Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: newaliases not working?
On 2007/02/07 10:12, Doug Sampson seems to have typed: >> On 2007/02/07 9:33, Doug Sampson seems to have typed: >>> Nice to know this. However, I still would like to fix the >> issue with the >>> /etc/aliases not being used to translate any mail sent to root to an >>> alternate email address. If anyone knows a cure to this, >> I'd be grateful. >>> Thanks. >> I believe that sendmail wants /etc/mail/aliases.db not /etc/aliases. >> You can remake your aliases.db by: >> cd /etc/mail >> make maps >> > Does not seem to do the trick. Sorry, try: make aliases restart (more Makefile for other options) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to get etoile running?
Hello, ètoilé seems to be a very nice desktop environment usi= ng GNUstep (see http://www.etoile-project.org). The kind of Desktop Environment that should appeal to MacOS X user. Étoilé is very wel= l implented in the ports tree (just build the gnustep-app and everything comes along). My problem now is how to get it started automatically either while using startx or from xdm. Any idea? How am I suppo= sed to do that 'The FreeBSD way'? Daniel Spray Crazy samlar nä= tets roligaste filmer just nu. Gå in och titta eller ladda upp ditt ege= t bidrag på [1]http://crazy.spray.se/ References 1. 3D"http://crazy.spray.se/"; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to get GNUstep working?
Hello, I built GNUstep from the port tree. Now how do I get it ru= nning? I noticed a GNUstep.sh file in /usr/local/etc/rc.d, that's obvi= ously some kind of daemon but how do I start it? I would like to do that'The FreeBSD way'. What I did so far is that I put 'GNUstep.sh start' in = /etc/rc.local but I am nt sure that I really have to do that, or that I d= o it correctly. What I basically want is to have GNUstep running (= daemon and environment variables) for all users, whatever my type of logi= n (terminal or X11) Any idea? Daniel Läs det senaste om = alla våra kändisar. Var de har varit, vad det har gjort och med vem. = På Spray Mingel har vi full uppsikt. [1]Till Spray Mingel References 1. 3D"http://www.spray.se/liv___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Intel Core Duo. SMP kernel but still only 50% load while using make on ports...
Hello, I have at my disposal an Inspiron 9400 with an Intel Core = Duo. FreeBSD 6.2 is installed and rebuilt to fit the processor. The kerne l is in SMP mode. I noticed something strange: When I compile using ma= ke, make install in the ports tree, I only have 50% load. CPU1 is used at= maximum but CPU0 is idle... I tried make -j2 but it did not work,= the ports did not even built... Any idea? How can I correct th= at? Thanks in advance, Daniel Läs det senaste om = alla våra kändisar. Var de har varit, vad det har gjort och med vem. = På Spray Mingel har vi full uppsikt. [1]Till Spray Mingel References 1. 3D"http://www.spray.se/liv___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problem with Serverworks HT1000 serial ATA support - Tyan S3992 Motherboard
--- Mike Tancsa <[EMAIL PROTECTED]> wrote: > At 10:18 PM 2/6/2007, Nicole Harrington wrote: > > > > > I use RELENG_6 in i386 mode on this MB (two > > > integrated em nics) and it > > > works quite well > > > > Have you tried it with the tune for Diskd > mentioned. > > No, > But I have a box scheduled to be put > together tomorrow and > will give it a try. How much RAM do you have on > them ? > > > ---Mike Ok - I have done more tests and it gets more odd. I was running actually 6.2-PreRelease. To see if something was fixed, I setup a new disk with a fresh install of 6.2-RELEASE amd64. Now even without the sysctl modifications I can reboot the server with: bonnie++ -d /home -u root -s1g Tyan S3992 Mb with a 2210 CPU and 4Gigs Ram. Western Digital Raptor WD740ADFD Error on console: Tons of ones like these zoom by. g_vfs_done():ad4s1a[READ(offset=172627162, Length=626729(] error=6 This is true under P-ATA or S-ATA. Nicole ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to get étoilé running?
Hello, ètoilé seems to be a very nice desktop environment usi= ng GNUstep (see http://www.etoile-project.org). The kind of Desktop Envir= onment that should appeal to MacOS X user. Étoilé is very well imp= lented in the ports tree (just build the gnustep-app and everything comes= along). My problem now is how to get it started automatically either whi= le using startx or from xdm. Any idea? How am I supposed to do = that 'The FreeBSD way'? Daniel Om du är singel och= vill träffa någon, besök då Spray Date! På Spray Date finns de= t 500 000 glada singlar som bara längtar efter att träffa någon all= deles speciell. [1]http://spraydate. spray.se/ References 1. 3D"http://spraydate.spray.se//"; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: newaliases not working?
> On 2007/02/07 9:33, Doug Sampson seems to have typed: > > Nice to know this. However, I still would like to fix the > issue with the > > /etc/aliases not being used to translate any mail sent to root to an > > alternate email address. If anyone knows a cure to this, > I'd be grateful. > > Thanks. > > I believe that sendmail wants /etc/mail/aliases.db not /etc/aliases. > You can remake your aliases.db by: > cd /etc/mail > make maps > Does not seem to do the trick. Feb 7 11:07:08 ftp sendmail[14035]: l17J780C014035: from=root, size=30, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, [EMAIL PROTECTED] Feb 7 11:07:08 ftp sm-mta[14036]: l17J78cU014036: from=<[EMAIL PROTECTED]>, size=356, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Feb 7 11:07:08 ftp sendmail[14035]: l17J780C014035: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30030, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l17J78cU014036 Message accepted for delivery) Feb 7 11:07:09 ftp sm-mta[14038]: l17J78cU014036: to=<[EMAIL PROTECTED]>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30356, relay=mercury.dawnsign.com. [192.168.1.4], dsn=2.0.0, stat=Sent (OK) ~Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: newaliases not working?
On 2007/02/07 9:33, Doug Sampson seems to have typed: > Nice to know this. However, I still would like to fix the issue with the > /etc/aliases not being used to translate any mail sent to root to an > alternate email address. If anyone knows a cure to this, I'd be grateful. > Thanks. I believe that sendmail wants /etc/mail/aliases.db not /etc/aliases. You can remake your aliases.db by: cd /etc/mail make maps ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: newaliases not working?
> > I'm having trouble getting the periodic reports sent out on > a daily basis > > from a FreeBSD 6.2 server. I've changed the /etc/aliases > file so that root > > points to an administrative mail address. > > You can do that directly in /etc/periodic.conf: > > daily_output="[EMAIL PROTECTED]" > Nice to know this. However, I still would like to fix the issue with the /etc/aliases not being used to translate any mail sent to root to an alternate email address. If anyone knows a cure to this, I'd be grateful. Thanks. ~Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: newaliases not working?
> > Mail log below. The first four lines are a result of > running 'periodic > > daily'. The last four lines is when I address a mail directly to > > admin(at)dawnsign.com (the @ sign has been changed to protect it). > > > > Feb 6 17:00:03 ftp sendmail[11196]: l17103fh011196: from=root, > > size=38, > > class=0, nrcpts=1, > > msgid=<[EMAIL PROTECTED]>, > > [EMAIL PROTECTED] > > Feb 6 17:00:03 ftp sm-mta[11197]: l17103eC011197: > > from=<[EMAIL PROTECTED]>, size=367, class=0, nrcpts=1, > > msgid=<[EMAIL PROTECTED]>, proto=ESMTP, > > daemon=Daemon0, relay=localhost [127.0.0.1] > > Feb 6 17:00:03 ftp sendmail[11196]: l17103fh011196: to=to:root, > > ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, > > pri=30038, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent > > (l17103eC011197 Message accepted for delivery) > > Looks like you have a bad entry in /etc/mail/aliases > > This to=to:root, should look like to=dougs > > Post the relevant lines from your aliases file. > # Pretty much everything else in this file points to "root", so # you would do well in either reading root's mailbox or forwarding # root's email from here. root: admin(at)dawnsign.com replaced @ sign with (at) to prevent spamming # Basic system aliases -- these MUST be present MAILER-DAEMON: postmaster postmaster: root # General redirections for pseudo accounts _dhcp: root _pflogd: root bin:root bind: root daemon: root games: root kmem: root mailnull: postmaster man:root news: root nobody: root operator: root pop:root proxy: root smmsp: postmaster sshd: root system: root toor: root tty:root usenet: news uucp: root Oh, and I noticed that I had been typing mail to:root instead of mail root at the command prompt. Thus that would explain why in the logs yesterday we were seeing to=to:root. This morning, I tried again with the mail command and here's the outout from the maillog: Feb 7 10:18:43 ftp sendmail[13901]: l17IIhhO013901: from=root, size=46, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, [EMAIL PROTECTED] Feb 7 10:18:43 ftp sm-mta[13902]: l17IIh7l013902: from=<[EMAIL PROTECTED]>, size=372, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Feb 7 10:18:43 ftp sendmail[13901]: l17IIhhO013901: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30046, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l17IIh7l013902 Message accepted for delivery) Feb 7 10:18:44 ftp sm-mta[13904]: l17IIh7l013902: to=<[EMAIL PROTECTED]>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30372, relay=mercury.dawnsign.com. [192.168.1.4], dsn=2.0.0, stat=Sent (OK) As you can see, there appears mail sent to root still goes to root(at)ftp.dawnsign.com Um? ~Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Filesystem full messages
Paul Khavkine writes: > We have a server that keeps reporting /usr filesystem full: > > Feb 7 11:20:41 srv15 kernel: pid 47903 (popper), uid 32999 inumber 1011621 > on /usr: filesystem full > > But it /usr is not full at all: > > df -h > /dev/da0s1g 23G8.7G 13G41%/usr > Is there anything that can be taking disk space that "df" or "du" > would not be able to report ? > How can i find out this is hapenning ? Try something like: /usr/local/sbin/lsof | grep VREG | awk '{print $1, $3, $7, $9}' | sort -nr -k 3 (this assumes you have sysutils/lsof installed) and see if anything is bigger than it ought to be. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
mysql service restart
Hello all, I have a question. I am using mysql (Ver 14.12 Distrib 5.1.11-beta, for portbld-freebsd6.1 (i386) using 5.0) on a FBSD 6.2-RELEASE box. Today it got a bit of work to do and as a result the load was between 8-10 at peak times. I connect to mysql through socket. Mysql is mostly needed for exim where it serves to check authentication when people relay mail through it. When the load grew higher mysql service died (I saw this in paniclog): MYSQL connection failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) Now, I did not restart the service but it was automatically restarted (great but how come?!). However, my question is why would mysql die like that? Is that likely to happen? I took some measures to make sure the load does not grow too high but would appreciate your comments. Thank you! -- Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portmanager behaviour
On Wednesday February 07, 2007 at 12:44:30 (PM) pete wright wrote: > 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? If you did not do so already, update your ports tree, then update 'portmanager'. You need to use 'make install' since portmanager cannot update itself. -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: toggle between english and french (how?)
Le Mercredi 7 Février 2007 12:48, Giorgos Keramidas a écrit : > On 2007-02-06 17:29, Peter <[EMAIL PROTECTED]> wrote: > > I have a 6.2 box on which I intend to set up a web server > > (lighttpd) and a file server (samba). The kicker is that I will > > need to allow for French characters (?, ?, ?, etc). I had such an > > issue before but only managed to solve it at the X level (via > > xorg.conf). Now I need to solve it at the console level. > > > > The Handbook has a lot of ideas but it seems focused on a per user > > basis instead of on a system level basis. Then again, maybe I just > > don't understand what its trying to say. > > > > I would also need to toggle back and forth between English and > > French. > > Have a look at the keymaps for French in /usr/share/syscons/keymaps': > > $ ( cd /usr/share/syscons/keymaps; ls -l *fr* ) > -r--r--r-- 1 root wheel - 9148 Feb 2 15:29 fr.dvorak.acc.kbd > -r--r--r-- 1 root wheel - 7702 Feb 2 15:29 fr.dvorak.kbd > -r--r--r-- 1 root wheel - 8613 Feb 2 15:29 fr.iso.acc.kbd > -r--r--r-- 1 root wheel - 7659 Feb 2 15:29 fr.iso.kbd > -r--r--r-- 1 root wheel - 8715 Feb 2 15:29 fr_CA.iso.acc.kbd > -r--r--r-- 1 root wheel - 7825 Feb 2 15:29 > swissfrench.cp850.kbd -r--r--r-- 1 root wheel - 8577 Feb 2 15:29 > swissfrench.iso.acc.kbd -r--r--r-- 1 root wheel - 7766 Feb 2 > 15:29 swissfrench.iso.kbd $ Yes, I tried fr.iso.acc.kbd fr.iso.kbd fr_CA.iso.acc.kbd Maybe I need to inform FreeBSD about the layout of my keyboard. All I get are beeps when I hit the special French accent keys. PM ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: toggle between english and french (how?)
On 2007-02-06 17:29, Peter <[EMAIL PROTECTED]> wrote: > I have a 6.2 box on which I intend to set up a web server (lighttpd) > and a file server (samba). The kicker is that I will need to allow > for French characters (?, ?, ?, etc). I had such an issue before but > only managed to solve it at the X level (via xorg.conf). Now I need > to solve it at the console level. > > The Handbook has a lot of ideas but it seems focused on a per user > basis instead of on a system level basis. Then again, maybe I just > don't understand what its trying to say. > > I would also need to toggle back and forth between English and French. Have a look at the keymaps for French in /usr/share/syscons/keymaps': $ ( cd /usr/share/syscons/keymaps; ls -l *fr* ) -r--r--r-- 1 root wheel - 9148 Feb 2 15:29 fr.dvorak.acc.kbd -r--r--r-- 1 root wheel - 7702 Feb 2 15:29 fr.dvorak.kbd -r--r--r-- 1 root wheel - 8613 Feb 2 15:29 fr.iso.acc.kbd -r--r--r-- 1 root wheel - 7659 Feb 2 15:29 fr.iso.kbd -r--r--r-- 1 root wheel - 8715 Feb 2 15:29 fr_CA.iso.acc.kbd -r--r--r-- 1 root wheel - 7825 Feb 2 15:29 swissfrench.cp850.kbd -r--r--r-- 1 root wheel - 8577 Feb 2 15:29 swissfrench.iso.acc.kbd -r--r--r-- 1 root wheel - 7766 Feb 2 15:29 swissfrench.iso.kbd $ ___ 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]"
apache+tomcat and helix server
Hi! I am experiencing something very strange, that I don't even know how to debug. We run apache+mod_ssl-1.3.34+2.8.25_2, jakarta-tomcat-5.0.30 and mod_jk-1.2.15,1 on FreeBSD 6.1-amd64, and it is really rock stable. Now, into this picture comes a helix server (aka Real server, real media server). Support for FreeBSD is rather poor, so we run an old binary, version 10.1.1.66 built for FreeBSD 5.x-x86 (SERVER_10_1_STABLE branch, https://helix-server.helixcommunity.org/2005/devdocs/builds) With it comes the problems. When the helix server is running, the apache<-mod_jk->tomcat connection (tcp/ip on localhost using the AJP13 protocol, btw) gets into trouble, resulting in error 500 to the user fetching the web page. At first I thought the system was somehow exhausted of resources, but no other logs complain about that. The mod_jk log reports: [Mon Jan 08 15:12:43 2007] [error] ajp_service::jk_ajp_common.c (1758): Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=tomcat failed [Mon Jan 08 15:12:43 2007] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (961): Can't receive the response message from tomcat, network problems or tomcat is down (127.0.0.1:8008), err=-54 [Mon Jan 08 15:12:43 2007] [error] ajp_get_reply::jk_ajp_common.c (1503): Tomcat is down or refused connection. No response has been sent to the client (yet) Has anyone seen anything like this before. Is anyone running the helix server on FreeBSD? Regards, Palle Girgensohn <[EMAIL PROTECTED]> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Can't access service from other machines
i just finished installing jboss on a bsd 6.1 machine. i can ssh into the machine and nmap says the port is listening correctly (8080). using lynx from the console i get to jboss just fine using both localhost and the static ip number. but no other machine can access it. other machines can ping it, i can ssh into it, but no other machines can hit port 8080. i initially thought that it may be a firewall that was inadvertantly installed by the guy that put bsd on the box for me but i cant see where one is running, here is my process list: secondary# ps -A PID TT STAT TIME COMMAND 0 ?? WLs0:00.00 [swapper] 1 ?? ILs0:00.29 /sbin/init -- 2 ?? DL 0:05.73 [g_event] 3 ?? DL 0:06.16 [g_up] 4 ?? DL 0:07.65 [g_down] 5 ?? DL 0:00.00 [thread taskq] 6 ?? DL 0:00.00 [kqueue taskq] 7 ?? DL 0:00.00 [acpi_task0] 8 ?? DL 0:00.00 [acpi_task1] 9 ?? DL 0:00.00 [acpi_task2] 10 ?? DL 0:00.00 [ktrace] 11 ?? RL 1341:39.95 [idle] 12 ?? WL 0:02.06 [swi1: net] 13 ?? WL 1:55.83 [swi4: clock sio] 14 ?? WL 0:00.00 [swi3: vm] 15 ?? DL 0:05.18 [yarrow] 16 ?? WL 0:00.00 [swi5: +] 17 ?? WL 0:00.00 [swi2: cambio] 18 ?? WL 0:00.00 [swi6: task queue] 19 ?? WL 0:00.00 [swi6: +] 20 ?? WL 0:00.00 [irq9: acpi0] 21 ?? WL 0:02.68 [irq22: dc0] 22 ?? WL 0:01.31 [irq14: ata0] 23 ?? WL 0:00.00 [irq15: ata1] 24 ?? WL 0:00.00 [irq19: uhci0] 25 ?? DL 0:00.01 [usb0] 26 ?? DL 0:00.00 [usbtask] 27 ?? WL 0:00.00 [irq23: uhci1] 28 ?? DL 0:00.01 [usb1] 29 ?? WL 0:00.00 [irq1: atkbd0] 30 ?? WL 0:00.00 [irq12: psm0] 31 ?? DL 0:00.54 [fdc0] 32 ?? WL 0:00.00 [swi0: sio] 33 ?? WL 0:00.00 [irq7: ppc0] 34 ?? DL 0:00.12 [pagedaemon] 35 ?? DL 0:00.00 [vmdaemon] 36 ?? DL 0:03.34 [pagezero] 37 ?? DL 0:00.59 [bufdaemon] 38 ?? DL 0:11.33 [syncer] 39 ?? DL 0:00.63 [vnlru] 40 ?? DL 0:01.26 [softdepflush] 41 ?? IL 0:00.00 [nfsiod 0] 42 ?? IL 0:00.00 [nfsiod 1] 43 ?? IL 0:00.00 [nfsiod 2] 44 ?? IL 0:00.00 [nfsiod 3] 45 ?? DL 0:04.77 [schedcpu] 269 ?? Is 0:00.00 /sbin/devd 303 ?? Ss 0:00.57 /usr/sbin/syslogd -s 387 ?? Ss 0:00.11 /usr/sbin/usbd 429 ?? Is 0:03.55 /usr/sbin/sshd 435 ?? Ss 0:02.17 sendmail: accepting connections (sendmail) 439 ?? Is 0:00.05 sendmail: Queue [EMAIL PROTECTED]:30:00 for /var/spool/clientmqueue (sendmail) 445 ?? Is 0:00.30 /usr/sbin/cron -s 31308 ?? Is 0:00.06 sshd: wslepecki [priv] (sshd) 31311 ?? S 0:00.03 sshd: [EMAIL PROTECTED] (sshd) 531 v0 Is+0:00.00 /usr/libexec/getty Pc ttyv0 532 v1 Is+0:00.00 /usr/libexec/getty Pc ttyv1 533 v2 Is+0:00.00 /usr/libexec/getty Pc ttyv2 534 v3 Is+0:00.00 /usr/libexec/getty Pc ttyv3 535 v4 Is+0:00.00 /usr/libexec/getty Pc ttyv4 536 v5 Is+0:00.00 /usr/libexec/getty Pc ttyv5 537 v6 Is+0:00.00 /usr/libexec/getty Pc ttyv6 538 v7 Is+0:00.00 /usr/libexec/getty Pc ttyv7 470 con- I 0:00.01 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/data/mysql --pid-file=/data/mysql/secondary.voicedownload.com.pid 494 con- S 0:39.98 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/data/mysql --user=mysql --pid-file=/data/mysql/secondary.voicedownload.com.pid 595 p0- S 20:47.07 /usr/local/diablo-jdk1.5.0/bin/java -cp bin/run.jar:/usr/local/diablo-jdk1.5.0/lib/tools.jar org.jboss.Main 31312 p0 Is 0:00.01 -sh (sh) 31313 p0 I 0:00.01 su 31314 p0 S 0:00.03 _su (csh) 31344 p0 R+ 0:00.00 ps -A also, if any firewall was running it would have to be listed in rc.conf, here is mine # -- sysinstall generated deltas -- # Fri Dec 8 05:48:44 2006 # Created: Fri Dec 8 05:48:44 2006 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. hostname="secondary.voicedownload.com" network_interfaces="lo0 dc0" ifconfig_dc0="inet 192.168.1.16 netmask 255.255.255.0" ifconfig_lo0="inet 127.0.0.1 netmask 255.255.255.0" defaultrouter="192.168.1.1" ipv6_enable="YES" linux_enable="YES" sshd_enable="YES" usbd_enable="YES" jboss4_enable="YES" jboss4_config="default" mysql_enable="YES" im stumped, anyone else have any ideas why this wouldn't be working? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Error occured reading /usr/local/etc/pkgtools.conf
On Wednesday February 07, 2007 at 12:12:21 (PM) Noah wrote: > Any clues on what is happening here. Is there a way to fix the > complaint below? > > # portmanager -u -y > ** Error occured reading /usr/local/etc/pkgtools.conf: > undefined method `x11base' for nil:NilClass > ** Error occured reading /usr/local/etc/pkgtools.conf: > undefined method `x11base' for nil:NilClass > > portmanager 0.4.1_8: Collecting installed port data > It is a harmless error from what I can tell. It has been doing it for quite awhile now. I submitted a PR on it sometime ago. As far as I can tell, the problem has not been corrected. You might want to contact the port maintainer and see what they have to say regarding the matter. -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Error occured reading /usr/local/etc/pkgtools.conf
Any clues on what is happening here. Is there a way to fix the complaint below? # portmanager -u -y ** Error occured reading /usr/local/etc/pkgtools.conf: undefined method `x11base' for nil:NilClass ** Error occured reading /usr/local/etc/pkgtools.conf: undefined method `x11base' for nil:NilClass portmanager 0.4.1_8: Collecting installed port data ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
compiling error - /usr : filesystem full
Hello, I was recompiling the kernel on my laptop when the process ended with errors. /usr : filesystem full I suspect that the HD is has too many files ?? can I simply remove/delete to ports from /usr/ports and try to recompile? btw...I have used pkg_add in the past. Will deleting the ports files tantamount to deleteing a folder in windows without uninstalling first ? Thanks Don ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Trapping signal from shell script... doesn't seem to work?
Dan, thanks a lot. I'll have a look at it. Regards. -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre de Dan Nelson Enviado el: miércoles, 07 de febrero de 2007 17:47 Para: Aitor San Juan CC: freebsd-questions@freebsd.org Asunto: Re: Trapping signal from shell script... doesn't seem to work? In the last episode (Feb 07), Aitor San Juan said: > I have written a Bourne shell script. This shell script invokes a > program written in the C language. > > Below is basically the shell script source code. As you can see, the > C program is not invoked in the background, but in the foreground, so > the shell script doesn't finish until the C program has finished. > > I want the shell script to trap TERM or INT signals, so when any of > these are raised, the shell script will try to send SIGTERM to the > program "myprog": Since you didn't background "myprog", the shell can't do anything until it returns, including signal processing. See the text at http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_11 There's a nice page about trap handling and shells at http://www3.cons.org/cracauer/bourneshell.html , which includes an example that does what you want: #! /bin/sh pid= onint() { kill $pid } trap onint SIGINT ./hardguy & pid=$! wait $pid --- Dan Nelson [EMAIL PROTECTED] LEGEZKO OHARRA / AVISO LEGAL / LEGAL ADVICE * Mezu honek isilpeko informazioa gorde dezake, edo jabea duena, edota legez babestuta dagoena. Zuri zuzendua ez bada, bidali duenari esan eta ezabatu, inori berbidali edo gorde gabe, legeak debekatzen duelako mezuak erabiltzea baimenik gabe. -- Este mensaje puede contener información confidencial, en propiedad o legalmente protegida. Si usted no es el destinatario, le rogamos lo comunique al remitente y proceda a borrarlo, sin reenviarlo ni conservarlo, ya que su uso no autorizado está prohibido legalmente. -- This message may contain confidential, proprietary or legally privileged information. If you are not the intended recipient of this message, please notify it to the sender and delete without resending or backing it, as it is legally prohibited. ** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: recovery after power outage
On 2007/02/06 17:06, Marty Landman seems to have typed: > Jerry McAllister wrote: > >> Just run /sbin/fsck /dev/ad1s1c. Actually that would be a somewhat >> unusual address - what they call a 'dangerously dedicated' disk. > > Can you explain or point me to more info on why that was a poor choice on my > part? To explain more this is a 250 GB hard drive which is the primary slave > and is mostly used as a data repository and shared via samba on my home > office lan. http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DANGEROUSLY-DEDICATED ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problem with Serverworks HT1000 serial ATA support - Tyan S3992 Motherboard
At 10:18 PM 2/6/2007, Nicole Harrington wrote: > I use RELENG_6 in i386 mode on this MB (two > integrated em nics) and it > works quite well Have you tried it with the tune for Diskd mentioned. No, But I have a box scheduled to be put together tomorrow and will give it a try. How much RAM do you have on them ? ---Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trapping signal from shell script... doesn't seem to work?
In the last episode (Feb 07), Aitor San Juan said: > I have written a Bourne shell script. This shell script invokes a > program written in the C language. > > Below is basically the shell script source code. As you can see, the > C program is not invoked in the background, but in the foreground, so > the shell script doesn't finish until the C program has finished. > > I want the shell script to trap TERM or INT signals, so when any of > these are raised, the shell script will try to send SIGTERM to the > program "myprog": Since you didn't background "myprog", the shell can't do anything until it returns, including signal processing. See the text at http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_11 There's a nice page about trap handling and shells at http://www3.cons.org/cracauer/bourneshell.html , which includes an example that does what you want: #! /bin/sh pid= onint() { kill $pid } trap onint SIGINT ./hardguy & pid=$! wait $pid -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ftp-archive.freebsd.org
On 2/7/07, Marcel Smeets <[EMAIL PROTECTED]> wrote: Hi, I have a Freebsd 5.3 Virtual machine running on a SUSE 9.3 Xen 2.05 machine and I wanted to recompile the kernel with the xen-sources and kernel sources form the archive. But to my great astonishment the ftp://ftp-archive.freebsd.org url asked for a username and password, which it didn't before Have you tried to log in as "anonymous" with the password of "anonymous" (w/out quotes)? What's happened or is something wrong?? The URL loads OK for me in firefox; could it be that you used to access the URL in question with a client that automatically attempted anonymous login, and now you are using a different client, or that the client is no longer attempting anonymous login on your behalf due to a software update / configuration change? E.g. when using the "ftp ftp-archive.freebsd.org" command in a shell, the ftp login prompt comes up and you must type in a user/pass to continue (but anonymous:anonymous seems to be working just fine). Sincerely, -Parker ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Sync'ng directories between two servers ...
Maybe you would have a look to Unison... http://www.cis.upenn.edu/~bcpierce/unison/ Regards, -- Thomas Gouverneur UNIX Assistant TI Automotive -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc G. Fournier Sent: mercredi 7 février 2007 15:11 To: freebsd-questions@freebsd.org Subject: Sync'ng directories between two servers ... -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi .. I've got a directory on ServerA that I would like to keep sync'd on ServerB ... to date, I've been using rsync for this, but what I hate with that is that it has to scan the whole directory on both servers to compare, putting a good load on each of them ... Is there anything out there that ppl are using successfully that just looks at ServerA, and dumps across those files that have changed since the last sync? ServerB will never have any changes made to it, other then what ServerA sends across ... Thanks ... - Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFyd324QvfyHIvDvMRAuPrAJ9c2Er5JBxQyJ0JQ6bWGyBKHrD8RACfbp5p S33pWY6AXEG9Cqykf59SMuE= =PLJL -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" The information contained in this transmission may contain privileged and confidential information. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Filesystem full messages
Hi guys. We have a server that keeps reporting /usr filesystem full: Feb 7 11:20:41 srv15 kernel: pid 47903 (popper), uid 32999 inumber 1011621 on /usr: filesystem full But it /usr is not full at all: df -h /dev/da0s1g 23G8.7G 13G41%/usr df -ih /dev/da0s1g 23G8.7G 13G41% 269899 29096198% /usr At first i thought that df was lying, but after verifying, it reports everything correctly. Is there anything that can be taking disk space that "df" or "du" would not be able to report ? How can i find out this is hapenning ? Thanx Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Cache server
Hi all, We're deploying a couple of dedicated Freebsd 6.2 servers using Squid. I remember being at the BSDCan 2006 and Poul-Henning was talking about Varnish. Was wandering if anyone deployed it since no one talks about it on the list, and if it is worth installing it as a production cache server. Thanks BSD Networking, Microsoft Notworking ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: newaliases not working?
On Tue, 6 Feb 2007, Doug Sampson wrote: I'm having trouble getting the periodic reports sent out on a daily basis from a FreeBSD 6.2 server. I've changed the /etc/aliases file so that root points to an administrative mail address. You can do that directly in /etc/periodic.conf: daily_output="[EMAIL PROTECTED]" -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: recovery after power outage
On Tue, Feb 06, 2007 at 09:06:05PM -0500, Marty Landman wrote: > Jerry McAllister wrote: > > >Well, do as it says - choose a shell and run fsck manually. > > Heh, for starters I assumed (always a bad thing) that fsck wasn't available > because I did a 'which fsck' and got 'which not found' as a response. But > fsck itself is there. Which is a built in shell command and you hadn't declared a shell yet. But, fsck is run from a binary file and can be reached by specifying the full path. > >Just run /sbin/fsck /dev/ad1s1c. Actually that would be a somewhat > >unusual address - what they call a 'dangerously dedicated' disk. > > Can you explain or point me to more info on why that was a poor choice on my > part? To explain more this is a 250 GB hard drive which is the primary slave > and is mostly used as a data repository and shared via samba on my home > office lan. Mainly because it is non or less standard and some things may not play nicely with it. As long as it is used only in a FreeBSD situation and there is never a problem with the disk, then it will work fine. But it is usually advisable to keep to the high road unless there is a reason not to. > > >But I think fsck should be able to work through it. > > snip > > >It the manual fscks don't work, then you may have to try some > >extreme tactics to recover things on that partition or abandon > > snip > > >If you end up rebuilding the drive, then the next time make a > >FreeBSD slice and then make a partition within that slice to > >avoid that 'dangerously dedicated' config. > > I am not getting past this error with fsck. Get 16 lines saying: > > ad1: FAILURE - READ_DMA status=51 error=40 > LBA=xxx > > for xxx in [191..206] > > then a msg listing disk sectors that can't be read 128 through 143 and > finally: > > /dev/ad1s1c: NOT LABELED AS A BSD FILE SYSTEM (unused) > > If I can recover the disk which has about 60GB's used out of 250GB and lose > a few sectors it's really not a bad deal probably, but how do I go about > trying at this point? > > Also it won't reboot now, although I've run fsck complete including on ads0. > Do I have to edit /etc/fstab so ads1 isn't mounted to get a good boot? > Unfortunately /usr isn't getting mounted and I have not editor available > afaik. Now you are getting beyond my experience. I am thinking something in the label got mushed or possibly the primary superblock got wacked. Sometimes the label can be rewritten, if the new one is identical to the old one, and then used to access the disk. And, there are lots of spare superblocks written on the filesystem and it is possible to use one as an alternate. But I have never had to do either of these things, so someone else with experience there would be a better guide. jerry > > Marty > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sync'ng directories between two servers ...
In response to Chuck Swiger <[EMAIL PROTECTED]>: > Marc G. Fournier wrote: > > I've got a directory on ServerA that I would like to keep sync'd on > > ServerB > > ... to date, I've been using rsync for this, but what I hate with that is > > that > > it has to scan the whole directory on both servers to compare, putting a > > good > > load on each of them ... > > > > Is there anything out there that ppl are using successfully that just > > looks > > at ServerA, and dumps across those files that have changed since the last > > sync? > > ServerB will never have any changes made to it, other then what ServerA > > sends > > across ... > > Rsync is about as good as it reasonably gets, short of putting everything > explicitly under version control (ie, in SVN or CVS). If you do put the tree > of stuff under VC, doing an update operation on ServerB will only need to > fetch the deltas made since the last update, without doing a comparison of > the > unchanged files or placing much load on ServerA. You know, it'd be cool if there was some way to hook rsync in to FAM (or a similar utility). I found some discussion about this on the rsync mailing list. The response seems to indicate that it's more work than it seems. I wish I had time to investigate this, as it sounds like an interesting project. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Trapping signal from shell script... doesn't seem to work?
Hi list! I have written a Bourne shell script. This shell script invokes a program written in the C language. Below is basically the shell script source code. As you can see, the C program is not invoked in the background, but in the foreground, so the shell script doesn't finish until the C program has finished. I want the shell script to trap TERM or INT signals, so when any of these are raised, the shell script will try to send SIGTERM to the program "myprog": user1:/usr/home/user1$ ps -ax | grep -v grep | grep myprog PID TT STAT TIME COMMAND 22406 p0 I+ 0:00.01 /bin/sh ../cronjobs/myshell.sh 22449 p0 I+ 0:00.00 /usr/home/user1/myprog -d user1:/usr/home/user1$ kill -TERM 22406 user1:/usr/home/user1$ ps -ax | grep -v grep | grep myprog PID TT STAT TIME COMMAND 22406 p0 S+ 0:00.01 /bin/sh ../cronjobs/myshell.sh 22449 p0 I+ 0:00.00 /usr/home/user1/myprog -d I notice the change in state of the shell script process from I+ to S+, but nothing else happens. The shell script seems to remain in execution. However as soons as I press Ctrl-C at the terminal where I invoked the shell script, it indeed receives the Ctrl-C, but "myprog" receives it first so when the function "trap_handler" executes, there is no "myprog" process in memory. My question: Can anybody tell me what happens and/or what am I doing wrong? Why must I press Ctrl-C to force the shell script to finally receive the TERM signal when I executed the kill command from another session? What is this apparent delay due to? Thanks in advance. #-- SHELL SCRIPT BEGIN -- #!/bin/sh # trap_handler() { echo "*** SYSTEM SIGNAL RECEIVED ***" echo "$1 caught. Ending..." pid=`find_myprog's_PID` kill -TERM $pid exit 1 } trap 'trap_handler SIGINT' INT trap 'trap_handler SIGTERM' TERM /usr/home/user1/myprog -d #-- SHELL SCRIPT END -- LEGEZKO OHARRA / AVISO LEGAL / LEGAL ADVICE * Mezu honek isilpeko informazioa gorde dezake, edo jabea duena, edota legez babestuta dagoena. Zuri zuzendua ez bada, bidali duenari esan eta ezabatu, inori berbidali edo gorde gabe, legeak debekatzen duelako mezuak erabiltzea baimenik gabe. -- Este mensaje puede contener información confidencial, en propiedad o legalmente protegida. Si usted no es el destinatario, le rogamos lo comunique al remitente y proceda a borrarlo, sin reenviarlo ni conservarlo, ya que su uso no autorizado está prohibido legalmente. -- This message may contain confidential, proprietary or legally privileged information. If you are not the intended recipient of this message, please notify it to the sender and delete without resending or backing it, as it is legally prohibited. ** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sync'ng directories between two servers ...
Marc G. Fournier wrote: I've got a directory on ServerA that I would like to keep sync'd on ServerB ... to date, I've been using rsync for this, but what I hate with that is that it has to scan the whole directory on both servers to compare, putting a good load on each of them ... Is there anything out there that ppl are using successfully that just looks at ServerA, and dumps across those files that have changed since the last sync? ServerB will never have any changes made to it, other then what ServerA sends across ... Rsync is about as good as it reasonably gets, short of putting everything explicitly under version control (ie, in SVN or CVS). If you do put the tree of stuff under VC, doing an update operation on ServerB will only need to fetch the deltas made since the last update, without doing a comparison of the unchanged files or placing much load on ServerA. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Out of Office AutoReply: Concept [Blocked Attachment Stripped]
I will be on vacation from 2/2 thru 2/9/07. I will not have e-mail access during this period. Urgent matters please contact Muh-ren Lin [EMAIL PROTECTED] or my supervisor Robert Lutze [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: rc.conf ...need help
On 2/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: On 06/02/07, Jerry McAllister <[EMAIL PROTECTED]> wrote: > On Tue, Feb 06, 2007 at 03:58:06PM -0500, Don Munyak wrote: > > > How can I edit rc.conf while in single user mode. I've tried vi & ee, > > but system doesn't recognize either. Thanks to everyone. I actually had fixed the file 2 minutes after receiving first reply but was unable to respond until now. However, having 2-3 different approaches and/or alternatives is also quite helpful. Thanks Again, Don ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Sync'ng directories between two servers ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi .. I've got a directory on ServerA that I would like to keep sync'd on ServerB ... to date, I've been using rsync for this, but what I hate with that is that it has to scan the whole directory on both servers to compare, putting a good load on each of them ... Is there anything out there that ppl are using successfully that just looks at ServerA, and dumps across those files that have changed since the last sync? ServerB will never have any changes made to it, other then what ServerA sends across ... Thanks ... - Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFyd324QvfyHIvDvMRAuPrAJ9c2Er5JBxQyJ0JQ6bWGyBKHrD8RACfbp5p S33pWY6AXEG9Cqykf59SMuE= =PLJL -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
eterm/port
Hello :) Yesterday and today, i tried to install eterm with the ports tree with this command: > portinstall eterm but everytime, i get an error that says "Stop in /usr/ports/x11/eterm.! x11/eterm (linker error) > Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed" You can see the result in the file called eterm-result. I don't understand. What happened ? Can you help me please ? Thank you in advance ;) -- Cheers, Olivier Regnier ---> Installing 'eterm-0.9.4' from a port (x11/eterm) ---> Building '/usr/ports/x11/eterm' ===> Cleaning for man2html-3.0.1_1 ===> Cleaning for imlib2-20060926_1,1 ===> Cleaning for libast-0.7 ===> Cleaning for libiconv-1.9.2_2 ===> Cleaning for xorg-libraries-6.9.0_1 ===> Cleaning for perl-5.8.8 ===> Cleaning for pkg-config-0.21 ===> Cleaning for freetype2-2.2.1_1 ===> Cleaning for jpeg-6b_4 ===> Cleaning for png-1.2.14 ===> Cleaning for tiff-3.8.2_1 ===> Cleaning for libungif-4.1.4_2 ===> Cleaning for libid3tag-0.15.1b ===> Cleaning for pcre-7.0 ===> Cleaning for libtool-1.5.22_3 ===> Cleaning for imake-6.9.0_1 ===> Cleaning for libdrm-2.0.2 ===> Cleaning for fontconfig-2.3.2_6,1 ===> Cleaning for gmake-3.81_1 ===> Cleaning for expat-2.0.0_1 ===> Cleaning for gettext-0.14.5_2 ===> Cleaning for eterm-0.9.4 ===> Vulnerability check disabled, database not found ===> Found saved configuration for eterm-0.9.4 ===> Extracting for eterm-0.9.4 => MD5 Checksum OK for Eterm-0.9.4.tar.gz. => SHA256 Checksum OK for Eterm-0.9.4.tar.gz. ===> Patching for eterm-0.9.4 ===> Applying FreeBSD patches for eterm-0.9.4 ===> eterm-0.9.4 depends on executable in : man2html - found ===> eterm-0.9.4 depends on shared library: Imlib2.3 - found ===> eterm-0.9.4 depends on shared library: ast.2 - found ===> eterm-0.9.4 depends on shared library: iconv.3 - found ===> eterm-0.9.4 depends on shared library: X11.6 - found ===> Configuring for eterm-0.9.4 configure: WARNING: you should use --build, --host, --target checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes /usr/ports/x11/eterm/work/Eterm-0.9.4/missing: Unknown `--run' option Try `/usr/ports/x11/eterm/work/Eterm-0.9.4/missing --help' for more information configure: WARNING: `missing' script is too old or missing checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for preferred libtoolize... libtoolize checking for preferred aclocal... aclocal checking for preferred autoconf... autoconf checking for preferred autoheader... autoheader checking for preferred automake... automake grep: ./src/netdisp.c: No such file or directory checking build system type... i386-portbld-freebsd6.2 checking host system type... i386-portbld-freebsd6.2 checking for i386-portbld-freebsd6.2-gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking how to run the C preprocessor... cc -E checking for egrep... grep -E checking for AIX... no checking for library containing strerror... none required checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i386-portbld-freebsd6.2-g++... c++ checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc3 checking how to run the C++ preprocessor... c++ -E checking for i386-portbld-freebsd6.2-g77... no checking for i386-portbld-freebsd6.2-f77... no checking for i386-portbld-freebsd6.2-xlf... no checking for i386-portbld-freebsd6.2-frt... no checking for i386-portbld-freebsd6.2-pgf77... no checking for i386-portbld-freebsd6.2-fort77... no checking for i386-portbld-freebsd6.2-fl32... no checking for i386-portbld-freebsd6.2-a
Re: One hurdle left to switch (drifting OT)
Paul Butler writes: > Phew! I just completed my US Federal return with H&R Block's > online "Tax Cut" using FreeBSD 6.2 and Firefox and it worked > reasonably well. They are not 100% standards compliant but close > enough. This is the 3rd consecutive year I've used them. No > flash required. It is my understanding these are adequate as long as your needs are pretty simple. I know folks filing in two states, with interesting capital gains and tax-shelter issues; they can do it locally, but on-line isn't up to the challenge. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Portupgrade out of swap - corrupt pkg info...
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: 06 February 2007 17:54 >To: Harrison Peter CSA BIRKENHEAD >Subject: Re: Portupgrade out of swap - corrupt pkg info... > > >On Tue, 6 Feb 2007, Harrison Peter CSA BIRKENHEAD wrote: > >> I updated the ports on my laptop last night ran: >> >> portsnap fetch update >> >> followed by: >> >> portupgrade -arR >> >> This ran normally until it hit vim-gtk2. It built fine but >whilst it was registering the installation became unresponsive. >> >> Hard rebooted, and found that in /var/log/messages it >referred to being out of swap (I don't have the exact message to hand). >> >> pkg_info did not show vim as installed, so when portupgrade >finished a cd'd to /usr/ports/editors/vim and ran make install >clean. This installed without error. > >If you ran make install clean then it should have installed >the pkg info. > >> However, now when I run pkg_info it reports that the pkg >info for vim-gtk2 is corrupt. > >Hmmm... > >> Could anyone help with 2 questions: >> >> ~ How do I fix the package database entry for vim? > >pkg_install should do the trick, but you already cleaned out >the package build directory ><. make install for vim-gtk2 >should do the trick now. OK thanks for this. I've fiddled around and it seems to be working alright now. Thanks for this. > >> ~ What might have caused my machine to run out of swap? It >was running X and twm with 1 xterm open. For hardware it has >256MB RAM and a 470MB swap partition. I've not had this problem before. > >Ouch.. you should actually have more swap than that >(2*(Physical RAM amount) = 512MB swap would be a better idea >in the future). > >As for running out of swap, what are your make options for >ruby? Having the ruby doc (or whatever it was) option selected >ate up a lot of memory on machines a few months back; having >this option deselected and rebuilding ruby fixes the memory bloat. > >make config in the lang/ruby* ports directory will yield the >desired result here. I take your point over the amount of swap - and I guess 256 RAM is getting a little light for a desktop/laptop these days. I don't recall portupgrade touching ruby - but I'll check what options I have enabled for it. > >-Garrett Thanks, Peter Harrison > > >PLEASE NOTE: THE ABOVE MESSAGE WAS RECEIVED FROM THE INTERNET. >On entering the GSI, this email was scanned for viruses by the >Government Secure Intranet (GSi) virus scanning service >supplied exclusively by Cable & Wireless in partnership with >MessageLabs. >In case of problems, please call your organisational IT Helpdesk. >The MessageLabs Anti Virus Service is the first managed >service to achieve the CSIA Claims Tested Mark (CCTM >Certificate Number 2006/04/0007), the UK Government quality >mark initiative for information security products and >services. For more information about this please visit www.cctmark.gov.uk ** This document is strictly confidential and is intended only for use by the addressee. If you are not the intended recipient, any disclosure, copying, distribution or other action taken in reliance of the information contained in this e-mail is strictly prohibited. Any views expressed by the sender of this message are not necessarily those of the Department for Work and Pensions. If you have received this transmission in error, please use the reply function to tell us and then permanently delete what you have received. Please note: Incoming and outgoing e-mail messages are routinely monitored for compliance with our policy on the use of electronic communications. ** The original of this email was scanned for viruses by Government Secure Intranet (GSi) virus scanning service supplied exclusively by Cable & Wireless in partnership with MessageLabs. On leaving the GSI this email was certified virus free. The MessageLabs Anti Virus Service is the first managed service to achieve the CSIA Claims Tested Mark (CCTM Certificate Number 2006/04/0007), the UK Government quality mark initiative for information security products and services. For more information about this please visit www.cctmark.gov.uk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: recovery after power outage
On Wednesday 07 February 2007 03:06, Marty Landman wrote: > Jerry McAllister wrote: > > Well, do as it says - choose a shell and run fsck manually. > > Heh, for starters I assumed (always a bad thing) that fsck wasn't available > because I did a 'which fsck' and got 'which not found' as a response. But > fsck itself is there. > > > Just run /sbin/fsck /dev/ad1s1c. Actually that would be a somewhat > > unusual address - what they call a 'dangerously dedicated' disk. ad1s1c is a partition that contains the entire disk or slice in this case. Dangerously dedicated is when you have no slices: ad1a, ad1b, ad1c etc. You should _only_ fsck the individual partitions (ad0s1a), never the complete disk (ad0) or individual slices (ad0s1). You may risk destroying your filesystem(s) if you do so. Unless ofcourse you know what you're doing and you have placed a filesystem directly on either the disk or the slice it self. > > Can you explain or point me to more info on why that was a poor choice on > my part? To explain more this is a 250 GB hard drive which is the primary > slave and is mostly used as a data repository and shared via samba on my > home office lan. Your filesystem layout seems perfectly fine. > > > But I think fsck should be able to work through it. > > snip > > > It the manual fscks don't work, then you may have to try some > > extreme tactics to recover things on that partition or abandon > > snip > > > If you end up rebuilding the drive, then the next time make a > > FreeBSD slice and then make a partition within that slice to > > avoid that 'dangerously dedicated' config. > > I am not getting past this error with fsck. Get 16 lines saying: > > ad1: FAILURE - READ_DMA status=51 error=40 > LBA=xxx This is not an error of fsck but an error of the ata subsystem. It says that something went wrong while doing disk I/O. > > for xxx in [191..206] > > then a msg listing disk sectors that can't be read 128 through 143 and > finally: > > /dev/ad1s1c: NOT LABELED AS A BSD FILE SYSTEM (unused) Yes, ad1s1c is normally not used as a filesystem, so you would better not fsck it. > > If I can recover the disk which has about 60GB's used out of 250GB and lose > a few sectors it's really not a bad deal probably, but how do I go about > trying at this point? > > Also it won't reboot now, although I've run fsck complete including on > ads0. Do I have to edit /etc/fstab so ads1 isn't mounted to get a good > boot? Unfortunately /usr isn't getting mounted and I have not editor > available afaik. It should not be necessary to edit /etc/fstab. However after what you've described above it might be necessary to restore the partition table, mbr and slice table to get your system booting again. > > Marty If you have any more questions about the FreeBSD filesystem, please don't hesitate to ask. Regards, Pieter de Goeje ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: One hurdle left to switch
Phew! I just completed my US Federal return with H&R Block's online "Tax Cut" using FreeBSD 6.2 and Firefox and it worked reasonably well. They are not 100% standards compliant but close enough. This is the 3rd consecutive year I've used them. No flash required. Paul Butler Date: Tue, 6 Feb 2007 11:56:18 -0800 (PST) From: [EMAIL PROTECTED] Subject: Re: One hurdle left to switch To: freebsd-questions@freebsd.org Message-ID: <[EMAIL PROTECTED]> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Tue, 6 Feb 2007, Paul Schmehl wrote: > --On Tuesday, February 06, 2007 09:46:14 -0800 [EMAIL PROTECTED] wrote: >> >> Oh, another thing. I've used H&R Block's online tax accounting service, >> and although it's not the best interface, it's just as good as some >> copies of Turbotax that I've seen. >> > You used it with FreeBSD? What browser? And did it require Flash? Java? > > Paul Schmehl ([EMAIL PROTECTED]) > Senior Information Security Analyst > The University of Texas at Dallas > http://www.utdallas.edu/ir/security/ H&R Block uses strictly Javascript (not sure if it's really AJAX quality, but it might be), so if you have a recent mozilla based browser stuff should work out of the box. Don't try to load the page with lynx or links though :D. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: HP C-class Blade / Broadcom ethernet / SerDes controllers not supported
On Mon, Feb 05, 2007 at 05:10:34PM +0100, Christoph Schug wrote: > > Maybe you can give it a try and check whether a current FreeBSD 7 works > right and report back the result to the list. Just tried the current FreeBSD 7 snapshot (7.0-CURRENT-200702-amd64-disc1.iso) but unfortunately the box freezed during boot. It came up to the point where it probed PCI then it hung. Also tried with ACPI disabled - same result. The only way out is a cold boot (i.e. power-off/on) of the system :-( -ewald PS: If you're interested in the exact details of the hang I could upload the console screenshots to a webserver. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ftp-archive.freebsd.org
Hi, I have a Freebsd 5.3 Virtual machine running on a SUSE 9.3 Xen 2.05 machine and I wanted to recompile the kernel with the xen-sources and kernel sources form the archive. But to my great astonishment the ftp://ftp-archive.freebsd.org url asked for a username and password, which it didn't before What's happened or is something wrong?? Marcel Smeets ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Packet rate limiter
Newp. You're stuck to good old bps with ipfw or bps/cpse (connections per second established) with pf. The other method would be to use cisco netflow export data from a router being polled - then limiting traffic with one of the methods mentioned above... or just place pps limits on your router itself. Jan Sebosik wrote: Hi is there any way how to limit packet per second [PPS] rate to specified IP (group of IP) ? Linux can achieve this via IPtables. I`ve searched a lot of web, but nothing interesting found (for PF, IPFilter, and IPFW). Best regards --- Jan Sebosik, Slovakia ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problems with perl script on 6.1/5.8.8
On Tuesday 06 February 2007 22:24, Don O'Neil wrote: > I've got a perl script that just refuses to run on my new 6.1 box with Perl > 5.8.8... Whenever I run it from the command line I get this: > > Can't modify single ref constructor in lock at ./caldisp.pl line 84, near > "*LOCKF)" > Execution of ./caldisp.pl aborted due to compilation errors. > > The lines in question are: > > if (open (LOCKF, ">$LOCKF")) > { > lock (\*LOCKF); > } No real comment on the error, but shouldn't you be using flock() rather than lock()? flock is for locking files, lock is for locking shared variables in threads (unless of course you have a lock() subroutine defined somewhere, in which case it overrides the CORE::lock). See perldoc perlopentut for details (it's hard to say more without more context). Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Packet rate limiter
Hi is there any way how to limit packet per second [PPS] rate to specified IP (group of IP) ? Linux can achieve this via IPtables. I`ve searched a lot of web, but nothing interesting found (for PF, IPFilter, and IPFW). Best regards --- Jan Sebosik, Slovakia ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"