ImageMagick, pecl-imagick (FreeBSD vs Ubuntu) problem (djvu as well?)
I have a server that I just put together to work with image creation. Its running lighttpd with php being handled by php-fpm all from ports running 8.2 amd64. My problem is quite strange; a simple php script reading in a djvu file (via Imagick()) causes php to hang and not do anything. - no errors, nothing. Running the script via php -f also does the same thing.. cat -n something.php 1 ?php 2 $im = new Imagick('/tmp/c3067.djvu');// open DjVu image 3 $im-setImageFormat('png');// force output format to PNG 4 5 // now write to browser 6 header('Content-type: '.$im-getImageFormat()); 7 echo $im-getimageblob(); 8 ? So aside from the problem that this php does not do anything.. root@fbsd [/tmp]# 28 convert /tmp/c3067.djvu /tmp/file.png echo $? 0 root@fbsd [/tmp]# 29 file file.png file.png: PNG image, 957 x 1063, 8-bit/color RGBA, non-interlaced Running the command to convert the djvu file manually seems to have no problems at all.. The problem lies in that the developer of this (I am not the main developer) says that all this works perfectly on my Ubuntu 10.04 LTS server at home.. *sigh* He sent me a php -m to compare my minimal setup to his bloated one; and I built every damn module to match.. no difference.. I've asked for a: `convert -list format` output from the lts machine to compare it against my own; as well as a `convert -list configure` Tried to do an strace to see what I could see.. but strace doesn't work on amd64.. So can someone offer *something* that I could start to look at or use to look at what is causing this to happen? Otherwise it is looking like I will be loosing a perfectly good FreeBSD machine to an Ubuntu one.. *sniff* Thanks in advance. ___ 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
HP ML110 G6.. Raid 0+1 nfg?
Not sure if this is supported.. Looks like the card is an HP Smart Array B110i.. But when setup as raid 0+1 in the bios.. FreeBSD 8.0 amd64 says it can not find any disks.. Anyone have this working? Thanks in advance. ___ 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
bash-static question..
I was compiling and saw this message.. cc -DPROGRAM='bash' -DCONF_HOSTTYPE='amd64' -DCONF_OSTYPE='freebsd8.0' -DCONF_MACHTYPE='amd64-portbld-freebsd8.0' -DCONF_VENDOR='portbld' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c y.tab.c /Users/chet/src/bash/src/parse.y: In function 'report_syntax_error': /Users/chet/src/bash/src/parse.y:5486: warning: assignment discards qualifiers from pointer target type /Users/chet.. thats very osx'y .. is that a problem? it compiles fine.. 'just not sure if references to things that don't exist are ok.. :P ___ 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
problem with php5-snmp
Trying to update all ports since updating to 8.0.. already rebuilt all ports and did a yes | make delete-old-libs so none of that is the problem.. php5-snmp would not rebuild. Not sure where the problem is.. but below is tons of output.. below is the output of the build: r...@core [/usr/ports/net-mgmt/php5-snmp]# 16 make clean === Cleaning for php5-snmp-5.2.11_1 r...@core [/usr/ports/net-mgmt/php5-snmp]# 17 make === Found saved configuration for php5-snmp-5.2.11_1 === Extracting for php5-snmp-5.2.11_1 = MD5 Checksum OK for php-5.2.11.tar.bz2. = SHA256 Checksum OK for php-5.2.11.tar.bz2. === Patching for php5-snmp-5.2.11_1 === php5-snmp-5.2.11_1 depends on file: /usr/local/bin/phpize - found === php5-snmp-5.2.11_1 depends on file: /usr/local/bin/autoconf-2.62 - found === php5-snmp-5.2.11_1 depends on shared library: netsnmp.16 - found === PHPizing for php5-snmp-5.2.11_1 Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 configure.in:158: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from... aclocal.m4:3542: AC_LIBTOOL_LINKER_OPTION is expanded from... aclocal.m4:5480: _LT_AC_LANG_C_CONFIG is expanded from... aclocal.m4:5479: AC_LIBTOOL_LANG_C_CONFIG is expanded from... aclocal.m4:2959: AC_LIBTOOL_SETUP is expanded from... aclocal.m4:2939: _AC_PROG_LIBTOOL is expanded from... aclocal.m4:2902: AC_PROG_LIBTOOL is expanded from... configure.in:158: the top level configure.in:158: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:3497: AC_LIBTOOL_COMPILER_OPTION is expanded from... aclocal.m4:7607: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from... configure.in:158: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:5593: _LT_AC_LANG_CXX_CONFIG is expanded from... aclocal.m4:5592: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... aclocal.m4:4628: _LT_AC_TAGCONFIG is expanded from... configure.in:158: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from... aclocal.m4:3542: AC_LIBTOOL_LINKER_OPTION is expanded from... aclocal.m4:5480: _LT_AC_LANG_C_CONFIG is expanded from... aclocal.m4:5479: AC_LIBTOOL_LANG_C_CONFIG is expanded from... aclocal.m4:2959: AC_LIBTOOL_SETUP is expanded from... aclocal.m4:2939: _AC_PROG_LIBTOOL is expanded from... aclocal.m4:2902: AC_PROG_LIBTOOL is expanded from... configure.in:158: the top level configure.in:158: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:3497: AC_LIBTOOL_COMPILER_OPTION is expanded from... aclocal.m4:7607: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from... configure.in:158: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:5593: _LT_AC_LANG_CXX_CONFIG is expanded from... aclocal.m4:5592: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... aclocal.m4:4628: _LT_AC_TAGCONFIG is expanded from... === Configuring for php5-snmp-5.2.11_1 checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... yes checking build system type... i386-portbld-freebsd8.0 checking host system type... i386-portbld-freebsd8.0 checking target system type... i386-portbld-freebsd8.0 checking for PHP prefix... /usr/local checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib checking for PHP extension directory... /usr/local/lib/php/20060613 checking for PHP installed headers prefix... /usr/local/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to
Re: problem with php5-snmp
So what does config.log say? cat -n work/php-5.2.11/ext/snmp/config.log 1 This file contains any messages produced by compilers while 2 running configure, to aid debugging if configure makes a mistake. 3 4 It was created by configure, which was 5 generated by GNU Autoconf 2.62. Invocation command line was 6 7 $ ./configure --with-snmp=/usr/local --with-openssl-dir=/usr --enable-ucd-snmp-hack --with-php-config=/usr/local/bin/php-config --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ --build=i386-portbld-freebsd8.0 8 9 ## - ## 10 ## Platform. ## 11 ## - ## 12 13 hostname = core.phs.pcsd 14 uname -m = i386 15 uname -r = 8.0-RELEASE 16 uname -s = FreeBSD 17 uname -v = FreeBSD 8.0-RELEASE #0: Tue Dec 1 14:05:04 EST 2009 r...@core.phs.pcsd:/usr/obj/usr/src/sys/GENERICplus 18 19 /usr/bin/uname -p = i386 20 /bin/uname -X = unknown 21 22 /bin/arch = unknown 23 /usr/bin/arch -k = unknown 24 /usr/convex/getsysinfo = unknown 25 /usr/bin/hostinfo = unknown 26 /bin/machine = unknown 27 /usr/bin/oslevel = unknown 28 /bin/universe = unknown 29 30 PATH: /sbin 31 PATH: /bin 32 PATH: /usr/sbin 33 PATH: /usr/bin 34 PATH: /usr/games 35 PATH: /usr/local/sbin 36 PATH: /usr/local/bin 37 PATH: /root/bin 38 39 40 ## --- ## 41 ## Core tests. ## 42 ## --- ## 43 44 configure:1999: checking for grep that handles long lines and -e 45 configure:2059: result: /usr/bin/grep 46 configure:2064: checking for egrep 47 configure:2128: result: /usr/bin/grep -E 48 configure:2133: checking for a sed that does not truncate output 49 configure:2187: result: /usr/bin/sed 50 configure:2382: checking for C compiler version 51 configure:2390: cc --version 5 52 cc (GCC) 4.2.1 20070719 [FreeBSD] 53 Copyright (C) 2007 Free Software Foundation, Inc. 54 This is free software; see the source for copying conditions. There is NO 55 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 56 57 configure:2394: $? = 0 58 configure:2401: cc -v 5 59 Using built-in specs. 60 Target: i386-undermydesk-freebsd 61 Configured with: FreeBSD/i386 system compiler 62 Thread model: posix 63 gcc version 4.2.1 20070719 [FreeBSD] 64 configure:2405: $? = 0 65 configure:2412: cc -V 5 66 cc: '-V' option must have argument 67 configure:2416: $? = 1 68 configure:2439: checking for C compiler default output file name 69 configure:2461: cc -O2 -pipe -march=pentium4 -fno-strict-aliasing -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib conftest.c 5 70 configure:2465: $? = 0 71 configure:2503: result: a.out 72 configure:2520: checking whether the C compiler works 73 configure:2530: ./a.out 74 configure:2534: $? = 0 75 configure:2551: result: yes 76 configure:2558: checking whether we are cross compiling 77 configure:2560: result: no 78 configure:2563: checking for suffix of executables 79 configure:2570: cc -o conftest -O2 -pipe -march=pentium4 -fno-strict-aliasing -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib conftest.c 5 80 configure:2574: $? = 0 81 configure:2598: result: 82 configure:2604: checking for suffix of object files 83 configure:2630: cc -c -O2 -pipe -march=pentium4 -fno-strict-aliasing conftest.c 5 84 configure:2634: $? = 0 85 configure:2657: result: o 86 configure:2661: checking whether we are using the GNU C compiler 87 configure:2690: cc -c -O2 -pipe -march=pentium4 -fno-strict-aliasing conftest.c 5 88 configure:2697: $? = 0 89 configure:2714: result: yes 90 configure:2723: checking whether cc accepts -g 91 configure:2753: cc -c -g conftest.c 5 92 configure:2760: $? = 0 93 configure:2861: result: yes 94 configure:2878: checking for cc option to accept ISO C89 95 configure:2952: cc -c -O2 -pipe -march=pentium4 -fno-strict-aliasing conftest.c 5 96 configure:2959: $? = 0 97 configure:2982: result: none needed 98 configure:3006: checking how to run the C preprocessor 99 configure:3046: cc -E conftest.c 100 configure:3053: $? = 0 101 configure:3084: cc -E conftest.c 102 conftest.c:8:28: error: ac_nonexistent.h: No such file or directory 103 configure:3091: $? = 1 104 configure: failed program was: 105 | /* confdefs.h. */ 106 | #define PACKAGE_NAME 107 | #define PACKAGE_TARNAME 108 | #define PACKAGE_VERSION 109 | #define PACKAGE_STRING 110 | #define PACKAGE_BUGREPORT 111 | /* end confdefs.h. */ 112 | #include ac_nonexistent.h
8.0-R.. does arp not sort correctly anymore?
How strange.. arp is not printed in the order it used to be.. FreeBSD milenko.homelan 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Wed Nov 25 13:33:49 EST 2009 r...@milenko.homelan:/usr/obj/usr/src/sys/GENERICplus amd64 r...@milenko [~]# 17 arp -an ? (192.168.1.9) at 00:12:3f:7e:b8:10 on bge0 [ethernet] ? (192.168.1.11) at 00:01:e6:4b:e3:2e on bge0 [ethernet] ? (192.168.1.10) at 00:1e:c9:40:a1:29 on bge0 permanent [ethernet] ? (192.168.1.1) at 00:1f:90:35:4f:a8 on bge0 [ethernet] ? (192.168.1.2) at 00:10:18:30:38:83 on bge0 [ethernet] ? (192.168.1.5) at 00:17:f2:c7:c4:4a on bge0 [ethernet] ? (192.168.1.6) at 00:24:36:a1:18:ec on bge0 [ethernet] ? (192.168.1.255) at (incomplete) on bge0 [ethernet] r...@milenko [~]# 18 cat /usr/src/sys/amd64/conf/GENERICplus include GENERIC ident BSD # Commented out debug in GENERIC options DEVICE_POLLING options HZ=1000 options SW_WATCHDOG chlorine [~]$ 3 uname -a FreeBSD chlorine.domain.com 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Sun Oct 4 18:31:01 EDT 2009 r...@chlorine.domain.com:/exports/obj/exports/src/sys/GENERICplus amd64 chlorine [~]$ 4 arp -an ? (a.b.c.1) at 00:0b:db:6b:b4:8f on bge0 [ethernet] ? (a.b.c.2) at 00:1e:c9:44:32:3f on bge0 permanent [ethernet] ? (a.b.c.3) at 00:1e:c9:44:32:3f on bge0 permanent [ethernet] ? (a.b.c.4) at 00:22:19:25:2b:65 on bge0 [ethernet] ? (a.b.c.5) at 00:22:19:25:2b:65 on bge0 [ethernet] ? (a.b.c.10) at 00:1d:09:24:27:3f on bge0 [ethernet] ? (a.b.c.12) at 00:1d:09:24:27:3f on bge0 [ethernet] ? (a.b.c.15) at 00:1e:c9:44:32:3f on bge0 permanent [ethernet] ? (a.b.c.18) at 00:1e:c9:44:32:3f on bge0 permanent [ethernet] ? (a.b.c.19) at 00:22:19:25:2b:65 on bge0 [ethernet] ? (a.b.c.36) at 00:1a:a0:3c:88:79 on bge0 [ethernet] I don't see anything in the notes about that.. ___ 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: most bizarre libc.so.7 problem
So Yes something to do with ZFS was the culprit.. I had done a zfs upgrade -a and zpool upgrade -a in the past, but I guess I missed on the output that the / was not upgraded (of course) So that was a problem; which may not have been the right one, but it gave me something to hunt.. I had to get a snapshot cd with a livefs. kldload opensolaris and zfs and the kicker was this: zpool import -f -R /alt tank then I did the zpool upgrade -a and zfs upgrade -a when that was done I could reboot and install world successfully.. I will find out what that flag does and find another box to test this with.. Possibly the flag would have helped me install, but I could not find another way to zfs upgrade -a and get / without going to a livecd.. On 10/25/09 10:38 PM, Mel Flynn wrote: On Saturday 24 October 2009 14:33:53 B. Cook wrote: B. Cook wrote, On 10/24/2009 7:43 AM: 49 === lib/libc (install) 50 install -C -o root -g wheel -m 444 libc.a /usr/lib 51 install -C -o root -g wheel -m 444 libc_p.a /usr/lib 52 install -s -o root -g wheel -m 444 -fschg -S libc.so.7 /lib 53 install: /lib/libc.so.7: chflags: Invalid argument 54 *** Error code 71 When on ZFS, set NO_FSCHG in /etc/src.conf. For the time being, file flags are not supported on ZFS. ___ 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
most bizarre libc.so.7 problem
I have a machine at home that I build releng_7 on from time to time; about once a month or so. yesterday I did that, and this AM I have libc.so.7 errors all over the place. turns out libc.so.7 was not in /lib I had to boot into /rescue/sh and get my zfs stuff mounted and do a quick cp from /usr/obj/usr/src/lib/libc/libc.so.7 to /lib/libc.so.7 then everything was fine.. do I'm doing a buildworld again while I'm here and see if something failed on my part.. I've been doing this for a while and never had this problem.. below is what I do.. cat -n /root/build-world 1 #!/bin/sh 2 cd /usr/src 3 make update 4 #chflags -R noschg /usr/obj/* 5 rm -rf /usr/obj/* 6 mkdir /var/log/build 7 make -j4 buildworld 21 | tee /var/log/build/bworld-`date +%Y%m%d-%H%M`.log \ 8 make -j4 buildkernel 21 | tee /var/log/build/bkernel-`date +%Y%m%d-%H%M`.log \ 9 make installkernel 21 | tee /var/log/build/ikernel-`date +%Y%m%d-%H%M`.log \ 10 make installworld 21 | tee /var/log/build/iworld-`date +%Y%m%d-%H%M`.log \ 11 date | mail -s `hostname -s` n...@domain.com 12 sync \ 13 reboot Not sure if something changed, or if something happened.. thanks in advance ___ 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: most bizarre libc.so.7 problem
B. Cook wrote, On 10/24/2009 7:43 AM: I have a machine at home that I build releng_7 on from time to time; about once a month or so. yesterday I did that, and this AM I have libc.so.7 errors all over the place. turns out libc.so.7 was not in /lib I had to boot into /rescue/sh and get my zfs stuff mounted and do a quick cp from /usr/obj/usr/src/lib/libc/libc.so.7 to /lib/libc.so.7 then everything was fine.. do I'm doing a buildworld again while I'm here and see if something failed on my part.. I've been doing this for a while and never had this problem.. below is what I do.. cat -n /root/build-world 1 #!/bin/sh 2 cd /usr/src 3 make update 4 #chflags -R noschg /usr/obj/* 5 rm -rf /usr/obj/* 6 mkdir /var/log/build 7 make -j4 buildworld 21 | tee /var/log/build/bworld-`date +%Y%m%d-%H%M`.log \ 8 make -j4 buildkernel 21 | tee /var/log/build/bkernel-`date +%Y%m%d-%H%M`.log \ 9 make installkernel 21 | tee /var/log/build/ikernel-`date +%Y%m%d-%H%M`.log \ 10 make installworld 21 | tee /var/log/build/iworld-`date +%Y%m%d-%H%M`.log \ 11 date | mail -s `hostname -s` n...@domain.com 12 sync \ 13 reboot Not sure if something changed, or if something happened.. thanks in advance ___ 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 So installworld is what is failing.. below are the relevant portions of the log that shows whats going on.. here is the output of the iworld log.. cat -n iworld-20091023-0710.log 1 mkdir -p /tmp/install.ljWDSoNZ 2 for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find grep install-info ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.ljWDSoNZ; done 3 cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.ljWDSoNZ make -f Makefile.inc1 reinstall 4 -- 5 Making hierarchy 6 -- 7 cd /usr/src; make -f Makefile.inc1 hierarchy 8 cd /usr/src/etc;make distrib-dirs 9 mtree -eU -f /usr/src/etc/mtree/BSD.root.dist -p / 10 boot changed 11 type expected dir found link 12 ./boot/defaults missing (directory not created: File exists) 13 ./boot/firmware missing (directory not created: File exists) 14 ./boot/kernel missing (directory not created: File exists) 15 ./boot/modules missing (directory not created: File exists) 16 ./boot/zfs missing (directory not created: File exists) 17 mtree -eU -f /usr/src/etc/mtree/BSD.var.dist -p /var 18 empty changed 19 flags expected schg found none not modified: Invalid argument 20 mtree -eU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr 21 ./share/locale/ca_AD.ISO8859-1 missing (created) 22 ./share/locale/ca_FR.ISO8859-1 missing (created) 23 ./share/locale/ca_IT.ISO8859-1 missing (created) 24 ./share/locale/ca_AD.ISO8859-15 missing (created) 25 ./share/locale/ca_FR.ISO8859-15 missing (created) 26 ./share/locale/ca_IT.ISO8859-15 missing (created) 27 ./share/locale/ca_AD.UTF-8 missing (created) 28 ./share/locale/ca_FR.UTF-8 missing (created) 29 ./share/locale/ca_IT.UTF-8 missing (created) 30 mtree -eU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/include 31 mtree -deU -f /usr/src/etc/mtree/BIND.chroot.dist -p /var/named 32 mtree -deU -f /usr/src/etc/mtree/BSD.sendmail.dist -p / 33 cd /; rm -f /sys; ln -s usr/src/sys sys 34 cd /usr/share/man/en.ISO8859-1; ln -sf ../man* . 35 cd /usr/share/man/en.UTF-8; ln -sf ../man* . 36 cd /usr/share/man; set - `grep ^[a-zA-Z] /usr/src/etc/man.alias`; while [ $# -gt 0 ] ; do rm -rf $1; ln -s $2 $1; shift; shift; done 37 cd /usr/share/openssl/man; set - `grep ^[a-zA-Z] /usr/src/etc/man.alias`; while [ $# -gt 0 ] ; do rm -rf $1; ln -s $2 $1; shift; shift; done 38 cd /usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* . 39 cd /usr/share/nls; set - `grep ^[a-zA-Z] /usr/src/etc/nls.alias`; while [ $# -gt 0 ] ; do rm -rf $1; ln -s $2 $1; shift; shift; done 40 41 -- 42 Installing everything
net.inet.ip.random_id possible ASA problems?
Morning, I am running several FreeBSD 7.x servers in an setting where we recently went from controlling the border firewall with PFSense; We were mandated to replace it with an outside provider which has an ASA in place. And we are having TONS of issues.. http://lists.freebsd.org/pipermail/freebsd-net/2009-July/022532.html This seems to be the only thing I can find that might possibly be what he is seeing. The operator of the upstream ASA does not give us access to see the config or output of the debug(s) he runs.. so we are totally blind to help ourselves.. We have a 30Mbit feed from them, and find that people downloading 3.5Mb pdf files from our lighttpd webserver takes about 2-3 minutes. Running anywhere from 600 down to 2.. Below is his email to us regarding his cisco case: ... I spent close to 2 hours this afternoon with two Cisco engineers troubleshooting the download issue while on the ASA. The root cause of the problem is that the ASA is being fed a significant stream of out-of-order TCP packets when the file download is launched from the PokCSD Web Server. With HTTP inspection enabled on the ASA, the ASA is required to process the HTTP stream in order, so it buffers out-of-order packets until it can create a proper order for processing. In this case, the volume is so high the buffers fill, and the ASA is forced to begin dropping packets from the conversation. (Oddly, the faster the connection the faster the buffers overload which appears to be why slower WAN connections appeared to have more consistent throughput since they minimized or avoided the buffer drops) While some out-of-order TCP packets are normal, this volume was deemed excessive. Even setting the buffer sizes to their maximum configurable limit on the ASA would not contain the volume of out of order packets and prevent drops from occurring. We did some additional troubleshooting by enabling HTTP inspection and some captures on the PokCSD-ASA, which was not enabled by default. Once enabled, we re-ran the download test and the PokCSD-ASA began dropping the out-of-order TCP packets. So that leads us to conclude that the source of the out-of-order TCP stream was downstream of the PokCSD-ASA not some issue further upstream towards BOCES. We returned the HTTP inspection on the PokCSD ASA to its original disabled state at the end of testing. Given the volume of out-of-order TCP packets being sent, it is likely that there is a network or server issue somewhere inside the PokCSD network. But all of that is outside of our purview to access or troubleshoot. Beyond looking for a duplex miss-match someplace in the LAN gear I have no obvious initial guess for you but I don’t think there is much between that ASA and the server as I recall. I does make me wonder if whatever this is isn’t in some way tied into your other issues with direct e-mail transfer. So at this point I have closed the case with Cisco since HTTP inspection is identifying the issue and is not the cause. Some things have changed related to web filtering such that the original purpose of the inspection may or may not be needed at this point. I will investigate that further tomorrow. Even if we decide we can turn that inspection off it would seem we are just avoiding the real problem if we don’t root out the out-of-order issue so either way I would encourage troubleshooting that to conclusion. That is it for now,. you are up to date. Let me know if there is something else I can do. So after 6 hours of cisco techs.. all they could come up with is a ... possible duplex mis-match.. *sigh* So dropping my pf rules (which contain scrub settings) made no difference, I found the above URL which seeme to point to net.inet.ip.random_id. I can not find any 'freebsd.org' documentation pertaining to it regarding what it actually does. I do however find it scattered amongst tons of 'FreeBSD hardening' docs.. Can anyone shed some light on what this does? Thanks in advance. ___ 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
reboot after panic: ufs_dirbad: /var...
Here is the full error: Aug 13 09:29:57 gameface savecore: reboot after panic: ufs_dirbad: /var: bad dir ino 3485849 at offset 3584: mangled entry The error causes the machine to keep rebooting on its own over and over again. i386 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Wed May 20 16:56:48 EDT 2009 It is running a GENERIC kernel with ALTQ in it, and DEVICE_POLLING The machine will not reboot on its own, but if you start in single user mode, fsck /var and then mount it; and exit.. the box will start.. It will do this everytime; any suggestions? ___ 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: reboot after panic: ufs_dirbad: /var...
On Thu, August 13, 2009 3:15 pm, Roland Smith wrote: On Thu, Aug 13, 2009 at 12:25:21PM -0400, B. Cook wrote: Here is the full error: Aug 13 09:29:57 gameface savecore: reboot after panic: ufs_dirbad: /var: bad dir ino 3485849 at offset 3584: mangled entry The error causes the machine to keep rebooting on its own over and over again. You are not using the partition that contains /var as the dump device, are you? i386 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Wed May 20 16:56:48 EDT 2009 It is running a GENERIC kernel with ALTQ in it, and DEVICE_POLLING The machine will not reboot on its own, but if you start in single user mode, fsck /var and then mount it; and exit.. the box will start.. It will do this everytime; any suggestions? Disable saving coredumps bt setting 'dumpdev=NO' in /etc/rc.conf. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) [/etc/defaults]# 2 grep dumpdev * rc.conf:dumpdev=AUTO # Device to crashdump to (device name, AUTO, or NO). rc.conf:savecore_flags= # Used if dumpdev is enabled above, and present. I will set it to NO and try rebooting it. Would AUTO cause it to write to the same fs that has the crash? What does this mean? Other than the obvious.. is there something useful that I could glean from vmcore.15 ? [/var/crash]# 22 cat info.15 Dump header from device /dev/mirror/gm0s1b Architecture: i386 Architecture Version: 2 Dump Length: 177184768B (168 MB) Blocksize: 512 Dumptime: Thu Aug 13 09:14:44 2009 Hostname: gameface Magic: FreeBSD Kernel Dump Version String: FreeBSD 7.2-RELEASE #0: Wed May 20 16:56:48 EDT 2009 r...@gameface:/usr/obj/usr/src/sys/GENERICplus Panic String: ufs_dirbad: /var: bad dir ino 3485849 at offset 3584: mangled entry Dump Parity: 2197692492 Bounds: 15 Dump Status: good var/crash]# 26 ls -al vmcore.* -rw--- 1 root wheel 212860928 Jun 13 17:04 vmcore.0 -rw--- 1 root wheel 231198720 Jun 13 17:08 vmcore.1 -rw--- 1 root wheel 176918528 Aug 13 09:10 vmcore.13 -rw--- 1 root wheel 177827840 Aug 13 09:14 vmcore.14 -rw--- 1 root wheel 23068672 Aug 13 09:30 vmcore.15 -rw--- 1 root wheel 488067072 Aug 13 07:46 vmcore.2 -rw--- 1 root wheel 17664 Aug 13 07:50 vmcore.3 -rw--- 1 root wheel 174018560 Aug 13 07:53 vmcore.4 -rw--- 1 root wheel 175534080 Aug 13 07:57 vmcore.5 -rw--- 1 root wheel 176820224 Aug 13 08:07 vmcore.8 Thanks in advance. ___ 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
cups 1.3.10 problem?
installed cups 1.3.9 on a machine a while back and successfully sharing a dozen or so jetdirects via samba. as part of regular updates I updated to 1.3.10 (no visible problems) until I tried to access the web interface. https://servername:631 I [12/Jun/2009:15:35:03 -0400] Listening to 0.0.0.0:631 on fd 1... I [12/Jun/2009:15:35:03 -0400] Listening to /var/run/cups.sock on fd 3... I [12/Jun/2009:15:35:03 -0400] Resuming new connection processing... E [12/Jun/2009:15:35:10 -0400] encrypt_client: Unable to encrypt connection from 192.168.10.200! E [12/Jun/2009:15:35:10 -0400] encrypt_client: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca W [12/Jun/2009:15:35:17 -0400] Request from 192.168.10.200 using invalid Host: field servername:631 W [12/Jun/2009:15:35:17 -0400] Request from 192.168.10.200 using invalid Host: field servername:631 What does this mean? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
does isoqlog work in amd64?
just wanted to ask if anyone has the mail/isoqlog program working on an amd64 box. We have it working on i386 FreeBSD 7.x but it sig11's on amd64. looking to have it filter exim logs fwiw. I have sent emails to enderunix and not heard back.. and if it does not work, has anyone actually made awstats work with exim? ___ 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
globally limit fetch download?
I have several FreeBSD machines located at different sites on very slow DSL lines. Is there a way that I can limit the bandwidth that fetch uses when it fetches ports? ___ 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
zfs raid and/or hardware raid..
I have a dimension 9150 that I am going to put amd64 freebsd on to play with. It has Intel ICH7 SATA300 on it, in the bios it says it can do raid. I'm assuming that would be a hardware raid.. Would I be better off just using two disks and mirror them in software raid (zpool) or using the Intel hardware-ish raid and then zfs the raid? box has 2G of ram, and a pair of 250G sata 300 drives. clues appreciated. ___ 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
zfs trauma from locate?
So I've been having much trauma with zfs and i386; but it seems it's been narrowed down to the 'weekend'. We leave friday and come back monday, and monday this box is not working properly. Nothing has crashed, it's just slow.. but there is no load on the box; just deathly slow.. 2+ minutes to log in at console for example. A reboot fixes it and it's good for another week.. I think I have narrowed it down to the weekly locate job. So tonight I'll run it by hand and see if the box dogs again.. but assuming that is it.. what can I do about *that*? bootloader.conf: cat -n /boot/loader.conf 1 autoboot_delay=4 2 #vm.kmem_size_max=1024M 3 #vm.kmem_size=1024M 4 vm.kmem_size_max=512M 5 vm.kmem_size=512M 6 7 zfs_load=YES 8 vfs.zfs.prefetch_disable=1 9 vfs.root.mountfrom=zfs:tank/root 10 vfs.zfs.arc_max=100M 11 12 accf_http_load=YES 13 accf_data_load=YES CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2800.11-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf41 Stepping = 1 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0x441dSSE3,DTES64,MON,DS_CPL,CNXT-ID,xTPR AMD Features=0x10NX Logical CPUs per core: 2 real memory = 3212574720 (3063 MB) avail memory = 3140112384 (2994 MB) ACPI APIC Table: DELL PE800 Filesystem SizeUsed Avail Capacity Mounted on tank/root 104G 23M104G 0%/ devfs 1.0K1.0K 0B 100%/dev /dev/ad4s1a 989M196M714M22%/bootdir /dev/ad5s1a 989M257M653M28%/mnt/bootdir procfs 4.0K4.0K 0B 100%/proc tank/exports130G 26G104G20%/exports tank/exports/squid 106G1.8G104G 2%/exports/squid tank2/home 147G 55G 91G38%/home tank/tmp104G256K104G 0%/tmp tank/usr110G5.9G104G 5%/usr tank/usr/obj104G640M104G 1%/usr/obj tank/usr/ports 104G143M104G 0%/usr/ports tank/usr/ports/distfiles104G189M104G 0% /usr/ports/distfiles tank/usr/src104G156M104G 0%/usr/src tank/var107G2.9G104G 3%/var /exports/squid is where the squid cache is, (aufs fwiw), and /home has over 3k user accounts for samba. wc -l /etc/passwd 3289 /etc/passwd the kernel is a simple one: # I commented out i486 and i586 in GENERIC # and debugging cpu I686_CPU ident GENERICplus include GENERIC options DEVICE_POLLING options HZ=1000 options KVA_PAGES=512 options ALTQ options ALTQ_CBQ# Class Bases Queuing (CBQ) options ALTQ_RED# Random Early Detection (RED) options ALTQ_RIO# RED In/Out options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC) options ALTQ_PRIQ # Priority Queuing (PRIQ) options ALTQ_NOPCC # Required for SMP build I have a simple pf.conf with some scrub and altq settings if anyone thinks it might help. but like I said I'm pretty sure it's locate now.. clues or questions appreciated. ___ 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: Looking for a Good FreeBSD and General Unix Backup System
Mamlookie wrote, On 1/28/2009 1:29 AM: I just stumbled upon BackupPC yesterday, so I amnot sure how good it can be because I haven't had time to test, but nothing stops you from looking at it, now that you are after a solution. Please see http://backuppc.sourceforge.net PS: If you do test it out, please come back and tell us what you feel about it. I personally will appreciate the feedback, even if to my personal address. I use BackupPC to backup many machines at our school and a few remote sites I admin during the 'off hours'... All FreeBSD and a few Linux servers, all over sshd/rsync; it can also pull data from win32 machines as well, but I don't do that. I have ours setup with a backuppc 'server' running from thttpd on port 2359. Keeps all the apache non-sense from messing up the install.. (imho) and gives a platform independent answer if you run it on something else.. and doesn't mess up any current webserver you may have installed. It needs perl and a few modules (all of which are in ports) and runs with very minimal intervention once its done. Highly configurable, sends emails when there are problems, has many different ways to connect to remote machines.. etc.. if you are interested in hearing more about it let me know.. General Server Information * The servers PID is 36529, on host storage.phs.pcsd, version 3.1.0, started at 1/15 14:34. * This status was generated at 1/28 08:41. * The configuration was last loaded at 1/25 13:00. * PCs will be next queued at 1/28 09:00. * Other info: * 0 pending backup requests from last scheduled wakeup, * 0 pending user backup requests, * 0 pending command requests, * Pool is 102.00GB comprising 1152712 files and 4369 directories (as of 1/28 01:33), * Pool hashing gives 385 repeated files with longest chain 34, * Nightly cleanup removed 4700 files of size 0.05GB (around 1/28 01:33), * Pool file system was recently at 37% (1/28 08:32), today's max is 37% (1/28 01:00) and yesterday's max was 37%. /dev/mirror/gm0s1h330G113G190G37%/exports This is backing up about 9/10 servers atm. does incrementals once a day, and fulls once a week. Keeps the last 10 fulls, and at least 6 incrementals.. (all my settings) ___ 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
zfs on i386 trauma :P
Hello all, We had a raid card die in a dell box and reinstalled FreeBSD 7 and restored from backups.. the problem is amd64 didn't boot on the box and the person doing the restore wanted to 'help' and changed from ufs2 to zfs.. while being a noble effort, he was testing on amd64 and didn't think that amd64 to i386 was that big a deal for zfs.. *sigh* So here we are.. if I can't figure out how to make this 'stable' I will dump and restore and reinstall i386 ufs2/gmirror.. So we have a box w/ 3G of ram running samba and squid for a few hundred people. I have tried to fix /boot/loader.conf: # cat /boot/loader.conf autoboot_delay=4 vm.kmem_size_max=1024M vm.kmem_size=1024M zfs_load=YES vfs.zfs.prefetch_disable=1 vfs.root.mountfrom=zfs:tank/root accf_http_load=YES accf_data_load=YES and rebuilt the kernel with many device drivers disabled.. I found a script on the zfs tuning page on the wiki, but I do not understand what it is telling me.. TEXT=7031512, 6.70577 MB DATA=514754560, 490.908 MB TOTAL=521786072, 497.614 MB kldstat yeilds this output: Id Refs AddressSize Name 19 0x8040 55f3e8 kernel 21 0x8096 b23b0zfs.ko 32 0x80a13000 23bc opensolaris.ko 41 0x80a16000 191c accf_data.ko 51 0x80a18000 22d4 accf_http.ko 61 0x80a1b000 68394acpi.ko 71 0x87ecb000 3000 pflog.ko 81 0x87ed7000 32000pf.ko We have updated to 7.1-p2 with the hopes of fixing somethings.. So the problems that we are having is that the machine stops responding.. ping never stops, it just stops answering tcp requests. and we only have a few minor tweaks in sysctl.conf: security.bsd.see_other_uids=0 net.inet.ip.random_id=1 kern.randompid=32768 kern.coredump=0 net.inet.tcp.delayed_ack=0 net.inet.tcp.inflight.enable=0 net.inet.tcp.path_mtu_discovery=0 net.inet.tcp.recvbuf_auto=1 net.inet.tcp.rfc1323=1 net.inet.tcp.sendbuf_auto=1 and in rc.conf we have set some things on the bge0 interface: ifconfig_bge0=inet 10.20.0.230 netmask 255.255.254.0 rxcsum txcsum media 1000baseTX mediaopt full-duplex polling Is there something that is set, that is making the system stop responding? is there something else that could be done? If stability and performace are the goals (in that order) would it just make sense to reinstall and go back to gmirror on ufs2? Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
make pdf from webpage on webserver (no x11)
Trying to figure out how to print a webpage on the server, without a gui.. On the local test webserver that we have we are trying to figure out how we can from php (or anything else) print a webpage to a pdf.. Anyone have a clue as to how to do this? Or is this some major php programming to make it happen? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ports-mgmt/portmaster question
Is there a way to pass make args (other than -m) for each port? For example if I use -m BUILD_STATIC=YES and -m BUILD_OPTIMIZED=YES for mysql50-server.. other than remembering that I did that.. is there someway to have portmaster read its portmaster.rc and get that information? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
open-vm-tools
I have a freebsd 7.0 client running in an vmware cluster. Is there something that I am missing, or that something I can do to make this go away? The owner of the cluster is telling me he keeps getting this in the logs: -Unfortunately I'm still seeing these in the VMWare log every minute Dec 18 07:34:37 192.168.2.213/192.168.2.213 Hostd: [2008-12-18 12:34:37.219 'VmMisc' 98311 warning] Failed to find conversion from FreeBSD7.0 to type: vim.vm.GuestOsDescriptor.GuestOsIdentifier Dec 18 07:34:37 192.168.2.213/192.168.2.213 Hostd: [2008-12-18 12:34:37.219 'VmMisc' 835597 warning] Failed to find conversion from FreeBSD7.0 to type: vim.vm.GuestOsDescriptor.GuestOsIdentifier Dec 18 07:35:00 192.168.2.213/192.168.2.213 Hostd: [2008-12-18 12:35:00.667 'VmMisc' 835597 warning] Failed to find conversion from FreeBSD7.0 to type: vim.vm.GuestOsDescriptor.GuestOsIdentifier Dec 18 07:35:00 192.168.2.213/192.168.2.213 Hostd: [2008-12-18 12:35:00.669 'VmMisc' 98311 warning] Failed to find conversion from FreeBSD7.0 to type: vim.vm.GuestOsDescriptor.GuestOsIdentifier Dec 18 07:35:04 192.168.2.212/192.168.2.212 Hostd: [2008-12-18 12:35:04.266 'EnvironmentBrowser' 114696 info] Hw info file: /etc/vmware/hostd/hwInfo.xml Dec 18 07:35:04 192.168.2.212/192.168.2.212 Hostd: [2008-12-18 12:35:04.269 'EnvironmentBrowser' 114696 info] Config target info loaded Dec 18 07:35:17 192.168.2.214/192.168.2.214 Hostd: [2008-12-18 12:35:17.532 'PropertyCollector' 1081360 warning] GetPropertyProvider failed for haTask-ha-root-pool-vim.ResourcePool.updateConfig-77992 Dec 18 07:35:24 192.168.2.213/192.168.2.213 Hostd: [2008-12-18 12:35:24.136 'VmMisc' 81926 warning] Failed to find conversion from FreeBSD7.0 to type: vim.vm.GuestOsDescriptor.GuestOsIdentifier Dec 18 07:35:24 192.168.2.213/192.168.2.213 Hostd: [2008-12-18 12:35:24.138 'VmMisc' 147466 warning] Failed to find conversion from FreeBSD7.0 to type: vim.vm.GuestOsDescriptor.GuestOsIdentifier ___ 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: quick slice question..
On Sep 23, 2008, at 3:33 PM, B. Cook wrote: I have slices a, d, e, f, g, and h.. I wouldn't be able to get one more would I? using gmirror and RELENG_7_0.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] So after reading many messages regarding sysinstall and gmirror not liking to work with each other.. what fdisk, dd, disklabel commands am I looking for to create a second slice in my gmirror raid? fdisk *** Working on device /dev/mirror/gm0 *** parameters extracted from in-core disklabel are: cylinders=30394 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=30394 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 488279547 (238417 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED fdisk -p # /dev/mirror/gm0 g c30394 h255 s63 p 1 0xa5 63 488279547 a 1 at the moment I have a /dev/mirror/gm0s1d that is /usr/local/www I need to make that into a slice so that I can mount /usr/local/www and / usr/local/dev. So my current fstab looks like this for this entry: /dev/mirror/gm0s1d /usr/local/www ufs rw 2 2 what I think I am looking to end up with is this: /dev/mirror/gm0s2a /usr/local/www ufs rw 2 2 /dev/mirror/gm0s2b /usr/local/dev ufs rw 2 2 Would it be easier to break the raid, add the slice then recreate the raid again? Thanks again in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
quick slice question..
I have slices a, d, e, f, g, and h.. I wouldn't be able to get one more would I? using gmirror and RELENG_7_0.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vmware tools for ESX Server 3.5
On Sep 3, 2008, at 12:11 PM, John Nielsen wrote: On Wednesday 03 September 2008, B. Cook wrote: I am setting up FreeBSD 7.0 and he is asking about the vmware-tools. Ports has some things, but I am not sure what I need, and neither is he. Can anyone tell me what it needs? I usually create VM's with the Intel gigabit vNIC's which can use FreeBSD's em driver. Since Xorg includes the vmmouse and vmware video drivers already, the main things you should be looking for are the memory balloon driver and the guestd service. In the past I have gotten these to work by using the supplied tools (on the CD image that is inserted when you select Install VMware tools from the host). However it is much easier nowadays to use the free version in ports/emulators/open-vm-tools (or open-vm-tools-nox11). JN Well this is the other way.. FreeBSD is the guest not the host. This is what the owner of the cluster is telling me: The tools aren't absolutely necessary but if we can we always install them in guest machines. They allow the VMWare server to gracefully shutdown the guest, improve memory management, replace the virtual NIC with a higher performance one, replace the video driver (if you are running a GUI which we aren't in this case.) etc But this machine is running fine, including the nightly snapshots. Below is the dmesg from the guest: Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RELEASE-p2 #0: Fri Jul 11 15:42:07 EDT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz (2992.58-MHz 686- class CPU) Origin = GenuineIntel Id = 0x10678 Stepping = 8 Features = 0xfebfbff FPU ,VME ,DE ,PSE ,TSC ,MSR ,PAE ,MCE ,CX8 ,APIC ,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS Features2=0x82211SSE3,DS_CPL,SSSE3,CX16,b19 AMD Features=0x2010NX,LM AMD Features2=0x1LAHF real memory = 536870912 (512 MB) avail memory = 511385600 (487 MB) ACPI APIC Table: PTLTD APIC MADT: Forcing active-low polarity and level trigger for SCI ioapic0 Version 1.1 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Jul 11 2008 15:39:33) acpi0: PTLTD RSDT on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter ACPI-safe frequency 3579545 Hz quality 850 acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0 cpu0: ACPI CPU on acpi0 acpi_throttle0: ACPI CPU Throttling on cpu0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0 pci1: ACPI PCI bus on pcib1 isab0: PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel PIIX4 UDMA33 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1050-0x105f at device 7.1 on pci0 ata0: ATA channel 0 on atapci0 ata0: [ITHREAD] ata1: ATA channel 1 on atapci0 ata1: [ITHREAD] pci0: bridge at device 7.3 (no driver attached) vgapci0: VGA-compatible display port 0x1060-0x106f mem 0xf800-0xfbff,0xf400-0xf47f at device 15.0 on pci0 mpt0: LSILogic 1030 Ultra4 Adapter port 0x1080-0x10ff mem 0xf480-0xf4800fff irq 17 at device 16.0 on pci0 mpt0: [ITHREAD] mpt0: MPI Version=1.2.0.0 le0: AMD PCnet-PCI port 0x1400-0x147f irq 18 at device 17.0 on pci0 le0: 16 receive buffers, 4 transmit buffers le0: Ethernet address: 00:50:56:83:49:9d le0: [ITHREAD] acpi_acad0: AC Adapter on acpi0 atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse, device ID 3 sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] sio1: 16550A-compatible COM port port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A sio1: [FILTER] fdc0: floppy drive controller port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] fd0: 1440-KB 3.5 drive on fdc0 drive 0 pmtimer0 on isa0 orm0: ISA Option ROMs at iomem 0xc-0xc7fff,0xca000-0xcafff, 0xdc000-0xd,0xe-0xe3fff pnpid ORM on isa0 ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: Parallel port bus on ppc0 ppbus0: [ITHREAD] plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 lpt0: Interrupt-driven port ppi0: Parallel I/O on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem
vmware tools for ESX Server 3.5
Hello, I am setting up FreeBSD 7.0 and he is asking about the vmware-tools. Ports has some things, but I am not sure what I need, and neither is he. Can anyone tell me what it needs? Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PAE or 64bit?
hey all, Looking for opinions.. We are going to be getting a server for drupal, running lighttpd and php, as well as exim and SA with clamav, courier or dovecot, mysql 51.. etc. Right now this setup does about 200G per month (we have two boxes) and were looking at getting one box to do it all (business department reasons) and assuming it would be doing double the work.. we would be looking at a single box running 600GB max per month in traffic (about 2Mb/sec).. We would be (hopefully) be going with sas drives instead of the sata we have atm. Not trying to make this a debate about hardware but.. The question of at least 4G of ram came up.. and we starting debating about PAE or just going with x64.. we would not be using zfs, we would be running RELENG_7_0. again, looking for opinions on PAE vs x64 for this type of setup. Thanks in advance ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
get periodic to not scan a partition
hello all, I have a machine doing backups with backuppc (excellent program btw) and I have them being stored in /exports /dev/ad4s1h 57G 31G 21G60%/exports /dev/ad4s1h on /exports (ufs, local, noatime, soft-updates) it is now almost 6:20 am and periodic has been running since 3:01.. and it will complete in another 4 hours.. root 92866 0.6 0.1 3064 1488 ?? D 3:01AM 1:00.93 find / exports -xdev -type f ( -perm -u+x -or -perm -g+x -or -perm -o+x ) ( - perm -u+s -or -perm -g+s ) -print0 is there something I can do to get periodic to not look in /exports? I have the BackupPC 'backup folders' and symlinks to /usr/src /usr/obj and /usr/ports. Thanks in advance ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: get periodic to not scan a partition
On Aug 2, 2008, at 8:19 AM, RW wrote: On Sat, 2 Aug 2008 06:22:17 -0400 B. Cook [EMAIL PROTECTED] wrote: hello all, I have a machine doing backups with backuppc (excellent program btw) and I have them being stored in /exports /dev/ad4s1h 57G 31G 21G60%/exports /dev/ad4s1h on /exports (ufs, local, noatime, soft-updates) it is now almost 6:20 am and periodic has been running since 3:01.. and it will complete in another 4 hours.. root 92866 0.6 0.1 3064 1488 ?? D 3:01AM 1:00.93 find / exports -xdev -type f ( -perm -u+x -or -perm -g+x -or -perm -o+x ) ( - perm -u+s -or -perm -g+s ) -print0 is there something I can do to get periodic to not look in /exports? The above search is looking for setuid binaries, if you mount /exports as noexec and/or nosuid then it wont get searched. I will see what happens when I do that.. as I remember it did something to break the building of world and I think port building as well.. this /exports also holds /usr/obj /usr/src and /usr/ports they are symlinks to here. Again from what I remember having nosuid and/or noexec on /usr/obj and/ or /usr/ports was a 'problem' as well.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
secure access to AS/400 ?
Hello All, Seems OT, but I have been asked to give someone remote access to an AS/ 400 we have here. As I am not knowledgeable about AS/400's I do not know if there is an openssh/sshd app that could be put on there. They give everyone access 'locally' via telnet and some IBM gui app at the moment; the software: eNetwork Personal Communications AS/400 Client Access Express for Windows Workstation Program Version 4.3 If they can not find some form of sshd to put on the AS/400, I could give people access to a FreeBSD via ssh and then have them use 'something' to connect to it. Is there some terminal emulator that I would have to give them? I don't know how the AS works or what people use on it or use it for.. so please excuse the seemingly ignorant questions.. Thanks in advance ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OpenNTPd howto?
Hello All, Not sure what I am missing, but I am. so I put openntpd on a machine (10.20.0.16) cat ntpd.conf | egrep -v ^# listen on 0.0.0.0 server clock.nyc.he.net then start it and it looks like it does: USER COMMANDPID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS _ntp ntpd 15751 4 udp4 10.20.0.16:55180 209.51.161.238:123 _ntp ntpd 15751 6 udp4 *:123 *:* Strange thing one: [EMAIL PROTECTED] [/usr/local/etc]# 30 ntpdate -b clock.nyc.he.net 1 Jul 12:43:52 ntpdate[48881]: the NTP socket is in use, exiting [EMAIL PROTECTED] [/usr/local/etc]# 31 /usr/local/etc/rc.d/openntpd stop Stopping openntpd. [EMAIL PROTECTED] [/usr/local/etc]# 32 ntpdate -b clock.nyc.he.net 1 Jul 12:49:57 ntpdate[70917]: step time server 209.51.161.238 offset 358.732506 sec Why when it was running did it not update the clock on the server? Strange thing two: From a different computer I can not get the time from the server running openntpd. # ntpdate -b 10.20.0.16 1 Jul 12:50:23 ntpdate[679]: no server suitable for synchronization found What am I missing? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenNTPd howto?
On Jul 1, 2008, at 1:21 PM, Bill Moran wrote: In response to B. Cook [EMAIL PROTECTED]: Hello All, Not sure what I am missing, but I am. so I put openntpd on a machine (10.20.0.16) cat ntpd.conf | egrep -v ^# listen on 0.0.0.0 server clock.nyc.he.net then start it and it looks like it does: USER COMMANDPID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS _ntp ntpd 15751 4 udp4 10.20.0.16:55180 209.51.161.238:123 _ntp ntpd 15751 6 udp4 *:123 *:* Strange thing one: [EMAIL PROTECTED] [/usr/local/etc]# 30 ntpdate -b clock.nyc.he.net 1 Jul 12:43:52 ntpdate[48881]: the NTP socket is in use, exiting [EMAIL PROTECTED] [/usr/local/etc]# 31 /usr/local/etc/rc.d/openntpd stop Stopping openntpd. [EMAIL PROTECTED] [/usr/local/etc]# 32 ntpdate -b clock.nyc.he.net 1 Jul 12:49:57 ntpdate[70917]: step time server 209.51.161.238 offset 358.732506 sec Why when it was running did it not update the clock on the server? It was working on it. You should read up on NTP a bit so you understand how it works. NTP does not set the clock unless you explicitly tell it to (I believe the -s switch in openntpd). Instead, it speeds up or slows down the clock to bring it into adjustment, which prevents software from seeing a sudden and space-time fabric-ripping shift in time. If you let openntpd run for a while, possibly a few hours, you'd see the time come in to sync. From a different computer I can not get the time from the server running openntpd. What error do you get? Run ntpdate -d on the other computer to see _why_ it's refusing to sync. I would guess it's because the OpenNTPd server knows that it's not in sync yet, and thus refuses to sync other machines. -- Bill Moran http://www.potentialtech.com Thanks for the clue to the answer. Here is the output: pmsbsdsrv# ntpdate -d 10.20.0.16 1 Jul 13:31:00 ntpdate[899]: ntpdate 4.2.0-a Sun Feb 24 16:32:49 UTC 2008 (1) transmit(10.20.0.16) receive(10.20.0.16) transmit(10.20.0.16) receive(10.20.0.16) transmit(10.20.0.16) receive(10.20.0.16) transmit(10.20.0.16) receive(10.20.0.16) transmit(10.20.0.16) 10.20.0.16: Server dropped: strata too high server 10.20.0.16, port 123 stratum 16, precision -21, leap 11, trust 000 refid [10.20.0.16], delay 0.02599, dispersion 0.0 transmitted 4, in filter 4 reference time:. Thu, Feb 7 2036 1:28:16.000 originate timestamp: cc14e855.037077ff Tue, Jul 1 2008 13:31:01.013 transmit timestamp: cc14e855.14ea3cc5 Tue, Jul 1 2008 13:31:01.081 filter delay: 0.02605 0.02600 0.02599 0.02599 0.0 0.0 0.0 0.0 filter offset: -0.06838 -0.06845 -0.06845 -0.06845 0.00 0.00 0.00 0.00 delay 0.02599, dispersion 0.0 offset -0.068452 1 Jul 13:31:01 ntpdate[899]: no server suitable for synchronization found What I would like to have is a time server that works like how I think it works. this 10.20.0.16 machine was updated and rebooted, and I was installing two new machines today and saw it wasn't syncing.. Is there a way to make a time server serve the time of the local computer, and then every hour update the server from a time server? Or just serve the time as soon as the server is enabled? On the server I have done this: # 30 /usr/local/sbin/ntpd -s -d -f /usr/local/etc/ntpd.conf listening on 10.20.0.16 ntp engine ready reply from 209.51.161.238: offset 0.005419 delay 0.016668, next query 6s reply from 209.51.161.238: offset 0.005236 delay 0.016233, next query 6s reply from 209.51.161.238: offset 0.005288 delay 0.015782, next query 9s peer 209.51.161.238 now valid reply from 209.51.161.238: offset 0.005271 delay 0.016006, next query 9s reply from 209.51.161.238: offset 0.005550 delay 0.015967, next query 7s reply from 209.51.161.238: offset 0.005616 delay 0.016308, next query 7s reply from 209.51.161.238: offset 0.005714 delay 0.015999, next query 30s reply from 209.51.161.238: offset 0.005995 delay 0.016138, next query 32s adjusting local clock by 0.005288s but the client still sees this: # ntpdate -d 10.20.0.16 1 Jul 15:09:14 ntpdate[1105]: ntpdate 4.2.0-a Sun Feb 24 16:32:49 UTC 2008 (1) transmit(10.20.0.16) receive(10.20.0.16) transmit(10.20.0.16) receive(10.20.0.16) transmit(10.20.0.16) receive(10.20.0.16) transmit(10.20.0.16) receive(10.20.0.16) transmit(10.20.0.16) 10.20.0.16: Server dropped: Leap not in sync server 10.20.0.16, port 123 stratum 2, precision -21, leap 11, trust 000 refid [10.20.0.16], delay 0.02599, dispersion 0.0 transmitted 4, in filter 4 reference time:cc14feea.d26147ff Tue, Jul 1 2008 15:07:22.821 originate timestamp: cc14ff5a.7657d7ff Tue, Jul 1 2008 15:09:14.462 transmit timestamp: cc14ff5a.9fabbfcc Tue, Jul 1 2008 15:09:14.623 filter delay: 0.02602 0.02600 0.02599 0.02599 0.0 0.0 0.0 0.0 filter offset: -0.16169 -0.16162 -0.16163 -0.16162 0.00 0.00
Re: OpenNTPd howto? [success]
I did sync finally.. [EMAIL PROTECTED] [/usr/local/man]# 30 /usr/local/sbin/ntpd -s -d -f /usr/ local/etc/ntpd.conf listening on 10.20.0.16 listening on 10.20.0.29 ntp engine ready reply from 209.51.161.238: offset 0.005419 delay 0.016668, next query 6s reply from 209.51.161.238: offset 0.005236 delay 0.016233, next query 6s reply from 209.51.161.238: offset 0.005288 delay 0.015782, next query 9s peer 209.51.161.238 now valid reply from 209.51.161.238: offset 0.005271 delay 0.016006, next query 9s reply from 209.51.161.238: offset 0.005550 delay 0.015967, next query 7s reply from 209.51.161.238: offset 0.005616 delay 0.016308, next query 7s reply from 209.51.161.238: offset 0.005714 delay 0.015999, next query 30s reply from 209.51.161.238: offset 0.005995 delay 0.016138, next query 32s adjusting local clock by 0.005288s reply from 209.51.161.238: offset 0.001272 delay 0.016006, next query 301s reply from 209.51.161.238: offset 0.004713 delay 0.016379, next query 307s reply from 209.51.161.238: offset 0.008287 delay 0.016782, next query 307s adjusting local clock by 0.005550s clock is now synced # ntpdate -d 10.20.0.16 1 Jul 15:19:01 ntpdate[2017]: ntpdate 4.2.0-a Sun Feb 24 16:32:49 UTC 2008 (1) transmit(10.20.0.16) receive(10.20.0.16) transmit(10.20.0.16) receive(10.20.0.16) transmit(10.20.0.16) receive(10.20.0.16) transmit(10.20.0.16) receive(10.20.0.16) transmit(10.20.0.16) server 10.20.0.16, port 123 stratum 2, precision -21, leap 00, trust 000 refid [10.20.0.16], delay 0.02599, dispersion 0.0 transmitted 4, in filter 4 reference time:cc15016a.d35167ff Tue, Jul 1 2008 15:18:02.825 originate timestamp: cc1501a5.98b65fff Tue, Jul 1 2008 15:19:01.596 transmit timestamp: cc1501a5.98d9b8dd Tue, Jul 1 2008 15:19:01.597 filter delay: 0.02605 0.02599 0.02599 0.02599 0.0 0.0 0.0 0.0 filter offset: -0.00067 -0.00072 -0.00072 -0.00072 0.00 0.00 0.00 0.00 delay 0.02599, dispersion 0.0 offset -0.000727 1 Jul 15:19:01 ntpdate[2017]: adjust time server 10.20.0.16 offset -0.000727 sec On Jul 1, 2008, at 1:28 PM, Steve Bertrand wrote: B. Cook wrote: Hello All, Hey, [EMAIL PROTECTED] [/usr/local/etc]# 32 ntpdate -b clock.nyc.he.net 1 Jul 12:49:57 ntpdate[70917]: step time server 209.51.161.238 offset 358.732506 sec Why when it was running did it not update the clock on the server? My first guess, which is only a guess, is that your secure level is too high for this to work. If your securelevel is set above zero, then your clock can only be adjusted by a maximum of one second (please correct me if this has changed since 4.x). Check the output of: sysctl -a kern.securelevel Strange thing two: From a different computer I can not get the time from the server running openntpd. # ntpdate -b 10.20.0.16 1 Jul 12:50:23 ntpdate[679]: no server suitable for synchronization found Have you confirmed that a clock server runs on that IP? Is the IP reachable? If securelevel still has its place with affecting time changes, I'd try 'breaking' that to see if the time will actually update. Note that securelevel must be changed via a startup variable of some sort, and a reboot is required. Then I would proceed to ensure that 10.20.0.16 is actually running a timeserver that the network can reach. Steve -- B. Cook Network Analyst Poughkeepsie City School District Mobile: 845.264.5827 | Desk: 845.451.4791 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gmirror and resizing partitions..
Hello all, I have a FreeBSD 7 machine that I am running gmirror on (ad4 and ad6). there is an /exports and /home that need to be resized. (right now they each are about 55G and /home needed to have been 100G and exports 10G) what do I need to do to fix this. I am assuming break the mirror, fdisk the /exports and /home then remake them, and then rebuild the mirror.. right? What do I need to do with as little impact on the running server as possible.. as many services are already configured on this box and it's running :P (of course.. ) Thanks in advance, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gmirror and resizing partitions..
On Jun 9, 2008, at 12:12 PM, Wojciech Puchar wrote: there is an /exports and /home that need to be resized. (right now they each are about 55G and /home needed to have been 100G and exports 10G) more exact info please. gmirror status mount or cat /etc/fstab NameStatus Components mirror/gm0 COMPLETE ad4 ad6 # DeviceMountpoint FStype Options DumpPass# /dev/mirror/gm0s1b noneswapsw 0 0 /dev/mirror/gm0s1a / ufs rw 1 1 /dev/mirror/gm0s1h /exportsufs rw 2 2 /dev/mirror/gm0s1g /home ufs rw 2 2 /dev/mirror/gm0s1d /usrufs rw 2 2 /dev/mirror/gm0s1e /usr/local ufs rw 2 2 /dev/mirror/gm0s1f /varufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 #/dev/da0s1 /mnt/root ufs ro 0 0 #/dev/da0s1bnoneswapsw 0 0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
samba/cups printer with quotas?
Hello All, Someone here just got back from an Apple 'show'. They were told that Leopard Server (powered by cups and samba) could give us quota control as well as authenticated printing with 'history' (as to who printed what and how many pages.. ) I am still trying to get a clue on this.. but I have cups installed and integrated into samba.. I still have a ton of questions, and wonder if they would be better suited on a cups mailing list or here.. anyone have any advice or ever setup such a beast? If you did set it up, how is it working out for you? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
DQ965GF Finally Works..
Hello all, I have a few of these that have been problematic with several seemingly simple things.. like 1000baseTX and booting in under 5 minutes (polls the floppy for almost 4 minutes).. but with FreeBSD 6.3 the motherboard seems 'normal' finally. wanted to say thank you and post a dmesg Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.3-RELEASE-p1 #0: Mon Mar 3 14:33:07 EST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP acpi_alloc_wakeup_handler: can't alloc wake memory Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) D CPU 2.66GHz (2674.67-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf47 Stepping = 7 Features = 0xbfebfbff FPU ,VME ,DE ,PSE ,TSC ,MSR ,PAE ,MCE ,CX8 ,APIC ,SEP ,MTRR ,PGE ,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0x651dSSE3,RSVD2,MON,DS_CPL,TM2,CNXT-ID,CX16,xTPR AMD Features=0x2010NX,LM AMD Features2=0x1LAHF Cores per package: 2 real memory = 1046810624 (998 MB) avail memory = 1010847744 (964 MB) ACPI APIC Table: INTEL DQ965GF FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 Version 2.0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Mar 3 2008 14:31:42) acpi0: INTEL DQ965GF on motherboard acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0 cpu0: ACPI CPU on acpi0 acpi_throttle0: ACPI CPU Throttling on cpu0 cpu1: ACPI CPU on acpi0 acpi_throttle1: ACPI CPU Throttling on cpu1 acpi_throttle1: failed to attach P_CNT device_attach: acpi_throttle1 attach returned 6 acpi_button0: Sleep Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pci0: display, VGA at device 2.0 (no driver attached) pci0: simple comms at device 3.0 (no driver attached) atapci0: Intel ATA controller port 0x2130-0x2137,0x214c-0x214f, 0x2128-0x212f,0x2148-0x214b,0x2100-0x210f irq 18 at device 3.2 on pci0 ata2: ATA channel 0 on atapci0 ata3: ATA channel 1 on atapci0 pci0: simple comms, UART at device 3.3 (no driver attached) em0: Intel(R) PRO/1000 Network Connection Version - 6.7.2 port 0x20e0-0x20ff mem 0x5030-0x5031,0x50324000-0x50324fff irq 20 at device 25.0 on pci0 em0: Ethernet address: 00:19:d1:89:fb:84 uhci0: UHCI (generic) USB controller port 0x20c0-0x20df irq 16 at device 26.0 on pci0 uhci0: [GIANT-LOCKED] usb0: UHCI (generic) USB controller on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: UHCI (generic) USB controller port 0x20a0-0x20bf irq 21 at device 26.1 on pci0 uhci1: [GIANT-LOCKED] usb1: UHCI (generic) USB controller on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ehci0: EHCI (generic) USB 2.0 controller mem 0x50326c00-0x50326fff irq 18 at device 26.7 on pci0 ehci0: [GIANT-LOCKED] usb2: EHCI version 1.0 usb2: companion controllers, 2 ports each: usb0 usb1 usb2: EHCI (generic) USB 2.0 controller on ehci0 usb2: USB revision 2.0 uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 4 ports with 4 removable, self powered pci0: multimedia at device 27.0 (no driver attached) pcib1: ACPI PCI-PCI bridge at device 28.0 on pci0 pci1: ACPI PCI bus on pcib1 pcib2: ACPI PCI-PCI bridge at device 28.1 on pci0 pci2: ACPI PCI bus on pcib2 atapci1: Marvell 88SX6101 UDMA133 controller port 0x1018-0x101f, 0x1024-0x1027,0x1010-0x1017,0x1020-0x1023,0x1000-0x100f mem 0x5010-0x501001ff irq 17 at device 0.0 on pci2 ata4: ATA channel 0 on atapci1 pcib3: ACPI PCI-PCI bridge at device 28.2 on pci0 pci3: ACPI PCI bus on pcib3 pcib4: ACPI PCI-PCI bridge at device 28.3 on pci0 pci4: ACPI PCI bus on pcib4 pcib5: ACPI PCI-PCI bridge at device 28.4 on pci0 pci5: ACPI PCI bus on pcib5 uhci2: UHCI (generic) USB controller port 0x2080-0x209f irq 23 at device 29.0 on pci0 uhci2: [GIANT-LOCKED] usb3: UHCI (generic) USB controller on uhci2 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered uhci3: UHCI (generic) USB controller port 0x2060-0x207f irq 19 at device 29.1 on pci0 uhci3: [GIANT-LOCKED] usb4: UHCI (generic) USB controller on uhci3 usb4: USB revision 1.0 uhub4: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub4: 2 ports with 2 removable, self powered uhci4: UHCI (generic) USB controller port 0x2040-0x205f irq 18 at device 29.2 on pci0
Upgrading to 7 from 6.3
Hello All, I was going to try and update a box from 6.3 to 7 via buildworld all 32 bit, nothing 64. Assuming it should be done like this: make buildworld make buildkernel mergemaster -p make installkernel (reboot) (startup on 7 kernel) make installworld mergemaster (do full mergemaster) make installworld (reboot) (make sure all is working in 7 then do it all again; just to be sure) make buildworld make buildkernel make installkernel make installworld Sound about right? or too redundant? Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading to 7 from 6.3
Yea I saw how openssl was updated and a ton of other things as well.. this is a new box w/o much on it.. so it's a good test. (going to try portmaster on this box as well.. ) portmaster -fa (iirc) On Feb 28, 2008, at 12:58 PM, Schiz0 wrote: On Thu, Feb 28, 2008 at 12:52 PM, Lowell Gilbert [EMAIL PROTECTED] wrote: Dominic Fandrey [EMAIL PROTECTED] writes: B. Cook wrote: Hello All, I was going to try and update a box from 6.3 to 7 via buildworld all 32 bit, nothing 64. Assuming it should be done like this: make buildworld make buildkernel mergemaster -p make installkernel (reboot) (startup on 7 kernel) make installworld mergemaster (do full mergemaster) make installworld (reboot) (make sure all is working in 7 then do it all again; just to be sure) make buildworld make buildkernel make installkernel make installworld Sound about right? or too redundant? Thanks in advance. The doing it all again part might bring some very slight performance improvements due to the compiler change. It *shouldn't* make any difference; buildworld bootstraps its own compiler as one of the first things it does. None of the steps really need to be done more than once. The redundancy as described isn't harmful, either. ___ You also have to recompile all your ports due to a major change in how the ports work. portupgrade -f -a ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
looks like success
Hello all, make delete-old (took a long time to do by hand) and make delete-old-libs (went rather quickly) but bash needed to be rebuilt while things were still running.. (quick try to login remotely showed that libcurses had changed.. ) /libexec/ld-elf.so.1: Shared object libncurses.so.6 not found, required by -bash and libc, libm, libthr, libcrypt, libcrypto.. etc.. libchk (sysutils/libchk) showed almost every port has issues.. ;) sudo, daemontools, exim, lighttpd, vim.. etc.. so I will have to rebuild everything.. just wanted to share my .02 in case someone else does this as well.. Thanks FreeBSD Team for another successful Release. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Calendar Solution?
Hello All, Anyone have any suggestions for a 'corporate' calendar? Either ports or DIY or other .. I am trying to get them on the idea of an OSX server.. They are using words like 'Exchange' and 'Externally Hosted Exchange' servers.. (just sends a chill down my spine.. ) We have our own email server with qmail, dovecot, squirrelmail.. etc but no calendar.. any suggestions or opinions welcome. Thanks in advance ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Recommendations? Small Department IM server
Hello All, I am looking for an im server that runs on FreeBSD (preferably from ports) for ~20 people with SSL/TLS. I see there is jabberd and ejabberd (anything else to consider?) It seems that ejabberd needs java and all sorts of other things.. and that jabber needs mysql ;) Am I missing something here? I think I should use jabber (usr/ports/net-im/jabberd). Anyone have anything they would like to share? Thanks in advance ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sysutils/lockdown
Hello All, Is this still a valid working port for a FreeBSD 6.2 box? It looks as if it has not been touched since 2005. Is there anything else that does this? Thanks in advance, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
MSI PM8PM-V problem?
Hello all, I have two boxes here, both identical hardware. One box is setup to use the sata controller for raid the other is not. The one with the raid works great, the other one does not.. 6.2-R-p5 on the raid 6.2-R on the non raid. It seems when I bring 6.2-R up to the latest version, is when i start to see apparent disk problems. The latest SeaTools from seagate says that there is no problem w/ either disk in the non raid box. (80G and 400G) But 6.2-R-p5 seems to 'make problems'. The other 'strange' thing about these twin boxes, is that the 8 port belkin KVM that I have works great w/ the raid box, and the keyboard does not work (via the kvm) on the non raid box. If I put a separate keyboard on the non-raid box it seems to work.. Any clues? DMESG: non-raid: Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-RELEASE #0: Fri Jan 12 08:43:30 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP ACPI APIC Table: P4M80P AWRDACPI Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) D CPU 2.66GHz (2661.04-MHz K8-class CPU) Origin = GenuineIntel Id = 0xf47 Stepping = 7 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0x651dSSE3,RSVD2,MON,DS_CPL,TM2,CNTX-ID,CX16,b14 AMD Features=0x20100800SYSCALL,NX,LM AMD Features2=0x1LAHF Cores per package: 2 real memory = 1072627712 (1022 MB) avail memory = 1022918656 (975 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 4 ioapic0 Version 0.3 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: P4M80P AWRDACPI on motherboard acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0 cpu0: ACPI CPU on acpi0 cpu1: ACPI CPU on acpi0 acpi_button0: Power Button on acpi0 acpi_button1: Sleep Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci0: display, VGA at device 7.0 (no driver attached) re0: RealTek 8169S Single-chip Gigabit Ethernet port 0xfc00-0xfcff mem 0xfdfff000-0xfdfff0ff irq 18 at device 9.0 on pci0 miibus0: MII bus on re0 rgephy0: RTL8169S/8110S media interface on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto re0: Ethernet address: 00:18:e7:17:23:8a re0: [FAST] atapci0: VIA 6420 SATA150 controller port 0xf800-0xf807,0xf400-0xf403,0xf000-0xf007,0xec00-0xec03,0xe800-0xe80f,0xe400-0xe4ff irq 20 at device 15.0 on pci0 ata2: ATA channel 0 on atapci0 ata3: ATA channel 1 on atapci0 atapci1: VIA 8237 UDMA133 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 15.1 on pci0 ata0: ATA channel 0 on atapci1 ata1: ATA channel 1 on atapci1 uhci0: VIA 83C572 USB controller port 0xdc00-0xdc1f irq 21 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] usb0: VIA 83C572 USB controller on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: VIA 83C572 USB controller port 0xd800-0xd81f irq 21 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] usb1: VIA 83C572 USB controller on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: VIA 83C572 USB controller port 0xd400-0xd41f irq 21 at device 16.2 on pci0 uhci2: [GIANT-LOCKED] usb2: VIA 83C572 USB controller on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: VIA 83C572 USB controller port 0xd000-0xd01f irq 21 at device 16.3 on pci0 uhci3: [GIANT-LOCKED] usb3: VIA 83C572 USB controller on uhci3 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: VIA VT6202 USB 2.0 controller mem 0xfdffe000-0xfdffe0ff irq 21 at device 16.4 on pci0 ehci0: [GIANT-LOCKED] usb4: waiting for BIOS to give up control usb4: timed out waiting for BIOS usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: VIA VT6202 USB 2.0 controller on ehci0 usb4: USB revision 2.0 uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered isab0: PCI-ISA bridge at device 17.0 on pci0 isa0: ISA bus on isab0 pci0: multimedia, audio at device 17.5 (no driver attached) vr0: VIA VT6102 Rhine II 10/100BaseTX port 0xc800-0xc8ff mem 0xfdffd000-0xfdffd0ff irq 23
CAM Status: SCSI Status Error
Hello all, I saw this the other day.. and it happened while we were moving computers around while they were powered on.. (da0:ahc0:0:0:0): WRITE(10). CDB: 2a 0 1 81 a1 3f 0 0 20 0 (da0:ahc0:0:0:0): CAM Status: SCSI Status Error (da0:ahc0:0:0:0): SCSI Status: Check Condition (da0:ahc0:0:0:0): Deferred Error: MEDIUM ERROR info:113e5f asc:3,0 (da0:ahc0:0:0:0): Peripheral device write fault field replaceable unit: 8 actual retry count: 24 (da0:ahc0:0:0:0): Retrying Command (per Sense Data) (da0:ahc0:0:0:0): WRITE(10). CDB: 2a 0 1 31 3b 9f 0 0 20 0 (da0:ahc0:0:0:0): CAM Status: SCSI Status Error (da0:ahc0:0:0:0): SCSI Status: Check Condition (da0:ahc0:0:0:0): Deferred Error: HARDWARE FAILURE asc:19,0 (da0:ahc0:0:0:0): Defect list error field replaceable unit: 2 (da0:ahc0:0:0:0): Retrying Command (per Sense Data) Is it something to be worried about or did we just possibly bump the drive? We've been running the box for over a year w/o any such errors before. But it is an older drive. ahc0: Adaptec aic7890/91 Ultra2 SCSI adapter port 0xfc00-0xfcff mem 0xfcfff000-0xfcff irq 31 at device 4.0 on pci1 ahc0: [GIANT-LOCKED] da0 at ahc0 bus 0 target 0 lun 0 da0: SEAGATE ST336607LC 0003 Fixed Direct Access SCSI-3 device da0: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled da0: 35003MB (71687372 512 byte sectors: 255H 63S/T 4462C) Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
what do you do with daily, weekly, monthly outputs..
Hello All, What do you do with the FreeBSD emails that each server you have sends you every day? I'm wondering if I could be doing something useful with them as opposed to keeping them in a folder and then deleting them after time. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
syslog.conf questions..
Hello all, I am trying to have different cisco routers log to a different log file. The log file is located on a 6.2 box running the stock syslogd. For what it is worth I have nine of these, only three are shown syslogd is running with -n -vv -d at the moment.. I did not have to specify -a 10.20.250.54:* to allow it to log.. (is that part of the problem..?) But the question is.. I do get logs from the respective hosts in the log files that I have specified, but I do not understand why syslogd is also catching them in the original local7.* /var/log/router/3620.log when as far as I can tell they are setup correctly. below is the relevant portions of the syslog.conf. [~]# 18 egrep -v # /etc/syslog.conf | cat -n 1 2 +10.20.250.54 3 *.* /var/log/router/circle.log 4 -10.20.250.54 5 6 +10.20.250.42 7 *.* /var/log/router/columbus.log 8 -10.20.250.42 9 10 +10.20.250.38 11 *.* /var/log/router/clinton.log 12 -10.20.250.38 13 14 +10.20.0.10 15 *.*/var/log/router/tcentral.log 16 -10.20.0.10 17 18 *.err;kern.warning;auth.notice;mail.crit /dev/console 19 *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/messages 20 security.* /var/log/security 21 auth.info;authpriv.info /var/log/auth.log 22 mail.info /var/log/maillog 23 lpr.info /var/log/lpd-errs 24 ftp.info /var/log/xferlog 25 local7.*/var/log/router/3620.log 26 cron.* /var/log/cron 27 *.=debug/var/log/debug.log 28 *.emerg * 29 !startslip 30 *.*/var/log/slip.log 31 !ppp 32 *.* /var/log/ppp.log and with syslogd in debug mode I see this: and tcvthname(10.20.250.38) logmsg: pri 276, flags 0, from 10.20.250.38, msg 1262: Jun 14 18:13:04.770: %SEC-6-IPACCESSLOGP: list 2044 denied udp 10.20.18.28(1039) - 10.20.0.212(161), 1 packet Logging to FILE /var/log/router/clinton.log Logging to FILE /var/log/router/3620.log cvthname(10.20.250.42) logmsg: pri 276, flags 0, from 10.20.250.42, msg 68: Jun 14 18:13:04.835: %SEC-6-IPACCESSLOGP: list 2044 denied udp 10.20.8.57(1040) - 10.20.3.60(161), 4 packets Logging to FILE /var/log/router/columbus.log Logging to FILE /var/log/router/3620.log I do not understand why the local7.* is still getting caught.. From what I understood from the man page, the - tells it to stop logging from that host. Whatever the last 'host' entry is in the syslog.conf that host will not log into both files. from the 10.20.0.10 host I have configured syslog: local7.* @10.20.0.29 and when I run logger: date | logger -p local7.debug cvthname(10.20.0.10) logmsg: pri 277, flags 0, from 10.20.0.10, msg Jun 14 14:21:03 bcook: Thu Jun 14 14:21:03 EDT 2007 Logging to FILE /var/log/router/tcentral.log I get what I think I should.. Why do the previous entries not act the same as the last one? What am I missing? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Confused about dhclient .conf and -script..
I am trying to make a FreeBSD machine that gets a dynamic ip from a pfsense box work the same way as a Windows machine does. After reading way more about isc-dhcpd than I wanted to, I found out that I can customize /etc/dhclient.conf (great). I found a great dhclient.conf but it seemed to do things that I could not get my FreeBSD box(es) to do. So I found out that this config file actually came from a linux box (some ubuntu version) and that it runs a dhclient-script which I then found out that FreeBSD also has.. So I'm closer but not there yet and can not seem to figure out what I am missing. This is my /etc/dhclient.conf : send host-name $HOSTNAME; request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, host-name, netbios-name-servers, netbios-scope; timeout 30; script /sbin/dhclient-script; the dhclient-script is the stock one (6.2-p5) the linux one had the host-name set to hostname after looking at the dhclient-script it looks like I need to use $HOSTNAME. Except when I change the hostname of the box (via hostname -s blahblah.local.domain) and then run dig against the dns server, the name blahblah did not register. Jun 11 09:47:11 pfsense dhcpd: DHCPACK on 192.168.1.13 to 00:b0:d0:a1:8f:17 ($HOSTNAME) via dc0 Jun 11 09:47:13 pfsense dhcpd: DHCPREQUEST for 192.168.1.13 from 00:b0:d0:a1:8f:17 ($HOSTNAME) via dc0 So what am I doing wrong, can I get what I am looking for? doing this: ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Thin client question..
Hello all, I was wondering if anyone had an OS-less thin client that does RDP and X11. Sound is also a requirement. Anyone ever seen something like this before? Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dell M90 bge0 firmware handshake timeout
Hello All, Brand new Dell M90 here, replacing the directors Linux laptop w/ a FreeBSD.. and of course it's not a smooth one.. :p dmesg at bottom.. the bge0 device gives a firmware handshake timed out, when trying to get dhcp. Using a Netgear/Dlink (at his home) he says it never gets an IP, we have isc-dhcp both as a actual server and on a pfsense testing network here and it takes it a minute+ to get an IP. He of course can not wait that long.. Any ideas? Its running gnome2 from ports - not packages.. and the snd_hda from binary.. as well as nvidia driver compiled from ports. dmesg -a below: Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-RELEASE-p3 #0: Wed Apr 11 11:23:59 EDT 2007 root@:/usr/obj/usr/src/sys/DellM90 Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 CPU T7600 @ 2.33GHz (2330.23-MHz 686-class CPU) Origin = GenuineIntel Id = 0x6f6 Stepping = 6 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0xe3bdSSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,b9,CX16,b14,b15 AMD Features=0x2010NX,LM AMD Features2=0x1LAHF Cores per package: 2 real memory = 2145939456 (2046 MB) avail memory = 2086424576 (1989 MB) ACPI APIC Table: DELL M07 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 Version 2.0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: DELL M07 on motherboard Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0 cpu0: ACPI CPU on acpi0 acpi_throttle0: ACPI CPU Throttling on cpu0 cpu1: ACPI CPU on acpi0 acpi_throttle1: ACPI CPU Throttling on cpu1 acpi_throttle1: failed to attach P_CNT device_attach: acpi_throttle1 attach returned 6 acpi_acad0: AC Adapter on acpi0 battery0: ACPI Control Method Battery on acpi0 acpi_lid0: Control Method Lid Switch on acpi0 acpi_button0: Power Button on acpi0 acpi_button1: Sleep Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0 pci1: ACPI PCI bus on pcib1 nvidia0: Quadro FX 1500M port 0xef00-0xef7f mem 0xed00-0xedff,0xd000-0xdfff,0xee00-0xeeff irq 16 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] pcm0: Intel 82801G High Definition Audio Controller mem 0xefffc000-0xefff irq 21 at device 27.0 on pci0 pcib2: ACPI PCI-PCI bridge at device 28.0 on pci0 pci11: ACPI PCI bus on pcib2 pcib3: ACPI PCI-PCI bridge at device 28.2 on pci0 pci9: ACPI PCI bus on pcib3 bge0: Broadcom BCM5752 A2, ASIC rev. 0x6002 mem 0xecff-0xecff irq 18 at device 0.0 on pci9 bge0: firmware handshake timed out miibus0: MII bus on bge0 brgphy0: BCM5752 10/100/1000baseTX PHY on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:18:8b:c3:93:d3 pcib4: ACPI PCI-PCI bridge at device 28.3 on pci0 pci12: ACPI PCI bus on pcib4 uhci0: UHCI (generic) USB controller port 0xbf80-0xbf9f irq 20 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: UHCI (generic) USB controller on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: UHCI (generic) USB controller port 0xbf60-0xbf7f irq 21 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: UHCI (generic) USB controller on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: UHCI (generic) USB controller port 0xbf40-0xbf5f irq 22 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: UHCI (generic) USB controller on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: UHCI (generic) USB controller port 0xbf20-0xbf3f irq 23 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: UHCI (generic) USB controller on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: Intel 82801GB/R (ICH7) USB 2.0 controller mem 0xffa8-0xffa803ff irq 20 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: Intel 82801GB/R (ICH7) USB 2.0 controller on ehci0 usb4: USB revision 2.0 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered uhub5: vendor 0x413c product 0xa005, class 9/0,
newbie amd64 force 32bit nvidia-driver port
Hello all, I'm trying out amd64 on this Dell M90, and it seems to be going great.. *except* the nvidia-drivers port won't compile on amd64.. so I took out the i386 entry in the Makefile and it gets to a part where its linking and gets this: === Building for nvidia-driver-1.0.9746 === src (all) ld -d -warn-common -r -d -o nvidia.ko nv-kernel.o nvidia_ctl.o nvidia_dev.o nvidia_linux.o nvidia_os.o nvidia_os_pci.o nvidia_os_registry.o nvidia_pci.o nvidia_subr.o nvidia_sysctl.o nvidia_i2c.o ld: Relocatable linking with relocations from format elf32-i386-freebsd (nv-kernel.o) to format elf64-x86-64 (nvidia.ko) is not supported *** Error code 1 so how do I get the nvidia driver to work on this shiny new M90.. If I can't get this to work.. the person I got the laptop from will be putting rhel 5 on it.. :( I was thinking that I could force compile it for 32bit.. Is that even possible? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.3 - 6.2 should work right?
I'm inheriting an older network and I'm trying to update it.. cvsup to 6_2.. Doing a build kernel install kernel then reboot and build world install world mergemaster -p if needed then rebuild the kernel and reinstall it.. right? I couldn't see anything major in UPDATING.. am I missing something? Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Moving to a new disk..
Hello all, I've got a dying drive on my hands.. and I know I found a doc/guide on the handbook before regarding this.. something like.. # tar cf - --one-file-system -C /var . | tar xpvf - -C /mnt/var where the new drive is fsck'd and mounted at /mnt .. or something else.. where is that? or how would I do that? I just want to take this 20G drive and copy it to a 30G drive.. what would be the best way? (and I need to talk to someone over the phone about this.. it's his box and he has no inet) Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving to a new disk..
B. Cook wrote: Hello all, I've got a dying drive on my hands.. and I know I found a doc/guide on the handbook before regarding this.. something like.. # tar cf - --one-file-system -C /var . | tar xpvf - -C /mnt/var where the new drive is fsck'd and mounted at /mnt .. or something else.. where is that? or how would I do that? I just want to take this 20G drive and copy it to a 30G drive.. what would be the best way? (and I need to talk to someone over the phone about this.. it's his box and he has no inet) Thanks in advance. Where could I tell him to get a live cd? the installer CDs offer the option to drop into single user mode.. but it just goes right to the installer.. :P ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving to a new disk..
Eric wrote: B. Cook wrote: Where could I tell him to get a live cd? the installer CDs offer the option to drop into single user mode.. but it just goes right to the installer.. :P http://www.freesbie.org/ Was looking for something smaller.. Other than 635M to run dd :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.5 Dell 2950 PERC 5/i mfi question
Krempasky, Mark wrote: Hi, We have a requirement to run FreeBSD 5.5 on a few Dell 2950's. Unfortunately FreeBSD5.5 doesn't have the mfi drivers for the PERCK 5/I controllers. Does anyone know of a reasonable work around to load the drivers before sysinstall and then a way to permanently install them after the OS is loaded? I know FreeBSD6.x has the drivers by default but I just wanted to check if there was an easy work around with 5.5 before I push back on the developers. Thanks a ton. [/usr/src]$ 5 find . -name mfi ./sys/dev/mfi ./sys/modules/mfi [/boot/kernel]$ 9 ls -l /boot/kernel/mfi.ko -r-xr-xr-x 1 root wheel 28597 Nov 2 14:07 /boot/kernel/mfi.ko I would try and build the module and load it that way.. (the driver does support the card fully in 6.1.. ) [EMAIL PROTECTED] [~]$ 2 dmesg | grep mfi mfi0: Dell PERC 5/i mem 0xd80f-0xd80f,0xfc6e-0xfc6f irq 142 at device 14.0 on pci2 mfid0: MFI Logical Disk on mfi0 mfid0: 456191MB (934281215 sectors) RAID Trying to mount root from ufs:/dev/mfid0s1a (6 160GB drives in a raid 10 fwiw) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ntpd why question..
Hello all, Looking for why there is an /etc/ntp/ dir by default... The man page for ntpd says /etc/ntp.conf is the config file as does the handbook.. Whats it there for? TIA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Need to Emulate Linux..
And I'm wondering what is 'lighter/smaller' linux_base-fc4 or linux_base-suse-9.3 I'm already running the linprocfs and that's not enough.. Its for a program called 'ezproxy' for us here at the library. We used to use the linux_base-debian.. but that seems to have been removed a while back.. Thanks ldd ezproxy ezproxy: libpthread.so.0 = /lib/libpthread.so.0 (0x28272000) libm.so.6 = /lib/libm.so.6 (0x28286000) libc.so.6 = /lib/libc.so.6 (0x282a8000) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x2825e000) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
When to use SUID Perl (5.8.x)?
Hello, Just wondering what do you need suid perl for? I run a webserver for staff users, and have had no real need for it, and considering removing it. I think it goes to back the days when SA (possibly?) needed it and I just cp'd the make.conf across boxes over the years.. :) it is a security risk having it? Is the risk that if the webserver/webserver-app gets comprimised the user could use perl? Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Exim As MTA
I am running Exim as a sendmail replacement, and I keep getting a Message failure - message too big in my inbox for root. (looks like from daily run output) A message that you sent was longer than the maximum size allowed on this system. It was not delivered to any recipients. -- This is a copy of your message, including all the headers. -- No more than 100K characters of the body are included. it is soo large b/c of all the rejected mail: I do want to see the mail due to the messages in the queue.. but how do I get it not to show me rejected mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make installworld fails error 126
Hello All, I have always had this problem on the one or two (web) servers that I have a separate /tmp partition defined. I found the answer a long time ago to unmount /tmp and try again and that always works.. but I've never found a way to make installworld with a separate /tmp partition on my systems. Is there a way? Is it something I'm doing? Is it the nosuid? or noexec? Can I tell installworld to use /var/tmp instead? ..etc.. Ultimately I am looking to be able to 'make installworld' like I do on my other boxes.. if I need something in /etc/make.conf to tell it not to use /tmp what is it.. b/c I've not found it.. [~]$ 2 grep tmp /etc/fstab /dev/ad0s1f /tmpufs rw,nosuid,noexec2 2 Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ports/java/jdk15
Hello All, Trying to build java 1.5.0 and it looks like it's needs linux java 1.4.2? is this right? === linux-sun-jdk-1.4.2.12 You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_12-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22PartDetailId=j2sdk-1.4.2_12-oth-JPRSiteId=JSCTransactionId=noreg, place it in /usr/ports/distfiles and then run make again. *** Error code 1 Stop in /usr/ports/java/linux-sun-jdk14. *** Error code 1 Stop in /usr/ports/java/jdk15. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports/java/jdk15
Jona Joachim wrote: B. Cook wrote: Hello All, Trying to build java 1.5.0 and it looks like it's needs linux java 1.4.2? is this right? === linux-sun-jdk-1.4.2.12 You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_12-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22PartDetailId=j2sdk-1.4.2_12-oth-JPRSiteId=JSCTransactionId=noreg, place it in /usr/ports/distfiles and then run make again. *** Error code 1 Stop in /usr/ports/java/linux-sun-jdk14. *** Error code 1 Stop in /usr/ports/java/jdk15. Yes, that's right. jdk14 is needed to compile jdk15, welcome to the world of Java ;) Because of license issues you have to fetch the linux jdk14 binary as well as some distfiles required by jdk15 manually as indicated above. However you don't have to build jdk15 as there is an official FreeBSD binary available! See: http://docs.freebsd.org/cgi/mid.cgi?44343C8E.2050707 Just install java/diablo-jdk15 and it will install the binary --jona So if I just wanted a java binary.. I could also just install the java/diablo-jre15 :) (I'm trying that route.. ) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rcorder example?
RW wrote: On Tuesday 20 June 2006 15:15, B. Cook wrote: Hello all, I'm looking at what I think is the right answer.. but can't make sense of it.. basically I have a couple of mailservers that run exim and dnscache, all being called out of daemontools. but I can't seem to figure out how to make svscan start first.. I don't see what you are getting at here, if exim and dnscache are started by svscan, then by defininition svscan *is* starting first. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Yes svscan starts dnscache and exim, but many services depend on dns (dnscache is setup on loopback) so I have to wait (for up to 3 minutes) for dns timeouts to occour so that they boot can continue, and finally get to starting svscan (quite low in the dictionary order of things) So I'm looking for how I can control the order that things start up in. I've since changed the order by prepending 000, 010, 020, etc.. to startup script, but I just thought there was a way to manipulate it and not disrupt installs and plist related startup script. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
rcorder example?
Hello all, I'm looking at what I think is the right answer.. but can't make sense of it.. basically I have a couple of mailservers that run exim and dnscache, all being called out of daemontools. but I can't seem to figure out how to make svscan start first.. # PROVIDE: svscan # REQUIRE: LOGIN this is what is in the svscan.sh file .. so um.. how does it work? I understand what it is supposed to do from the man page.. but I can't figure out how to actually tweak/tune it.. I also have another box with dansguardian and squid.. and dansguardian depends on squid but because d comes before s, dansguardian starts first, fails then squid starts.. and I've tried to use rcorder to fix that problem and can't seem to make that happen. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dhcpd.leases not getting populated..
Hello all, I have about 8 isc-dhcpd3-server installs out there and they all do everything they are supposed to.. all but one. And of course it's the most complex of them all, (as compared to the rest) I have a subnet defined with two pools inside. The top pool is set to deny unknown clients; and the bottom pool is set to allow unknown clients;. The problem is that the 'bottom' pool (allow unknow) is the only pool that gets logged to /var/db/dhcpd/dhcpd.leases. These are my startup options: # dhcpd #dhcpd_flags=-q# command option(s) dhcpd_enable=YES # dhcpd enabled? dhcpd_conf=/usr/local/etc/dhcpd.conf # configuration file dhcpd_ifaces=fxp0 # ethernet interface(s) dhcpd_umask=022 # file creation mask dhcpd_chuser_enable=YES # runs w/o privileges? dhcpd_withuser=dhcpd # user name to run as dhcpd_withgroup=dhcpd # group name to run as and my build prefs: [/var/db/ports]# 42 cat isc-dhcp3-server/options # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for isc-dhcp3-server-3.0.4_2 _OPTIONS_READ=isc-dhcp3-server-3.0.4_2 WITH_DHCP_PARANOIA=true WITHOUT_DHCP_JAIL=true WITHOUT_DHCP_SOCKETS=true WITHOUT_DHCP_LDAP=true WITHOUT_DHCP_LDAP_SSL=true WITH_OPENSSL_BASE=true WITHOUT_OPENSSL_PORT=true WITHOUT_DHCP_LQ=true what I am trying to do is to use dnsmasq with the -l /var/db/dhcpd/dhcpd.leases option to read the leases file and assign hostnames in dns.. Obviously if I switch the pools the functionality will not be the same.. as allow unknown will be first and everyone will go there :| We use this range for testing new machines and setting up new machines.. Any help is appreciated. - Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dhcpd.leases not getting populated..
Nick Withers wrote: On Mon, 05 Jun 2006 09:06:23 -0400 B. Cook [EMAIL PROTECTED] wrote: Don't suppose you'd be able to post the configuration of the subnet, would you? http://www.poklib.org/~dhcpd/dhcpd.conf Are you sure that leases are being handed out from the first pool? yes. The rest of the 192.168.1.0/24 gets ips and routes as they should. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Shared Memory?
Hello All, I'm not a programmer and nor do I play one in real life.. :) I've recently setup a DansGuardian box for someone and I had some interesting things happen. When the box would get under load (500+ simultaneout connections) it would load up the cpu: last pid: 69931; load averages: 4.73, 3.56, 3.32 up 5+11:10:58 09:56:31 49 processes: 8 running, 41 sleeping Mem: 157M Active, 202M Inact, 106M Wired, 20M Cache, 60M Buf, 8168K Free Swap: 2048M Total, 32K Used, 2048M Free PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND 49814 guardian1 1200 85868K 85160K RUN 0:01 14.87% dansguardian 30132 guardian1 1200 85868K 85180K RUN 0:22 14.11% dansguardian 52245 guardian1 1190 85860K 85168K RUN 0:06 13.94% dansguardian 23445 guardian1 1200 85896K 85208K RUN 0:22 13.87% dansguardian at this time there were 10 dansguardian processes running. the default config suggests 120 to start off with.. (doing that crashed the box in about 5 minutes) I found one thing that seemed to help: kern.ipc.shm_use_phys=1 from man tuning. after setting the sysctl value the system now looks like this: last pid: 40265; load averages: 0.29, 0.29, 0.27 up 7+17:55:46 16:41:47 34 processes: 1 running, 33 sleeping CPU states: 0.0% user, 0.0% nice, 0.7% system, 1.5% interrupt, 97.8% idle Mem: 125M Active, 249M Inact, 98M Wired, 16M Cache, 60M Buf, 4392K Free Swap: 2048M Total, 36K Used, 2048M Free PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND 6266 guardian1 960 76116K 18004K select 0:05 12.54% dansguardian 696 guardian1 960 76112K 16960K select 0:01 0.81% dansguardian 8969 guardian1 960 76112K 6036K select 0:00 0.12% dansguardian 21017 squid 1 960 31228K 26684K select 41:52 0.00% squid After searching I can't seem to find out when it's appropriate (or not) to set this and if anything else should be set in conjunction with it. Other than the fact that this helped.. can anyone point me in a direction or tell me why it helped? collecting pv entries -- suggest increasing PMAP_SHPGPERPROC collecting pv entries -- suggest increasing PMAP_SHPGPERPROC this error is what somewhat lead me to this discovery. And in hoping to fix that it suggested recompling the kernel with those values changed.. NOTES tells me that that value is now 201, google has people with numbers all over the place.. and I still can't seem to figure out why they did it. egrep -v # /etc/sysctl.conf security.bsd.see_other_uids=0 net.inet.ip.forwarding=1 net.inet.ip.random_id=1 kern.randompid=1 kern.coredump=0 kern.ipc.shmmax=536870912 kern.ipc.shm_use_phys=1 This is a stock 6.1 GENERIC kernel The box is a router for internet traffic that passes several gigs of data from about 2500+ users. Its a small 866 w/ 512M of ram and as previously stated running DansGuardian (www/dansguardian) and squid (www/squid). I've asked a few times for information on the DG list, but I guess it's mainly a linux only crowd as I did not hear anything back from anyone. netstat -m 260/2155/2415 mbufs in use (current/cache/total) 258/1264/1522/17088 mbuf clusters in use (current/cache/total/max) 258/1210 mbuf+clusters out of packet secondary zone in use (current/cache) 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/0 9k jumbo clusters in use (current/cache/total/max) 0/0/0/0 16k jumbo clusters in use (current/cache/total/max) 581K/3066K/3647K bytes allocated to network (current/cache/total) 56061/494261/470674 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0/9/4528 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 12 requests for I/O initiated by sendfile 328 calls to protocol drain routines They want me to move it a larger box just for the sake of putting it on a larger box.. (2.2G Xeon w/ 2G ram) but I'd like to tune it better.. as opposed to just throw hardware at it and hope for the best. all data/packets passes over lo.. lo0 16384 127 127.0.0.1 57055828 - 33798613 - - and the box so far has been up for 7 days. Any information helping me understand this beast would be greatly appreciated. - Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
src upgrade from 4.11-p16 to 5.4 possible?
Hello all, I am running a set of 5 FreeBSD 4.11 p16 servers here at the library. For various reasons we are unable to 'get new drives' and install FreeBSD 5/6 and then migrate userland data to a new drive. I have been able to get my hands on a test box from someone to test src upgrading from 4.11 to something more current like 5.x and then updating from there. My standard running machines are Dual 933 Intel machines, 1G ram, scsi drives.. etc This test box is an AMD Mobile Sempron 2600+ w/ 512M ram, 80G ide drives. http://www.freebsd.org/releases/5.4R/migration-guide.html is the guide that I am following.. and I have done what I think are the right steps.. and I am getting a crash/failure in a most unusual place. Stop in /usr/src/usr.sbin/pcvt/vgaio. *** Error code 1 === usr.sbin/pcvt/ispcvt cc -O -pipe -c /usr/src/usr.sbin/pcvt/ispcvt/ispcvt.c cc -O -pipe-o ispcvt ispcvt.o gzip -cn /usr/src/usr.sbin/pcvt/ispcvt/ispcvt.8 ispcvt.8.gz === usr.sbin/pcvt/vgaio cc -O -pipe -I/usr/obj/usr/src/usr.sbin/pcvt/vgaio -I/usr/src/usr.sbin/pcvt/vgaio -c vgaio.c In file included from /usr/src/usr.sbin/pcvt/vgaio/vgaio.y:56: /usr/obj/usr/src/i386/usr/include/machine/cpufunc.h:60: error: syntax error before bsfl /usr/obj/usr/src/i386/usr/include/machine/cpufunc.h:60: error: syntax error before mask /usr/obj/usr/src/i386/usr/include/machine/cpufunc.h: In function `bsfl': ... etc The strange thing is this: CPU: Mobile AMD Sempron(tm) Processor 2600+ (799.92-MHz 686-class CPU) this is what dmesg tells me about this cpu.. again this is under 4.11 So I am wondering if these things are related, and if I try this on an Intel cpu will I still have this issue? As my cvsup to RELENG_5_4 and then make buildworld fails at this point. I have script'd the make buildworld which is a 9M text file, and it compresses down to a ~500k bz/gz file if anyone is interested in it. I have tried in single user mode as well again no difference. I have tried make -j4 buildworld (only gets there faster.. ) Thanks in advance any help is greatly appreciated. (I'm going to try 5.3 and then if that doesn't work then I'll try 5.2.1) - Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: src upgrade from 4.11-p16 to 5.4 possible?
So would going from 4.x to 5.2.1 be an easier and then from 5.2.1 to 5.4 and then to 6? Is there a binary OS upgrade that could be done? and then a manual mergemaster? This sempron box is not ours to keep.. :( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: src upgrade from 4.11-p16 to 5.4 possible? (some success)
Derek Ragona wrote: I recently did this exact operation. It went fine for me on my second try. The first one I determined didn't go well as I didn't have the system up to date first. So on my second attempt I made sure my 4.11 system was up to date, and did a complete buildworld, buildkernel, etc. Once I was sure it was completely up to date on 4.11, I: Saved my kernel config file to: /usr/oldkernels/ rm -rf /usr/src rm -rf /usr/ports I changed my cvsup tag and pulled new source. Then I meticulously followed the instructions in /etc/src/UPDATING. Read those instructions, be sure to update your /etc/make.conf file for the right CPU. I did need to create a new kernel configuration file starting with GENERIC and boot.hints from my old 4.11 kernel configuration file. All went well except one library didn't get put in place when I did the installworld. It was built but just not in place, so I saw an error when I booted the system, and moved it manually. The library that didn't get moved was: libc.so.4 I did add: COMPAT4X= yes to my make.conf file and options COMPAT_FREEBSD4 # Compatible with FreeBSD4 to my kernel config file, but still had to make sasl2 and sendmail for sasl2. Otherwise the ports I had seemed to mostly work. But you might want to do a: portupgrade -a -Derek [EMAIL PROTECTED] /usr/src]# echo $? 0 [EMAIL PROTECTED] /usr/src]# make -j6 buildworld The CPUTYPE is not defined in /etc/make.conf, trying to make a clean build.. and this is RELENG_5_2_1 so make buildworld on this box completes. I am going to try RELENG_5_3 and then if so then good ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: src upgrade from 4.11-p16 to 5.4 possible? (some success)
[EMAIL PROTECTED] /usr/src]# echo $? 0 [EMAIL PROTECTED] /usr/src]# make -j6 buildworld The CPUTYPE is not defined in /etc/make.conf, trying to make a clean build.. and this is RELENG_5_2_1 so make buildworld on this box completes. I am going to try RELENG_5_3 and then if so then good ;) RELENG_5_3 builds world as well.. so 5_4 is the stumbling block.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]