Re: How do I ring a bell?
On 7 okt. 2013, at 13:37, Frank Leonhardt fra...@fjl.co.uk wrote: In the good'ol days I could make UNIX ring a bell (literally) by sending \a to the console TTY (an ASR33 in my case). Now there's an electronic synthesised ting or beep from an terminal emulator IF it's got a sound card and so on, and an IBM-PC had a beep routine in the BIOS. Is there any way to make a noise through the built in bell speaker found on an IBM PC compatible server box? Writing 007 to the BIOS cout routine might do it, but I've realised I haven't got a clue how to do that. I could easily knock up a bit of hardware to go on a serial port (or similar) that could be triggered to make a noise, but these things have already got the hardware built in and I'm looking to use what I've already got. Thanks, Frank. P.S. cdcontrol -f /dev/mycdrom eject is the best I've come up with so far for getting attention. ___ 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 echo CTRL-V CTRL-G should do the trick -- Peter Boosten http://www.boosten.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: small fanless mini-pc for home router/firewall?
Op 8 mei 2013 om 16:24 heeft C. P. Ghost cpgh...@cordula.ws het volgende geschreven: On Wed, May 8, 2013 at 4:10 PM, firm...@gmail.com firm...@gmail.com wrote: What is the best option out there for a mini-pc to run FreeBSD as a home router/firewall? (needs to have 2 nic's) I had some pretty good experiences with older Soekris models (net-4801) acting as fanless routers and little servers (DHCP, NFS, lighttpd, etc...). http://soekris.com/products/net4801.html I don't know how well their newer products run on FreeBSD though, especially after the switch to clang. Others on this list may be able to add their experiences. -cpghost. I had some serious performance problems running M0n0wall on a 4801. These were solved by replacing it with a 5501. But otherwise perfect hardware. Peter ___ 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 devel/py-setuptools
On 27-3-2013 17:37, Loic Capdeville wrote: I use portupgrade regularly to upgrade my ports, and usually everything goes right. If fails only with that particular operation (or these portupgrade options) Do I have to install devel/py-distribute separately, or should the portupgrade -fo command do everything itself (uninstall py-setuptools and install py-distribute) ? I had some problems with this one as well. I eventually ended up by pkg_deleting -f the package, delete manually some file portinstall complaints about, and after that it worked. Peter -- http://www.boosten.org - Geen virus gevonden in dit bericht. Gecontroleerd door AVG - www.avg.com Versie: 2013.0.2904 / Virusdatabase: 2641/6206 - datum van uitgifte: 03/26/13 ___ 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: Blender port
On 28 sep. 2012, at 17:26, Shane Ambler free...@shaneware.biz wrote: On 17/08/2012 04:47, Fernando Apesteguía wrote: On Thu, Aug 16, 2012 at 12:29 PM, Polytropon free...@edvax.de wrote: On Thu, 16 Aug 2012 11:33:22 +0200, Peter Boosten wrote: So I did a ktrace, and it seems to stumble on a library it cannot find: libirml.so This library however is nowhere to be found on my system, nor in the ports repository. Does anyone know what this library is for, and where would I find that library? No port seems to install that library (at least according to pkg-plist files). Maybe you could file a PR IRML - it seems to be the Intel Resource Management Layer library. It is a work dispatcher used by Threading Building Blocks (TBB). The tbb port (devel/tbb) however does not contain it. No port seems to mention it in its pkg-plist file. The google search results are very disillusioning, even more than the typical Linuxisms that sometimes hits a FreeBSD port... ;-) I'm not the blender maintainer but I compile the svn versions regularly and I'm the maintainer for openimageio which is a recent addition that blender uses for the cycles render engine. I use 9.0 amd64. I've just dusted off the old P4 and installed a clean version of 8.2, updated the ports tree and started compiling everything, I'll see if I can get the same issue tomorrow. I'll assume you have your ports tree up to date and are building the latest version. Have you had an earlier version of blender running? The only reference to libirml I can find is as part of Intels compiler package and it doesn't appear to be a part that the freebsd ports version of icc installs. One guess is that you may be using icc or have in the past leaving a dependency that was built with icc. While libirml seems to have some relation to tbb I don't see any reference within devel/tbb. graphics/openimageio brings in the dependency for tbb so you could try turning off the CYCLES option in blender to turn off that dependency. libirml may also be related to openmp so try turning off OPENMP as well. Maybe try turning off some other options to help pinpoint where it comes from. CAMERATRACK CARVE CYCLES OCEANSIM are the newest additions. Hi Shane, Actually, compiling without Cycles did the trick, as instructed by the maintainer. -- Peter Boosten ___ 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: Sharing COM ports to Windows hosts
On 3-9-2012 5:02, Victor Sudakov wrote: Colleagues, There is a FreeBSD box with several RS232 ports. Can those ports be accessed by Windows hosts over the network? Actually, does anyone have a success story for such a scenario? There is some software like comms/serialoverip, comms/tits etc but are there any (freeware) Windows virtual COM port drivers compatible therewith? Maybe some Windows drivers for hardware console servers (like Moxa) would work with tits etc? Thanks a lot for any advice. If I understand your question correctly, then AFAICT the only way to access serial ports over the network is with a piece of additional hardware, like a terminal server, for instance: http://www.perle.com/products/Terminal-Server.shtml?utm_source=ppcutm_medium=cpcutm_campaign=server Peter -- http://www.boosten.org - Geen virus gevonden in dit bericht. Gecontroleerd door AVG - www.avg.com Versie: 2012.0.2197 / Virusdatabase: 2437/5242 - datum van uitgifte: 09/02/12 ___ 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
Blender port
Hi All, I've installed Blender from the ports, and it compiled fine, without any error. However, when I start Blender (even just with a -v for version info), it core dumps. So I did a ktrace, and it seems to stumble on a library it cannot find: libirml.so This library however is nowhere to be found on my system, nor in the ports repository. Does anyone know what this library is for, and where would I find that library? -- Peter Boosten ___ 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: Blender port
On 16 aug. 2012, at 21:17, Fernando Apesteguía fernando.apesteg...@gmail.com wrote: On Thu, Aug 16, 2012 at 12:29 PM, Polytropon free...@edvax.de wrote: On Thu, 16 Aug 2012 11:33:22 +0200, Peter Boosten wrote: So I did a ktrace, and it seems to stumble on a library it cannot find: libirml.so This library however is nowhere to be found on my system, nor in the ports repository. Does anyone know what this library is for, and where would I find that library? No port seems to install that library (at least according to pkg-plist files). Maybe you could file a PR I sent an email to the maintainer... see what he/she's got to say. -- Peter Boosten ___ 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: Securituy - logging of user commands
Have you ever considered the audit function of FreeBSD? Peter Boosten On 25 jul. 2012, at 13:47, Damien Fleuriot m...@my.gd wrote: Hello list, We're currently working towards the PCI DSS certification (Payment Card Industry) for a project at work. One of the prerequisites is that all user commands be logged. We're currently using a very bad hack that takes the last command from a user's history and sends it to a log server. This of course is unreliable as a user may entirely disable their history, or just use another shell to bypass the csh function or whatever. My colleagues installed Snoopy on debian and it seems to work wonders as a module which is LD preloaded. I notice it also exists on FreeBSD as /usr/ports/security/snoopy . However I face several problems with it, mainly it doesn't seem to log anything. As per the README, I have added /usr/local/lib/snoopy.so to /etc/ld.so.preload I'm not even sure this file is used on BSD ? As per the man page for ld.so there's no such file: http://www.freebsd.org/cgi/man.cgi?query=ld.so Neither libmap.conf nor ldconfig(8) seem to be the answer either. I've googled for ld.so.conf and found the following 2 posts which seem to indicate it isn't used either: http://lists.freebsd.org/pipermail/freebsd-hackers/2003-June/001746.html http://lists.freebsd.org/pipermail/freebsd-hackers/2003-June/001747.html The posts mention -current but date back from 2003. Lastly, I have also noticed that the port installs /usr/local/bin/detect which I executed and would always reply something's fishy. By looking at the (very short) source I noticed the program merely loads /lib/libc.so.6 , and it wouldn't find it on my system (8.3-STABLE with /lib/libc.so.7). Adjusting and recompiling lets the program correctly print secure but it does nothing else. I have checked that the output /usr/local/lib/snoopy.so module is linked against libc.so.7 , and it is. Has anyone ever got Snoopy to work on BSD ? Might I need to install linux emulation ? Is there any other port that might do the job and which I could use ? ___ 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
slapd won't start anymore
Hi all, I'm wondering if anyone else is experiencing this: After portupgrading openldap-server24 from 2.4.30 to 2.4.31 slapd won't start anymore, because of: read_config: no serverID / URL match found. Check slapd -h arguments. Since this is in my rc.conf: slapd_flags='-h ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://192.168.13.15/ ldaps://192.168.13.15/' I thought the rc script was not correct anymore. But it turned out that slapd somehow ignores the -h parameter: # /usr/local/libexec/slapd -h ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://192.168.13.15/ ldaps://192.168.13.15/ results in the same error message (in the log, it doesn't report something wrong on the command line). -- Peter Boosten http://www.boosten.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: /usr/ports/textproc/flex port didn't replace existing flex install
On 18-7-2011 17:49, Jeff Hamann wrote: I'm running: FreeBSD freebsd-82-amd64.localdomain 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 I need to update flex for building postgresql-9.0.3 from source. I installed the latest port (flex-2.5.35_4) from /usr/ports/textproc/flex. When I flex --version, I still get the old version of flex (2.5.4). Is there some other place I need to set the path to flex? flex appears to be in my base system: /usr/bin/flex, and not coming from any port. Since /usr/bin/ is earlier in your path than /usr/local/bin, that one will be called first. Probably need to rename that one. Peter -- http://www.boosten.org - Geen virus gevonden in dit bericht. Gecontroleerd door AVG - www.avg.com Versie: 10.0.1390 / Virusdatabase: 1516/3772 - datum van uitgifte: 07/18/11 ___ 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: Soekris net4801 running 8.2-R-p1 crashdumps
On 21-3-2011 16:30, Esa Karkkainen wrote: Hi, My pf firewall running on net4801 has crashed twice this year. When the net4801 is handling more than 10Mbit/s of network traffic, the box seems to crash. That's not only for 8.2, I had M0n0 installed on my 4801, and it would totally lockup at 12Mbit/s, and in some instances crash also. I always thought it was related to the hardware (and especially the NICs). I solved that by buying a 5501. Peter -- http://www.boosten.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: syslog-ng logging stopped
That probably means that it's not syslog-ng causing the problems. Maybe some firewall rule? Peter -- HTTP://www.boosten.org On 12 mrt 2011, at 22:40, Len Conrad lcon...@go2france.com wrote: -- Original Message -- From: Iñigo Ortiz de Urbina inigoortizdeurb...@gmail.com Date: Fri, 11 Mar 2011 23:12:49 +0100 Whats in dmesg and /var/log/? You shared extensive and excellent troubleshooting info but didnt spot none of these. Keep us updated im sure im not the only one puzzled :) On 3/11/11, Len Conrad lcon...@go2france.com wrote: uname -a FreeBSD 7.0-RELEASE syslog-ng --version syslog-ng 2.0.10 change date on syslog-ng.conf is Apr 20 2009 syslog-ng been running untouched for that long. Millions of lines/ per day log from 10 source machine. about 00:20 today Friday, all syslogging to syslog-ng stopped. sockstat -4 shows udp/tcp 514 listening chkrootkit shows nothing wrong stop syslog-ng then pkg_delete, and then cd /usr/ports/sysutils/syslog-ng2 make make install start it, no change I rebooted the syslog server. no change trafshow -i bce0 -n then filter 514 ... shows 100KBs arriving from our syslog clients. tshark capture port 514 on syslog-ng box shows plenty of traffic arriving with untouched pf rules active, pfctl -d no change so pfctl -e df shows plenty of disk space for /var suggestions? 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 -- Iñigo Ortiz de Urbina Cazenave http://www.twitter.com/ioc32 = dmesg -a | less showed nothing /var/log/console.log showed nothing /var/log/messages showed nothing btw, I later replaced syslog-ng with syslogd, listening UDP:514. no lines in messages, maillog. 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 ___ 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: Updating glib from 2.24.2 to 2.26.1_1 fails
On 18 jan 2011, at 12:45, C. P. Ghost wrote: Just guessing: have you missed the following entries in /usr/ports/UPDATING and messed up your environment? No, I actually performed these. I think it's some very old stuff roaming my machine. For instance, I have no idea how an older version of zlib.h and zconf.h could be in /usr/local/include. Thanks for the suggestion anyway. -- Peter Boosten http://www.boosten.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: Updating glib from 2.24.2 to 2.26.1_1 fails
On 14 dec 2010, at 09:12, Peter Boosten wrote: Hi all, In an attempt to update glib on my 8.0-machine, portupgrade stops with this message: gnome-libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\GLib-GIO\ -I.. -I../glib -I../glib -I.. -I../gmodule -DG_DISABLE_CAST_CHECKS -DG_THREADS_MANDATORY -DG_DISABLE_DEPRECATED -DGIO_COMPILATION -DGIO_MODULE_DIR=\/usr/local/lib/gio/modules\ -I/usr/local/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -O -pipe -march=pentiumpro -Wall -MT gzlibcompressor.lo -MD -MP -MF .deps/gzlibcompressor.Tpo -c gzlibcompressor.c -fPIC -DPIC -o .libs/gzlibcompressor.o gzlibcompressor.c:68: error: expected specifier-qualifier-list before 'gz_header' gzlibcompressor.c: In function 'g_zlib_compressor_set_gzheader': gzlibcompressor.c:80: error: 'GZlibCompressor' has no member named 'file_info' gzlibcompressor.c:83: error: 'GZlibCompressor' has no member named 'gzheader' gzlibcompressor.c:83: error: 'gz_header' undeclared (first use in this function) gzlibcompressor.c:83: error: (Each undeclared identifier is reported only once gzlibcompressor.c:83: error: for each function it appears in.) gzlibcompressor.c:84: error: 'GZlibCompressor' has no member named 'gzheader' gzlibcompressor.c:86: error: 'GZlibCompressor' has no member named 'file_info' gzlibcompressor.c:87: error: 'GZlibCompressor' has no member named 'gzheader' gzlibcompressor.c:88: error: 'GZlibCompressor' has no member named 'gzheader' gzlibcompressor.c:90: error: 'GZlibCompressor' has no member named 'gzheader' gzlibcompressor.c:91: error: 'GZlibCompressor' has no member named 'file_info' gzlibcompressor.c:94: warning: implicit declaration of function 'deflateSetHeader' gzlibcompressor.c:94: error: 'GZlibCompressor' has no member named 'gzheader' gzlibcompressor.c: In function 'g_zlib_compressor_finalize': gzlibcompressor.c:112: error: 'GZlibCompressor' has no member named 'file_info' gzlibcompressor.c:113: error: 'GZlibCompressor' has no member named 'file_info' gzlibcompressor.c: In function 'g_zlib_compressor_get_property': gzlibcompressor.c:171: error: 'GZlibCompressor' has no member named 'file_info' gzlibcompressor.c: In function 'g_zlib_compressor_get_file_info': gzlibcompressor.c:310: error: 'GZlibCompressor' has no member named 'file_info' gzlibcompressor.c: In function 'g_zlib_compressor_set_file_info': gzlibcompressor.c:335: error: 'GZlibCompressor' has no member named 'file_info' gzlibcompressor.c:338: error: 'GZlibCompressor' has no member named 'file_info' gzlibcompressor.c:339: error: 'GZlibCompressor' has no member named 'file_info' gzlibcompressor.c:342: error: 'GZlibCompressor' has no member named 'file_info' gmake[4]: *** [gzlibcompressor.lo] Error 1 gmake[4]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1/gio' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1/gio' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1/gio' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/devel/glib20. *** Error code 1 Stop in /usr/ports/devel/glib20. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20101213-34478-1rabaqj-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=glib-2.24.2 UPGRADE_PORT_VER=2.24.2 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! devel/glib20 (glib-2.24.2)(compiler error) Anyone know how to solve this issue? Still having problems getting this done, and now it gets worse, since it's harder and harder to update ports depending on glib. Someone suggested offlist to install the zlib.h from version 1.2.5, however that didn't work either. Am I really the only one having this problem (or using glib :-) )? help... -- Peter Boosten http://www.boosten.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: Updating glib from 2.24.2 to 2.26.1_1 fails
On 17 jan 2011, at 19:59, Michael Powell wrote: don't think I have any magic answer here. Just did a 'make' for this port on a 8.1-Release box and it built just fine. Only a couple of things come to mind for me. Take out the -march=pentiumpro from your make.conf, and any other compiler optimizations. Whenever I experience a problem in portupgrade my standard first thing to try is to build the port manually, outside of portupgrade. Just for the purpose of simplification and to eliminate portupgrade as a variable. Michael, Thanks for your answer. I don't have a -march=pentiumpro in my make.conf (or maybe it's the cpu=i686?) Anyway, removed that. I did a search for zlib.h on my machine, and found actually another (older) one, in /usr/local/include. After removing that, I got a bit further, but now it stops with: ./.libs/libgio-2.0.so: undefined reference to `deflateSetHeader' ./.libs/libgio-2.0.so: undefined reference to `inflateGetHeader' gmake[4]: *** [gio-querymodules] Error 1 gmake[4]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1/gio' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1/gio' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1/gio' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1' gmake: *** [all] Error 2 *** Error code 1 Looks like there's some junk on my machine. I'm going to search for other duplicates... -- Peter Boosten http://www.boosten.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: Updating glib from 2.24.2 to 2.26.1_1 fails
On 17 jan 2011, at 21:07, Peter Boosten wrote: On 17 jan 2011, at 19:59, Michael Powell wrote: don't think I have any magic answer here. Just did a 'make' for this port on a 8.1-Release box and it built just fine. Only a couple of things come to mind for me. Take out the -march=pentiumpro from your make.conf, and any other compiler optimizations. Whenever I experience a problem in portupgrade my standard first thing to try is to build the port manually, outside of portupgrade. Just for the purpose of simplification and to eliminate portupgrade as a variable. Michael, Thanks for your answer. I don't have a -march=pentiumpro in my make.conf (or maybe it's the cpu=i686?) Anyway, removed that. I did a search for zlib.h on my machine, and found actually another (older) one, in /usr/local/include. After removing that, I got a bit further, but now it stops with: ./.libs/libgio-2.0.so: undefined reference to `deflateSetHeader' ./.libs/libgio-2.0.so: undefined reference to `inflateGetHeader' gmake[4]: *** [gio-querymodules] Error 1 gmake[4]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1/gio' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1/gio' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1/gio' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1' gmake: *** [all] Error 2 *** Error code 1 Looks like there's some junk on my machine. I'm going to search for other duplicates... Ok, fixed it by installing the package. Not the cleanest way, but the most efficient. -- Peter Boosten http://www.boosten.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
Updating glib from 2.24.2 to 2.26.1_1 fails
Hi all, In an attempt to update glib on my 8.0-machine, portupgrade stops with this message: gnome-libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\GLib-GIO\ -I.. -I../glib -I../glib -I.. -I../gmodule -DG_DISABLE_CAST_CHECKS -DG_THREADS_MANDATORY -DG_DISABLE_DEPRECATED -DGIO_COMPILATION -DGIO_MODULE_DIR=\/usr/local/lib/gio/modules\ -I/usr/local/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -O -pipe -march=pentiumpro -Wall -MT gzlibcompressor.lo -MD -MP -MF .deps/gzlibcompressor.Tpo -c gzlibcompressor.c -fPIC -DPIC -o .libs/gzlibcompressor.o gzlibcompressor.c:68: error: expected specifier-qualifier-list before 'gz_header' gzlibcompressor.c: In function 'g_zlib_compressor_set_gzheader': gzlibcompressor.c:80: error: 'GZlibCompressor' has no member named 'file_info' gzlibcompressor.c:83: error: 'GZlibCompressor' has no member named 'gzheader' gzlibcompressor.c:83: error: 'gz_header' undeclared (first use in this function) gzlibcompressor.c:83: error: (Each undeclared identifier is reported only once gzlibcompressor.c:83: error: for each function it appears in.) gzlibcompressor.c:84: error: 'GZlibCompressor' has no member named 'gzheader' gzlibcompressor.c:86: error: 'GZlibCompressor' has no member named 'file_info' gzlibcompressor.c:87: error: 'GZlibCompressor' has no member named 'gzheader' gzlibcompressor.c:88: error: 'GZlibCompressor' has no member named 'gzheader' gzlibcompressor.c:90: error: 'GZlibCompressor' has no member named 'gzheader' gzlibcompressor.c:91: error: 'GZlibCompressor' has no member named 'file_info' gzlibcompressor.c:94: warning: implicit declaration of function 'deflateSetHeader' gzlibcompressor.c:94: error: 'GZlibCompressor' has no member named 'gzheader' gzlibcompressor.c: In function 'g_zlib_compressor_finalize': gzlibcompressor.c:112: error: 'GZlibCompressor' has no member named 'file_info' gzlibcompressor.c:113: error: 'GZlibCompressor' has no member named 'file_info' gzlibcompressor.c: In function 'g_zlib_compressor_get_property': gzlibcompressor.c:171: error: 'GZlibCompressor' has no member named 'file_info' gzlibcompressor.c: In function 'g_zlib_compressor_get_file_info': gzlibcompressor.c:310: error: 'GZlibCompressor' has no member named 'file_info' gzlibcompressor.c: In function 'g_zlib_compressor_set_file_info': gzlibcompressor.c:335: error: 'GZlibCompressor' has no member named 'file_info' gzlibcompressor.c:338: error: 'GZlibCompressor' has no member named 'file_info' gzlibcompressor.c:339: error: 'GZlibCompressor' has no member named 'file_info' gzlibcompressor.c:342: error: 'GZlibCompressor' has no member named 'file_info' gmake[4]: *** [gzlibcompressor.lo] Error 1 gmake[4]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1/gio' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1/gio' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1/gio' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/devel/glib20. *** Error code 1 Stop in /usr/ports/devel/glib20. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20101213-34478-1rabaqj-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=glib-2.24.2 UPGRADE_PORT_VER=2.24.2 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! devel/glib20 (glib-2.24.2)(compiler error) Anyone know how to solve this issue? TIA -- http://www.boosten.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: Updating glib from 2.24.2 to 2.26.1_1 fails
On 14 dec 2010, at 18:24, Chris Brennan wrote: t looks like you either specified to include gzip and it cant find the headers or it's trying to find your gzip headers and can't because they are in a different location. gzip is in the base system, and there are, AFAICT, no header files for gzip. gzlibcompressor.c however tries to include zlib.h, and it might or might not expect something that's in FreeBSD 8.1, but not in 8.0, however I cannot tell for sure. Anyone can confirm this? btw. Please reply to all to keep it in the list -- Peter Boosten http://www.boosten.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: Updating glib from 2.24.2 to 2.26.1_1 fails
On 14 dec 2010, at 09:12, Peter Boosten wrote: Okay, did some source code digging, and I believe the actual error starts here: gzlibcompressor.c:68: error: expected specifier-qualifier-list before 'gz_header' which, if I interpret all correctly, means that gz_header is no typedef (or at least, isn't found by the compiler), but this struct actually has been declared in zlib.h, which is in the #include list of gzlibcompressor.c The config part of the glib port actually verifies whether zlib.h is available or not: checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes -- Peter Boosten http://www.boosten.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: Updating glib from 2.24.2 to 2.26.1_1 fails
On 14 dec 2010, at 19:40, Chuck Swiger wrote: On Dec 14, 2010, at 10:22 AM, Peter Boosten wrote: gzip is in the base system, and there are, AFAICT, no header files for gzip. I regret to disagree :-), but: % head -2 /usr/include/zlib.h /* zlib.h -- interface of the 'zlib' general purpose compression library version 1.2.3, July 18th, 2005 Chuck, Thanks for your answer. I looked for a gzip.h, but obviously didn't find one :-) gzlibcompressor.c however tries to include zlib.h, and it might or might not expect something that's in FreeBSD 8.1, but not in 8.0, however I cannot tell for sure. Anyone can confirm this? CVSweb suggests zlib.h header has been part of the system for 14+ years, ie, from FreeBSD-2.x era: http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libz/zlib.h I found indeed no differences between 8.0 and 8.1. -- Peter Boosten http://www.boosten.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: ultimate backup choice
On 11 dec 2010, at 13:17, S Mathias wrote: i have: SERVER A SERVER B with full root permisson [ssh, etc] each server has a folder. i want to backup a folder in SERVER A. are there any backup methods, that meets these two requirements? : 1) running from e.g.: a cronjob 2) when running, it just checks the folder in SERVER A and SERVER B. if a file/folder has been added/removed/modified in the SERVER A's folder, then it copies/removes it/them to SERVER B's folder. please help! Thank you in advance! [for any links, howtos :\ ] http://everythinglinux.org/rsync/ -- Peter Boosten http://www.boosten.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: Is ZFS ready for prime time?
On 15 nov 2010, at 20:37, Chris Rees wrote: On 15 November 2010 19:33, Wojciech Puchar woj...@tensor.gdynia.pl wrote: ___ 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 please elaborate look at archives. i really don't want to repeat the same many times. And anyone that actually have clue about what is computer, disk drive, reliability and algorithms and can think - after reading how ZFS is designed will understand that. When did you ever 'repeat' that in the first place? Can you provide a link, I don't recall seeing anyone say that ZFS is a toy. He's consistent in any case (a quick google search reveals this 2008 message): http://www.mail-archive.com/freebsd-questions@freebsd.org/msg192926.html -- Peter Boosten http://www.boosten.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: removing files
On 9-11-2010 6:57, Eitan Adler wrote: If you really want to delete all the .chk files extension files at a time find path -name '*.chk' -print -prune -exec rm -rf {} + \; And more efficient: find path -name '*.chk' -delete Peter -- http://www.boosten.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: OT: Apache as reverse SSL proxy
On 5-10-2010 5:53, Doug Poland wrote: On Mon, Oct 04, 2010 at 09:19:52PM -0500, Adam Vande More wrote: The documentation for www/pound indicated HTTPS does not allow virtual hosting. I seem to recall bumping into this issue in the past that one cannot do named-based vhosts on HTTPS. Look like it's back to the drawing board... You could circumvent that issue by terminating your HTTPS sessions on the reverse proxy itself (and talk HTTP to the application server). Some applications won't work that way, but modern ones (and even Outlook Web Access) can use a HTTPS-front-end. The problem exists within applications with hard-coded links. Peter -- http://www.boosten.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: /var/log/maillog
On 27-9-2010 7:16, kline wrote: On Mon, 2010-09-27 at 13:54 +0900, Byung-Hee HWANG wrote: Gary Kline kl...@magnesium.net writes: Here is a snippet of maillog. mutt still exiting with an 'Exec Error' Sep 26 11:13:47 ethic dovecot: imap-login: Login: user=kline, method=PLAIN, rip=10.47.0.230, lip=10.47.0.230, TLS Sep 26 11:14:48 ethic dovecot: IMAP(kline): Connection closed bytes=824/490 Sep 26 11:15:07 ethic sm-mta[15070]: ruleset=check_relay, arg1=109.106.10.75.sumtel.ua, arg2=127.0.0.4, relay=109.106.10.75.sumtel.ua [109.106.10.75], reject=550 5.7.1 Rejected: 109.106.10.75 listed at sbl-xbl.spamhaus.org p1 11:15 ethic [4598] anybody? Gary, just use smart host to google. That's powerful! Sincerely, Actually, I have started using google to search for all types of things, :-) The above is still a mystery tho. There's nothing in the log snippet above that would explain, nor indicate why/that your mutt died. Peter -- http://www.boosten.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: Filesystems
On 24-9-2010 23:13, Matthew Seaman wrote: On 24/09/2010 21:05:45, Derek Funk wrote: There was a post some time ago someone was complaining that FreeBSD still uses and archaic filesystem and not a new FS like ext4. Some replied, seeming like a code contributor, with a very sounded reply. What is that reply? ZFS or words to that effect. Linux has nothing comparable. http://www.osnews.com/story/23416/Native_ZFS_Port_for_Linux :-) Peter -- http://www.boosten.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: Filesystems
On 25 sep 2010, at 09:45, Matthew Seaman wrote: On 25/09/2010 08:32:58, Peter Boosten wrote: On 24-9-2010 23:13, Matthew Seaman wrote: On 24/09/2010 21:05:45, Derek Funk wrote: There was a post some time ago someone was complaining that FreeBSD still uses and archaic filesystem and not a new FS like ext4. Some replied, seeming like a code contributor, with a very sounded reply. What is that reply? ZFS or words to that effect. Linux has nothing comparable. http://www.osnews.com/story/23416/Native_ZFS_Port_for_Linux :-) Yes. Quoting that very page: I know... my reply was just to treat the issue lightly. That's what the smiley was for. Thanks for your reply. -- Peter Boosten http://www.boosten.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: Unable to find device node for ./dev/ad4s1b in /dev
On 18 sep 2010, at 22:15, Henry Olyer henry.ol...@gmail.com wrote: This morning I downloaded and burned the latest CD for 8.1. Then I took a brand new laptop, an ACER, model ASPIRE-7741Z-5731, and tried to install FreeBSD. (It had a copy of windoz on it. goodbye and good riddance.) My point is simple, this is about as vanilla as it gets. And I get the error, shown in the subject line. Not sure if this is important, but the ad4s1b partition is the SWAP partition. I lost data this way... And I'm quite happy (not for you) to see .I'm not the only one experiencing this phenomena. Peter --jg ___ 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: Problems with upgrade - lost partition
Ping... -- HTTP://www.boosten.org On 27 aug 2010, at 11:19, Peter Boosten pe...@boosten.org wrote: Hi, I recently updated a machine (running on VMWare) from 7.2 to 8.1. This machine has two (virtual) disks. While the upgrade went rather smooth ('make buildworld, make buildkernel, make installkernel, reboot into single user, mergemaster -p, make installworld, mergemaster, reboot), I lost the partition on the second harddrive. So after reboot, the machine went directly in single user mode, because my /dev/ad1s1a was gone. The only devices in /dev where ad1 (the disk) and ad1s1 (the slice). Since I had a backup this didn't seem to be such a problem, however recreating the slice was. The only way I could get rid of that slice was through the gpart utility (sysinstall wouldn't help me at all): gpart delete ad1s1 gpart destroy ad1 After that sysinstall worked again. Is there any way around this (and preferably rescue the partition somehow, since I have more machines to upgrade, and while backups are there, restoring creates an additional delay in the whole process). Also, the numbering of the NICs changed from le0 to le1, which isn't that a big problem, but rather annoying. Thanks in advance. Peter -- http://www.boosten.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: How to prevent system to launch interactive fsck after improper shutdown and reboot?
On 15-9-2010 8:53, Matthias Apitz wrote: echo 16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlb xq | dc LOL, only worked with quotes, btw ;-) Peter -- http://www.boosten.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: How to prevent system to launch interactive fsck after improper shutdown and reboot?
On 15-9-2010 9:07, Matthias Apitz wrote: $ sh $ echo 16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlb xq | dc RTFM $ bash g...@current:/usr/home/guru echo 16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlb xq | dc RTFM which shell you used? zsh. Peter -- http://www.boosten.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: CNID DB vs afp
On 10-9-2010 10:11, Dánielisz László wrote: Hi, I having the following problem on my afpd share: something wrong witht he volume's CNID DB, using temporary CNIDB DB insted. Check server messages for details. Switching to read-only mode. I am using FreeBSD 8.0 for the afpd and OS-X 10.6.4, do you have any idea what to check? try dbd -r /path/to/your/volume This will rebuild the DB. Also: check if cnid_metad is running. You might need cnid_metad_enable=yes in your rc.conf -- http://www.boosten.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: Regex Help For Procmail
On 7-9-2010 3:51, Frank Shute wrote: [snip] I additionally don't like the look of your Maildir. It's quoted, you should set MAILDIR in procmailrc, you should get rid of the space and it should end in new. Result: :0 * ^From:.*famous-smoke\.com .Shopping/Famous_Smoke/new I've actually never seen a recipe (either on the net, nor in the examples in procmailex suggesting this. The 'new' part is taken care of by procmail itself. I don't know what you're using for maildirmake but here's a script you can adapt: #!/bin/sh # # Usage: maildirmake somemaildir mkdir $1 mkdir $1/new mkdir $1/cur mkdir $1/tmp chown frank:frank $1/new chown frank:frank $1/cur chown frank:frank $1/tmp chmod 700 $1 chmod 700 $1/new chmod 700 $1/cur chmod 700 $1/tmp You have to run it from where you keep your maildirs i.e MAILDIR Also something procmail takes care of automatically. I've never created any directory structure for procmail to be able to deliver email to it. Peter -- http://www.boosten.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: ports database
On 29-8-2010 0:59, per...@pluto.rain.com wrote: Polytropon free...@edvax.de wrote: tar -cf ports.tar /usr/port It should be, better suited: # cd /usr # tar cf ports.tar ports So one could do tar xf ports.tar in the target machine's /usr ... Better put the created tarfile somewhere other than in the directory that is being tarred :) That's the case in the above example... and it might as well be compressed, something like: # cd /usr # tar cf - ports | gzip /var/tmp/ports.tgz how about: tar zcf ports.tar.gz ports ;-) Peter -- http://www.boosten.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
Problems with upgrade - lost partition
Hi, I recently updated a machine (running on VMWare) from 7.2 to 8.1. This machine has two (virtual) disks. While the upgrade went rather smooth ('make buildworld, make buildkernel, make installkernel, reboot into single user, mergemaster -p, make installworld, mergemaster, reboot), I lost the partition on the second harddrive. So after reboot, the machine went directly in single user mode, because my /dev/ad1s1a was gone. The only devices in /dev where ad1 (the disk) and ad1s1 (the slice). Since I had a backup this didn't seem to be such a problem, however recreating the slice was. The only way I could get rid of that slice was through the gpart utility (sysinstall wouldn't help me at all): gpart delete ad1s1 gpart destroy ad1 After that sysinstall worked again. Is there any way around this (and preferably rescue the partition somehow, since I have more machines to upgrade, and while backups are there, restoring creates an additional delay in the whole process). Also, the numbering of the NICs changed from le0 to le1, which isn't that a big problem, but rather annoying. Thanks in advance. Peter -- http://www.boosten.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: Upgrading Apache fails - Solved
On 28-7-2010 7:53, Zbigniew Szalbot wrote: Hello, I had to pkg_delete both apache22 and apr1, pkgdb -F, then reinstall apache22, but all is well now. I followed the original suggestions from UPDATING 1. pkg_delete -f apache-2.\* 2. portupgrade -f -o devel/apr1 devel/apr 3. portinstall www/apache22 However, I get the following then: checking for APR... configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file. === Script configure failed unexpectedly. Please report the problem to apa...@freebsd.org [maintainer] and attach the /usr/ports/www/apache22/work/httpd-2.2.16/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/www/apache22. *** Error code 1 Stop in /usr/ports/www/apache22. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall20100728-30282-trybeq-0 env make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! www/apache22 (configure error) When I check pkg_info -Ix apr, I get: pkg_info -Ix apr apr-ipv6-devrandom-gdbm-db42-mysql50-1.4.2.1.3.9_1 Apache Portability Library xf86dgaproto-2.0.3 XFree86-DGA extension headers xineramaproto-1.1.2 Xinerama extension headers Do you think I should delete the apr port before attempting to install apache again? It has been a while back, but IIRC I had to 'make config' in the apr port to enable ldap (because I'm using that) to be able to recompile apr/apache. Peter -- http://www.boosten.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: Install Apache in qjail?
On 22-7-2010 2:10, Aiza wrote: If this apache jail is going to use the standard port 80 to listen on, then the host and any other jails can not use that port number. Nonsense! Since the IP address assigned to the jail is the only one the jail is seeing, Apache will only bind to that IP address. So you can have as many jails running Apache on port 80 as you like, because they only will bind to the IP address belonging to the jail. The only 'challenge' will be configuring Apache on the host itself to only listen to one IP address, instead of *, which is piece of cake. Peter -- http://www.boosten.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
Observations during upgrade 7.2 - 8.0
Hi all, I recently upgraded several machines from 7.2 to 8.0 and I made a few observations: Two machines run on an ESX vmware server, and while interfaces started counting at 0 (ie le0, le1, etc), now these interfaces start at 1 (le0 - le1, le1 - le2). Is there any reason for 8.0 doing this, since it messed up a lot of things? During the upgrade of all the packages using portupgrade, the pkgdb.db got corrupted while upgrading ruby18-bdb, and interrupted the upgrade of all packages (using portupgrade -af). I've checked this by upgrading the port itself. Is this normal, and can it be prevented, like excluding it from portugrade -fa? TIA Peter -- http://www.boosten.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: Local cvs repository
On 14-7-2010 7:51, Tim Judd wrote: On 7/12/10, Peter Boosten pe...@boosten.org wrote: Hi all, I run a local cvs repository for year now, but since a couple of days I get these on the clients: Server message: Unknown collection src-all Server message: Unknown collection ports-all But you still have your source and ports tree on the clients? Sometimes these kind of messages are relating to the tag being used on the cvs mirror (your side, not the grand cvsup*.*.freebsd.org) Please check the config of your cvsup mirror actions, not just the logs. I think I might have found the actual problem: these machines still run on 7.2, which went out of support last week... Time to upgrade, I guess :-) Peter -- http://www.boosten.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: Local cvs repository
On 15 jul 2010, at 14:24, Peter Boosten wrote: On 14-7-2010 7:51, Tim Judd wrote: On 7/12/10, Peter Boosten pe...@boosten.org wrote: Hi all, I run a local cvs repository for year now, but since a couple of days I get these on the clients: Server message: Unknown collection src-all Server message: Unknown collection ports-all But you still have your source and ports tree on the clients? Sometimes these kind of messages are relating to the tag being used on the cvs mirror (your side, not the grand cvsup*.*.freebsd.org) Please check the config of your cvsup mirror actions, not just the logs. I think I might have found the actual problem: these machines still run on 7.2, which went out of support last week... Nope, that wasn't it, since I have one FB8 machine. But the base parameter (-b) of cvsupd was pointing to the wrong directory. Correcting this fixed my problem. Thanks for your time and apologies for the noise. -- Peter Boosten http://www.boosten.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: Help with ezjail-admin create command
On 14 jul 2010, at 21:49, Ed Flecko wrote: Hi folks, I've found a website ( http://wiki.freebsd.org/AppserverJailsHOWTO ) with a tutorial that steps me through most if what I'm trying to set-up; I'm trying to use ezjail to set up the latest version of Apache with my website. I've carefully followed the steps, and the only step that I've found that seems to be wrong is the author's reference to default which doesn't seem to exist; it's actually example so I've changed my commands accordingly. I'm confused about the ezjail-admin create command. When I installed FreeBSD, I set up a partition called www, because I thought it might be easier for me to backup all of my web sites, etc., and it's easier for me to remember where I installed Apache. I've modified my ezjail.conf file and the ezjail_jaildir line to read: ezjail_jaildir=/www/jails When I issue this command: ezjail-admin create -f example apache 192.168.225.128 I get this error: find: /www/jails/apache/pkg/: no such file or directory Note: Shell scripts for flavour example installed, flavourizing on jails first startup. I think you're better off creating a fresh jail, and install apache via the ports collection. for the templates to work you need to specify all dependencies by hand. It also throws an error about some services already seem to be listening on IP 192.168.225.128 1.) What did I screw up? This isn't normal, is it? This is a normal thing. By default services on FreeBSD listen on all interfaces, and since jails use an alias on an existing interface, it'll listen on that as well. You will need to change the configurations of the services on the host for at least all services you will run on the jail as well (so if your host runs apache, you'll need to reconfigure apache to listen only on one IP address, or have apache in the jail listen on another port than 80). Same goes for sshd and other services. 2.) When using the ezjail-admin create command, the IP address that I'm passing is supposed to be the IP address of the HOST machine (because it has the basejail, right?), isn't it? No, the IP address the jail will have (but you have to create an alias on the host to that IP address) 3.) When I type: find / -name apache I get: /usr/local/etc/ezjail/apache and /www/jails/apache Does the ezjail program create TWO instances of what will be my jailed Apache? Why does it do that? Did I goof something else up, or is that normal? Those are probably symlinks... Peter -- Peter Boosten http://www.boosten.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: Help with ezjail-admin create command
On 14 jul 2010, at 22:18, Ed Flecko wrote: Peter, I don't quite understand what you mean I think you're better off creating a fresh jail, and install apache via the ports collection. for the templates to work you need to specify all dependencies by hand. Are you suggesting NOT using ezjail? No, that's not what I'm suggesting. from the start: first thing is to create the base: (one time) ezjail-admin update -P -i After reconfiguring the services on the host machine (one time), you can add an alias to your existing ip address (see ifconfig how to to that) then create a jail: ezjail-admin create hostname ipaddress assuming your ezjail.conf is oke. replace hostname with a name you want to identify the jail with, and the ipaddress should be replaced by the alias ip address in the previous step. You will then have a good jail. You can start this jail with /usr/local/etc/rc.d/ezjail.sh onestart (or start, if you edited /etc/rc.conf) and access the running jail with: ezjail-admin console hostname after that you go to the ports collection and install apache, including all its dependencies (which are a lot) cd /usr/ports/www/apache22 make all install clean jsut like you would do on a non-jailed machine. Or do you mean just install Apache into a jail (created by ezjail) and don't worry about creating a template like this website shows? How would I do that? I'm new to the whole jail thing so it's a little confusing. I like the idea of using the ezjail, because is seems more idiot proof for a relative newbie. ezjail is good. :-) Also, what do you mean for the templates to work you need to specify all dependencies by hand? I'm not stuck on following this website, but IF the steps are fairly accurate, it seems to be a good roadmap and it doesn't mention anything about specifying any dependencies by hand. That's what I read from the creators website: The default flavour demonstrates how to pkg_add some prefetched packages. Since no remote fetching of missing packages is requested, you need to provide all package dependencies yourself. -- Peter Boosten http://www.boosten.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: Help with ezjail-admin create command
On 14 jul 2010, at 23:57, Ed Flecko wrote: Thank you. :-) What services are you referring to on the host that need to be reconfigured??? ezjail tells you what services are running, which might conflict with the jail. But that highly depends on the services running on the host, and which you are planning to run in the jail. In my case it was: sshd, openldap, apache, syslog-ng, postfix, nfs, netatalk, samba. -- Peter Boosten http://www.boosten.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
Local cvs repository
Hi all, I run a local cvs repository for year now, but since a couple of days I get these on the clients: Server message: Unknown collection src-all Server message: Unknown collection ports-all The result is that neither the source nor the ports will get updated. The update script on the repository server always ends with 'Finished successfully'. Anyone an idea? Peter -- http://www.boosten.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: ezjail -vs- Do it yourself jail?
On 9-7-2010 17:13, Adam Vande More wrote: On Fri, Jul 9, 2010 at 9:50 AM, Ed Flecko edfle...@gmail.com wrote: I'm trying to set up a FreeBSD 8.0 server to run Apache that will be facing the nasty and unforgiving WWW. I have several good books on Apache that describe how to set up the jail, when I came across several websites that reference the ezjail package. Are there some caveats or downsides to using the ezjail route for setting up my server with Apache? It sure sounds like an easier way to go and less goof-proof, but as we all know, easier is not always better! It depends on how you're using it. If all you intend on having is a single jail with apache running in it, then it may be easier to use it standard method. Remember that ezjail is just a wrapper around FreeBSD jails, a management utility if you will. You can have both ezjail jails and traditional jails running concurrently. You can experiment with both to find out which method you like. I find ezjail more convenient in situation where there are multiples jails running on a system. I imagine if you have found a use for one jail, it won't be long until you find need for another. One of the main advantages of ezjail is that it out of the box saves disk space for more than one jail, because of the shared nullfs mounts. That can be done by hand as well (the handbook shows how), but ezjail already invented the wheel. Peter -- http://www.boosten.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
{Spam?} Re: VLANs is this right?
On 5 jul 2010, at 18:16, Modulok wrote: Hopefully this doesn't get too garbled by various mail clients: Internet | FreeBSD router | (tagged frames) | switch || vlan1 vlan2 || hostAhostB Criteria: - HostA must never directly talk to HostB. - Both hostA and hostB have an Internet connection. What I have to work with: proCurve switch which supports VLANs. 2x Intel NICs in FreeBSD which support VLANs. I've never messed with VLANs before. This is all new to me. As I understand so far, this should be a simple matter of creating the vlans on the switch, assigning ports to their respective vlan in 'untagged' mode, and then assigning the port BSD connects to, as a 'tagged' member of both VLAN's? Then I'd create an IP alias on the internal FreeBSD NIC, so that it can talk to both networks over the same wire? Is this right? Not entirely: the trunk (between switch and FreeBSD) will have the two different vlan tag id's, and you cannot differentiate between the two by doing 'normal' IP aliasing (yet done with ifconfig). The physical interface won't get an IP address at all, but the two virtual vlan interfaces will. You can/must keep the two networks apart with a firewall (pf for instance). Peter -- Peter Boosten http://www.boosten.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: VLANs is this right?
On 5 jul 2010, at 19:30, Modulok wrote: It was a simplified diagram of what I thought I needed. ( Which may or may not be what I actually need! ) Basically, I want a port on the switch that I can plug un-trusted devices into. Systems wich are known to be just crawling with malicious software. I need to provide them with an Internet connection, but otherwise want them separated from everybody else. Think DMZ isolation, but they're not providing any 'external' services. I was wondering if this could be done with tagging and address aliases, instead of buying a third network card for the BSD machine. If that makes any sense. Please don't top-post. Your way indeed is the way to go. I have a similar setup, where I don't my 19-year olds' PC roam my network. I've created two different VLANs on my switch (Nortel), and a trunk to my M0n0wall (=FreeBSD) firewall which separates the two. Peter -- Peter Boosten http://www.boosten.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: move back to preceding ports ?
On 29-6-2010 13:19, Frank Bonnet wrote: ok thanks a lot I noticed in an earlier post that you manually upgrade openldap. How do you maintain other ports, like dependencies? Peter -- http://www.boosten.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: move back to preceding ports ?
On 29 jun 2010, at 13:56, Frank Bonnet wrote: I've always used cvsup to maintain the ports tree up to date cvsup -g -L 2 ports-supfile ( with all options ) Yeah, that takes care of the ports... but do you recompile dependancies as well? For instance: ra% pkg_info -r openldap-sasl-server-2.4.22 Information for openldap-sasl-server-2.4.22: Depends on: Dependency: cyrus-sasl-2.1.23 Dependency: openldap-sasl-client-2.4.22 Dependency: libltdl-2.2.6b Dependency: db46-4.6.21.4 Peter -- Peter Boosten http://www.boosten.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: slapd crash the HP proliant DL360 at 8.0
On 28-6-2010 9:50, Frank Bonnet wrote: Hello I had BIG trouble saturday morning with a HP proliant DL360 that runs our directory server ( OpenLDAP ) Tha machine had crashed ... Anyone had the same trouble running slapd at 8.0 ? No, you can eliminate that factor. Runs fine on my machine. Peter -- http://www.boosten.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: slapd crash the HP proliant DL360 at 8.0
On 28 jun 2010, at 11:56, Frank Bonnet f.bon...@esiee.fr wrote: Argh !!! I upgraded slapd to 2.4.22 and it does not start anymore !!! some symbol cannot be found anymore I had to revert to 2.3.4x to have a working slapd !!! What's wrong with 2.4.22 folks ? Just checked: I'm running 2.4.22 on 8.0, no problems so far. Peter -- HTTP://www.boosten.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: slapd crash the HP proliant DL360 at 8.0
On 28 jun 2010, at 17:46, Frank Bonnet wrote: On 06/28/2010 05:40 PM, Peter Boosten wrote: On 28 jun 2010, at 11:56, Frank Bonnet f.bon...@esiee.fr wrote: Argh !!! I upgraded slapd to 2.4.22 and it does not start anymore !!! some symbol cannot be found anymore I had to revert to 2.3.4x to have a working slapd !!! What's wrong with 2.4.22 folks ? Just checked: I'm running 2.4.22 on 8.0, no problems so far. Peter Hello could you tell which options you checked ? I'm actually running openldap-sasl-server-2.4.22, from Origin: net/openldap24-server ra% cd /var/db/ports/openldap24 ra% less options # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for openldap-sasl-server-2.4.15 _OPTIONS_READ=openldap-sasl-server-2.4.15 WITH_SASL=true WITHOUT_DYNACL=true WITHOUT_ACI=true WITHOUT_DNSSRV=true WITHOUT_PASSWD=true WITHOUT_PERL=true WITHOUT_RELAY=true WITHOUT_SHELL=true WITHOUT_SOCK=true WITHOUT_ODBC=true WITHOUT_RLOOKUPS=true WITHOUT_SLP=true WITHOUT_SLAPI=true WITH_TCP_WRAPPERS=true WITH_BDB=true WITHOUT_ACCESSLOG=true WITHOUT_AUDITLOG=true WITHOUT_COLLECT=true WITHOUT_CONSTRAINT=true WITHOUT_DDS=true WITHOUT_DEREF=true WITHOUT_DYNGROUP=true WITHOUT_DYNLIST=true WITHOUT_LASTMOD=true WITHOUT_MEMBEROF=true WITHOUT_PPOLICY=true WITHOUT_PROXYCACHE=true WITHOUT_REFINT=true WITHOUT_RETCODE=true WITHOUT_RWM=true WITH_SEQMOD=true WITH_SYNCPROV=true WITHOUT_TRANSLUCENT=true WITHOUT_UNIQUE=true WITHOUT_VALSORT=true WITHOUT_SMBPWD=true WITH_DYNAMIC_BACKENDS=true Hope this helps. Peter -- Peter Boosten http://www.boosten.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: utility to all ALL strings?
On 18-6-2010 22:56, Gary Kline wrote: this goes back a few years, but is there, somewhere in ports, a utility that goes thru the entire system and collects either all file names or all strings---i do not think this operated on binaries [:-)]--- and hashed and compressed everything? i remember thinking about it, but because back then my fastest computer was 500MHz , i thought better =not= to do it. now that i spend so much time hunting for stuuff, i think i could cron this utility. --If it wasn't a figment of my imagination! gary My guess would be tripwire (in security), but then again: I haven't got a clue what you're trying to accomplish. Peter -- http://www.boosten.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: Ownership of /var/named Changes on Reboot.
On 17-6-2010 4:58, Robert Huff wrote: Martin McCormick writes: Is there a way to keep /var/named owned by bind across reboots? Yes. I had this happen for a long time. The bad news is it had been years since I fixed it, and I no longer remember exactly what I did. I will keep trying. Permissions are set using the mtree files: /etc/mtree/ Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: why so many errors with ports??
On 6 jun 2010, at 00:39, Giorgos Tsiapaliokas terie...@gmail.com wrote: hello, i am coming from the linux world i was a gentoo user and i have install on my second machine FBSD,i have made many formats but every time i try to install a graphical enviroment (such as xfce,kde) many many errors come up. i have heard that the ports are more stable than portage but with portage i didn't have so many errors (actually i can't recall a time when portage died) am i doing sth wrong or ports comes up with many errors?? P.S.: 1 week not i haven't manage to install a graphical enviroment thanks in advance __ I had lots of problems updating my ports due to the change in libgmp. According to the UPDATE file in /urs/ports portupgrade would automatically take care of it, however it didn't. Not sure if related to the OP's question, but maybe worth mentioning. Peter -- http://www.boosten.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: Strange diskspace loss
On 4-5-2010 8:11, Антон Клесс wrote: And logs rotation is set up properly. Try to find open files with fstat Peter -- http://www.boosten.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: dhcpd doesn't sent route information
On 23-4-2010 17:22, Chuck Swiger wrote: On Apr 23, 2010, at 6:14 AM, Onur Aslan wrote: I am using isc-dhcp30-server-3.0.7_5 in FreeBSD 7.2. When I run dhclient in a client machine, this machine doesn't get gateway from dhcp server. I configured dhcpd server as described in FreeBSD handbook. If the machine you are testing from is one of onur-pc or onur-eee, you aren't getting a default router because you've only defined it for the dynamic pool range of .4 - .24. Move the: option routers 192.168.1.1; ...statement to the top level, or move the host declarations inside of the subnet 192.168.1.0 block. Or copy the routers line to your host declarations, I suppose. No, better to keep routers information together with subnet (or else you will get in trouble when adding a second subnet): subnet 192.168.1.0 netmask 255.255.255.0 { option routers 192.168.1.1; pool { range 192.168.1.4 192.168.1.24; } } Peter -- http://www.boosten.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: dhcpd doesn't sent route information
option domain-name-servers ns1.example.com; option domain-name example.com; A fqdn for a name server? That'll give you a chicken and egg problem, don't you think? Peter -- http://www.boosten.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: dhcpd doesn't sent route information
On 24 apr 2010, at 23:07, Erik Norgaard wrote: On 24/04/10 17:41, Peter Boosten wrote: option domain-name-servers ns1.example.com; option domain-name example.com; A fqdn for a name server? That'll give you a chicken and egg problem, don't you think? No, the dhcpd server resolves the address and sends the ip to the clients. Ah, didn't know that. Thanks. Peter -- http://www.boosten.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: Syslog to log remote nodes
On 10-4-2010 18:54, Erik Norgaard wrote: Hi: I want my syslog to log remote nodes, in particular my access point and router, which authenticates users against my freeradius server. In /etc/rc.conf I've got: syslogd_flags=-C -a 192.168.0.0/23 -a 172.16.0.0/23 -vv In /etc/syslog.conf I've got first the entries for the system, no networked clients specified, ... local0.*/var/log/radius.log ... # Remote systems +172.16.0.0/23 *.info /var/log/wlan.log +192.168.0.254 *.info /var/log/router.log Surprise, I've got my access point logs in the radius log file, not in the wlan.log, snip radius.log: Apr 10 17:54:15 local0.notice ap airport 80211: Rotated TKIP group key. Apr 10 18:02:19 local0.notice ap airport ntp: Clock synchronized to network time server ntp.locolomo.org (adjusted -1 seconds). Apr 10 18:43:11 local0.info alpha radiusd[79800]: Loaded virtual server inner-tunnel Apr 10 18:43:11 local0.info alpha radiusd[79800]: Loaded virtual server default The ap is the access point. I haven't got anything in router.log and can't really figure where it has ended up. What's wrong with my syslog.conf? I tried once the same setup, but never got it working. I ended up switching to syslog-ng (I know, probably not the answer you're looking for, but with syslog-ng you can configure the way you want it to be). Peter -- http://www.boosten.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: request
Isn't Iran one of the countries US does not export to? That could explain the unability to download... Peter -- HTTP://www.boosten.org On 20 dec 2009, at 06:38, Marwan Sultan dead_l...@hotmail.com wrote: Hello Akbar, Before submitting a question, make sure its a proper question! and before attempting to do something, read about it, check it out then decide if you want to do it or not. Did you read about FreeBSD and did you check the website www.FreeBSD.org or not? If you cannot download the OS ISO which is over 600MB and NO ONE will send you 600MB thro Email, you should purchase the CD. Out of your question I think you will not make even a proper install to FreeBSD. Check out www.FreeBSD.org and check out www.pcbsd.org Marwan Sultan System Administrator Date: Mon, 14 Dec 2009 17:35:19 +0330 From: akb.mor...@mail.sbu.ac.ir To: freebsd-questions@FreeBSD.org CC: Subject: request hello I live in iran and very intresting to download and use freebsd .I think it can provide me a good futeare of good os but my internet speed is very low and i can not download it directly from your server.but if you send the free bsd iso file to my email address i can download it from my email client .because my email is locate in local server and i can easily download from this email server. tanks _ Hotmail: Trusted email with Microsoft’s powerful SPAM protection. http://clk.atdmt.com/GBL/go/177141664/direct/01/___ 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: Remote ssh tunnel in background or script?
On 9 nov 2009, at 20:36, patrick wrote: Check out /usr/ports/security/autossh autossh is a program to start a copy of ssh and monitor it, restarting it as necessary should it die or stop passing traffic. The original idea and the mechanism were from rstunnel (Reliable SSH Tunnel). With this version the method changes: autossh uses ssh to construct a loop of ssh forwardings (one from local to remote, one from remote to local), and then sends test data that it expects to get back. (The idea is thanks to Terrence Martin.) WWW: http://www.harding.motd.ca/autossh/ You don't need additional software for that: you can easily spawn a ssh session from ttys, which re-establishes itself when it fails: http://old.nabble.com/Re%3A-mysql-connection-through-ssl-tunnel-p20077382.html -- http://www.boosten.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: Accessing LDAP via web
Olivier Nicole wrote: Hi Carmen, I have email clients on my laptops that can access the LDAP server when connected via my LAN. When traveling that is not readily possible (is it)? Therefore, how can I accomplish this or is it not possible? Remember, I am not attempting to administer the LDAP server, but rather access its stored data. It would need more information then, for me to be able to answer. Usual thing LDAP is used in conjunction with email is for authentication: when you want to read or send email, you have to authenticate and this is done against the LDAP server. But this authentication is never done by your email client, rather by your POP, IMAP and SMTP servers, so it should really not matter your are traveling or not. That's a rather limited view of the capabilities of an LDAP server. Most modern browsers support the ldap:// syntax, to browse the LDAP server as an address book. For you to do so over the internet, you would need access to 389 TCP/UDP, are these ports opened up? Furthermore, you would require anonymous (read-)access. Peter -- http://www.boosten.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: pf, ssh related question
On 17 okt 2009, at 11:53, Dánielisz László laszlo_daniel...@yahoo.com wrote: Hello, I have the following annoying thing: all the time I runpfctl -F all - f /etc/pf.conf I got disconnected from my remote machine. Do you have any idea how can I avoid this? You cannot avoid when you flush all your current states. Peter -- http://www.boosten.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: CMS
Paul Schmehl wrote: I manage a couple of FreeBSD servers for a friend. He's gotten all excited about content management and thinks that's the way to go. The system he's familiar with is Windows only. I've done a little research, but I'm wondering if anyone reading the list has experience with a CMS on FreeBSD - one that's in ports preferably. I've used Joomla, Wordpress and Nucleus in the past. Dropped Joomla, because it was too big (for me) and maintaining the plugins (modules?) was too much of a hassle. The nucleus site is a nostalgic site, the Joomla site has been converted to Wordpress. The latter can be upgraded from the browser. Neither of these are installed by ports, all by source. MySQL is from ports, btw, as is all supporting software, like apache, gd, whatever. Peter -- http://www.boosten.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: measuring mysql usage
John Almberg wrote: Anyone know of a tool that can measure mysql usage per mysql user? My database is getting hammered by something, but I'm having a hard time figuring out what. It seems to come and go. Perhaps I have one or two websites that are just getting a lot of traffic, and maybe they just need their own machines. I'm not sure, which is why I'm looking for ways to start monitoring these sites and their resource usage - particularly db usage - more closely. Any thoughts or tips, much appreciated. First thing I can think of is 'mysqladmin processlist', or you could log queries for a while. Peter -- http://www.boosten.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: eclipse install
Polytropon wrote: On Wed, 05 Aug 2009 23:00:08 +0200, Coert Waagmeester lgro...@waagmeester.co.za wrote: Hello all, What is the best way to install eclipse on FreeBSD 7.2? On Linux I installed java, and downloaded the newest eclipse. On FreeBSD, you don't need to download things manually via a web browser in this old fashioned way. :-) Unfortunately this is not true for the jdk. But it's only a minor disadvantage ;-) Peter -- http://www.boosten.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: Secure password generation...blasphemy!
Anton Shterenlikht wrote: On Tue, Aug 04, 2009 at 09:52:21AM +0200, Roland Smith wrote: On Mon, Aug 03, 2009 at 08:28:52PM -0600, Modulok wrote: I need a way to generate a lot of secure passwords. So, I read all about it. Either people are getting way carried away, or I'm missing something... It is very easy to generate hard-to-guess semi-random passwords: openssl rand -base64 6 some examples: hJ9WQ0eK oOyHWEd4 W801vDIB mob29k5I RVDXkE/9 7BRHC+8h Even though this is semi-random, these are still extremely hard to guess, and neither will a dictionary attack be much use. The _big_ downside is that this kind of passwords are hard to remember. So people _will_ write them down. Which isn't a problem in itself, as long as they keep that piece of paper secure. (so not taped to their monitor, or under their keyboard.) A better solution IMHO is to let people make their own acronyms, mixed with a little l33tsp34k. That way you can have something easy to remember, but still hard to guess. E.g. Ask not for whom the bell tolls would become An4wtbt. I really like the VMS password generation facility: UAF modify donkey/generate_password tratworman cralopyter bosequism coshindius jaritions Enter PRIMARY password: clumiump wrielene guirtiety scapress primpatly Enter PRIMARY password: odliesting conetred emenstate ammycle rasests ... You are given a choice of 5 passwords to choose from. If you don't like any, keep going until something comes up that's easy to remember for you. The system manager can specify the min required length. I think this is a really nice utility, and VMS systems are very rarely compromised, though perhaps VMS users are better trained in password safe keeping. Password guessing will crack these in a jiffy. Hardly secure I would say... I use apg, like this: /usr/local/bin/apg -x 8 -m 8 -l -MSNCL -s 8 characters, minimal one capital, number and special sign, and I could use a previous used password (or random) as input. Peter -- http://www.boosten.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: jpeg-7 - rebuild all dependencies - how?
Daniel Bye wrote: On Fri, Jul 24, 2009 at 02:03:43PM +0200, Ewald Jenisch wrote: Hi, Updating one of my sytems I followed /usr/ports/UPDATING and did a pkg_delete -r jpeg-6b_7 - only to discover that everything that Au contraire, Blackadder. UPDATING says to run either of portmaster -r jpeg* OR portupgrade -fr graphics/jpeg It says nothing of pkg_delete. Not anymore, no. This is what's in my UPDATING: quote 20090719: AFFECTS: users of graphics/jpeg AUTHOR: din...@freebsd.org jpeg has been updated to 7.0. Quick instructions: pkg_delete -r jpeg-6b_7 Please rebuild all ports that depends on it. /quote I thought it to be the most stupid upgrade strategy ever, but indeed it was there in the beginning. -- http://www.boosten.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: Should DNS be on same server as webserver?
Ruben de Groot wrote: On Tue, Jul 14, 2009 at 12:46:43AM -0400, Steve Bertrand typed: John Almberg wrote: On Jul 13, 2009, at 6:27 PM, Karl Vogel wrote: You can fix the security problems by dumping Bind and using djbdns. What security problems? This one ? :) http://blogs.zdnet.com/security/?p=2812 It's the old 'my product is better' discussion: some people like Mercedes, other people BMW, 'American Cars' are always better, and some people like Volvo's. To prove they're right, they try to find why the other products are not as good as theirs, and keep holding onto old bugs and prejudices. I'm a happy bind user for years now (and I use sendmail as well). Peter -- http://www.boosten.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: Should DNS be on same server as webserver?
Steve Bertrand wrote: I like whatever works in regards to the situation I'm facing ;) And that's the best possible reason one could have! ;-) Peter -- http://www.boosten.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: configuring and ssh tunneling xorg from a headless FreeBSD machine
Dan Naumov wrote: Hello list. I have the following setup: a Windows Vista x64 SP1 machine (my primary desktop) and a FreeBSD 7.2/amd64 running on a home NAS system that's relatively powerful (Intel Atom 330 dualcore, 2gb ram). I would like to be able to run xorg and a simple desktop on the headless FreeBSD NAS and be able to interact with it from my Vista machine. What are the steps I need to take for this? Obviously I need to build xorg and some sort of a wm (probably gnome2-lite) on the FreeBSD machine and install an xserver on the Vista machine, but then what? Any pointers to guides and such are welcome. You do not need a wm on the FreeBSD machine, since your Vista machine already is (with the right software of course, like Xming). If you want to tunnel your X traffic through ssh, then you'll need a ssh client on Vista as well. Putty will suffice. I think that's it: start Xming, ssh into your FreeBSD, your DISPLAY environment will be set to localhost:10.0 (that's the default offset). and fire some X client (say xterm) and it will show on your Vista. Peter -- http://www.boosten.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: Problem starting slapd
On 23 jun 2009, at 16:39, Carmel NY carmel...@hotmail.com wrote: FreeBSD-7.2 openldap-server-2.4.16_1 I just installed this port. For some reason it will not start correctly. I have all of the information entered in the /etc/rc.conf file and the slapd.conf and ldap.conf files are configured correctly. There is no 'PID' file created. Below is what I receive when I attempt to start or stop the program. /usr/local/etc/rc.d # ./slapd start Starting slapd. /usr/local/etc/rc.d # ./slapd stop slapd not running? (check /var/run/openldap/slapd.pid). /usr/local/etc/rc.d # ls /var/run/openldap ldapi= /usr/local/etc/rc.d # There is a 'socket' created, but that is it. I a pulling my hair out, what is left of it, trying to figure out what the problem is. Any suggestions? Thanks! Check permissions on /var/run/openldap Peter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ~/.ssh directory permissions
On 23 jun 2009, at 16:06, Daniel Underwood djuatde...@gmail.com wrote: Looking at my ~/.ssh directory, I see the following permissions: -rw-r--r-- Which I understand to be equivalent to 644. I read here http://sial.org/howto/openssh/publickey-auth/ that ~/.ssh ought to have permissions 700. Which is preferable, and why? __ 700, you private key(s) go in there. Peter ___ 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: Installing latest version of LaTeX
Roland Smith wrote: On Sat, Jun 06, 2009 at 01:46:36PM -0400, Daniel Underwood wrote: Having trouble mounting the ISO: [dan...@bsdbox ~]$ sudo mount_cd9660 -o ro /dev/`mdconfig -a -t vnode -f ./texlve2008.iso` ./mount/ mdconfig: open(/dev/mdctl): Permission denied Regular users don't have read/write permissions on /dev/mdctl. So either change those permissions so that your user-id has those permissions, or run mdconfig as root. Hmmm, one might think that 'sudo' does exactly that ;-) Peter -- http://www.boosten.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: Installing latest version of LaTeX
Roland Smith wrote: On Sat, Jun 06, 2009 at 08:04:19PM +0200, Peter Boosten wrote: Roland Smith wrote: On Sat, Jun 06, 2009 at 01:46:36PM -0400, Daniel Underwood wrote: Having trouble mounting the ISO: [dan...@bsdbox ~]$ sudo mount_cd9660 -o ro /dev/`mdconfig -a -t vnode -f ./texlve2008.iso` ./mount/ mdconfig: open(/dev/mdctl): Permission denied Regular users don't have read/write permissions on /dev/mdctl. So either change those permissions so that your user-id has those permissions, or run mdconfig as root. Hmmm, one might think that 'sudo' does exactly that ;-) It does that for the mount_cd9660 command, but _before_ sudo it called, the code between backticks is executed by the shell as the regular user. I thought that was obvious, so I didn't mention it. Ah, yeah, you're right. Sorry, missed that one. Peter -- http://www.boosten.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: Customize .vacation.msg to include subject, sender, etc?
Kelly Jones wrote: Woops, that's not quite what I meant, sorry. I meant something like: From: some...@somewhere Subject: Re: {subject of message you sent} Dear {email address of person who sent message}, You recently sent an email to {to address of messages}... and so on. I realize the to address is often fixed, but I'm doing this in virtusertable/aliases as: @foo.com autoreply autoreply: |/usr/bin/vacation ... so the to address might be a...@foo.com for one message, x...@foo.com for another message, etc. In other words, a true autoresponder. Hmmm, procmail might be able to do that with the right recipe. Peter -- http://www.boosten.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: Sponsoring FreeBSD
Wojciech Puchar wrote: no longer use FreeBSD. Just about everything in these mailing lists turns If you stopped using FreeBSD BECAUSE OF FORUM, congratulations ;) This means that OS functionality is not important for you at all! Well, that certainly doesn't follow. exactly does. i just don't catch why he - while stopping using it because of forum - still read and posts here. None of your concern: this is just what everybody is writing about. Whether someone is using FreeBSD or not, and reading here or not, is irrelevant to most (and probably to all) discussions going on here, and it is my understanding (and my opinion, which is different than yours on this matter I suspect) that your commenting on this is mostly unappreciated. Peter -- http://www.boosten.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: Sponsoring FreeBSD
Wojciech Puchar wrote: exactly does. i just don't catch why he - while stopping using it because of forum - still read and posts here. None of your concern: this is just what everybody is writing about. Whether someone is using FreeBSD or not, and reading here or not, is irrelevant to most (and probably to all) discussions going on here, and it is my understanding (and my opinion, which is different than yours on this matter I suspect) that your commenting on this is mostly unappreciated. Yes it's different. Again forum is important but it's completely secondary thing to what product (FreeBSD that case) offers. No wait... I was merely commenting on your comment: exactly does. i just don't catch why he - while stopping using it because of forum - still read and posts here. I agree with the comments made that sometimes your writings are quite interesting (about the 32 vs 64 bit architectures for instance). All of the below is valid for this mailing list (thanks to Roger ;) ). I too consider forum not very good, and i opted to create fully-moderated version that will strictly be moderated to keep topics only related to: - FreeBSD base system - ports as subsystem but not ported programs, as these programs have their own forums. This will solve all problems from both point of views. For example it would eliminate advertise/sponsoring offer and my response to this. and millions other problems. Of course unmoderated mailing list should be left as is. I swear i will not use it that case, cause it will not make any use of it for me. And ALL will be happy. Back to FreeBSD, i use it because it's (for me) best unix system available in the world, closest to what unix should be. And i do need unix system. Until here... Forum quality is secondary thing. For you maybe, but some readers stop reading (and apparantly loose interest in FreeBSD as well) when the quality is poluted with flames, personal remarks, whatever distracts from the real issues that should be discussed here. Peter -- http://www.boosten.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: How can this 'top' command output make sense? Load over 7 and total CPU use ~5%
Chris Rees wrote: 2009/5/25 Wojciech Puchar woj...@wojtek.tensor.gdynia.pl: first - says that it's measure of CPU load then - or waiting for short-term events such as disk I/O - which is NOT measure of CPU load. Er, what? Of course it is! amount of disk I/O is a measure of CPU load? seems you are true expert ;) Do you ever think before you type? You regularly fill this mailing list with crap, incorrect advice, and correcting experts on topics that you haven't got a clue on. Just google load average and see for yourself. Remember checking things before making oneself look a fool? Perhaps you used to do that at one time, most other people do. Chris I think Wojciech means '...which is NOT measure of CPU _utilization_' In that case he's correct: whenever the CPU has to wait a lot for I/O, like network and disk, then the _load_ will go up, while the CPU _utilization_ stays low. Peter -- http://www.boosten.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: How can this 'top' command output make sense? Load over 7 and total CPU use ~5%
On 25 mei 2009, at 19:12, Wojciech Puchar wrote: I think Wojciech means '...which is NOT measure of CPU _utilization_' exactly what i said. Regardless from what you said: you _wrote_ CPU _load_, not cpu _utilization_, which are two completely different thingemies. The load averages in top describe the state the entire machine is in, not just the CPU. In that case he's correct: whenever the CPU has to wait a lot for I/ O, like network and disk, then the _load_ will go up, while the CPU _utilization_ stays low. and that's inconsistent with explanation that load average is measure of CPU load. it's not. I never claimed load average = CPU load! Peter -- http://www.boosten.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: How can this 'top' command output make sense? Load over 7 and total CPU use ~5%
On 25 mei 2009, at 21:08, Wojciech Puchar wrote: Regardless from what you said: you _wrote_ CPU _load_, not cpu what's a difference for you between CPU load and CPU utilization? i mean CPU load not system load. The CPU will perform the same, whether at 10% utilization, or at 100% utilization, the system however won't. That's the difference between load and utilization. Peter -- http://www.boosten.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: How can this 'top' command output make sense? Load over 7 and total CPU use ~5%
On 25 mei 2009, at 21:24, Wojciech Puchar wrote: The CPU will perform the same, whether at 10% utilization, or at 100% utilization, the system however won't. That's the difference between load and utilization. still don't understand you. CPU will not perform the same at 10% utilization, it will perform 10 times less than at 100% utilization. *sigh* The CPU = Central Processing Unit will perform it's calculations at so many megahertz while at 10% utilization or at 100% utilization. The entire machine is only performing at 10% of its capacity, in your statement above. Load = burden. Under heavy _load_ the _machine_ will become sluggish, but the CPU will still be performing at the same megahertz speed. You cannot put the CPU under load (=burden), since it was designed to perform at 100% (actually it can be, if the queue length gets too large, and then it's called load, but that's not being done in top). The fact that the CPU has to wait for some I/O will not influence the performance of the CPU, but to the entire machine. CPU load == CPU utilization == how big percentage of time CPU (or CPUs by average) are doing anything except being in idle loop or hlt/ waiting for interrupt. it's exactly the same words in that context. load average is how much processes (by average) is not doing calculations because something is not yet available and depends of computer resources(*) - like CPU time, disk I/O results etc.. Actually, it's a combination of both running and waiting processes. (*) - for example waiting on tty read is not calculated to load average as it's depends on human not computer. Peter -- http://www.boosten.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: How can this 'top' command output make sense? Load over 7 and total CPU use ~5%
On 25 mei 2009, at 21:37, Wojciech Puchar wrote: The CPU = Central Processing Unit will perform it's calculations at so many megahertz while at 10% utilization or at 100% utilization. The entire machine no. it will not. all today x86 CPUs reacts on HLT command and doesn't do anything except waiting for interrupt (and saving lots of power). Do you actually read back what you write: you're saying here that when a CPU has only 10% utilization, it'll run slower than when performing at 100%... I'm giving up ;-) Peter -- http://www.boosten.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: clear old output in login screen?
On 3 mei 2009, at 21:48, gabe g wrote: Hey John, In order to achieve this, there are two methods that I know of, however, they are only tested in the Bourne and Bourne Again shells. clear logout # Bourne Again (Bash) Shell clear exit # Bourne (sh) Shell You may have to try similar commands (specific for that shell) for shells that are not Bourne-derived, but one of these two commands should almost always work. clear /etc/issue Peter -- http://www.boosten.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: Disk usage analysis
On 22 apr 2009, at 10:01, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl it's just stupid to pursue windoze/maclame naming It's just stupid to start another flame war about the superiority of one or another OS. Peter ___ 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: ntp problem
Lisa Casey wrote: Hi, Running FreeBSD 5.3 IN /etc/ntp.conf I have: server time.nist.gov prefer server tock.gpsclock.com driftfile /etc/ntp.drift logfile /var/log/ntp.log If I run ntpdate from a prompt, I get the following error message: # ntpdate 20 Apr 12:02:08 ntpdate[50109]: no servers can be used, exiting But if I type: ntpdate time.nist.gov it will update the time. Is there something wrong with my /etc/ntp.conf file? Lisa Casey /etc/ntp.conf is for ntpd Peter -- http://www.boosten.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: How to find out which ports contains a specified command.
On 6 apr 2009, at 01:33, Paul Schmehl pschmehl_li...@tx.rr.com wrote: --On April 5, 2009 6:13:57 PM -0400 ill...@gmail.com wrote: 2009/4/5 Peter Wang peterw...@vip.qq.com: for example, after i installed pfsense, which is based on freebsd release 7.1, i found adduser command is missing. so how to find out which ports contains `adduser' command? thanks for your replies. % which adduser /usr/sbin/adduser Thus it is part of the base system, installed through /usr/src rather than /usr/ports. Also, as you are running (essentially) 7.x, this is probably better on freebsd-questions than current. I think you misunderstood his question. This would be one way to do it: find /usr/ports/ -type f -exec grep -sq adduser {} \; -print How about man pkg_info From memory: pkg_info -W /usr/sbin/adduser Peter Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ** WARNING: Check the headers before replying ___ 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: root's crontab and mysqldump
Joseph Simmons wrote: I'm running a FreeBSD 7.0-RELEASE system and am trying to run a mysqldump as root. I've written a very simple script that does the dump, it works fine when I run it manually, but when I include it in the root's crontab (crontab -e) or in the system's crontab (/etc/crontab), I see that the script is ran in the log but it doesn't do anything. I'm able to run other cron jobs as root without any problem. This script is only suppose to create a file containing the dumped database. Include the full path of mysqldump in your crontab (either entry or script). Peter -- http://www.boosten.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: root's crontab and mysqldump
Joseph Simmons wrote: I added the full path and the result didn't change. I can still see it running in the log but the script doesn't appear to be doing anything. I have the following variables set in the root's crontab SHELL=/usr/local/bin/bash PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin HOME=/root The file I'd like to execuate has the following permissions rwxr-x--- it's own by root, the contents of the file are below #!/usr/local/bin/bash date_time=$(/bin/date +%Y-%m-%d-%H-%M-%S) /usr/local/bin/mysqldump -u backup_user -pPassWord DataBase /backup/db/DataBase-$date_time I run the same script, however without the credentials. Those are in ~/.my.cnf [client] user = backupuser password = thepassword host = the.host.name my backup script: *** ra% cat bkupdb #!/bin/sh DATUM=`date +%Y%m%d` nice -19 /usr/local/bin/mysqldump -A --single-transaction /home/peter/backup/mysql-${DATUM}.sql gzip /home/peter/backup/mysql-${DATUM}.sql ** nb: DATUM = Dutch for date Peter -- http://www.boosten.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: mail question
Valentin Bud wrote: On Thu, Feb 19, 2009 at 12:26 PM, Valentin Bud valentin@gmail.comwrote: Hello community, I have a special question. If a client sends an email through my server how can i stop the mail for being delivered so i can process the mail and change some things and afterward deliver it. I have postfix + dovecot installed. Some suggestions ... thanks, v Hello again, I guess i have found what i want. Postfix MILTER http://www.postfix.org/MILTER_README.html. So basically i create a filter in C, perl or something, I use it via STMP or non-STMP. That filter makes the necessary changes and afterwards i reinject the mail into postfix. If anybody has the time/chance to verify if I am right please let me know. Depending upon your wishes can MimeDefang (http://www.mimedefang.org/) do a lot for you (without you having to code anything). Peter -- http://www.boosten.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: Wordpress Port Question
Darryl Hoar wrote: Greetings, I have a question regarding Wordpress and Wordpress-mu ports. I want to install wordpress on my personal webserver (apache2, mysql, etc). I have several virtual hosts all with legitimate individual domain names. IE, www.mydomain.com, www.anotherdomain.com, www.yetanotherdomain.com. Do I need to install Wordpress or Wordpress-mu on my server ? The server has a clean install of Freebsd7 on it. I googled for my answer, but the comparisons between the two did not make it clear. Thanks for any guidance, -Darryl The wordpress-mu (Multi User) listens only to one domain name (like *.domain.com) and allows for users to create their own blog. If however you want to be in control, you need the wordpress version (on or more times, depending on your needs). Both my daughters have their own wordpress installation (not from ports btw - I update them manually via svn). Peter -- http://www.boosten.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: /usr and /var was not properly dismounted...!
On Jan 31, 2009, at 10:30, thanos trompoukis atr0...@gmail.com wrote: Hi I am NEW here and I do not know anything about unix sytems... :D But i'd like to learn! When I start my freebsd system I can see this: WARNING: /usr was not properly dismounted...! WARNING: /usr was not properly dismounted...! and I have no idea about it. Could you give me an explain to understand the situation and fix the problem? thanx! thanos. How did you stop the last time? This happens when FreeBSD (or any other un*x) wasn't able to shutdown properly. Peter -- http://www.boosten.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: Backup to spare drive (rsync / crontab)
drc...@yahoo.com wrote: I am using rsync and crontab to perform scheduled backups on FreeBSD AMD64 Rel. 7.0 I am following process described here for rsync : http://samba.anu.edu.au/rsync/examples.html I have a backup script's created for daily, weekly, monthly. This is one example - the daily (/backup is a seperate physical drive) : #daily backup script rsync -a --delete /usr/home/data/Access/ /backup/daily/Access rsync -a --delete /usr/home/data/Templates/ /backup/daily/Templates rsync -a --delete /usr/home/QBdata/ /backup/daily/QBdata rsync -a --delete /usr/home/reception1/ /backup/daily/reception1 rsync -a --delete /usr/home/reception2/ /backup/daily/reception2 rsync -a --delete /usr/home/reception3/ /backup/daily/reception3 rsync -a --delete /usr/home/data/Files/ /backup/daily/Files All files created where chmod'd with +x, then I test the scripts by running them manually and all three, daily, weekly monthly work fine. FInal step, I add to root crontab, by using : crontab -e I added following lines : 1 23 30 * * /usr/local/sbin/backup/monthly 1 21 * * 0 /usr/local/sbin/backup/weekly 1 23 * * 1-5 /usr/local/sbin/backup/daily crontab -l shows all is OK as well. But the scheduled backups never happen. I must be doing something wrong, but can't figure out what. rsync isn't in the path of cron. You should either provide the complete path in the script, of add /usr/local/bin to your crontab. Peter -- http://www.boosten.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: Backup to spare drive (rsync / crontab)
Peter Boosten wrote: path in the script, of add /usr/local/bin to your crontab. ^^ or Sometimes the Dutch language emerges :-) -- http://www.boosten.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: Backup to spare drive (rsync / crontab)
On Jan 30, 2009, at 22:28, Eric Zimmerman e...@mikestammer.com wrote: On Fri, January 30, 2009 11:37 am, drc...@yahoo.com wrote: I am using rsync and crontab to perform scheduled backups on FreeBSD AMD64 Rel. 7.0 I am following process described here for rsync : http://samba.anu.edu.au/rsync/examples.html You should check out the rsnapshot port. it does what you are looking for and more. It will save you a lot of scripting, etc and it works great. I have been using it as part of my backup procedure for a while now and it works well. Eric Lot's of solutions: I use dirvish, also from the ports. Peter -- http://www.boosten.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: Upgrade 6.1 to 7.1 remotely?
Robert Fitzpatrick wrote: I have a remote system with no access to boot info. I can get someone to reset, look at screen, etc. The server is 6.1-RELEASE-p15 and wondering if there is a path to upgrade to 7.1 remotely. Would it be possible to do something like this for getting the box to 6.4... http://www.daemonology.net/blog/2006-11-26-freebsd-6.1-to-6.2-binary-upgrade.html And then another freebsd-update to 7.1? Seems that box will not let me portupgrade clamav anymore due to a change from 6.1 :( I've upgraded several machines remotely with success (as described in the handbook) and never had any problems (even did a OpenBSD version upgrade from 3.1 to 4.1 - somewhere around 3.4 they switched from a.out to elf format). Those upgrades where both minor (eg. 6.3 - 6.4) and major (6.4 - 7.0). Peter -- http://www.boosten.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: X11 forwarding through SSH: Can't open display
sk89q wrote: Hello, I am using FreeBSD 6.2 and I have been trying to get X11 forwarding through SSH to work. I've gotten to the point where the environment variable DISPLAY is set, but I get a Can't open display error when I attempt to run an X application. The remote server in question does not have an X server install. In /etc/ssh/ssh_config, I have the following lines: X11Forwarding yes AllowTcpForwarding yes UseLogin no Have a look at /etc/ssh/sshd_config of the remote server and restart sshd after modification. Peter -- http://www.boosten.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: freebsd-questions Digest, Vol 246, Issue 44
[SNIP very big digest] can someone *please* FIX the aebc support autoreplys?! surely there is a list owner who can unsubscribe that address? having the entire digest repeated by the autoreply in every following digest is a royal pain. Not quoting properly also is... Peter -- http://www.boosten.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: jdk16
Brian McQueen wrote: I can't seem to find the files listed in the jdk16 port. What are folks doing to get java going? The urls listed in the port are not right, so the manual download step does not work. I use this one: ra% pkg_info -o diablo-jdk-1.6.0.07.02_3 Information for diablo-jdk-1.6.0.07.02_3: Origin: java/diablo-jdk16 Peter -- http://www.boosten.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