php5-5.3.2 problems since upgrade from php5-5.2.12
People using php in webpages are getting all kind of errors concerning depricated functions such as: > Deprecated: Assigning the return value of new by reference is deprecated It there a way to specify somewhere something so that these funtions still can be used ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
ports/multimedia/x264 broken?
x264-0.0.20090119_2 < needs updating (index has 0.0.20100222) gives errors (see below) What's going on and how to fix it? ... => MD5 Checksum OK for x264/x264-snapshot-20100222-2245.tar.bz2. => SHA256 Checksum OK for x264/x264-snapshot-20100222-2245.tar.bz2. => MD5 Checksum OK for x264/example.y4m.bz2. => SHA256 Checksum OK for x264/example.y4m.bz2. ===> Patching for x264-0.0.20100222 ===> Applying FreeBSD patches for x264-0.0.20100222 ===> x264-0.0.20100222 depends on package: yasm>=0.6.0 - found ===> x264-0.0.20100222 depends on executable: as - found ===> x264-0.0.20100222 depends on package: gpac-libgpac>=0.4.5,1 - found ===> x264-0.0.20100222 depends on executable: gmake - found ===> x264-0.0.20100222 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> x264-0.0.20100222 depends on shared library: gpac.1 - found ===> Configuring for x264-0.0.20100222 Found GNU assembler 2.15 [FreeBSD] 2004-05-23 Minimum version is binutils-2.17 Your compiler can't handle inline SSSE3 asm. If you really want to compile without asm, configure with --disable-asm. ===> Script "configure" failed unexpectedly. Please report the problem to m...@freebsd.org [maintainer] and attach the "/usr/ports/multimedia/x264/work/x264-snapshot-20100222-2245/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/multimedia/x264. *** Error code 1 Stop in /usr/ports/multimedia/x264. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100422-64109-d4ixri-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=x264-0.0.20090119_2 UPGRADE_PORT_VER=0.0.20090119_2 make FETCH_BEFORE_ARGS=-q DEPENDS_TARGET=package ** Fix the problem and try again. ---> Build of multimedia/x264 ended at: Thu, 22 Apr 2010 07:29:40 +0200 (consumed 00:00:11) ---> Upgrade of multimedia/x264 ended at: Thu, 22 Apr 2010 07:29:40 +0200 (consumed 00:00:11) ---> ** Upgrade tasks 2: 0 done, 0 ignored, 0 skipped and 1 failed ---> Skipping 'multimedia/ffmpeg' (ffmpeg-0.5.1_2,1) because a requisite package 'x264-0.0.20090119_2' (multimedia/x264) failed (specify -k to force) ---> ** Upgrade tasks 2: 0 done, 0 ignored, 1 skipped and 1 failed ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) ! multimedia/x264 (x264-0.0.20090119_2) (unknown build error) * multimedia/ffmpeg (ffmpeg-0.5.1_2,1) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
"acpi_tz0: _TMP value is absurd" Message
I have a Compaq Presario SR2180NX, which uses a P5LP-LE motherboard. When I bought the machine second hand three years ago, I originally installed and ran FreeBSD 5.5 without the error message. I recall that it began appearing after I installed and ran 6.3, though I don't think it did under 6.2. I still receive the message now that I'm running FreeBSD 8.0. I've looked at some of the ACPI code file and didn't notice anything obvious which might be responsible for the error message. A quick solution I've used is running a file with: hw.acpi.thermal.user_override: 0 -> 1 hw.acpi.thermal.polling_rate: 10 -> 1800 hw.acpi.thermal.user_override: 1 -> 0 shortly after logging in as root. The message still appears but not as often, though it doesn't fix the whatever causes the error. I've installed FreeBSD on two different models of IBM ThinkPad without the error, leading me to believe that the ACPI code might not be completely compatible with the P5LP-LE motherboard. My question is what to do next. Is there a permanent solution to this or do I have to keep using the quick fix? Any advice would be appreciated. Thank you. BMJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
How to update packages(ex. to recent KDE-4.3.5) without using the ports system?
I tried to update my system from KDE-4.3.1 (came in FreeBSD 8 install CDs) to KDE-4.3.5( in updated ports system) but it gives error during the compilation of QT related code(libpng.so not found for compile of libQTsvg.so,or so). Are there binaries for KDE-4.3.5 for updating my KDE to 4.3.5 version without using the ports system? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
festival forward?
According to Alan Black there is a new beta release of the fest* suites. The festval group is asking fr "installation issues" when they go from 2.0.95b to 2.1. Seems like we've been at 1.95 for centuries. Any plans to update all this stuff...?? gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.83a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: OT: Goodbye and hosting wanted
Cheers, m! On Apr 21, 2010, at 20:15, Rod Person wrote: On Wed, 21 Apr 2010 19:50:50 -0400 DAve wrote: I will need to move my hosted domain, email, and DNS this week. I am sure I could continue to host it with my employer but I would rather not. I don't need much, less than a dozen email accounts, simple PHP or perl, and DNS. My wife would like to start a LiveJournal or something like it for her work here if a host can be found that supports that, http://flickr.com/catchoftheday (Feel free to offer to purchase something ;^). Now that I am unemployed, inexpensive would be nice. I am open to suggestions for hosting services. http://www.pairlite.com/ not sure about the flickr stuff but it 100 a year PHP and all that and it hosted on FreeBSD. Good luck. -- Rod Person http://www.rodperson.com "Some even believe we (the Rockefeller family) are part of a secret cabal working against the best interests of the United States, characterizing my family and me as 'internationalists' and of conspiring with others around the world to build a more integrated global political and economic structure--one world, if you will. If that's the charge, I stand guilty, and I am proud of it" -David Rockefeller (Memoirs, p.405) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org " ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Kill via Cron...
>> On 21/04/2010 09:36:24, mcoyles wrote: M> I'm actually trying to kill the following in one swep if they've taken M> more than 8 hours to complete... : M> 62221 ?? S 0:27.11 gzip -q M> 62223 ?? DL 0:01.80 /sbin/dump -0 -auf - /usr (dump) M> 62224 ?? DL 0:01.79 /sbin/dump -0 -auf - /usr (dump) M> 62225 ?? DL 0:01.81 /sbin/dump -0 -auf - /usr (dump) If they're running under the same process groupid, then sending it a signal via killpg(2) would kill them all. Two things that might help: * The default blocksize (Kb/output block) in dump used to be 10, but you could go as high as 64. Check the -b option. * Use "gzip -1q" for speed at the cost of slightly less compression. "compress -c" also works very well on dump images, and it's fast. -- Karl Vogel I don't speak for the USAF or my company phrasemonger, noun: a person who uses phrases or quotes that were coined by other people. --http://www.wordspy.com/TechWordSpy/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: multishell user profile
>> On Wed, 21 Apr 2010 09:53:00 +0200, >> Erik Norgaard said: E> I need to create a user profile that works in different shells, E> particularly bash, csh and ksh. It seems that these does not read the E> same files and/or in the same order. So, how do I configure the shell E> profiles without configuring each shell separately? The two things that bite me the most often when switching shells are environment variables and aliases. I keep most of my environment stuff in a single file ($HOME/.envrc) with entries like this: # Local time for RCS date information RCSINIT "-zLT" # Default file browser. PAGER "less" A small perl script converts this into sh- or csh-style commands, so I can just source the appropriate file from .bashrc or .tcshrc or whatever: me% cat ~/.envrc.sh # Local time for RCS date information RCSINIT="-zLT"; export RCSINIT # Default file browser. PAGER="less"; export PAGER me% cat ~/.envrc.csh # Local time for RCS date information setenv RCSINIT "-zLT" # Default file browser. setenv PAGER "less" Aliases are annoying because the syntax is inconsistent, so I only use those for inside-the-shell stuff like job control. Small ~/bin scripts handle things like using "dir" instead of "ls -lF": #!/bin/sh #http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: OT: Goodbye and hosting wanted
On Wed, 21 Apr 2010 19:50:50 -0400 DAve wrote: > I will need to move my hosted domain, email, and DNS this week. I am > sure I could continue to host it with my employer but I would rather > not. I don't need much, less than a dozen email accounts, simple PHP or > perl, and DNS. My wife would like to start a LiveJournal or something > like it for her work here if a host can be found that supports that, > http://flickr.com/catchoftheday (Feel free to offer to purchase > something ;^). Now that I am unemployed, inexpensive would be nice. I am > open to suggestions for hosting services. http://www.pairlite.com/ not sure about the flickr stuff but it 100 a year PHP and all that and it hosted on FreeBSD. Good luck. -- Rod Person http://www.rodperson.com "Some even believe we (the Rockefeller family) are part of a secret cabal working against the best interests of the United States, characterizing my family and me as 'internationalists' and of conspiring with others around the world to build a more integrated global political and economic structure--one world, if you will. If that's the charge, I stand guilty, and I am proud of it" -David Rockefeller (Memoirs, p.405) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Request for mount_nfs assistance
At 09:37 PM 4/20/2010, Adam Vande More wrote: >On Tue, Apr 20, 2010 at 4:53 PM, wrote: > >> >> I'm not certain what an RPC connection is, but I assume it's some type of >> flow of data. >> >> Nothing referring to RPC appears in either machine's logs. Not a lot of >> activity occurs on the file server at 192.168.0.244. It's primary purpose >> in life is to act as a file server for the machine at 192.168.0.252, which >> is the machine having difficulty connecting. It's worked flawlessly for >> years. The time-out problem is something that's appeared in the past week. >> >> I'm using a stale version of FreeBSD, but why would that cause mount_nfs to >> suddenly start timing out? > > >can you post /var/log/messages from after a timeout issue. Is the system >slow in other areas? Perhaps you have a failing drive. Nothing but "/kernel: Connection attempt to UDP" gets logged on either machine. Neither machine seems to be slower than usual doing any other task. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
OT: Goodbye and hosting wanted
All, I will be unsubscribed to a lot of mail lists this week as my position has been closed. I am uncertain I want to continue with IT. I know some of you from as far back as my Userland Frontier and HyperCard days. I want to thank everyone for their help and assistance over the past 15 years. (Yes this is going out to several lists). I will need to move my hosted domain, email, and DNS this week. I am sure I could continue to host it with my employer but I would rather not. I don't need much, less than a dozen email accounts, simple PHP or perl, and DNS. My wife would like to start a LiveJournal or something like it for her work here if a host can be found that supports that, http://flickr.com/catchoftheday (Feel free to offer to purchase something ;^). Now that I am unemployed, inexpensive would be nice. I am open to suggestions for hosting services. Today, my wife and I are going to play hooky and do nothing. Again, thanks everyone. DAve -- "Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it." John Adams http://appleseedinfo.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: parsing terminfo entries
On Wed, Apr 21, 2010 at 3:57 PM, Robert Huff wrote: > > I found what I need, folks. > Thanks for the help. It would be great if you share the solution. Regards Alberto Mijares ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [ HEADS UP ] Ports unstable for the next 10 days
On Wed, Apr 21, 2010 at 11:07:46PM +0300, Ion-Mihai Tetcu wrote: > On Tue, 20 Apr 2010 02:14:20 +0300 > Ion-Mihai Tetcu wrote: > > > A switch to use newer GMP version has been committed. > > > > Unfortunately lang/ghc and dependent ports (and possibly > > lang/gnat-gcc44) were broken by this. The brokenness wasn't detected > > in our -exp run because of being masked by other issues. > > A fix has been committed :) > > -- > IOnut - Un^d^dregistered ;) FreeBSD "user" > "Intellectual Property" is nowhere near as valuable as "Intellect" > FreeBSD committer -> ite...@freebsd.org, PGP Key ID 057E9F8B493A297B lang/ghc is still marked IGNORE, unless I'm missing something. -- Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: PXE + sysinstall(8) install.cfg: DHCP Attribute to map install config/policy to system MAC?
On 21/04/10 21:59, Brian A. Seklecki (CFI NOC) wrote: All: The install.cfg mechanism is pretty wicked. Unfortunately, there doesn't seem to be a really efficient way to provide new clients (or class of clients) an install.cfg without rebuilding an MFSROOT image. Possibly a TFTP or NFS URL passed from the DHCP server -> boot loader -> kernel sysctl -> sysinstall(8). Thoughts or other ideas? You can configure sysinstall in your install.cfg to execute shell commands, including any fetch-like command. Some scripting should be possible to do what you require. I wrote about it here: http://www.locolomo.org/howto/pxeboot/automatic-installation.html However, I never really went on and tested this, let me know if this works. BR, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: parsing terminfo entries
I found what I need, folks. Thanks for the help. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: multishell user profile
On Wed, 21 Apr 2010 09:53:00 +0200, Erik Norgaard wrote: > Hi: > > I need to create a user profile that works in different shells, > particularly bash, csh and ksh. It seems that these does not read the > same files and/or in the same order. So, how do I configure the shell > profiles without configuring each shell separately? You can't - at least not very easily. Of course, you can do as few shell initialisations per se if you use things like login.conf to set environment variables instead of "manually" setting them in the shell config. The main problem is: The shells you mentioned to use different formats for their configuration. For example, while you can use set promptchars = "%#" set prompt = "%...@%m:%~%# " for your csh, you have to use a different syntax in bash. The same goes for aliases. A chance to partially bypass this is to put as many customization as possible into script-defined commands that you place in ~/bin (and add this to $PATH). Of course, this approach doesn't solve all imaginable problems. As for reading order of configuration files, refer to the manpages: man csh man bash man ksh You will see which files are accessed, and in which order, and where you can put centrally managed profiles as well as user- specific profiles. > Also, I can't find information if they use the same syntax, or what > syntax they share so I can stick to that. They don't use the same syntax. Maybe you'll find a good comparison chart of shell syntax and capabilities. As stupid as it may sound, you'll find some information here: http://en.wikipedia.org/wiki/Comparison_of_command_shells http://en.wikipedia.org/wiki/Unix_shell -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [ HEADS UP ] Ports unstable for the next 10 days
On Tue, 20 Apr 2010 02:14:20 +0300 Ion-Mihai Tetcu wrote: > A switch to use newer GMP version has been committed. > > Unfortunately lang/ghc and dependent ports (and possibly > lang/gnat-gcc44) were broken by this. The brokenness wasn't detected > in our -exp run because of being masked by other issues. A fix has been committed :) -- IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" FreeBSD committer -> ite...@freebsd.org, PGP Key ID 057E9F8B493A297B signature.asc Description: PGP signature
PXE + sysinstall(8) install.cfg: DHCP Attribute to map install config/policy to system MAC?
All: The install.cfg mechanism is pretty wicked. Unfortunately, there doesn't seem to be a really efficient way to provide new clients (or class of clients) an install.cfg without rebuilding an MFSROOT image. At least with pxeboot(8), in TFTP-only-mode, using dhcpd.conf(5) client{} entries, there isn't a way to differentiate policies. It's just going to go looking for /boot/loader.rc and /boot/loader.conf from wherever DHCP told PXE to fetch pxeboot(8) from. From there, you need to custom compile a 5 meg mfsroot image for each [class of] client. With an NFS stage-2 boot, I suppose you could set: option root-path "/export/${client}Root" etc., but then your 5 meg mfsroot is just extracted 1-per-client. Still seems a bit ugly. It seems like we could teach sysinstall(8) to fetch install.cfg by some standard mechanism. Possibly a TFTP or NFS URL passed from the DHCP server -> boot loader -> kernel sysctl -> sysinstall(8). For example, the Sun SPARC4s would TFTP fetch their stage 1 boot loader via TFTP with a filename req of their MAC address in HEX format, so one could just put symlinks in place. Thoughts or other ideas? ~BAS PS: our in-tree tftpd(8) is an unending source of sorrow and misery and clinical despair. ports/net/freebsd-tftp is a lifesaver (it actually has debugging) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: lighten kernel
On 4/21/10, xyz wrote: > Thank you for your answer. > But how I can only choose the intel agp driver, without all others by > puting "agp" in the kernel configuration file? Currently you can not pick only intel agp code, agp module have support for other vendors too. I made patch but it was never committed because it saves only few bytes of running kernel memory and thats all. Because bunch of new agp* modules are created it increase kernel size on disk, if you build all agp modules. But if you have very little memory you better not to use Xorg and direct rendering at all. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Upgrade/Install in one command?
Atom Powers writes: > I would like to make my configuration management system update and/or > install packages on FreeBSD. I've been avoiding that little thorn > because I haven't had very many hosts and updates have been fairly > rare recently; but no more. (cfengine2) > > Basically, I wish pkg_add would upgrade a package if it was already > installed; of that portupgrade would install a package if it was > missing. Neither seem to work. The '-N' option for portupgrade doesn't do what you want? > How do you manage packages on a large number of FreeBSD hosts? I have a small number, but I still follow the build server approach... -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Upgrade/Install in one command?
On Wednesday 21 April 2010 18:06:23 Atom Powers wrote: > I would like to make my configuration management system update and/or > install packages on FreeBSD. I've been avoiding that little thorn > because I haven't had very many hosts and updates have been fairly > rare recently; but no more. (cfengine2) > > Basically, I wish pkg_add would upgrade a package if it was already > installed; of that portupgrade would install a package if it was > missing. Neither seem to work. > > How do you manage packages on a large number of FreeBSD hosts? I use portmaster, since it seems to mostly DTRT. -- Bruce Cran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: question about FreeBSD installing
On Wednesday 21 April 2010 16:50:20 Ross Cameron wrote: > On Wed, Apr 21, 2010 at 5:35 PM, Michael Powell wrote: > > 王跃辉 wrote: > >> hi > >> I have a problem when I try to install FreeBSD as client OS on a > >> Linux OS. > > > > Sorry, but this does not make any sense to me. How are you trying to > > install FreeBSD on Linux? FreeBSD is an operating system, not an > > application. > > It's quite simple, he wants to host a virtualized FreeBSD ontop of a > Linux server OS. > > >> following the instruction I find that I can't open the website of > >> www.fsmware.com to finish some download work. > >> it seems that the dns server > >> don't support the address in China Mainland. do you have any way to > >> solve the problem? > > Uhm no idea where the www.fsmware.com domain comes into anything,... > sorry cant help here. It's mentioned in several places, including the Handbook: http://www.freebsd.org/doc/en/books/handbook/virtualization-guest.html "Download the FreeBSD domU kernel for Xen 3.0 and disk image from http://www.fsmware.com/"; I'd be happy to host the files that used to be on that site if it would help - it would be good to get the broken links fixed because I came across the same problem and ended up having to create a Xen image manually. -- Bruce Cran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Upgrade/Install in one command?
I would like to make my configuration management system update and/or install packages on FreeBSD. I've been avoiding that little thorn because I haven't had very many hosts and updates have been fairly rare recently; but no more. (cfengine2) Basically, I wish pkg_add would upgrade a package if it was already installed; of that portupgrade would install a package if it was missing. Neither seem to work. How do you manage packages on a large number of FreeBSD hosts? -- Perfection is just a word I use occasionally with mustard. --Atom Powers-- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: parsing terminfo entries
Hi-- On Apr 21, 2010, at 7:08 AM, Robert Huff wrote: > Other than curses, is there a library that will let me parse a > terminfo string? I.e. ask for the value of a particular setting? There is/was a compatibility layer called termcap which has things like tgetent(), tputs(), etc. You should be able to link that /usr/lib/libtermcap.a (or .so) in instead of libcurses, although it might just be a nickname for libcurses nowadays on FreeBSD. Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: parsing terminfo entries
Robert Huff writes: > Other than curses, is there a library that will let me parse a > terminfo string? I.e. ask for the value of a particular setting? I don't know of any way to parse it, but have you looked at tput(1)? It will give the value of termcap or terminfo attributes for any terminal type that you specify. -- Carl Johnsonca...@peak.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
make clamav 0.96 on fbsd 7.2 fails
/bin/sh ./libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I./../.. -I./.. -I./../../ -I./llvm/include -I./llvm/include -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_DEBUG -D_GNU_SOURCE -I/usr/local/include -Woverloaded-virtual -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -Wno-variadic-macros -fno-exceptions -O2 -fno-strict-aliasing -pipe -march=i486 -c -o TargetLowering.lo `test -f 'llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp' || echo './'`llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp c++: Internal error: Killed: 9 (program cc1plus) Please submit a full bug report. See http://gcc.gnu.org/bugs.html> for instructions. gmake[5]: *** [SelectionDAG.lo] Error 1 gmake[5]: *** Waiting for unfinished jobs gmake[5]: Leaving directory `/usr/ports/security/clamav/work/clamav-0.96/libclamav/c++' gmake[4]: *** [all] Error 2 gmake[4]: Leaving directory `/usr/ports/security/clamav/work/clamav-0.96/libclamav/c++' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/security/clamav/work/clamav-0.96/libclamav' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/security/clamav/work/clamav-0.96/libclamav' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/security/clamav/work/clamav-0.96' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/security/clamav. *** Error code 1 Stop in /usr/ports/security/clamav. freebsd problem? clam problem? gcc problem? Thanks Len ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: question about FreeBSD installing
On Wed, Apr 21, 2010 at 5:35 PM, Michael Powell wrote: > 王跃辉 wrote: > >> hi >> I have a problem when I try to install FreeBSD as client OS on a Linux >> OS. > > Sorry, but this does not make any sense to me. How are you trying to install > FreeBSD on Linux? FreeBSD is an operating system, not an application. It's quite simple, he wants to host a virtualized FreeBSD ontop of a Linux server OS. >> following the instruction I find that I can't open the website of >> www.fsmware.com to finish some download work. >> it seems that the dns server >> don't support the address in China Mainland. do you have any way to solve >> the problem? Uhm no idea where the www.fsmware.com domain comes into anything,... sorry cant help here. > Nope. It is a problem with government politics in China and not FreeBSD > related. Actually nothing to do with Chinese politics, the http server attached to the hostname www.fsmware.com is genuinely down. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: question about FreeBSD installing
>>> 王跃辉 04/21/10 10:21 AM >>> >hi > I have a problem when I try to install FreeBSD as client OS on a Linux >OS. following the instruction I find that I can't open the website of >www.fsmware.com to finish some download work. it seems that the dns server >don't support the address in China Mainland. do you have any way to solve >the problem? > >-- >-thanks >-yuehui >___ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" Sorry for my previous top-post, was a mistake! I forgot to mention, check out this website as well, it has instructions for running 8.0 in paravirtualization mode in Xen. http://www.ita.com.ua/eng/articles.htm?id=34 - Don ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: failure to login after upgrade to 7.3 STABLE
On Tue, Apr 20, 2010 at 5:49 PM, Mike Barnard wrote: > > PTY allocation request failed on channel 0 > sorry for the noise... I had accidentally removed device pty from the kernel conf file -- Mike Of course, you might discount this possibility, but remember that one in a million chances happen 99% of the time. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: question about FreeBSD installing
Hello! I presume you are talking about running FreeBSD as a guest OS in Xen or the like. Let me point you to this URL, it contains a lot of useful information on what you're seeking. The fsmware.com website seems down, and has been for awhile. The documentation is just out of date. http://wiki.freebsd.org/AdrianChadd Take Care! - Don >>> 王跃辉 04/21/10 10:21 AM >>> hi I have a problem when I try to install FreeBSD as client OS on a Linux OS. following the instruction I find that I can't open the website of www.fsmware.com to finish some download work. it seems that the dns server don't support the address in China Mainland. do you have any way to solve the problem? -- -thanks -yuehui ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: question about FreeBSD installing
王跃辉 wrote: > hi > I have a problem when I try to install FreeBSD as client OS on a Linux > OS. Sorry, but this does not make any sense to me. How are you trying to install FreeBSD on Linux? FreeBSD is an operating system, not an application. > following the instruction I find that I can't open the website of > www.fsmware.com to finish some download work. If you want to learn how to install FreeBSD you should start with The Handbook: English: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html another alternative: http://www.freebsd.org/doc/zh_CN.GB2312/books/handbook/index.html You may notice there is no mention of any downloading from www.fsmware.com. Perhaps the instructions you are trying to follow are incorrect? The Handbook might be better as it is the official documentation for FreeBSD. > it seems that the dns server > don't support the address in China Mainland. do you have any way to solve > the problem? > Nope. It is a problem with government politics in China and not FreeBSD related. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: mplayer/mencoder build problems
Bernt Hansson wrote: > Hello again list! > > > I'm having problems building mplayer/mencoder. Did a csup today > 2010-04-21 but that did not help. If someone can point me to > the problem. > > cc -O2 -pipe -O -fomit-frame-pointer -fno-strict-aliasing -I./libavcodec > -I./libavformat -Wdisabled-optimization -Wno-pointer-sign > -Wdeclaration-after-statement -I. -I. -I./libavutil -O2 -pipe -O > -fomit-frame-pointer -fno-strict-aliasing -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H > -I/usr/local/include/freetype2 -I.. -I../libavutil -I/usr/local/include > -I/usr/local/include -I/usr/local/include/SDL -I/usr/local/include > -D_REENTRANT -I/usr/local/include/freetype2 -I/usr/local/include > -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 > -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 > -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 > -I/usr/local/include -I/usr/local/include/glib-2.0 > -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 > -I/usr/local/include/freetype2 -I../libavcodec -I../libavformat > -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement > -I. -I.. -I../libavutil -O2 -pipe -O -fomit-frame-pointer > -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/usr/local/include/freetype2 > -I... -I.../libavutil -I/usr/local/include -I/usr/local/include > -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT > -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE > -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include > -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo > -I/usr/local/include/pango-1.0 -I/usr/local/include > -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include > -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -c -o > dvb_tune.o dvb_tune.c > dvb_tune.c:33:19: error: error.h: No such file or directory > gmake[1]: *** [dvb_tune.o] Error 1 > gmake[1]: Leaving directory > `/usr/home/user/disk2/ports/multimedia/mplayer/work/MPlayer-1.0rc2/stream' > gmake: *** [stream/stream.a] Fel 2 > *** Error code 1 > > Stop in /usr/home/user/disk2/ports/multimedia/mplayer. > *** Error code 1 > > Stop in /usr/home/user/disk2/ports/multimedia/mplayer. > ___ See: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/145636 -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
question about FreeBSD installing
hi I have a problem when I try to install FreeBSD as client OS on a Linux OS. following the instruction I find that I can't open the website of www.fsmware.com to finish some download work. it seems that the dns server don't support the address in China Mainland. do you have any way to solve the problem? -- -thanks -yuehui ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: lighten kernel
xyz wrote: > Thank you for your answer. > But how I can only choose the intel agp driver, without all others by > puting "agp" in the kernel configuration file? > Please don't top post - it is bad form. I think you may be confusing "agp" driver and video driver. The agp support in the kernel is for the agp slot on the motherboard chipset. If your motherboard uses an agp slot this is where an agp video card would be inserted. You would want this kernel support if such were the case. Video drivers, on the other hand, are part of the Xorg installation. This is a third party software installed from the ports system. The "all the others" you mention are probably the myriad of video card drivers installed along with Xorg. For the most part, the bulk of this software is not kernel related; the exception(s) being certain kernel modules such as dri and nvidia. The "all the others" video drivers are not kernel related. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
parsing terminfo entries
Other than curses, is there a library that will let me parse a terminfo string? I.e. ask for the value of a particular setting? Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: spamd update
On Wed, 21 Apr 2010 04:22:53 -0700 Jim Pazarena wrote: > I recently upgraded p5-Mail-SpamAssassin on FreeBSD 8.0, > and now exim generates the following error message in > its logs: > spam acl condition: cannot parse spamd output > > spamd and exim ran fine until I performed this update. > can anyone suggest where to commence fixing this? > > I have already run "sa-update" which didn't fix the issue. Did you restart spamd? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: lighten kernel
Thank you for your answer. But how I can only choose the intel agp driver, without all others by puting "agp" in the kernel configuration file? On 04/21/10 15:20, Ivailo Tanusheff wrote: As far as I understand this is one of the main reasons to make a custom kernel :) So yes, you can do that if you do not need those kernel modules. Regards, Ivailo Tanusheff Deputy Head of IT Department ProCredit Bank (Bulgaria) AD *xyz * Sent by: owner-freebsd-questi...@freebsd.org 21.04.2010 15:54 To freebsd-questions@freebsd.org cc Subject lighten kernel Hi everybody I want to build a custom kernel, because my pc doesn't have much memory. So I would like reduce the size of the kernel load in the memory, to save her. My question is, is it possible to save more memory, by removing the whole agp drivers, and keeping only the driver needed? And so on for the rest of the drivers (sound, ...).drivers. Thank you Disclaimer: The information contained in this message is intended solely for the use of the individual or entity to whom it is addressed and to others authorised to receive it. It may contain confidential or legally privileged information. It you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or taking any action based on the contents of this message is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this e-mail and then delete it from your system. ProCredit Bank is neither liable for the proper and complete transmission for the information contained in this message nor for any delay in its receipt. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: lighten kernel
As far as I understand this is one of the main reasons to make a custom kernel :) So yes, you can do that if you do not need those kernel modules. Regards, Ivailo Tanusheff Deputy Head of IT Department ProCredit Bank (Bulgaria) AD xyz Sent by: owner-freebsd-questi...@freebsd.org 21.04.2010 15:54 To freebsd-questions@freebsd.org cc Subject lighten kernel Hi everybody I want to build a custom kernel, because my pc doesn't have much memory. So I would like reduce the size of the kernel load in the memory, to save her. My question is, is it possible to save more memory, by removing the whole agp drivers, and keeping only the driver needed? And so on for the rest of the drivers (sound, ...).drivers. Thank you Disclaimer: The information contained in this message is intended solely for the use of the individual or entity to whom it is addressed and to others authorised to receive it. It may contain confidential or legally privileged information. It you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or taking any action based on the contents of this message is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this e-mail and then delete it from your system. ProCredit Bank is neither liable for the proper and complete transmission for the information contained in this message nor for any delay in its receipt. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
lighten kernel
Hi everybody I want to build a custom kernel, because my pc doesn't have much memory. So I would like reduce the size of the kernel load in the memory, to save her. My question is, is it possible to save more memory, by removing the whole agp drivers, and keeping only the driver needed? And so on for the rest of the drivers (sound, ...).drivers. Thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
porteasy usage
Trying to use porteasy. porteasy -u keeps saying "No CVS root". What does that mean? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
spamd update
I recently upgraded p5-Mail-SpamAssassin on FreeBSD 8.0, and now exim generates the following error message in its logs: spam acl condition: cannot parse spamd output spamd and exim ran fine until I performed this update. can anyone suggest where to commence fixing this? I have already run "sa-update" which didn't fix the issue. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
spamd update
I recently upgraded p5-Mail-SpamAssassin on FreeBSD 8.0, and now exim generates the following error message in its logs: spam acl condition: cannot parse spamd output spamd and exim ran fine until I performed this update. can anyone suggest where to commence fixing this? Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: multishell user profile
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/04/2010 09:30:54, Odhiambo Washington wrote: > On Wed, Apr 21, 2010 at 10:53 AM, Erik Norgaard wrote: > >> Hi: >> >> I need to create a user profile that works in different shells, >> particularly bash, csh and ksh. It seems that these does not read the same >> files and/or in the same order. So, how do I configure the shell profiles >> without configuring each shell separately? >> >> > Well, each shell reads different files for environment variables, etc. > So just have those files in ~/ and install the shells, then invoke them as > you wish. See login.conf(5) -- you can set environment variables for all users independent of what shell they use. 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 -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvOxyAACgkQ8Mjk52CukIwsKwCdFhS+EMLE0iG238ydQnnIesyR nzcAnRSybbdnQAkfCjGA8HwkLk3WwRLT =9s6B -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Kill via Cron...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/04/2010 09:36:24, mcoyles wrote: > I'm actually trying to kill the following in one swep if they've taken more > than > 8 hours to complete... : > > 39028 ?? Is 0:00.01 /bin/sh -c sh /root/tools/backup/fullbackup.sh > 39070 ?? I 0:00.04 /usr/bin/perl /root/tools/backup/backuptodisk.pl > (perl5.8.9) > 62219 ?? I 0:00.00 sh -c /sbin/dump -0 -auf - /usr | gzip -q > > /backup/wednesday/usr.dump.gz > 62220 ?? I 0:00.33 /sbin/dump -0 -auf - /usr (dump) > 62221 ?? S 0:27.11 gzip -q > 6 ?? S 0:03.07 dump: /dev/da0s1e: pass 4: 3.82% done, finished in > 1:09 at Wed Apr 21 09:48:59 2010 (dump) > 62223 ?? DL 0:01.80 /sbin/dump -0 -auf - /usr (dump) > 62224 ?? DL 0:01.79 /sbin/dump -0 -auf - /usr (dump) > 62225 ?? DL 0:01.81 /sbin/dump -0 -auf - /usr (dump) > > Have tried everything suggested thus far but nothing's done it as > effectively as the original command run at commandline... just trying to > automate the process by having cron kill at 8am. Hmmm is that because the system needs the resources for its usual functions after 8am? Or because if it hasn't finished by that time, it is clearly hung up and never going to finish? In the first case, I'd suggest simply running the backup at very low priority by renicing it to a high value -- it will run at usual speed *unless* there is anything else that wants a CPU timeslice, when it will be made to wait. In the second case, fixing whatever is causing the hang would be a better idea. (Processes that are hung up trying to do IO may not respond to signals very promptly which could explain some of your difficulties.) Unless you've got literally terabytes of content or are trying to write to a ridiculously slow device, and assuming you start the backup process at midnight, 8h is more than enough to backup most hard drives. Is your /backup partition on the *same* disk you're backing up? Or perhaps /backup is on the slave and /usr is on the master of the same IDE bus? Either of those could cause significant IO congestion. Other things to check for are filesystem corruption -- you'll need to take the machine down to single user, unmount the partitions in question and run fsck(8) on them -- or hardware problems - -- check the system log for any reports of trouble, try installing smartd and see if it tells you anything interesting. If your disk is flaking out, then don't try and coddle it along: replace it ASAP. Once things have got to the state where errors are affecting the OS, for any modern drive that indicates complete failure is imminent. Cheers, Matthew PS. You'll get better results if you add "-L -C 32" to the dump(1) command line. Should speed things up nicely as well. - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvOxokACgkQ8Mjk52CukIzwXACggmDSc35Y+r936agwCuihzghT tIgAmgLemFna0dbuhRsJau5QAQ1lnvo0 =vKgz -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: multishell user profile
On Wed, Apr 21, 2010 at 10:53 AM, Erik Norgaard wrote: > Hi: > > I need to create a user profile that works in different shells, > particularly bash, csh and ksh. It seems that these does not read the same > files and/or in the same order. So, how do I configure the shell profiles > without configuring each shell separately? > > Well, each shell reads different files for environment variables, etc. So just have those files in ~/ and install the shells, then invoke them as you wish. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
RE: Kill via Cron...
>>> kill -9 `ps ax | grep backup | grep -v grep | awk '{print $1}'` >>And you don't have to remember grep -v grep if you remember to use "ps >>axc" (note the c), since arguments won't show up so the arguments to >>grep won't generate a false positive. I'm actually trying to kill the following in one swep if they've taken more than 8 hours to complete... : 39028 ?? Is 0:00.01 /bin/sh -c sh /root/tools/backup/fullbackup.sh 39070 ?? I 0:00.04 /usr/bin/perl /root/tools/backup/backuptodisk.pl (perl5.8.9) 62219 ?? I 0:00.00 sh -c /sbin/dump -0 -auf - /usr | gzip -q > /backup/wednesday/usr.dump.gz 62220 ?? I 0:00.33 /sbin/dump -0 -auf - /usr (dump) 62221 ?? S 0:27.11 gzip -q 6 ?? S 0:03.07 dump: /dev/da0s1e: pass 4: 3.82% done, finished in 1:09 at Wed Apr 21 09:48:59 2010 (dump) 62223 ?? DL 0:01.80 /sbin/dump -0 -auf - /usr (dump) 62224 ?? DL 0:01.79 /sbin/dump -0 -auf - /usr (dump) 62225 ?? DL 0:01.81 /sbin/dump -0 -auf - /usr (dump) Have tried everything suggested thus far but nothing's done it as effectively as the original command run at commandline... just trying to automate the process by having cron kill at 8am. Cheers! Marci ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD install Error
Georghy a écrit : Hi folks, I'm experiencing a problem when I try to install FreeBSD on a Virtual Server using KVM, The first part of the installation was fine but after setting all the option (I use a custom installation of FreeBSD) the installation encounter an error : "Write failure on transfer! (wrote -1 bytes of 1425408 bytes)" I tried to use "alt"+"2" but it doesn't show any clue for that error Do you know how should I fix it ? Forget it, I have found what's wrong. But do you know how do i insert a "." when I type "." the screen displays ";" Maybe it is virt-manager related -- Cordialement, / Greetings, Georghy FUSCO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
multishell user profile
Hi: I need to create a user profile that works in different shells, particularly bash, csh and ksh. It seems that these does not read the same files and/or in the same order. So, how do I configure the shell profiles without configuring each shell separately? Also, I can't find information if they use the same syntax, or what syntax they share so I can stick to that. Does POSIX specify any of this? Thanks, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
FreeBSD install Error
Hi folks, I'm experiencing a problem when I try to install FreeBSD on a Virtual Server using KVM, The first part of the installation was fine but after setting all the option (I use a custom installation of FreeBSD) the installation encounter an error : "Write failure on transfer! (wrote -1 bytes of 1425408 bytes)" I tried to use "alt"+"2" but it doesn't show any clue for that error Do you know how should I fix it ? -- Cordialement, / Greetings, Georghy FUSCO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [SPURIOUS] Delivery Status Notification(Failure) (fwd)
Matthew Seaman wrote: > One bounce is bad enough if it goes back to the whole list > -- but that could be excused as a momentary aberration. > Any more than that is grounds for reporting the message to > postmas...@freebsd.org and having the sender blacklisted: > anyone that configures a mail server to send error notifications > to an entire mailing list needs a) to spend some quality time > studying the SMTP RFCs and b) to step away from the keyboard > /now/ as they are clearly not competent to run a mail server > on the Internet. I've seen no indications of the bounces going to the list, only to the sender (i.e. I posted 4 messages to freebsd-questions@ and got back 4 bounces; I didn't get bounces that seemed related to anyone else's posts). However, it does look as if someone needs to teach that mailserver about the Errors-To: header. > Thoroughly recommend using relaydb(1) to teach your mail system > where you've received spam from in the past and make sure it > doesn't happen again ... I let my uucp(!) upstream's Red Condor spam filter deal with that sort of problem :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"