Re: sendmail on server with ip aliases
Giorgos Keramidas wrote: On Wed, 2 Jul 2008 11:56:58 -0400, D W [EMAIL PROTECTED] wrote: Hello, Having a problem with sendmail on some of my servers supporting several virtual apache hosts. Because these servers have 5-10 ip aliases bound, it sometimes trips up sendmail when sending outbound mail to my smarthost. All servers are configured to use the same smarthost. But on one of the hosts, sendmail will send out as the one of the virtual hosts instead of the main host, which is what I need. Example: webhost01.webdomain.com is the host. Five ip aliases for apache virtual servers: Something is probably missing below the last quoted line. Are you using jails for the virtual hosts? If not, then you are probably using *one* Sendmail instance for all the domains, which still sends emails as the primary hostname but should work fine... You can also force sendmail to send /from/ a specific IP by putting some something like the following into /etc/mail/$(hostname).mc dnl Send via the IP number that correctly reverses to our EHLO CLIENT_OPTIONS(`Name=MTA, Family=inet, Addr=12.34.56.78') 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: 7.0-release / systat / 3GB
Wojciech Puchar wrote: I am a bit curious though why once the outgoing bandwidth exceeds (more or less) 3GB, the Total counter gets reset and starts counting from scratch. isn't it 4GB - because of 32-bit unsigned counter? I would guess so. Using a 64-bit counter on 32-bit systems would cause additional processing overhead for little benefit. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Configuring an older server for speed...
The squid developers recommend aufs: http://www.squid-cache.org/mail-archive/squid-users/200709/0150.html Most people seem to regard it as stable. at most 1 hour before crash on my system with 300 users served, many version tested, none worked. possibly it doesn't under linux or under light load. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: anyone been crazy enough to mirror wikipedia?
references and 'buy it now' links, I can find out a layman's introduction to nearly anything in one click. in most cases bad introduction. but of course for intelligent people it is not a problem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.0-release / systat / 3GB
Hello, Kris Kennaway: Wojciech Puchar wrote: I am a bit curious though why once the outgoing bandwidth exceeds (more or less) 3GB, the Total counter gets reset and starts counting from scratch. isn't it 4GB - because of 32-bit unsigned counter? I would guess so. Using a 64-bit counter on 32-bit systems would cause additional processing overhead for little benefit. I have confirmed (with assistance from Wojtek Puchar) that the problem of resetting a Total counter for 'systat -ifstat' happens every 4GB (not 3GB) amount of data. It only affects i386 machines. amd64 machines are not affected. I have tested this on 7.0 and 6.1-Release versions. Here's an example em0 in104.564 KB/s104.564 KB/s2.401 GB out 220.282 KB/s284.090 KB/s3.874 GB em0 in 17.416 KB/s220.306 KB/s2.404 GB out 257.781 KB/s284.090 KB/s3.902 GB em0 in 35.181 KB/s803.832 KB/s2.420 GB out 170.575 KB/s284.090 KB/s3.980 GB em0 in 11.020 KB/s803.832 KB/s2.423 GB out27.773 KB/s284.090 KB/s3.998 GB em0 in 5.515 KB/s803.832 KB/s2.423 GB out97.953 KB/s284.090 KB/s4.000 GB em0 in 7.944 KB/s803.832 KB/s2.423 GB out71.475 KB/s284.090 KB/s 25.019 KB I have submitted a pr in case this can be fixed. http://www.freebsd.org/cgi/query-pr.cgi?pr=125196 Thanks! -- Zbigniew Szalbot www.LCWords.com smime.p7s Description: S/MIME Cryptographic Signature
Re: RT2790 Wireless miniCard - ral not working on Eee Box
I can't, its not mine, its work. But if I had specs I would be more than willing to contribute (I suppose add support within ral). :D! -aps On Wed, Jul 2, 2008 at 6:51 PM, David Gurvich [EMAIL PROTECTED] wrote: Is there a driver for this chipset? If not, why not? :D! No. The developers probably don't have the hardware. If you want support for it, I would suggest donating a card to a developer. ___ 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]
Saved Config Files for Ports
Where are saved configuration files found for various ports if they've been previously compiled ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Saved Config Files for Ports
Warren Liddell wrote: Where are saved configuration files found for various ports if they've been previously compiled ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Have a look at /var/db/ports ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OT - printing question
I have a postscript printer. I can send the output of text files to the printer; but the printer won't eject the page until I send enough text to fill the page. Is there a standard page-break or eject page command? Thanks, Andrew Gould ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Saved Config Files for Ports
On Thu, Jul 03, 2008 at 10:32:14PM +1000, Warren Liddell wrote: Where are saved configuration files found for various ports if they've been previously compiled ? /var/db/ports/ -- Insert your favourite quote here. Erik Trulsson [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: Saved Config Files for Ports
On Thu, 3 Jul 2008, Warren Liddell wrote: Where are saved configuration files found for various ports if they've been previously compiled ? In: /var/db/ports/port_name/options ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.0-release / systat / 3GB
Zbigniew Szalbot wrote: Hello, Kris Kennaway: Wojciech Puchar wrote: I am a bit curious though why once the outgoing bandwidth exceeds (more or less) 3GB, the Total counter gets reset and starts counting from scratch. isn't it 4GB - because of 32-bit unsigned counter? I would guess so. Using a 64-bit counter on 32-bit systems would cause additional processing overhead for little benefit. I have confirmed (with assistance from Wojtek Puchar) that the problem of resetting a Total counter for 'systat -ifstat' happens every 4GB (not 3GB) amount of data. It only affects i386 machines. amd64 machines are not affected. I have tested this on 7.0 and 6.1-Release versions. Here's an example em0 in104.564 KB/s104.564 KB/s2.401 GB out 220.282 KB/s284.090 KB/s3.874 GB em0 in 17.416 KB/s220.306 KB/s2.404 GB out 257.781 KB/s284.090 KB/s3.902 GB em0 in 35.181 KB/s803.832 KB/s2.420 GB out 170.575 KB/s284.090 KB/s3.980 GB em0 in 11.020 KB/s803.832 KB/s2.423 GB out27.773 KB/s284.090 KB/s3.998 GB em0 in 5.515 KB/s803.832 KB/s2.423 GB out97.953 KB/s284.090 KB/s4.000 GB em0 in 7.944 KB/s803.832 KB/s2.423 GB out71.475 KB/s284.090 KB/s 25.019 KB I have submitted a pr in case this can be fixed. http://www.freebsd.org/cgi/query-pr.cgi?pr=125196 I explained above why it cannot reasonably be fixed on i386 :-) Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT - printing question
On Thu, 3 Jul 2008 07:43:44 -0500 Andrew Gould [EMAIL PROTECTED] wrote: I have a postscript printer. I can send the output of text files to the printer; but the printer won't eject the page until I send enough text to fill the page. Is there a standard page-break or eject page command? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-troubleshooting.html Andreas -- GnuPG key : 0x2A573565|http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 pgpqUKgz2CTsp.pgp Description: PGP signature
Re: OT - printing question
On Thu, 3 Jul 2008, Andrew Gould wrote: I have a postscript printer. I can send the output of text files to the printer; but the printer won't eject the page until I send enough text to fill the page. Is there a standard page-break or eject page command? If you're sending PS, it's showpage. But it sounds like you're sending plain text. In that case, the printer will eject the page when it gets 60 lines or a form feed (\f, 0x0c). It may be just as easy to convert your text to PS before sending. /usr/ports/print/enscript-letter (or -A4) is handy for that. -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]
Does 'top' work on multi-processor systems?
I have a 3 month old server with two quad-core processors, 8G of RAM, and an array of fast hard drives. The two main applications are web server and mail server. There are only about 20 small-business websites and approx. 40 email accounts on the server. i.e., not much. In terms of actual usage, performance is great. Web pages load fast, and email is processed quickly. And the 92 days of up time says that this server has been up 100% since it's been installed in colo. However, 'top' shows a fairly high load (see below). If when I leave top running for a while, I see the load average spike up to 7 or 8 occasionally. However, this doesn't translate into slow performance... pages still load quickly. Also, what's up with that 157% WCPU for the mysql process? That just seems wrong. The WCPU number for mysql has been stuck up above 100% for a few weeks... it seems like something is broken there. On my previous single processor system, top was a good rough indicator of how the system was doing. But it doesn't seem to work very well on this 8 core system. My best guess is that the bogus mysql number is also throwing off the load averages, making them higher than they really are, but that's just a guess. Any thoughts? Is there a better tool for measuring load? -- John last pid: 43730; load averages: 1.93, 2.64, 2.22 up 92+19:45:54 09:26:27 238 processes: 3 running, 235 sleeping CPU states: 8.1% user, 0.0% nice, 17.3% system, 0.2% interrupt, 74.4% idle Mem: 1384M Active, 3753M Inact, 373M Wired, 884K Cache, 214M Buf, 2150M Free Swap: 16G Total, 88K Used, 16G Free PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 1393 mysql 63 200 400M 221M kserel 0 191.5H 157.13% mysqld 43698 www 1 40 169M 29888K sbwait 5 0:00 2.63% httpd 43697 www 1 200 169M 29804K lockf 1 0:00 1.18% httpd 23376 vpopmail1 40 81468K 55772K select 7 0:28 1.17% perl5.8.8 43729 root1 960 7228K 2676K select 5 0:00 1.00% couriertls 43695 www 1 40 169M 29768K sbwait 5 0:00 0.67% httpd 43417 www 1 40 170M 31340K sbwait 7 0:00 0.20% httpd 85622 root1 40 98588K 68764K select 5 7:54 0.20% ruby 43325 www 1 200 170M 30412K lockf 7 0:00 0.15% httpd 6352 root1 40 97660K 67784K select 3 1:04 0.10% ruby 42848 www 1 40 169M 30004K sbwait 4 0:00 0.10% httpd 43111 www 1 200 170M 30336K lockf 2 0:00 0.05% httpd ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wordpress package install failure
Len Conrad [EMAIL PROTECTED] writes: When I try to install wordpress: pkg_add ftp://ftp4.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/wordpress-2.5.1,1.tbz Fetching ftp://ftp4.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/wordpress-2.5.1,1.tbz... Done. Fetching ftp://ftp4.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/mysql-client-5.0.51a.tbz... Done. pkg_add: package 'mysql-client-5.0.51a' conflicts with mysql-client-5.1.22 pkg_add: please use pkg_delete first to remove conflicting package(s) or -f to force installation pkg_add: pkg_add of dependency 'mysql-client-5.0.51a' failed! Fetching ftp://ftp4.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/php5-mysql-5.2.6.tbz... Done. pkg_add: could not find package mysql-client-5.0.51a ! pkg_add: pkg_add of dependency 'php5-mysql-5.2.6' failed! Of course, downgrading mysql-client-5.0.51a won't work because you have to downgrade the server, and then who knows where that ball of string will lead. I'd really like the follow the advice of using the packages, but the above happens frequently. Suggestions about how to fix the above? Looks like the package is just out of date. Try building from the port, or wait for the package set to get rebuilt (and hope nothign else changes first). -- 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 [EMAIL PROTECTED]
Re: to shell (and X window System) wizards.
On Wed, Jul 02, 2008 at 07:13:50PM -0700, Gary Kline wrote: would this works, say in .zlogin, to say that X is up: if [ -e /tmp/.X11-unix/X0 ] then echo X is up. exit 0; else echo No X yet exit 1; fi or is there something more clever? I'm not sure if it's any cleverer, but I would probably make a call to pgrep(1) instead of relying on the existence of a file that might exist, even if X isn't running (unusual, but it does happen now and then, here at least) - something like if (pgrep Xorg) then echo X is up. exit 0 else echo No X yet... exit 1 fi ... should do the trick. And bear in mind that ~/.zlogin is run *after* ~/.zshrc, whereas ~/.zprofile is run *before* it. It might matter, depending on what you are trying to do. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpQGnb8FAuUm.pgp Description: PGP signature
Re: Does 'top' work on multi-processor systems?
If I recall correctly, on dual processor systems, 200% is full processor utilization, so on an essentially 8 processor system, 800% would be full processor utilization. 157% in top would actually amount to about 20% of your full processor power. On Thursday, July 03, 2008, at 05:41AM, John Almberg [EMAIL PROTECTED] wrote: I have a 3 month old server with two quad-core processors, 8G of RAM, and an array of fast hard drives. The two main applications are web server and mail server. There are only about 20 small-business websites and approx. 40 email accounts on the server. i.e., not much. In terms of actual usage, performance is great. Web pages load fast, and email is processed quickly. And the 92 days of up time says that this server has been up 100% since it's been installed in colo. However, 'top' shows a fairly high load (see below). If when I leave top running for a while, I see the load average spike up to 7 or 8 occasionally. However, this doesn't translate into slow performance... pages still load quickly. Also, what's up with that 157% WCPU for the mysql process? That just seems wrong. The WCPU number for mysql has been stuck up above 100% for a few weeks... it seems like something is broken there. On my previous single processor system, top was a good rough indicator of how the system was doing. But it doesn't seem to work very well on this 8 core system. My best guess is that the bogus mysql number is also throwing off the load averages, making them higher than they really are, but that's just a guess. Any thoughts? Is there a better tool for measuring load? -- John last pid: 43730; load averages: 1.93, 2.64, 2.22 up 92+19:45:54 09:26:27 238 processes: 3 running, 235 sleeping CPU states: 8.1% user, 0.0% nice, 17.3% system, 0.2% interrupt, 74.4% idle Mem: 1384M Active, 3753M Inact, 373M Wired, 884K Cache, 214M Buf, 2150M Free Swap: 16G Total, 88K Used, 16G Free PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 1393 mysql 63 200 400M 221M kserel 0 191.5H 157.13% mysqld 43698 www 1 40 169M 29888K sbwait 5 0:00 2.63% httpd 43697 www 1 200 169M 29804K lockf 1 0:00 1.18% httpd 23376 vpopmail1 40 81468K 55772K select 7 0:28 1.17% perl5.8.8 43729 root1 960 7228K 2676K select 5 0:00 1.00% couriertls 43695 www 1 40 169M 29768K sbwait 5 0:00 0.67% httpd 43417 www 1 40 170M 31340K sbwait 7 0:00 0.20% httpd 85622 root1 40 98588K 68764K select 5 7:54 0.20% ruby 43325 www 1 200 170M 30412K lockf 7 0:00 0.15% httpd 6352 root1 40 97660K 67784K select 3 1:04 0.10% ruby 42848 www 1 40 169M 30004K sbwait 4 0:00 0.10% httpd 43111 www 1 200 170M 30336K lockf 2 0:00 0.05% httpd ___ 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]
Problem with pf, which is not doing NAT
Hi, I try to use a FreeBSD machine as a gateway with 2 LAN, one WAN connection and a local Squid. All I want to do for the beginning is do NAT the whole traffic to the Internet. The whole traffic should be go directly to the WAN interface If one of the users want to, than he should be able to use the Squid. But as I said, they don't have to... at least for the beginning. Now my problem, the only way to access the internet at the moment is to use the Squid. OK not bad, at least something is working, but not the way I want :-/ It would be nice if I could still access my SSHd after setting up the new pf.conf, which is working at the moment. I have, in my sysctrl.conf, a net.inet.ip.forwarding=1 line and while booting up it is set to one. My pf.conf is this. ExtIF1 = ed0 ExtIF = $ExtIF1 # i know a bit useless IntIF1 = ed1 IntIF2 = ed2 IntIF = { $IntIF1 $IntIF2 } LocIF = lo0 scrub log on $ExtIF all random-id min-ttl 254 max-mss 1452 reassemble tcp fragment reassemble no rdr on $LocIF from any to any nat on $ExtIF from $IntIF1:network to any - ($ExtIF) nat on $ExtIF from $IntIF2:network to any - ($ExtIF) So any ideas? cu AssetBurned ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD and Bacula
I want to use FreeBSD 7.0 for Backup server. After little searching, my decision was to use Bacula (because of Windows client). After installation of latest version (Bacula 2.4.0) and active googling, reading very carefuly Onlamp article of Bacula server on FreeBSD (http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and configuring File, Storage and Director files, I was astonished by the fact that Bacula cannot start from provided scripts in /usr/local/etc/rc.d/ directory. No messages in log, no error messages in console, ps aux| grep 'bacula' say nothing, nothing! I put bacula_dir_enable=YES bacula_fd_enable=YES bacula_sd_enable=YES and after restart on console shows this error: 03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483 Config error: Could not find config Resource bacula-fd referenced on line 30 : Client = bacula-fd : line 30, col 20 of file /usr/local/etc/bacula-dir.conf Client = bacula-fd All Bacula .conf files are attached. Is there a bug, or misconfigured .conf files? -- Windows: Where do you want to go today? Linux: Where do you want to go tomorrow? FreeBSD: Are you guys coming, or what? bacula-sd.conf Description: Binary data bacula-dir.conf Description: Binary data bacula-fd.conf Description: Binary data ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
library for readline()
The man page for readline() shows where to find the include files, but makes no mention of the associated libraries. The only library I can find that looks possible is libguilereadline-v-17 - is this the right object, or should I be looking elsewhere? 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: FreeBSD and Bacula
Ivaylo Bonev wrote: I want to use FreeBSD 7.0 for Backup server. After little searching, my decision was to use Bacula (because of Windows client). After installation of latest version (Bacula 2.4.0) and active googling, reading very carefuly Onlamp article of Bacula server on FreeBSD (http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and configuring File, Storage and Director files, I was astonished by the fact that Bacula cannot start from provided scripts in /usr/local/etc/rc.d/ directory. No messages in log, no error messages in console, ps aux| grep 'bacula' say nothing, nothing! I put bacula_dir_enable=YES bacula_fd_enable=YES bacula_sd_enable=YES and after restart on console shows this error: 03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483 Config error: Could not find config Resource bacula-fd referenced on line 30 : Client = bacula-fd : line 30, col 20 of file /usr/local/etc/bacula-dir.conf Client = bacula-fd All Bacula .conf files are attached. Is there a bug, or misconfigured .conf files? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I don't know Bacula, but taking a quick look at the config file, it looks like you need a client block named bacula-fd (you have one called laptop-fd) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and Bacula
Ivaylo Bonev wrote: I want to use FreeBSD 7.0 for Backup server. After little searching, my decision was to use Bacula (because of Windows client). After installation of latest version (Bacula 2.4.0) and active googling, reading very carefuly Onlamp article of Bacula server on FreeBSD (http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and configuring File, Storage and Director files, I was astonished by the fact that Bacula cannot start from provided scripts in /usr/local/etc/rc.d/ directory. No messages in log, no error messages in console, ps aux| grep 'bacula' say nothing, nothing! I put bacula_dir_enable=YES bacula_fd_enable=YES bacula_sd_enable=YES and after restart on console shows this error: 03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483 Config error: Could not find config Resource bacula-fd referenced on line 30 : Client = bacula-fd : line 30, col 20 of file /usr/local/etc/bacula-dir.conf Client = bacula-fd All Bacula .conf files are attached. Is there a bug, or misconfigured .conf files? You have laptop-fd in your bacula-fd configuration, you dont have bacula-fd (I think you've renamed the Client conf from samples). Change bacula-fd with laptop-fd and should work ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: library for readline()
In the last episode (Jul 03), Robert Huff said: The man page for readline() shows where to find the include files, but makes no mention of the associated libraries. The only library I can find that looks possible is libguilereadline-v-17 - is this the right object, or should I be looking elsewhere? It's just libreadline. There should be one in /usr/lib/ . -- 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: FreeBSD and Bacula
Ivaylo Bonev wrote: I want to use FreeBSD 7.0 for Backup server. After little searching, my decision was to use Bacula (because of Windows client). After installation of latest version (Bacula 2.4.0) and active googling, reading very carefuly Onlamp article of Bacula server on FreeBSD (http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and configuring File, Storage and Director files, I was astonished by the fact that Bacula cannot start from provided scripts in /usr/local/etc/rc.d/ directory. No messages in log, no error messages in console, ps aux| grep 'bacula' say nothing, nothing! I put bacula_dir_enable=YES bacula_fd_enable=YES bacula_sd_enable=YES and after restart on console shows this error: 03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483 Config error: Could not find config Resource bacula-fd referenced on line 30 : Client = bacula-fd : line 30, col 20 of file /usr/local/etc/bacula-dir.conf Client = bacula-fd All Bacula .conf files are attached. Is there a bug, or misconfigured .conf files? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Surely a misconfiguration, I have just finished setting up bacula on a freebsd 7-STABLE host, successfully. Regards, Hugo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and Bacula
Thu, 03 Jul 2008 20:30:00 +0300, Rodrigo Gonzalez [EMAIL PROTECTED]: Ivaylo Bonev wrote: I want to use FreeBSD 7.0 for Backup server. After little searching, my decision was to use Bacula (because of Windows client). After installation of latest version (Bacula 2.4.0) and active googling, reading very carefuly Onlamp article of Bacula server on FreeBSD (http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and configuring File, Storage and Director files, I was astonished by the fact that Bacula cannot start from provided scripts in /usr/local/etc/rc.d/ directory. No messages in log, no error messages in console, ps aux| grep 'bacula' say nothing, nothing! I put bacula_dir_enable=YES bacula_fd_enable=YES bacula_sd_enable=YES and after restart on console shows this error: 03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483 Config error: Could not find config Resource bacula-fd referenced on line 30 : Client = bacula-fd : line 30, col 20 of file /usr/local/etc/bacula-dir.conf Client = bacula-fd All Bacula .conf files are attached. Is there a bug, or misconfigured .conf files? You have laptop-fd in your bacula-fd configuration, you dont have bacula-fd (I think you've renamed the Client conf from samples). Change bacula-fd with laptop-fd and should work Thanks, it works now! What is name convention for Windows derectories and files in 'File =' 'c:/new' or '/new'? -- Windows: Where do you want to go today? Linux: Where do you want to go tomorrow? FreeBSD: Are you guys coming, or what? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and Bacula
Ivaylo Bonev wrote: Thu, 03 Jul 2008 20:30:00 +0300, Rodrigo Gonzalez [EMAIL PROTECTED]: Ivaylo Bonev wrote: I want to use FreeBSD 7.0 for Backup server. After little searching, my decision was to use Bacula (because of Windows client). After installation of latest version (Bacula 2.4.0) and active googling, reading very carefuly Onlamp article of Bacula server on FreeBSD (http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and configuring File, Storage and Director files, I was astonished by the fact that Bacula cannot start from provided scripts in /usr/local/etc/rc.d/ directory. No messages in log, no error messages in console, ps aux| grep 'bacula' say nothing, nothing! I put bacula_dir_enable=YES bacula_fd_enable=YES bacula_sd_enable=YES and after restart on console shows this error: 03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483 Config error: Could not find config Resource bacula-fd referenced on line 30 : Client = bacula-fd : line 30, col 20 of file /usr/local/etc/bacula-dir.conf Client = bacula-fd All Bacula .conf files are attached. Is there a bug, or misconfigured .conf files? You have laptop-fd in your bacula-fd configuration, you dont have bacula-fd (I think you've renamed the Client conf from samples). Change bacula-fd with laptop-fd and should work Thanks, it works now! What is name convention for Windows derectories and files in 'File =' 'c:/new' or '/new'? I dont use windows so I dont knowbut I think that should be c:/ or wont know which disk/partition you are talking about ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and Bacula
Ivaylo Bonev ha scritto: I was astonished by the fact that Bacula cannot start from provided scripts in /usr/local/etc/rc.d/ directory. No messages in log, no error messages in console, ps aux| grep 'bacula' say nothing, nothing! I put bacula_dir_enable=YES bacula_fd_enable=YES bacula_sd_enable=YES This is quite tipical behaviour for ports. and after restart on console shows this error: 03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483 Config error: Could not find config Resource bacula-fd referenced on line 30 : Client = bacula-fd : line 30, col 20 of file /usr/local/etc/bacula-dir.conf Client = bacula-fd All Bacula .conf files are attached. Is there a bug, or misconfigured .conf files? It's a problem in your configuration: you have some jobs that refers to a bacula-fd client resource, but your only client resource is named laptop-fd. You'll want to change either one or the others of those definitions. BTW, given this is not a FreeBSD or FreeBSD specific problem, this question belongs more to Bacula's own mailing list (even if I rarely ever found any help there). bye av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: library for readline()
On Thu, Jul 03, 2008 at 01:06:17PM -0400, Robert Huff wrote: The man page for readline() shows where to find the include files, but makes no mention of the associated libraries. The only library I can find that looks possible is libguilereadline-v-17 - is this the right object, or should I be looking elsewhere? The associated library ought to be libreadline, which is installed as part of FreeBSD. -- Insert your favourite quote here. Erik Trulsson [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: FreeBSD and Bacula
Thu, 03 Jul 2008 20:37:04 +0300, Andrea Venturoli [EMAIL PROTECTED]: Ivaylo Bonev ha scritto: I was astonished by the fact that Bacula cannot start from provided scripts in /usr/local/etc/rc.d/ directory. No messages in log, no error messages in console, ps aux| grep 'bacula' say nothing, nothing! I put bacula_dir_enable=YES bacula_fd_enable=YES bacula_sd_enable=YES This is quite tipical behaviour for ports. and after restart on console shows this error: 03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483 Config error: Could not find config Resource bacula-fd referenced on line 30 : Client = bacula-fd : line 30, col 20 of file /usr/local/etc/bacula-dir.conf Client = bacula-fd All Bacula .conf files are attached. Is there a bug, or misconfigured .conf files? It's a problem in your configuration: you have some jobs that refers to a bacula-fd client resource, but your only client resource is named laptop-fd. You'll want to change either one or the others of those definitions. BTW, given this is not a FreeBSD or FreeBSD specific problem, this question belongs more to Bacula's own mailing list (even if I rarely ever found any help there). bye av. Because people here are friendly to newbies. We are humans after all, everyone make mistakes :) -- Windows: Where do you want to go today? Linux: Where do you want to go tomorrow? FreeBSD: Are you guys coming, or what? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: to shell (and X window System) wizards.
On Thu, Jul 03, 2008 at 04:36:20PM +0100, Daniel Bye wrote: On Wed, Jul 02, 2008 at 07:13:50PM -0700, Gary Kline wrote: would this works, say in .zlogin, to say that X is up: if [ -e /tmp/.X11-unix/X0 ] then echo X is up. exit 0; else echo No X yet exit 1; fi or is there something more clever? I'm not sure if it's any cleverer, but I would probably make a call to pgrep(1) instead of relying on the existence of a file that might exist, even if X isn't running (unusual, but it does happen now and then, here at least) - something like if (pgrep Xorg) then echo X is up. exit 0 else echo No X yet... exit 1 fi i don't remember using pgrep last time, but it seems more failsafe, so thankee. i seem to recall that /tmp/.X11* is zapped during powerdown, butt for ssure, X has Got to be the the proc table:-) gary ... should do the trick. And bear in mind that ~/.zlogin is run *after* ~/.zshrc, whereas ~/.zprofile is run *before* it. It might matter, depending on what you are trying to do. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Card Reader
Hi, I am using FreeBSD 7.0 on a Dell Inspiron 640m notebook, which comes with a Ricoh R5C832 5-in-1 Media Card Reader. This chip doesn't seem to be supported by FreeBSD 7.0. Is there any way I could make it work? (I tried fwohci(4) but failed.) Thanks, Girish. -- Girish Kulkarni - Allahabad, India - http://girish.50webs.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Too Much Context Switching?
Written by [EMAIL PROTECTED] on 06/30/08 12:58 In 6.x. the default thread library is quite inefficient although it can make use of multiple CPUs (again, providing the application is giving them work to do). For multi-threaded performance you will be better off switching to the libthr library (see libmap.conf(5)) or updating to 7.0 (where it is the default). This isn't likely to be the underlying issue if you are trying to debug a loss of performance relative to the same configuration in the past though. Indeed Plone is written in python, and python has a Big Giant Lock inside which insures that only one thread can execute, in order to protect the python structures. This lock is only released under special circumstances, such as doing IO. Hence it is necessary to run several instances of python programs and do synchronization work, if one wants to make use of several CPUs, or use python threads, and immediately make some IOs, or similar techniques. It may be that using Jython, if possible, yields better threading behavior. When doing some work according to these ideas, i had found quite severe contention, and this was not cured when switching native threading libraries (libksd, libthr, etc.). The problem is really inside python. Yep, it could be that -- what confuses me though is that it is claimed that performance suddenly regressed. If so then this cannot be the underlying cause. It's actually been a long, slow, steady degradation of performance as best I can tell, that's recently just reached proportions that are so ridiculous that it's gone from this sucks but I can deal to this is completely unusable. The system has been slow from the start, just not this slow. I guess I'll need to investigate this...and while I know that Python is somewhat off-topic, if anyone here has any suggestions on where to start, they'd be much appreciated. :-) Alex As far as degradations-over-time are concerned, don't overlook your ZODB. If you don't pack it regularly and it grows to some ridiculous size you can be in for a world of hurt. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and Bacula
Ivaylo Bonev wrote: Thu, 03 Jul 2008 20:30:00 +0300, Rodrigo Gonzalez [EMAIL PROTECTED]: Ivaylo Bonev wrote: I want to use FreeBSD 7.0 for Backup server. After little searching, my decision was to use Bacula (because of Windows client). After installation of latest version (Bacula 2.4.0) and active googling, reading very carefuly Onlamp article of Bacula server on FreeBSD (http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and configuring File, Storage and Director files, I was astonished by the fact that Bacula cannot start from provided scripts in /usr/local/etc/rc.d/ directory. No messages in log, no error messages in console, ps aux| grep 'bacula' say nothing, nothing! I put bacula_dir_enable=YES bacula_fd_enable=YES bacula_sd_enable=YES and after restart on console shows this error: 03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483 Config error: Could not find config Resource bacula-fd referenced on line 30 : Client = bacula-fd : line 30, col 20 of file /usr/local/etc/bacula-dir.conf Client = bacula-fd All Bacula .conf files are attached. Is there a bug, or misconfigured .conf files? You have laptop-fd in your bacula-fd configuration, you dont have bacula-fd (I think you've renamed the Client conf from samples). Change bacula-fd with laptop-fd and should work Thanks, it works now! What is name convention for Windows derectories and files in 'File =' 'c:/new' or '/new'? I use Bacula to backup files from Windows XP workstations in my home network. Here is a snippet from my bacula-dir.conf for your reference: FileSet { Name = Bigdaddy Data Files Enable VSS = yes Include { File = c:\\Documents and Settings File = c:\\Elks File = c:\\EG Magicians Circle Options { compression=GZIP signature=MD5 } } # Second Include is to really Exclude some wildcard options. See manual Include { Options { wild = *[Tt]emp* wild = *[Uu][Ss][Ee][Rr]*\.[Dd][Aa][Tt].* wild = UsrClass\.dat.* exclude=yes } } Exclude { } } It's been a long time since I set that up so I probably won't be able to answer any specific questions off the top of my head. However I hope my example will help you find your answers. Cheers, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com ___ 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 pf, which is not doing NAT
-- From: assetburned [EMAIL PROTECTED] Sent: Thursday, July 03, 2008 12:37 PM To: freebsd-questions@freebsd.org Subject: Problem with pf, which is not doing NAT Hi, I try to use a FreeBSD machine as a gateway with 2 LAN, one WAN connection and a local Squid. if yer just trying to have a firewall with squid, take a look at pfSense.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
disabling sound on flash
I have linux-flashplugin7 installed and it has no settings for setting volume... I want to mute it completely (perminantly is ok if there is no per session way to do it)... is there any way to do this (even dening device access for it or firefox is fine with me also) -- Aryeh M. Friedman, FloSoft Systems http://www.flosoft-systems.com Java developer, unit testing, and operatring system development Free Software != Free Beer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Amanda port update
I need to install the current version of Amanda (misc/amanda-client and misc/amanda-server) and would like to install from the ports collection. However the port maintainer has not updated Amanda in quite some time. Can someone give me some advice on how to roll my own ports install from the source tarball? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]