Re: ruby18-rmagick not rebuild (portupgrade)
Am 26.10.10 20:47, schrieb Lowell Gilbert: graphics/ruby-rmagick is a different port than graphics/ImageMagick, so rebuilding everything will only rebuild the former if it's out of date. Whether the other is rebuilt is irrelevant. hm ok, I added now the following line: 'graphics/ImageMagick*' = 'portupgrade -f graphics/ruby-rmagick; /usr/local/etc/rc.d/apache22 restart', in the AFTERINSTALL section, that should force portupgrade to rebuild the rmagick port and restart apache afterwards. Matthias -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning. -- Rich Cook ___ 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
rsync: failed to set permissions on filename: Function not implemented (38)
Hi there, No response on the rsync mail list so I am trying here. I am trying to figure out how I can get my rsync client and server to coexist better. I am running into the following error: rsync: failed to set permissions on filename: Function not implemented (38) and the command line is /usr/bin/rsync --recursive --compress --human-readable --progress --update --perms -avz '/Applications' -e 'ssh -p 22 -o ServerAliveInterval=10' --relative --delete root@hostname:/directory What can I do to alleviate these errors? Cheers, Noah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Can't install - Octave, SuiteSparse
Hello, I encounter the following problem when I try install math/octave. I suspect that problem is with this: /usr/local/bin/ld: final link failed: Nonrepresentable section on output collect2: ld returned 1 exit status My system (fresh install, fresh ports tree csup-ed today): # uname -rms FreeBSD 8.1-RELEASE amd64 Here is the output: [...] gmake[4]: Nothing to be done for `default'. gmake[4]: Leaving directory `/usr/ports/math/suitesparse/work/SuiteSparse/COLAMD /Lib' gmake[3]: Leaving directory `/usr/ports/math/suitesparse/work/SuiteSparse/COLAMD ' ( cd ../../CCOLAMD ; gmake library ) gmake[3]: Entering directory `/usr/ports/math/suitesparse/work/SuiteSparse/CCOLA MD' ( cd Lib; gmake ) gmake[4]: Entering directory `/usr/ports/math/suitesparse/work/SuiteSparse/CCOLA MD/Lib' gmake[4]: Nothing to be done for `default'. gmake[4]: Leaving directory `/usr/ports/math/suitesparse/work/SuiteSparse/CCOLAM D/Lib' gmake[3]: Leaving directory `/usr/ports/math/suitesparse/work/SuiteSparse/CCOLAM D' gcc45 -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc45 -fno-strict-aliasing -DNPARTITIO N -o cholmod_demo -I../Include -I../../UFconfig cholmod_demo.c ../Lib/libcholmod .a ../../AMD/Lib/libamd.a ../../COLAMD/Lib/libcolamd.a ../../CCOLAMD/Lib/libccol amd.a ../../CAMD/Lib/libcamd.a -L/usr/local/lib -pthread -lalapack_r -L/usr/loc al/lib -pthread -lptf77blas -lptcblas -latlas_r -lgfortran -lgfortranbegin -lm /usr/local/bin/ld: cholmod_demo: hidden symbol `__powidf2' in /usr/local/lib/gcc 45/gcc/x86_64-portbld-freebsd8.1/4.5.2/libgcc.a(_powidf2.o) is referenced by DSO /usr/local/bin/ld: final link failed: Nonrepresentable section on output collect2: ld returned 1 exit status gmake[2]: *** [cholmod_demo] Error 1 gmake[2]: Leaving directory `/usr/ports/math/suitesparse/work/SuiteSparse/CHOLMO D/Demo' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/usr/ports/math/suitesparse/work/SuiteSparse/CHOLMO D' gmake: *** [default] Error 2 *** Error code 2 Stop in /usr/ports/math/suitesparse. *** Error code 1 Stop in /usr/ports/math/octave. *** Error code 1 Stop in /usr/ports/math/octave. ___ 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
Amavisd-new issues..
Hello, I recently attempted to install amavisd-new along with clamd to scan email. Here is the guide I used: http://www.freebsddiary.org/virus-scanning.php Everything goes fine until its time to start amavisd-new. It just doesnt start and I do not see anything in the logs to indicate a problem. When I issue the command I see no errors, but do not see it running when I check ps aux Some output from my device: [...@hbca ~]$ uname -a FreeBSD hbca.yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Oct 25 20:48:05 PDT 2010 v...@hbca.yeaguy.com:/usr/obj/usr/src/sys/HBCA i386 [...@hbca ~]$ pkg_info | grep amavis amavisd-new-2.6.4_8,1 Performance-enhanced daemonized version of amavis-perl [...@hbca ~]$ perl -v This is perl, v5.10.1 (*) built for i386-freebsd-64int Copyright 1987-2009, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using man perl or perldoc perl. If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. [...@hbca ~]$ pkg_info | grep perl amavisd-new-2.6.4_8,1 Performance-enhanced daemonized version of amavis-perl p5-DBI-1.615The perl5 Database Interface. Required for DBD::* modules p5-MIME-Tools-5.428,2 A set of perl5 modules for MIME p5-Storable-2.21Persistency for perl data structures p5-Test-Harness-3.22 Run perl standard test scripts with statistics perl-5.10.1_1 Practical Extraction and Report Language [...@hbca ~]$ Thank you for your time, jv ___ 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 analog of net.ipv4.tcp_fin_timeout
There is *net.ipv4.tcp_fin_timeout* in Linux sysctl. It set up timeout of TCP connection to stay in FIN_WAIT2 state. Is there something like that in FreeBSD? -- Best regards, Antonio Kless, http://kless.spb.ru/ ___ 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: Can't install - Octave, SuiteSparse
On Wed, Oct 27, 2010 at 01:09, Zbigniew Komarnicki cblas...@gmail.com wrote: I suspect that problem is with this: /usr/local/bin/ld: final link failed: Nonrepresentable section on output collect2: ld returned 1 exit status This is probably a GCC problem. What exact version are you using (pkg_info | grep gcc)? There is another recent report of issues with the latest update to lang/gcc45: http://lists.freebsd.org/pipermail/freebsd-ports/2010-October/064212.html Perhaps the maintainer knows more (cc'd) or you could try rolling back temporarily - I've successfully built suitesparse with 4.5.2.20101014 on amd64 current recently. -- Rob Farmer ___ 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 analog of net.ipv4.tcp_fin_timeout
On 10/27/2010 09:49 AM, Antonio Kless wrote: There is *net.ipv4.tcp_fin_timeout* in Linux sysctl. It set up timeout of TCP connection to stay in FIN_WAIT2 state. Is there something like that in FreeBSD? I think this would be net.inet.tcp.finwait2_timeout: 6 DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited. If you have received it by mistake please let us know by reply and then delete it from your system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Amavisd-new issues..
On Wed, 27 Oct 2010 01:11:32 -0700 (PDT) Justin V. v...@yeaguy.com wrote: Everything goes fine until its time to start amavisd-new. It just doesnt start and I do not see anything in the logs to indicate a problem. Have you checked /var/log/maillog ? -- 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: FreeBSD analog of net.ipv4.tcp_fin_timeout
Hello! On Wed, Oct 27, 2010 at 11:49:47AM +0400, Antonio Kless wrote: There is *net.ipv4.tcp_fin_timeout* in Linux sysctl. It set up timeout of TCP connection to stay in FIN_WAIT2 state. Is there something like that in FreeBSD? net.inet.tcp.fast_finwait2_recycle=1 net.inet.tcp.finwait2_timeout=3 Maxim Dounin ___ 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: Can't install - Octave, SuiteSparse
On Wednesday 27 of October 2010 10:20:54 you wrote: This is probably a GCC problem. What exact version are you using (pkg_info | grep gcc)? There is another recent report of issues with the latest update to lang/gcc45: http://lists.freebsd.org/pipermail/freebsd-ports/2010-October/064212.html Perhaps the maintainer knows more (cc'd) or you could try rolling back temporarily - I've successfully built suitesparse with 4.5.2.20101014 on amd64 current recently. # pkg_info | grep gcc gcc-4.4.6.20101012 GNU Compiler Collection 4.4 gcc-4.5.2.20101021 GNU Compiler Collection 4.5 gccmakedep-1.0.2Create dependencies in makefiles using 'gcc -M' Thank you for information. ___ 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 analog of net.ipv4.tcp_fin_timeout
*net.inet.tcp.finwait2_timeout* is what I search for, thank you! What is net.inet.tcp.fast_finwait2_recycle=1 ? 2010/10/27 Maxim Dounin mdou...@mdounin.ru Hello! On Wed, Oct 27, 2010 at 11:49:47AM +0400, Antonio Kless wrote: There is *net.ipv4.tcp_fin_timeout* in Linux sysctl. It set up timeout of TCP connection to stay in FIN_WAIT2 state. Is there something like that in FreeBSD? net.inet.tcp.fast_finwait2_recycle=1 net.inet.tcp.finwait2_timeout=3 Maxim Dounin -- Best regards, Antonio Kless, http://kless.spb.ru/ ___ 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 analog of net.ipv4.tcp_fin_timeout
On 10/27/2010 12:49 PM, Antonio Kless wrote: *net.inet.tcp.finwait2_timeout* is what I search for, thank you! What is net.inet.tcp.fast_finwait2_recycle=1 ? Please do *not* toppost :) man 4 tcp fast_finwait2_recycle Recycle TCP FIN_WAIT_2 connections faster when the socket is marked as SBS_CANTRCVMORE (no user process has the socket open, data received on the socket can- not be read). The timeout used here is finwait2_timeout. 2010/10/27 Maxim Dounin mdou...@mdounin.ru Hello! On Wed, Oct 27, 2010 at 11:49:47AM +0400, Antonio Kless wrote: There is *net.ipv4.tcp_fin_timeout* in Linux sysctl. It set up timeout of TCP connection to stay in FIN_WAIT2 state. Is there something like that in FreeBSD? net.inet.tcp.fast_finwait2_recycle=1 net.inet.tcp.finwait2_timeout=3 Maxim Dounin DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited. If you have received it by mistake please let us know by reply and then delete it from your system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD analog of net.ipv4.tcp_fin_timeout
On 10/27/2010 01:11 PM, Bas Smeelen wrote: On 10/27/2010 12:49 PM, Antonio Kless wrote: *net.inet.tcp.finwait2_timeout* is what I search for, thank you! What is net.inet.tcp.fast_finwait2_recycle=1 ? Please do *not* toppost :) man 4 tcp fast_finwait2_recycle Recycle TCP FIN_WAIT_2 connections faster when the socket is marked as SBS_CANTRCVMORE (no user process has the socket open, data received on the socket can- not be read). The timeout used here is finwait2_timeout. I correct myself, so finwait2_timeout is only used if fast_finwait2_recycle = 1 DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited. If you have received it by mistake please let us know by reply and then delete it from your system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: rsync: failed to set permissions on filename: Function not implemented (38)
On Wed, 27 Oct 2010, Noah wrote: No response on the rsync mail list so I am trying here. I am trying to figure out how I can get my rsync client and server to coexist better. I am running into the following error: rsync: failed to set permissions on filename: Function not implemented (38) What is the target filesystem? That kind of error can happen when filesystems don't implement all the features rsync expects, like FAT. ___ 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 state of the rsync based CVS,replication
Hi, We use FreeBSD extensively and keep a local mirror of the CVS repository. Up until recently things where working properly with the various servers listed in http://www.freebsd.org/doc/handbook/mirrors-rsync.html, but sometime during the summer ftp13.freebsd.org did not respond anymore and since then rsync replication is broken. The main issue (besides the removal of ftp13.freebsd.org) is that most rsync sources refuse to replicate the content of the .Attic directories in the CVS tree. This means that performing a check-out on ports using a tag usually won't work as some files will not be there anymore. Here are the typical logs I get using most rsync servers: rsync: opendir /3/freebsd-core/development/FreeBSD-CVS/ports/chinese/pcmanx/files/Attic (in vol) failed: Permission denied (13) At this moment the only rsync server that provides an adequate replication of the CVS repository is ftp2.tw.FreeBSD.org. We are moving to svn and svnsync for the freebsd source tree (and I am happy with this), but the ports do not seem to be available using SVN (or not in a documented way). Can something be done to restore RSYNC mirroring of the CVS tree to a working state ? Best regards, Patrick Bihan-Faou ___ 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
php5-mysqli
Hmmm, php5-mysqli did not upgrade properly using the most recent ports. Compile errors. That does not happen often, but it does happen. ;-) After a make config in lang/php5-extensions and disabling mysqli support the portmaster proces completed OK. ___ 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: Is there any way of transfering my excellent PDF file into plain HTML
Gary Kline wrote: You might fare better by taking the TeX souce, run it though detex(1) and use markdown [http://daringfireball.net/projects/markdown/] do create HTML. What utility take a LaTeX file - HTML? ((Be nice to have both *strictly professional typeset* and then HTML. I can add indents for AE style paragraphing, and much more. Fix the hyphenation, etc. Next to the obvious textproc/latex2html? :-) Yeah, found it with locate! And found some very interesting results. Personnally i have not liked using latex2html, and have been more satisfied with hevea. However problems creep in when you have math symbols in your text. -- Michel TALON ___ 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
Sendmail Question: Smart Host Round-Robin In Mailertable?
A bit OT, but I'm hoping one of you resident geniuses can point me to an answer I have a situation where I need to set up round-robin across several smart hosts in the sendmail mailertable for all traffic. (For a variety of reasons, the client does not want this done in either the .mc file or directly in the .cf file.) Can some kind soul point me to a resource that explains the syntax for doing this? Thanks, -- Tim Daneliuk tun...@tundraware.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
Shotwell 0.7 on FreeBSD
Hi, I was wondering if there are any plans when shotwell in version 0.7 will come on ports. Currently it is on 0.6.1, the new version would make it possible to import a f-spot library. But it also requires an update of vala from 0.8 to 0.9. Are there any blockers? Cheers, Anselm ___ 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
ipfw and outbound IP rules
Hello, I'm using imapproxy and it is making outbound connections using one of my IP aliases rather than the parent IP. According to the devs of this software there is no such option to specify the outbound IP. Can I create an ipfw rule that will reroute/rewrite requests from one of these secondary IP into my main IP? This will help make setting up firewalls on machines that receive this traffic more predictable... Is there a name for what I want to do so that I can Google this sort of thing in the future? -- Joe Auty, NetMusician NetMusician helps musicians, bands and artists create beautiful, professional, custom designed, career-essential websites that are easy to maintain and to integrate with popular social networks. www.netmusician.org http://www.netmusician.org j...@netmusician.org mailto:j...@netmusician.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: Amavisd-new issues..
On Wed, 27 Oct 2010, Bruce Cran wrote: On Wed, 27 Oct 2010 01:11:32 -0700 (PDT) Justin V. v...@yeaguy.com wrote: Everything goes fine until its time to start amavisd-new. It just doesnt start and I do not see anything in the logs to indicate a problem. Have you checked /var/log/maillog ? -- Bruce Cran Ah ok.. I was only checking /var/log/messages... I need to check that HOWTO again, did it say messages or maillog? But at least I have an idea now of whats going on.. Oct 27 10:43:37 hbca amavis[71920]: starting. /usr/local/sbin/amavisd at yeaguy.com amavisd-new-2.6.4 (20090625), Unicode aware Oct 27 10:43:37 hbca amavis[71920]: Perl version 5.010001 Oct 27 10:43:38 hbca amavis[71922]: Net::Server: Group Not Defined. Defaulting to EGID '110 110' Oct 27 10:43:38 hbca amavis[71922]: Net::Server: User Not Defined. Defaulting to EUID '110' Oct 27 10:43:38 hbca amavis[71922]: Module Amavis::Conf2.207 Oct 27 10:43:38 hbca amavis[71922]: Module Archive::Zip1.30 Oct 27 10:43:38 hbca amavis[71922]: Module BerkeleyDB 0.43 Oct 27 10:43:38 hbca amavis[71922]: Module Compress::Zlib 2.02 Oct 27 10:43:38 hbca amavis[71922]: Module Convert::TNEF 0.17 Oct 27 10:43:38 hbca amavis[71922]: Module Convert::UUlib 1.33 Oct 27 10:43:38 hbca amavis[71922]: Module Crypt::OpenSSL::RSA 0.26 Oct 27 10:43:38 hbca amavis[71922]: Module DBD::mysql 4.017 Oct 27 10:43:38 hbca amavis[71922]: Module DBI 1.615 Oct 27 10:43:38 hbca amavis[71922]: Module DB_File 1.82 Oct 27 10:43:38 hbca amavis[71922]: Module Digest::MD5 2.39 Oct 27 10:43:38 hbca amavis[71922]: Module Digest::SHA 5.47 Oct 27 10:43:38 hbca amavis[71922]: Module Digest::SHA12.13 Oct 27 10:43:38 hbca amavis[71922]: Module IO::Socket::INET6 2.65 Oct 27 10:43:38 hbca amavis[71922]: Module MIME::Entity5.428 Oct 27 10:43:38 hbca amavis[71922]: Module MIME::Parser5.428 Oct 27 10:43:38 hbca amavis[71922]: Module MIME::Tools 5.428 Oct 27 10:43:38 hbca amavis[71922]: Module Mail::DKIM::Signer 0.38 Oct 27 10:43:38 hbca amavis[71922]: Module Mail::DKIM::Verifier 0.38 Oct 27 10:43:38 hbca amavis[71922]: Module Mail::Header2.07 Oct 27 10:43:38 hbca amavis[71922]: Module Mail::Internet 2.07 Oct 27 10:43:38 hbca amavis[71922]: Module Mail::SpamAssassin 3.003001 Oct 27 10:43:38 hbca amavis[71922]: Module Net::DNS0.66 Oct 27 10:43:38 hbca amavis[71922]: Module Net::Server 0.99 Oct 27 10:43:38 hbca amavis[71922]: Module NetAddr::IP 4.028 Oct 27 10:43:38 hbca amavis[71922]: Module Razor2::Client::Version 2.84 Oct 27 10:43:38 hbca amavis[71922]: Module Socket6 0.23 Oct 27 10:43:38 hbca amavis[71922]: Module Time::HiRes 1.9719 Oct 27 10:43:38 hbca amavis[71922]: Module URI 1.56 Oct 27 10:43:38 hbca amavis[71922]: Module Unix::Syslog1.1 Oct 27 10:43:38 hbca amavis[71922]: Amavis::DB code loaded Oct 27 10:43:38 hbca amavis[71922]: Amavis::Cache code loaded Oct 27 10:43:38 hbca amavis[71922]: SQL base codeNOT loaded Oct 27 10:43:38 hbca amavis[71922]: SQL::Log codeNOT loaded Oct 27 10:43:38 hbca amavis[71922]: SQL::Quarantine NOT loaded Oct 27 10:43:38 hbca amavis[71922]: Lookup::SQL code NOT loaded Oct 27 10:43:38 hbca amavis[71922]: Lookup::LDAP codeNOT loaded Oct 27 10:43:38 hbca amavis[71922]: AM.PDP-in proto code loaded Oct 27 10:43:38 hbca amavis[71922]: SMTP-in proto code loaded Oct 27 10:43:38 hbca amavis[71922]: Courier proto code NOT loaded Oct 27 10:43:38 hbca amavis[71922]: SMTP-out proto code loaded Oct 27 10:43:38 hbca amavis[71922]: Pipe-out proto code NOT loaded Oct 27 10:43:38 hbca amavis[71922]: BSMTP-out proto code NOT loaded Oct 27 10:43:38 hbca amavis[71922]: Local-out proto code loaded Oct 27 10:43:38 hbca amavis[71922]: OS_Fingerprint code NOT loaded Oct 27 10:43:38 hbca amavis[71922]: ANTI-VIRUS code loaded Oct 27 10:43:38 hbca amavis[71922]: ANTI-SPAM code loaded Oct 27 10:43:38 hbca amavis[71922]: ANTI-SPAM-EXT code NOT loaded Oct 27 10:43:38 hbca amavis[71922]: ANTI-SPAM-C code NOT loaded Oct 27 10:43:38 hbca amavis[71922]: ANTI-SPAM-SA codeloaded Oct 27 10:43:38 hbca amavis[71922]: Unpackers code loaded Oct 27 10:43:38 hbca amavis[71922]: DKIM codeloaded Oct 27 10:43:38 hbca amavis[71922]: Tools code NOT loaded Oct 27 10:43:38 hbca amavis[71922]: Found $fileat /usr/local/bin/file Oct 27 10:43:38 hbca amavis[71922]: No $altermime, not using it Oct 27 10:43:38 hbca amavis[71922]: Internal decoder for .mail Oct 27 10:43:38 hbca amavis[71922]: Internal decoder for .asc Oct 27 10:43:38 hbca amavis[71922]: Internal decoder for .uue Oct 27 10:43:38 hbca amavis[71922]: Internal decoder for .hqx Oct 27 10:43:38 hbca amavis[71922]: Internal decoder for .ync Oct 27 10:43:38 hbca amavis[71922]: Found decoder for.Fat
Re: Amavisd-new issues..
On Oct 27, 2010, at 11:07 AM, Justin V. wrote: [ ... ] But at least I have an idea now of whats going on.. [ ... ] Oct 27 10:43:39 hbca amavis[71922]: (!!)TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run 'sa-update'? Oct 27 10:43:39 hbca amavis[71922]: (!)_DIE: Suicide () TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run 'sa-update'? Yes. I suspect the SpamAssassin port ought to run sa-update at least once on behalf of the user 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: Single user mode: no shell prompt
Hello Illoai Am 27.10.2010 18:14, schrieb ill...@gmail.com: On 20 October 2010 03:50, Martin Schweizerlists_free...@bluewin.ch wrote: Hello If I start the server in single user mode I get never a prompt/shell (at the console). After successfully boot in single user mode I see a the last line: Trying to mount root from ufs:/dev/mfid0s1a. The only thing I can do is CTRL-ALT-DEL, then the system reboots as usual (with no broken file system). All works well in multi user mode. I have no other problems with this server. On at least one of my machines the USB devices do not finish probing until after the Enter the name of your shell or press enter for /bin/sh prompt, and thus it scrolls off of the screen. Pressing enter does give me a /bin/sh in single-user mode, however. Yeah, I now what you mean but in the mean team I found the solution. The problem was the console redirection. Why ever... Regards, -- Martin Schweizer PC-Service M. Schweizer GmbH; Bannholzstrasse 6; Postfach 132; CH-8608 Bubikon; Tel. +41 55 243 30 00; Fax: +41 55 243 33 22 ___ 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: Sendmail Question: Smart Host Round-Robin In Mailertable?
On Wed, 27 Oct 2010 09:51:59 -0500, Tim Daneliuk tun...@tundraware.com wrote: A bit OT, but I'm hoping one of you resident geniuses can point me to an answer I have a situation where I need to set up round-robin across several smart hosts in the sendmail mailertable for all traffic. (For a variety of reasons, the client does not want this done in either the .mc file or directly in the .cf file.) Can some kind soul point me to a resource that explains the syntax for doing this? Maybe a DNS-based round robin solution would suffice? ___ 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
sysinstall list not part of main mailing-list search engine
It appears that our beloved -sysinstall@ mailing-list does not appear on the main search page where one can search the archives. http://www.freebsd.org/search/search.html#mailinglists Is anyone on this list capable of getting it added? -- Cheers, Devin Teske - CONTACT INFORMATION - Business Solutions Consultant II FIS - fisglobal.com 510-735-5650 Mobile 510-621-2038 Office 510-621-2020 Office Fax 909-477-4578 Home/Fax devin.te...@fisglobal.com - LEGAL DISCLAIMER - This message contains confidential and proprietary information of the sender, and is intended only for the person(s) to whom it is addressed. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. - FUN STUFF - -BEGIN GEEK CODE BLOCK- Version 3.1 GAT/CS d(+) s: a- C++() UB$ P++() L++() !E--- W++ N? o? K- w O M+ V- PS+ PE Y+ PGP- t(+) 5? X+(++) R++ tv(+) b+(++) DI+(++) D(+) G+++ e+ h r++ y+ --END GEEK CODE BLOCK-- http://www.geekcode.com/ - END TRANSMISSION - ___ 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: Sendmail Question: Smart Host Round-Robin In Mailertable?
On 10/27/2010 3:26 PM, Giorgos Keramidas wrote: On Wed, 27 Oct 2010 09:51:59 -0500, Tim Daneliuk tun...@tundraware.com wrote: A bit OT, but I'm hoping one of you resident geniuses can point me to an answer I have a situation where I need to set up round-robin across several smart hosts in the sendmail mailertable for all traffic. (For a variety of reasons, the client does not want this done in either the .mc file or directly in the .cf file.) Can some kind soul point me to a resource that explains the syntax for doing this? Maybe a DNS-based round robin solution would suffice? DNS cannot be changed for a variety of reasons... -- Tim Daneliuk tun...@tundraware.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
[OT] writing filters in sh
I know that in sh you can get the contents out of files specified as command line arguments: while read data; do echo $data done $@ I know you can also get the contents of files from pipes and redirects: while read data; do echo $data done In Perl, you can use a single construct to do both and, unlike the first sh example, it can also take multiple filenames as arguments and effectively concatenate their contents: while () { print $_; } I'm not exactly an *expert* in sh, in part because when things start getting interesting while I'm writing shell scripts I tend to just use a more robust language like Perl. Please let me know if there's some way to use a simple idiom like the Perl example to get the same results in sh. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpIHWHNamLxY.pgp Description: PGP signature
Re: download cvsup?
hey listers!! sorry for all the trouble.. just as an FYI it turned out to NOT be a DNS issue at all!!! it was a routing issue... this command apparently did the trick... [r...@lbsd2:/usr/home/bluethundr]#/etc/rc.d/routing restart add net default: gateway 192.168.1.1 [r...@lbsd2:/usr/home/bluethundr]#ping google.com PING google.com (173.194.33.104): 56 data bytes 64 bytes from 173.194.33.104: icmp_seq=0 ttl=55 time=14.083 ms 64 bytes from 173.194.33.104: icmp_seq=1 ttl=55 time=14.537 ms 64 bytes from 173.194.33.104: icmp_seq=2 ttl=55 time=14.531 ms sometimes it's the simplest solutions under our noses. :) Sincere thanks for all your input and all your help! On Fri, Oct 22, 2010 at 11:01 PM, Tim Dunphy bluethu...@gmail.com wrote: guys, thanks for the input. busy couple of days sorry for not following up sooner. at any rate, I tried many suggestions. Here is the current state of things: This is a working resolv.conf on the rest of the network which are CentOS machines: [r...@lbsd2:/usr/home/bluethundr]#cat /etc/resolv.conf domain summitnjhome.com nameserver 192.168.1.44 nameserver 71.250.0.12 nameserver 4.2.2.2 I rsync'ed this file to the bsd server from a CentOS machine and this is what happens when you try to resolve internally, then externally (also tried editing it manually of course): [r...@lbsd2:/usr/home/bluethundr]#host bsd2 bsd2.summitnjhome.com has address 192.168.1.44 [r...@lbsd2:/usr/home/bluethundr]#host sum1 sum1.summitnjhome.com is an alias for lCent01.summitnjhome.com. lCent01.summitnjhome.com has address 192.168.1.42 [r...@lbsd2:/usr/home/bluethundr]#ping yahoo.com ping: cannot resolve yahoo.com: Host name lookup failure this is how my named.conf looks: options { // Relative to the chroot directory, if any directory /etc/namedb; pid-file /var/run/named/pid; dump-file /var/dump/named_dump.db; statistics-file /var/stats/named.stats; Also i notice it's [r...@lbsd2:/usr/home/bluethundr]#ping yahoo.com ping: cannot resolve yahoo.com: Host name lookup failure with forwarders commented out and [r...@lbsd2:/usr/home/bluethundr]#ping yahoo.com PING yahoo.com (72.30.2.43): 56 data bytes ping: sendto: No route to host ping: sendto: No route to host with forwarders enabled: forwarders { 71.250.0.12; 4.2.2.2; }; or even just forwarders { 192.168.1.1; }; enabled.. I'm still quite puzzled.. I'm hoping that this problem won't require me to backup my most important configurations (DNS, LDAP, Apache) and reinstall.. cuz that's uhmmm.. cheating! ;) not to mention a pain in the firggin' arse... guh // If named is being used only as a local resolver, this is a safe default. // For named to be accessible to the network, comment this option, specify // the proper IP address, or delete this option. #listen-on { 127.0.0.1; }; listen-on { 127.0.0.1; 192.168.1.44; }; allow-recursion {127.0.0.1; 192.168.1.0/24;}; On Wed, Oct 20, 2010 at 5:38 AM, Michael Powell nightre...@hotmail.com wrote: Dick Hoogendijk wrote: Are the forwarders in your named.conf file OK? That was the next thing I was about to suggest. His FIOS router should be running DNS itself by default, with it pointing to Verizon's name servers. So he could try using 192.168.1.1 in his named.conf forwarders directive. This would just recurse out to Verizon's name servers and should get a basic external resolution going, provided he has not altered the default router setup. Example from mine: (don't just cut and paste but adjust as required) options { directory /etc/namedb; pid-file /var/run/named/pid; dump-file /var/dump/named_dump.db; statistics-file /var/stats/named.stats; listen-on { 127.0.0.1; 192.168.10.1; }; allow-recursion {127.0.0.1; 192.168.10.0/24;}; // If you've got a DNS server around at your upstream provider, enter // its IP address here, and enable the line below. This will make you // benefit from its cache, thus reduce overall DNS traffic in the Internet. forwarders { 208.67.222.222; 208.67.220.220; 192.168.1.1; }; // query-source address * port 53; }; ---/ Below are snipped out zone file directives for my local stuff /--- The first two IP addresses in my forwarders clause are for OpenDNS. You could delete them so as to only have 192.168.1.1 and your FreeBSD's DNS server will then forward requests to your FIOS router which will then request from Verizon. Use of the listen-on and allow-recursion is not necessary, but if you decide to utilize make sure they reflect values which apply to your situation. Do rndc reload or reboot to take effect. I think he has some other issues pending as well, but one thing at a time. :-) -Mike
FreeBSD8.1 Can't get Syslog file to Log dhcpd
I have dhcpd running on a new 8.1 installation and I can't seem to get /var/log/syslog to work. I touched /var/log/syslog set to 644 and have restarted syslogd numerous times since then and it is still 0-length. I did add the following line to syslog.conf which has worked for probably 6 or 8 years: *.info;auth.info;mail.warning;cron.warning /var/log/syslog Logs such as /var/log/messages are working fine. Thanks for any suggestions. Our dhcp server is very busy so we really need these logs. I can see dhcpd trying to log if I run syslogd -d. Thanks for any suggestions. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
okay, time to ask the wizards.
I've got a very large file with paragraphs separated only by \n. How do I put a blank line _after_ each newline? -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.90a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.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: okay, time to ask the wizards.
You mean replace each newline character with two newline characters? perl -p -i -e 's/\n/\n\n/g' yourfile.txt Something like that? On Wed, Oct 27, 2010 at 6:04 PM, Gary Kline kl...@thought.org wrote: I've got a very large file with paragraphs separated only by \n. How do I put a blank line _after_ each newline? -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.90a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: okay, time to ask the wizards.
On Wed, Oct 27, 2010 at 6:04 PM, Gary Kline kl...@thought.org wrote: I've got a very large file with paragraphs separated only by \n. How do I put a blank line _after_ each newline? Perhaps using sed? i'm definitely no sed expert but the substitute command would work, just substitute one \n with two? Mark ___ 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: okay, time to ask the wizards.
On Wed, Oct 27, 2010 at 06:04:50PM -0700, Gary Kline wrote: I've got a very large file with paragraphs separated only by \n. How do I put a blank line _after_ each newline? perl -e 'while () { s/$/\n/; print; }' You could also open the file in vi or Vim and give it this command: :%s/$/^M/ Note that you don't type in that ^M by using the ^ and M keys on the keyboard. Instead, you first type ctrl-v then press the Enter key. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpaTw6st1UGV.pgp Description: PGP signature
Re: okay, time to ask the wizards.
On Wed, Oct 27, 2010 at 06:14:04PM -0700, Nerius Landys wrote: You mean replace each newline character with two newline characters? perl -p -i -e 's/\n/\n\n/g' yourfile.txt The g in that is unnecessary. I'd also be inclined to use $ in the matching part of that regex than \n, and only require one newline character in the substitution part as a result: perl -pie 's/$/\n/' filename.txt Plus . . . I like pie. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpGpP9Q2VWV4.pgp Description: PGP signature
Re: Portmaster creating packages
On 27 October 2010 14:57, Christer Solskogen christer.solsko...@gmail.com wrote: On Wed, Oct 27, 2010 at 2:11 AM, David N david...@gmail.com wrote: Hi, I currently use portmaster to do the upgrading of my ports. Is it possible to use portmaster to create packages of upgrade ports? I can only see it upgrading via packages only. Yes, that is possible. MAKE_PACKAGE=gopt in portmaster.rc . If you read portmasters manpage you would have found out that your self. -- chs, I did, it was just the old version. Got the new one installed and saw the -g command line option. Works great =) Cheers David N ___ 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] writing filters in sh
On Wed, 27 Oct 2010 15:28:41 -0600, Chad Perrin per...@apotheon.com said: C In Perl, you can use a single construct to [read files or pipes], and it C can also take multiple filenames as arguments and effectively C concatenate their contents: C while () { print $_; } C Please let me know if there's some way to use a simple idiom like the C Perl example to get the same results in sh. AFAIK, you can easily do *one* input and output file, but not multiple input files like the Perl diamond operator unless you want to play games with the argument list. This works with sh, ksh, and bash on FreeBSD and Solaris: #!/bin/sh # filter: handle input/output files or stdin/stdout. # usage: filter [input] [output] # ie:filter read stdin, write stdout #filter inread file in, write stdout #filter in outread file in, write file out #filter - out read stdin, write file out PATH=/usr/local/bin:/bin:/usr/bin; export PATH case $1 in ) ;; -) shift ;; *) exec $1; shift ;; esac case $1 in ) ;; *) exec $1 ;; esac wc # or whatever exit 0 -- Karl Vogel I don't speak for the USAF or my company We seem not to have learned a basic lesson of history: Capitalism harnesses self-interest; socialism exhausts itself trying to kill it. --Linda Bowles ___ 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: New eventtimers manpages
On Wed, 27 Oct 2010, Alexander Motin wrote: Ian Smith wrote: I'm very interested in these, from the quarterly report: New manual pages were written to document this functionality: eventtimers(7), attimer(4), atrtc(4), hpet(4). But these don't show up yet at eg: http://www.freebsd.org/cgi/man.cgi?query=hpetapropos=0sektion=0manpath=FreeBSD+9-currentformat=html I have no idea who and how often regenerates these pages. If you find one - poke him please. Asking Mr. Questions about this .. these 4 pages were committed between September 14-17 so if it's done automatically, something seems broken? Where should I be looking? Not running -CURRENT here. http://www.freebsd.org/cgi/cvsweb.cgi/src/share/man/man7/eventtimers.7 http://www.freebsd.org/cgi/cvsweb.cgi/src/share/man/man4/hpet.4 ... Thanks Alexander. Will follow up later when I've studied a bit more. cheers, Ian ___ 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: okay, time to ask the wizards.
On Wed, 2010-10-27 at 18:16 -0700, Liontaur wrote: On Wed, Oct 27, 2010 at 6:04 PM, Gary Kline kl...@thought.org wrote: I've got a very large file with paragraphs separated only by \n. How do I put a blank line _after_ each newline? Perhaps using sed? i'm definitely no sed expert but the substitute command would work, just substitute one \n with two? Mark Not quite. When considering sed(1), recall that: Normally, sed cyclically copies a line of input, not including its terminating newline character, into a pattern space, ... (then) copies the pattern space to the standard output, appending a newline, and deletes the pattern space. So there is no \n in the initial pattern space to be substituted. Characters can however be inserted at the end of the line (before the original \n) with: s/$/text to insert/ as Chad used in his perl solution. Unfortunately FreeBSD sed's substitute doesn't recognise \n as newline in a substitution, although it's possible to insert a literal newline character through various shell-dependent techniques. In this particular case however, sed does offer the pièce de résistance: sed G The operation is left as a learning exercise for the reader. Wayne ___ 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