Re: Per-IP Bandwidth Monitoring
Am 09.06.2013 um 04:32 schrieb Kenta Suzumoto ken...@hush.com: Hello. I'm running a FreeBSD machine with 5 IP addresses, each of them attached to a specific jail. I'm wondering if there is an easy way to monitor the bandwidth usage of each of them individually. Upon googling, I ran into a lot of suggestions like bandwidthd. I gave it a try and it seemed very broken and basically didn't work at all. I'm basically looking for a vnstat that works per IP instead of per interface kind of thing. jnettop wasn't what I was looking for. It doesn't have to make pretty graphs(but that's nice too), just human-readable text is fine. Anyone have a recommendation? Some links I came across that were unhelpful: http://freebsd.1045724.n5.nabble.com/how-to-measure-bandwidth-per-jail-td5797422.html http://forum.pfsense.org/index.php?topic=32256.0 http://www.daemonforums.org/showthread.php?t=1199 I was using sysutils/ipa for this. It works with IPFW and also with PF, I think, I have just used it with ipfw, worked pretty fine. It also supports all sorts of reporting. Cheers, Philip ___ 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
pfctl and verbosely listing tables not giving full output on 9.x
On some of my older systems, I try and view some tables verbosely as the manual describes: We can now use the table show command to output, for each address and packet direction, the number of packets and bytes that are being passed or blocked by rules referencing the table. The time at which the current accounting started is also shown with the ``Cleared'' line. # pfctl -t test -vTshow 129.128.5.191 Cleared: Thu Feb 13 18:55:18 2003 In/Block:[ Packets: 0Bytes: 0] In/Pass: [ Packets: 10 Bytes: 840 ] Out/Block: [ Packets: 0Bytes: 0] Out/Pass:[ Packets: 10 Bytes: 840 ] and I get what I would expect when I issue the command: # uname -r 8.3-RELEASE-p3 # pfctl -t spam -vTshow No ALTQ support in kernel ALTQ related functions disabled 61.156.238.56 Cleared: Mon May 27 16:06:03 2013 In/Block:[ Packets: 23 Bytes: 1673 ] In/Pass: [ Packets: 0 Bytes: 0 ] Out/Block: [ Packets: 0 Bytes: 0 ] Out/Pass:[ Packets: 0 Bytes: 0 ] 101.44.1.135 Cleared: Tue May 28 11:14:23 2013 In/Block:[ Packets: 21 Bytes: 1520 ] In/Pass: [ Packets: 0 Bytes: 0 ] Out/Block: [ Packets: 0 Bytes: 0 ] Out/Pass:[ Packets: 0 Bytes: 0 ] All of my newer systems seem to not be showing me the data I expect: # uname -rm 9.1-RELEASE-p3 amd64 # pfctl -t spam -vTshow No ALTQ support in kernel ALTQ related functions disabled 46.21.161.37 Cleared: Tue May 14 10:37:11 2013 46.29.248.152 Cleared: Sat May 25 03:47:26 2013 46.165.236.153 Cleared: Tue May 14 06:12:05 2013 [...] # uname -rm 9.1-RELEASE i386 # pfctl -t spam -vTshow No ALTQ support in kernel ALTQ related functions disabled 1.235.138.249 Cleared: Sat Apr 27 19:55:15 2013 27.50.140.140 Cleared: Fri Apr 26 13:43:11 2013 31.3.245.178 Cleared: Tue Apr 30 19:30:29 2013 [...] # uname -rm 9.1-RELEASE amd64 # pfctl -t spam -vTshow No ALTQ support in kernel ALTQ related functions disabled 46.29.248.152 Cleared: Sat May 25 03:49:12 2013 50.73.11.52 Cleared: Wed May 22 01:57:10 2013 61.132.228.240 Cleared: Sun May 19 23:46:07 2013 Can anyone confirm similar behaviour on their systems, or has anyone even tried? I didn't see any active PRs about this. Thanks, Philip ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd 9.0-release + zfs + mysqld(percona) = kernel: swap zone exhausted, increase kern.maxswzone
On 3/30/12 5:48 PM, Philip M. Gollucci wrote: After reading several sparse articles/post, I've come to the conclusion that FreeBSD doesn't do well with SWAP 32GB; however it does allow it. As such I decided to drop the swap to 8GB*2=16GB. Sadly that didn't help either after dropping kern.maxswzone back 2*thedefault which is apparently very near or the max you can up it and get more actual SWAPMETA space b/c of the limiting based on the number of total system pages. I'm still quite perplexed here. Please also the recent thread on -stable where someone has the same problem with ZFS/NFS. subject: 9-STABLE, ZFS, NFS, ggatec - suspected memory leak That didn't help either. We will compare NAMEI next in addition to trying to tune the ZFS arch/meta. -- 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 Member, Apache Software Foundation Committer,FreeBSD Foundation Consultant, P6M7G8 Inc. Director Operations, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd 9.0-release + zfs + mysqld(percona) = kernel: swap zone exhausted, increase kern.maxswzone
On 03/28/12 03:09, Philip M. Gollucci wrote: It works out to roughly 7.7GB from 32MB okay fine. If I double it, that should give me 15.4GB from 64MB (still not enough). If I 16x it that should give me 246GB from 512MB. Thats more my physical ram + swap. Oh well. After reading several sparse articles/post, I've come to the conclusion that FreeBSD doesn't do well with SWAP 32GB; however it does allow it. As such I decided to drop the swap to 8GB*2=16GB. Sadly that didn't help either after dropping kern.maxswzone back 2*thedefault which is apparently very near or the max you can up it and get more actual SWAPMETA space b/c of the limiting based on the number of total system pages. I'm still quite perplexed here. Please also the recent thread on -stable where someone has the same problem with ZFS/NFS. subject: 9-STABLE, ZFS, NFS, ggatec - suspected memory leak -- 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 Member, Apache Software Foundation Committer,FreeBSD Foundation Consultant, P6M7G8 Inc. Director Operations, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. signature.asc Description: OpenPGP digital signature
Re: freebsd 9.0-release + zfs + mysqld(percona) = kernel: swap zone exhausted, increase kern.maxswzone
On 03/27/12 02:32, Philip M. Gollucci wrote: Some other tuning updates $ zfs set zfs:zfs_nocacheflush = 1 $ sysctl vfs.zfs.prefetch_disable=1 $ cat /etc/my.cnf skip-innodb-doublewrite innodb_flush_log_at_trx_commit=2 $ zfs set primarycache=metadata zmysqlD $ zfs set atime=off zmysqlD $ zfs set recordsize=16k zmysqlD but not on zmysqlL my next plan is to turn off tmpfs and use ZVOL swaps then to simply use just zroot/tmp as a normal dir. after that I'll drastically increase maxswzone. still hoping someone has already done this. None of that made a difference; however I haven't tried the ZVOL swaps yet b/c they're quite new and this after all production eventually. so I've been reading up on maxswzone. Its seems to me that nobody really understands it. Fortunately it isn't used very much, It works out to roughly 7.7GB from 32MB okay fine. If I double it, that should give me 15.4GB from 64MB (still not enough). If I 16x it that should give me 246GB from 512MB. Thats more my physical ram + swap. Oh well. I've seen John Baldwin write on lists o) you have another problem if the default isn't enough o) when it panics I pick up the crash dump swap info and do #blocks in use*totalswblocks/maxswzone o) setting it higher claims wired memory which can't be reused. tuning(7) is from the 4.x days and is useless here. something thats really confusing me is if the output from $ vmstat -z |grep solaris is relevant or the size of my swap itself or if by upping maxswzone I'm taking away too much from zfs in the long run. So tracing this below kern.maxswzone=536870912 # = 16*(32*1024*1024) vm.stats.vm.v_page_count: 24411488 n=12205744 ###n = cnt.v_page_count / 2; if (maxswzone n maxswzone / sizeof(struct swblock)) n = maxswzone / sizeof(struct swblock); struct swblock { struct swblock *swb_hnext; vm_object_t swb_object; vm_pindex_t swb_index; int swb_count; daddr_t swb_pages[SWAP_META_PAGES]; }; if this is 43.98 bytes then the conditional is true; however its not b/c the printf() message isn't written out below. if (n2 != n) printf(Swap zone entries reduced from %d to %d.\n, which means the initial allocation succeeds with n=12205744 and not maxswzone. ITEM SIZE LIMIT USED FREE REQ FAIL SLEEP SWAPMETA: 288, 1864135, 0, 0, 0, 0, 0 So more than a little perplex by these size/limits and that none of its used on a system thats running out of it. subr_param.c: --- longmaxswzone; /* max swmeta KVA storage */ SYSCTL_LONG(_kern, OID_AUTO, maxswzone, CTLFLAG_RDTUN, maxswzone, 0, Maximum memory for swap metadata); #ifdef VM_SWZONE_SIZE_MAX maxswzone = VM_SWZONE_SIZE_MAX; #endif TUNABLE_LONG_FETCH(kern.maxswzone, maxswzone); param.h: /* * Ceiling on amount of swblock kva space, can be changed via * the kern.maxswzone /boot/loader.conf variable. */ #ifndef VM_SWZONE_SIZE_MAX #define VM_SWZONE_SIZE_MAX (32 * 1024 * 1024) #endif swap_pager.c: -- void swap_pager_swap_init(void) { int n, n2; //comments skipped nsw_cluster_max = min((MAXPHYS/PAGE_SIZE), MAX_PAGEOUT_CLUSTER); mtx_lock(pbuf_mtx); nsw_rcount = (nswbuf + 1) / 2; nsw_wcount_sync = (nswbuf + 3) / 4; nsw_wcount_async = 4; nsw_wcount_async_max = nsw_wcount_async; mtx_unlock(pbuf_mtx); /* * Initialize our zone. Right now I'm just guessing on the number * we need based on the number of pages in the system. Each swblock * can hold 16 pages, so this is probably overkill. This reservation * is typically limited to around 32MB by default. */ n = cnt.v_page_count / 2; if (maxswzone n maxswzone / sizeof(struct swblock)) n = maxswzone / sizeof(struct swblock); n2 = n; swap_zone = uma_zcreate(SWAPMETA, sizeof(struct swblock), NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_NOFREE | UMA_ZONE_VM); if (swap_zone == NULL) panic(failed to create swap_zone.); do { if (uma_zone_set_obj(swap_zone, swap_zone_obj, n)) break; /* * if the allocation failed, try a zone two thirds the * size of the previous attempt. */ n -= ((n + 2) / 3); } while (n 0); if (n2 != n) printf(Swap zone entries reduced from %d to %d.\n, n2, n); n2 = n; /* * Initialize our meta-data hash table. The swapper does not need to * be quite as efficient as the VM system, so we do not use an * oversized hash table. * * n: size of hash table, must be power of 2
freebsd 9.0-release + zfs + mysqld(percona) = kernel: swap zone exhausted, increase kern.maxswzone
/var/log/messages Mar 23 22:21:50 sabertooth kernel: swap zone exhausted, increase kern.maxswzone Mar 23 22:21:50 sabertooth kernel: pid 86697 (mysqld), uid 88, was killed: out of swap space how to repeat: $ mysql -ux file.sql (~150GB) worth basically, it slows down continually until it dies. IF you (suspend) the process in time it recovers some, but eventually you have to suspend it every 1s for ~3 minutes. The load is ~10 at this point. I've looked at top, ps, iostat, zpool iostat, vmstat -z, vmstat -m and I don't see anything wonky. I can provide more info on request. system description: $ df zmysqlD801G658G142G82%/var/db/mysql/data zmysqlL133G 26G107G20%/var/db/mysql/log its a 600GB innodb space, mysql has innodb_buffer_pool_size = 80GB about 1GB of data is MyISAM the rest is InnoDB The machine has 96GB of RAM $ cat /etc/fstab /dev/gpt/swap0 noneswapsw 0 0 /dev/gpt/swap1 noneswapsw 0 0 tmpfs /tmptmpfs rw 2 0 swapinfo -h will show %6 and %6 usage on the swap devices /tmp remains 5% used $ grep maxswzone /boot/loader.conf kern.maxswzone=67108864 ## double the default $ gpart show = 34 286749421 da3 GPT (136G) 341281 freebsd-boot (64k) 162 2013265922 freebsd-swap (96G) 201326754 854227013 freebsd-zfs (40G) = 34 286749421 da4 GPT (136G) 341281 freebsd-boot (64k) 162 2013265922 freebsd-swap (96G) 201326754 854227013 freebsd-zfs (40G) da[012] are SSDs, the rest are 15krpm $ zpool status pool: zmysqlD state: ONLINE scan: none requested config: NAMESTATE READ WRITE CKSUM zmysqlD ONLINE 0 0 0 raidz2-0 ONLINE 0 0 0 da7 ONLINE 0 0 0 da8 ONLINE 0 0 0 da9 ONLINE 0 0 0 da10ONLINE 0 0 0 da11ONLINE 0 0 0 da12ONLINE 0 0 0 da13ONLINE 0 0 0 da14ONLINE 0 0 0 logs da0 ONLINE 0 0 0 cache da2 ONLINE 0 0 0 errors: No known data errors pool: zmysqlL state: ONLINE scan: none requested config: NAMESTATE READ WRITE CKSUM zmysqlL ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 da5 ONLINE 0 0 0 da6 ONLINE 0 0 0 cache da1 ONLINE 0 0 0 errors: No known data errors pool: zroot state: ONLINE scan: none requested config: NAMESTATE READ WRITE CKSUM zroot ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 da3p3 ONLINE 0 0 0 da4p3 ONLINE 0 0 0 -- 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 Member, Apache Software Foundation Committer,FreeBSD Foundation Consultant, P6M7G8 Inc. Director Operations, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. signature.asc Description: OpenPGP digital signature
Re: freebsd 9.0-release + zfs + mysqld(percona) = kernel: swap zone exhausted, increase kern.maxswzone
Some other tuning updates $ zfs set zfs:zfs_nocacheflush = 1 $ sysctl vfs.zfs.prefetch_disable=1 $ cat /etc/my.cnf skip-innodb-doublewrite innodb_flush_log_at_trx_commit=2 $ zfs set primarycache=metadata zmysqlD $ zfs set atime=off zmysqlD $ zfs set recordsize=16k zmysqlD but not on zmysqlL my next plan is to turn off tmpfs and use ZVOL swaps then to simply use just zroot/tmp as a normal dir. after that I'll drastically increase maxswzone. still hoping someone has already done this. On 03/26/12 14:50, Philip M. Gollucci wrote: /var/log/messages Mar 23 22:21:50 sabertooth kernel: swap zone exhausted, increase kern.maxswzone Mar 23 22:21:50 sabertooth kernel: pid 86697 (mysqld), uid 88, was killed: out of swap space how to repeat: $ mysql -ux file.sql (~150GB) worth basically, it slows down continually until it dies. IF you (suspend) the process in time it recovers some, but eventually you have to suspend it every 1s for ~3 minutes. The load is ~10 at this point. I've looked at top, ps, iostat, zpool iostat, vmstat -z, vmstat -m and I don't see anything wonky. I can provide more info on request. system description: $ df zmysqlD801G658G142G82%/var/db/mysql/data zmysqlL133G 26G107G20%/var/db/mysql/log its a 600GB innodb space, mysql has innodb_buffer_pool_size = 80GB about 1GB of data is MyISAM the rest is InnoDB The machine has 96GB of RAM $ cat /etc/fstab /dev/gpt/swap0 noneswapsw 0 0 /dev/gpt/swap1 noneswapsw 0 0 tmpfs /tmptmpfs rw 2 0 swapinfo -h will show %6 and %6 usage on the swap devices /tmp remains 5% used $ grep maxswzone /boot/loader.conf kern.maxswzone=67108864 ## double the default $ gpart show = 34 286749421 da3 GPT (136G) 341281 freebsd-boot (64k) 162 2013265922 freebsd-swap (96G) 201326754 854227013 freebsd-zfs (40G) = 34 286749421 da4 GPT (136G) 341281 freebsd-boot (64k) 162 2013265922 freebsd-swap (96G) 201326754 854227013 freebsd-zfs (40G) da[012] are SSDs, the rest are 15krpm $ zpool status pool: zmysqlD state: ONLINE scan: none requested config: NAMESTATE READ WRITE CKSUM zmysqlD ONLINE 0 0 0 raidz2-0 ONLINE 0 0 0 da7 ONLINE 0 0 0 da8 ONLINE 0 0 0 da9 ONLINE 0 0 0 da10ONLINE 0 0 0 da11ONLINE 0 0 0 da12ONLINE 0 0 0 da13ONLINE 0 0 0 da14ONLINE 0 0 0 logs da0 ONLINE 0 0 0 cache da2 ONLINE 0 0 0 errors: No known data errors pool: zmysqlL state: ONLINE scan: none requested config: NAMESTATE READ WRITE CKSUM zmysqlL ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 da5 ONLINE 0 0 0 da6 ONLINE 0 0 0 cache da1 ONLINE 0 0 0 errors: No known data errors pool: zroot state: ONLINE scan: none requested config: NAMESTATE READ WRITE CKSUM zroot ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 da3p3 ONLINE 0 0 0 da4p3 ONLINE 0 0 0 -- 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 Member, Apache Software Foundation Committer,FreeBSD Foundation Consultant, P6M7G8 Inc. Director Operations, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. signature.asc Description: OpenPGP digital signature
Replacing failed disk in raidz2 zfs (and gpt)
142081981 mfid1 GPT (68G) 34128 1 freebsd-boot (64K) 162 50331648 2 freebsd-swap (24G) 50331810 90177536 3 freebsd-zfs (43G) 1405093461572669 - free - (768M) = 34 142081981 mfid2 GPT (68G) 34128 1 freebsd-boot (64K) 162 50331648 2 freebsd-swap (24G) 50331810 90177536 3 freebsd-zfs (43G) 1405093461572669 - free - (768M) = 34 142081981 mfid3 GPT (68G) 34128 1 freebsd-boot (64K) 162 50331648 2 freebsd-swap (24G) 50331810 90177536 3 freebsd-zfs (43G) 1405093461572669 - free - (768M) = 34 142081981 mfid4 GPT (68G) 34128 1 freebsd-boot (64K) 162 50331648 2 freebsd-swap (24G) 50331810 90177536 3 freebsd-zfs (43G) 1405093461572669 - free - (768M) = 34 142081981 mfid5 GPT (68G) 34128 1 freebsd-boot (64K) 162 50331648 2 freebsd-swap (24G) 50331810 90177536 3 freebsd-zfs (43G) 1405093461572669 - free - (768M) = 34 142081981 mfid6 GPT (68G) 34128 1 freebsd-boot (64K) 162 50331648 2 freebsd-swap (24G) 50331810 90177536 3 freebsd-zfs (43G) 1405093461572669 - free - (768M) = 34 142081981 mfid7 GPT (68G) 34128 1 freebsd-boot (64K) 162 50331648 2 freebsd-swap (24G) 50331810 90177536 3 freebsd-zfs (43G) 1405093461572669 - free - (768M) $ pciconf -lv |grep mfi0@pci0:2:14:0: class=0x010400 card=0x1f031028 chip=0x00151028 rev=0x00 hdr=0x00 vendor = 'Dell Computer Corporation' device = 'Integrated RAID controller (PERC 5/i RAID Controller)' console/dmesg during hot swap: mfi0: sense error 0, sense_key 0, asc 0, ascq 0 mfid3: hard error cmd=read fsbn 50331810 mfi0: 17960 (349585200s/0x0020/info) - Patrol Read started mfi0: 18038 (349586341s/0x0020/info) - Patrol Read complete mfi0: 18039 (349891840s/0x0002/WARN) - Removed: PD 03(e1/s3) mfi0: 18040 (349891840s/0x0002/info) - Removed: PD 03(e1/s3) Info: enclPd=08, scsiType=0, portMap=08, sasAddr=5000c50001439195, mfi0: 18041 (349891840s/0x0002/info) - State change on PD 03(e1/s3) from UNCONFIGURED_BAD(1) to FAILED(11) mfi0: 18042 (349891840s/0x0002/info) - State change on PD 03(e1/s3) from FAILED(11) to UNCONFIGURED_BAD(1) mfi0: 18043 (349891857s/0x0002/info) - Inserted: PD 03(e1/s3) mfi0: 18044 (349891857s/0x0002/info) - Inserted: PD 03(e1/s3) Info: enclPd=08, scsiType=0, portMap=08, sasAddr=5000c5001ce0e065, mfi0: 18045 (349891857s/0x0002/info) - State change on PD 03(e1/s3) from UNCONFIGURED_BAD(1) to UNCONFIGURED_GOOD(0) -- 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 VP Apache Infrastructure; Member, Apache Software Foundation Committer,FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. System Admin, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. signature.asc Description: OpenPGP digital signature
Re: apache22 build problem: cgi disabled
On 7/28/2010 5:11 PM, Kevin Kinsey wrote: There's a --disable-cgi in there, but no cgi listed after --enable-mods. The Mk/bsd.apache.mk disables every at the start of ./configure args. You should see ... --dsiable-cgi ... --enable-cgi or --enable-mods=...cgi... It looks fine to me -- Its in the enable-mods-shared=..cgi.. $ make -V CONFIGURE_ARGS -DWITH_CGI --prefix=/usr/local --enable-layout=FreeBSD --with-perl=/usr/local/bin/perl5.10.1 --with-port=80 --with-expat=/usr/local --with-iconv=/usr/local --enable-http --with-pcre=/usr/local --with-apr=/usr/local/bin/apr-1-config --with-apr-util=/usr/local/bin/apu-1-config --disable-authn-file --disable-authn-default --disable-authz-host --disable-authz-groupfile --disable-authz-user --disable-authz-default --disable-auth-basic --disable-charset-lite --disable-include --disable-log-config --disable-env --disable-setenvif --disable-mime --disable-status --disable-autoindex --disable-asis --disable-cgid --disable-cgi --disable-negotiation --disable-dir --disable-imagemap --disable-actions --disable-userdir --disable-alias --disable-filter --disable-proxy --disable-proxy-connect --disable-proxy-ftp --disable-proxy-http --disable-proxy-ajp --disable-proxy-balancer --disable-proxy-scgi --disable-reqtimeout --enable-so --enable-mods-shared=auth_basic auth_digest authn_file authn_dbm authn_anon authn_default authn_alias authz_host authz_groupfile authz_user authz_dbm authz_owner authz_default cache disk_cache file_cache dav dav_fs actions alias asis autoindex cern_meta cgi charset_lite deflate dir dumpio env expires headers imagemap include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias filter version reqtimeout ssl --with-dbm=sdbm --with-ssl=/usr/local --enable-v4-mapped --with-devrandom --with-mpm=prefork --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 VP Apache Infrastructure; Member, Apache Software Foundation Committer,FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. System Admin, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. signature.asc Description: OpenPGP digital signature
So, did I mis-file this PR? [bin/141175: New cpio(1) in FreeBSD 8 regressed and left out a previous option: -V (dots) [regression]]
When FreeBSD-8 came out, it came with a newly rewritten cpio(1) that no longer offered an option I originally started using with SunOS/Solaris, but came to expect on FreeBSD and Linux as well. Since it was pretty trivial to add it back, I did so and offered the patch in PR bin/141175: http://www.freebsd.org/cgi/query-pr.cgi?pr=141175 The option is -V to print a dot per file copied rather than the much more verbose -v and the dots variant that can be useful for some feedback when copying a large hierarchy. My PR was filed on 2008/Dec/4, over a month ago, yet there has not even been a single response to it. Did I mis-file it? Thanks, Philip ___ 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: ZFSROOT / Custom Kernels [or upgrades]
Robert Noland wrote: It sounds like when you install the new kernel, the block numbers are overflowing. (which should be addressed by the fix in 8.0) No idea what the issue is/was. I've now seen the following which is what I expected -- base/head: tb.p6m7g8.net, works base/stable/8: tb.apache.org, works [= r200287] anything after the MFC should be the same base/releng/8.0: desktop at $work, works UNTIL I try to reinstall any kernel GENERIC or custom. At any rate, I'm content to run stable/8 after that MFC and wait for 8.1-release. -- 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 VP Apache Infrastructure; Member, Apache Software Foundation Committer,FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. System Admin, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ 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
ZFSROOT / Custom Kernels [or upgrades]
Hi All, 1) I followed this wiki link to setup our server [sigyn.apache.org] (Dell r710 with 4 disks mfid[0123] as raidz2) http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/RAIDZ2 Rebooted all was well. 2) off on another 'build' box [loki.apache.org], I had compiled release/8.0.0 userland+kernel [with LOADER_ZFS_SUPPORT=yes]. Whats the ETA for MFC from trunk-stable/8 for http://svn.freebsd.org/viewvc/base?view=revisionrevision=199714 ** FWIW, loki is working nicely on 8.0-RELEASE geom+zfs. 3) I nfs mounted /usr/src, and /usr/obj on sigyn from loki. $ cd /usr/src $ sudo make installkernel KERNCONF=SIGYN It fails to mount from zfs:zroot upon reboot. Via great hoops and magic I got back into the fixit on remote console. I didn't see a loader.old or a zfsboot. So I repeated the steps in wiki to install zfsboot. Rebooted, same diff. Jumped backed to fixit and reverted the kernel to a stock GENERIC that worked the 1st time. Same error again. cd /boot $ mv kernel kernel.cust $ mv kernel.old kernel So assuming you are lucky enough to get a zfsroot system. Is there an actual upgrade path ? Am I missing something stupid ? Any help greatly appreciated. I have a few days to play with this machine before we forgoe zfsroot and drop back to geom gmirror. I'm at a datacenter for $work on Monday/Tuesday so I'll be spare over tonight. -- 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 VP Apache Infrastructure; Member, Apache Software Foundation Committer,FreeBSD Foundation Sr. System Admin, Ridecharge Inc. Consultant, P6M7G8 Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ 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
dump_snapshot file
Hi, I had a file /usr/.snap/dump_snapshot being about 15GB in size, which I removed because the partition was filling up. The file's date was always rather current, so I'm wondering, what it was for? I did do a level 0 dump with -0 and -Lau parameters a few weeks ago and always do dumps on other boxes, but never saw a file in the .snap directory growing. For the other partitions, there are no such files, that's why I'm wondering. Maybe someone can shed some light on this for me. Thanks! Philip ___ 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
gmirror / crash dumps
Hi, Say I've got the following: /dev/mirror/gm0s1bnoneswapsw /dev/mirror/gm0s1a989M390M520M43%/ /dev/mirror/gm0s1g 15G1.7G 12G13%/usr /dev/mirror/gm0s1h544G1.8M501G 0%/usr/home /dev/mirror/gm0s1d1.9G500M1.3G27%/usr/src /dev/mirror/gm0s1e1.9G1.1G733M60%/usr/obj /dev/mirror/gm0s1f 97G2.0K 89G 0%/var Well I'm trying to get my kernel panics to cause dumps 1) /etc/rc.conf dumpdev=AUTO crashinfo_enable=YES 2) sudo chmod 700 /var/crash 3) 8GB RAM, 16GB of swap, /var/crash is 16GB 97GB 4) I have the following in my 7-stable kernel makeoptions DEBUG=-g options AUDIT options KTRACE options KDB options KDB_TRACE options DDB options GDB options BREAK_TO_DEBUGGER options INVARIANTS options INVARIANT_SUPPORT options WITNESS options DEBUG_LOCKS options DEBUG_VFS_LOCKS options LOCK_PROFILING options DIAGNOSTIC The long and the short of it is I don't get any dumps. I read somewhere that you can't dump onto a gmirror device. So I've moved /var off of /dev/mirror/gm0s1f 97G2.0K 89G 0%/var and I can now do what I want with this. How do I go about re-jiggering this (2-disk gmirror) so I can use 1 slice from one of them as my dumpon(8) device? TIA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD-7.1-RELEASE and libkrb5
I had the same issue you describe portupgrading to evolution-exchange-2.26.2. I moved /usr/lib/libkrb5.so.9 to /usr/lib/libkrb5.so.9_old and created a symbolic link. mv /usr/lib/libkrb5.so.9 /usr/lib/libkrb5.so.9_old ln -s /usr/local/lib/libkrb5.so.23 /usr/lib/libkrb5.so.9 it seems to have done the trick and evolution-exchange works fine for me now :-) Philip ___ 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: PAM-SSH-LDAP problem
You had said: O/H Panos έγραψε: the strange thing is that the ldapsearch command gives me this: ldapsearch -x -b 'ou=users,dc=something,dc=something,dc=something' '((objectClass=*)(uid=ldap_test))' # extended LDIF # # LDAPv3 # base ou=users,dc=something,dc=something,dc=something with scope subtree # filter: ((objectClass=*)(uid=ldap_test)) # requesting: ALL dn: cn=ldap_test,dc=something,dc=something,dc=something cn: ldap_test [...] gecos: ldap_test homeDirectory: /home/ldap/ldap_test loginShell: /bin/sh [...] uidNumber: 1003 uid: ldap_test gidNumber: 1000 userPassword:: XX And then later: O/H Panos έγραψε: I think I found what is the problem but I don't kow how to fix it. from the error messages err=49 means that the password is wrong. I'm sure that I type it correctly. So I captured traffic using whireshark when the manager tires toy bind everything is normal and the bind is succeful. In the field authentication simple of the packet the password was the correct but when ldap_test tries to bind the password that it send to ldap server is INCORECT ( 08 0a 0d 7f 49 4e 43 4f 52 52 45 43 54 the hex field), so ldap server returns invalid credentials. I think that this is the problem but I don't have a clue how to solve it. I can't understand why it sends an incorect password, and most important which of ssh, pam, pam_ldap has the problem. Any ideas? On 2009, Apr 23, at 09:54, Panos wrote: Anyone? With the later message where you say you found a message that the bind attempt resulted in the password reported as INCORRECT, I do not see you describe how you initiated the BIND attempt, only that you captured it with wireshark. When you login as cn=manager,[...] that you say works, is that via ssh, or your admin tool you mentioned in a previous message, or more directly using something like ldapsearch(1)? I highly recommend you test things from the ground-up to try and find at which level the failure is occurring: network (already covered, you know you can talk to the LDAP server from the client you are testing) LDAP: Try performing the LDAP searches manually using ldapsearch(1), more on that below Account: getent passwd ldap_test SSH: If those work, try more logging in the PAM or SSH layers For doing the direct LDAP test, you've already checked that the entry is in your database: ldapsearch -x -b 'ou=users,dc=something,dc=something,dc=something' '((objectClass=*)(uid=ldap_test))' next, make sure you can actually bind as that user: % ldapsearch -x -b 'ou=users,dc=something,dc=something,dc=something' - D 'cn=ldap_test,dc=something,dc=something,dc=something' -W '((objectClass=*)(uid=ldap_test))' Enter LDAP Password: x [...] If that fails, bump up the logging on either the client and/or server side of the LDAP server and see what clues you get from those logs. If it works, move on to the next layer and see if it can properly access the information you could get manually. -philip ___ 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
6.2 STABLE to 6.2 RELEASE problem
Hello, I was wondering if anyone might have some insight into this problem I'm having. I've downgraded a 6.2 STABLE system to 6.2 RELEASE for the purpose of being able to upgrade it via freebsd-update. I followed the steps as detailed here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html To summarize, the currently recommended way of upgrading FreeBSD from sources is: # cd /usr/src # make buildworld # make buildkernel # make installkernel # shutdown -r now Note: There are a few rare cases when an extra run of mergemaster -p is needed before the buildworld step. These are described in UPDATING. In general, though, you can safely omit this step if you are not updating across one or more major FreeBSD versions. After installkernel finishes successfully, you should boot in single user mode (i.e. using boot -s from the loader prompt). Then run: # adjkerntz -i # mount -a -t ufs # mergemaster -p # cd /usr/src # make installworld # mergemaster # reboot Now, after I reboot, I get an error when it tries mounting /usr: NO WRITE ACCESS INCONSISTENCIES FOUND, run fsck MANUALLY! So, I did that and it found some free block inconsistencies and fixed those but it is still bailing when it tries mounting /usr on the reboot. I can boot to single user mode and run fsck -p and that is fine. I can mount the partition manually and browse through the files fine. One other weird thing is that it seems to mount /dev/md0 on /var as well which doesn't look right. Nothing in /etc/fstab about it. Maybe some other file that got mixed up during mergemaster? I said fix later for all files mergemaster came back with. Does anyone have any suggestions? Thanks in advance! Phil. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problem report not showing up?
On Sep 20, 2008, at 10:46 AM, Mel wrote: On Saturday 20 September 2008 14:49:40 Lowell Gilbert wrote: Philip Semanchuk [EMAIL PROTECTED] writes: Hi all, I submitted a problem report using send-pr a few days ago. send-pr completed without any errors, but I haven't seen any evidence of my problem report in the FreeBSD bug list (http://www.freebsd.org/cgi/query-pr-summary.cgi ) or on the bugs mailing list. Can I assume it's in a review queue to determine whether or not it's legit, or should I assume it is lost and resubmit it? If you're sure it hasn't shown up (search on subject as well as sender), then resubmit. Better yet, check your /var/log/maillog first. Once submitted you will get an autoreply, with the ID it's been assigned to. Send-pr's that don't show up, usually reside in /usr/bin/mailq. Good call -- there it is. I guess send-pr assumes I have a machine from which I can send email. I'll resubmit using the Web form. Thanks Philip ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem report not showing up?
Hi all, I submitted a problem report using send-pr a few days ago. send-pr completed without any errors, but I haven't seen any evidence of my problem report in the FreeBSD bug list (http://www.freebsd.org/cgi/query-pr-summary.cgi ) or on the bugs mailing list. Can I assume it's in a review queue to determine whether or not it's legit, or should I assume it is lost and resubmit it? Thanks Philip ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spamassassin very slow
James Tanis wrote: lyd mc [EMAIL PROTECTED] wrote: What causes spamassassin to slow? Here is my config: snippet from sendmail.mc .. cut .. I have .procmailrc in every home directory of my mail users and it goes like this: The following setup by the front line mx's (2 of them) for apache.org can handle ~1million messages/day for a total of 2million without breaking a sweat. No .procailrc involved. /etc/rc.conf: postfix_enable=YES sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO rbldnsd_enable=YES rbldnsd_flags=MASKED OUT svscan_enable=YES clamav_clamd_enable=YES clamav_freshclam_enable=YES spamd_enable=YES spamd_pidfile=/var/run/spamd/spamd.pid spamd_flags=--min-children=4 --max-children=40 --min-spare=2 --max-spare=8 --max-conn-per-child=100 -c -d --socketpath=/var/run/spamd/socket --socketmode=0777 -r ${spamd_pidfile} Thats FreeBSD 6.x (soon to be 7.x when I update it) httpd 2.2.9+worker mpm with qpsmtp using mod_perl in my consulting buss, for sendmail I use the following sendmail.mc snippet: INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock, F=, T=S:4m;R:4m') INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m') define(`confMILTER_MACROS_ENVRCPT',`r, v, Z') define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name}, {if_name}, {if_addr}') That said, all individual users do you ~/.procmailrc, with the following rule: :0 * ^X-Spam-Status: Yes spam -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dell's PERC6i
Patrick C wrote: The 6i will work on FreeBSD, however realize that a much better choice for a production machine is a card which really supports FreeBSD... just due to the availability and reliability of the tools required for maintaining the system while running. Have you considered SuperMicro machines with 3ware (AMCC) cards? I'm not affiliated either, but it seems to be a great combo. AMCC still supports FreeBSD pretty well, and the cards perform well. I'm using the Perc 6I in production on 2950s with RAID1+0 with SAS drives. Also, the Apache Software Foundation (ASF) is using the same card with ZFS of FreeBSD with SATA drives for svn.apache.org. I won't comment on what card is better or worse, or faster, b/c I don't know. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mounts: nullfs and unionfs
Hi Guys, $ cd /usr/src $ export D=/jails/src $ export H=/jails/tld/domain/host $ export B=/jails/base $ sudo mkdir -p $D $H B $ sudo make installworld DESTDIR=$D $ sudo make distribution DESTDIR=$D $ sudo rsync -vrlHpEogXtD $D $B $ cd $B $ ln -s usr/home $ cd $B/usr/home $ mkdir pgollucci [/etc/fstab] /dev/ar0s1h /usr/home ufs rw 2 2 /usr/home/pgollucci $H/usr/home/pgollucci nullfs ro 0 0 $B $H unionfs rw,below 0 0 [--end--] So the unionfs [1] mounts work fine; however, I can't see the nullfs mount in the upper layer. I tried doing a layered unionfs mount, and that didn't work either. I'm guessing this is a known issue. Are there plans to solve it ? The only work around I can think of (which does work) is to nullfs mount in the upper layer instead of the lower one. The only problem is that multiples my mounts substantially. For example it would be nice to mount /root/bin, /usr/src, /usr/ports, /usr/home/X (or just /usr/home), devfs in each $H. For the record, I know about ezjail, other tools, and other docs on sharing read only areas with a base (/s). I'm interested in solving it this particular way, if only to learn more. [1] http://www.freebsd.org/news/status/report-2008-01-2008-03.html#UnionFS-Improvements my 8.0-current is new enough to have all these patches in it. FWIW: the unionfs seems very stable atm the moment. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounts: nullfs and unionfs
Philip M. Gollucci wrote: FWIW: the unionfs seems very stable atm the moment. $ df -h Filesystem SizeUsed Avail Capacity Mounted /dev/ar0s1h 24G 12G 11G52%/usr/home below:/usr/home/jails/base 49G 36G 11G77% /usr/home/jails/net/p6m7g8/builder/zeus Shouldn't the size for the unionfs fs be the same ? I don't see how it can be bigger than the HD. In this particular case, its a RAID-1 (hardware based) of 2x20GB disks. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Perl 5.8.8 Compile
Lowell Gilbert wrote make: don't know how to make command-line. Stop. Look in /usr/ports/lang/perl5.8/files/patch-makedepend Really, we should submit this and a few others back to 5.8.9 Its really annoying in a when working in a mod_perl related world to not have perl compile out of the box. Changing the install paths is one thing ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Comments on DRAC IV, V, VI w/ FreeBSD 6.3, 7.0
Hi All, Does anybody have any comments, suggestion, feedback, compatability notes, etc with DRAC and FreeBSD? -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
security/openssh-portable
Hi, I'm setting up a 'chrooted' SFTP only set of users: /etc/make.conf: .if ${.CURDIR:M*/usr/ports/security/openssh-portable*} WITH_SUID_SSH =yes WITH_OPENSSH_CHROOT =yes WITH_HPN =yes WITH_OVERWRITE_BASE =yes .endif /etc/rc.conf: sshd_enable=NO openssh_enable=YES /etc/passwd: user:*:3000:3000::0:0:F L:/foo/./user:/bin/sh Access will be with ssh dsa keys only. What is the best way to make this SFTP only and not SSH? 1).ssh/authorization? 2) change user's shell to /usr/local/libexec/sftp-server 3) change user's shell to a custom C wrapper around [2] 4) a combination of them -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: security/openssh-portable
user:*:3000:3000::0:0:F L:/foo/./user:/bin/sh The usual thing is make the shell /bin/nologin Hi Jerry, Thanks -- but Changed to /usr/sbin/nologin So thats not in the 'chroot' aka /foo/user/usr/sbin/nologin $ sftp -v -v -v [EMAIL PROTECTED] OpenSSH_4.5p1 FreeBSD-20061110, OpenSSL 0.9.8e 23 Feb 2007 debug1: Remote protocol version 1.99, remote software version OpenSSH_4.7p1-hpn12v20 FreeBSD-openssh-portable-overwrite-base-4.7.p1_1,1 debug1: match: OpenSSH_4.7p1-hpn12v20 FreeBSD-openssh-portable-overwrite-base-4.7.p1_1,1 pat OpenSSH* debug2: channel 0: open confirm rwindow 0 rmax 32768 Request for subsystem 'sftp' failed on channel 0 -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Freebsd7, mail/mailman, www/apache22, and sendmail [take 2]
Matthew Seaman wrote: OOOh, I got the correct person to respond :) You need MAILER_DEFINITIONS right about here in your .mc file. I snipped them out -- full file is available here: http://people.apache.org/~pgollucci/sendmail.mc You may also need some custom rulesets so that sendmail knows when to hand off messages to the mailman mailer, either under LOCAL_RULESETS or one of the other special LOCAL_* macros -- see /usr/share/sendmail/cf/README particularly the section headed 'ADDING NEW MAILERS OR RULESETS'. I thought the mailertable table took care of this which I listed the previous mail. I have no user accounts on lists.domain.tld; however, I do have user email accounts on domain.tld and otherdomains.tld Thanks for the help. -- Philip M. Gollucci ([EMAIL PROTECTED]) c:703.336.9354 Consultant / http://p6m7g8.net/Resume/resume.txt http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
atacontrol mode D PIO4 persist across reboots
/var/run/dmesg.boot ad2: 28667MB SAMSUNG SV3002H PV100-11 at ata1-master UDMA33 ad2: FAILURE - READ_DMA timed out LBA=58711965 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=0 ad2: FAILURE - READ_DMA timed out LBA=58711951 ad2: TIMEOUT - READ_DMA retrying (0 retries left) LBA=0 ad2: FAILURE - READ_DMA timed out LBA=58711964 ad2: FAILURE - READ_DMA timed out LBA=0 10-30 minutes later, it finally gets through the boot. /etc/fstab: /dev/ad2s1 /X ufs rw 2 2 the problem here is the device needs to be PIO4 $ atacontrol mode ad2 PIO4 current mode = PIO4 My problem is how do I get this to persist across reboot ? -- Philip M. Gollucci ([EMAIL PROTECTED]) c:703.336.9354 Consultant / http://p6m7g8.net/Resume/resume.txt http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: atacontrol mode D PIO4 persist across reboots
Manolis Kiagias wrote: Have a look at man 4 ata Your answer is probably: hw.ata.ata_dma=0 This sets it for all controllers I only want to set it for ata1 which contains ad2. Thanks for the tip though. ata0: ATA channel 0 on atapci0 ata0: [ITHREAD] ata1: ATA channel 1 on atapci0 ata1: [ITHREAD] ad0: 19092MB WDC WD200BB-60CJA0 16.06V16 at ata0-master UDMA33 ad1: 38166MB WDC WD400BB-53CLB0 95.04E95 at ata0-slave UDMA33 ad2: 28667MB SAMSUNG SV3002H PV100-11 at ata1-master UDMA33 -- Philip M. Gollucci ([EMAIL PROTECTED]) c:703.336.9354 Consultant / http://p6m7g8.net/Resume/resume.txt http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Freebsd7, mail/mailman, www/apache22, and sendmail [take 2]
No comments, suggestions ? Philip M. Gollucci wrote: Issue: The www/apache22 integration seems to be fine; however, the sendmail integration isn't quite right. client computer: $ echo `uname -a` | mail -s `date` [EMAIL PROTECTED] Mail Server: /var/log/maillog m25JwCEk065018: m25JwCEl065018: DSN: unknown mailer error 255 m25JwCEl065018: to=[EMAIL PROTECTED], delay=00:00:00 \ xdelay=00:00:00, mailer=mailman, pri=32149, \ relay=lists.p6m7g8.net, dsn=5.3.0, stat=unknown mailer error 255 m25JwCEm065018: return to sender: unknown mailer error 255 The setup: - /etc/make.conf [snipped] # SASL (cyrus-sasl v2) sendmail build flags... SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2 SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 # Adding to enable alternate port (smtps) for sendmail... SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL .if ${.CURDIR:M*/usr/ports/mail/mailman*} WITH_SENDMAIL= yes WITH_HTDIG= yes .endif .if ${.CURDIR:M*/usr/ports/www/apache22*} WITH_SSL= yes WITH_APR_FROM_PORTS= yes WITH_FULLBUILD= yes WITH_MYSQL= yes WITH_PCRE_FROM_PORTS= yes WITH_LOG_FORENSIC=yes WITH_PROXY_CONNECT= yes WITH_PROXY_FTP= yes WITH_PROXY_HTTP= yes WITH_PROXY_AJP= yes WITH_PROXY_BALANCER= yes WITHOUT_MEM_CACHED= yes .endif - /var/db/pkg [snipped] apache-2.2.8 apr-nothr-1.2.8_2 bash-static-3.2.33 mailman-with-htdig-2.1.9_5 mysql-client-5.1.23 pcre-7.6 python25-2.5.2_1 cyrus-sasl-2.1.22 cyrus-sasl-saslauthd-2.1.22 users: id mailnull uid=26(mailnull) gid=26(mailnull) groups=26(mailnull) id mailman uid=91(mailman) gid=91(mailman) groups=91(mailman) id www uid=80(www) gid=80(www) groups=80(www) - /etc/mail/host.mc [snipped] define(`ALIAS_FILE', `/etc/mail/aliases,/etc/mail/lists') FEATURE(`smrsh') FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') VIRTUSER_DOMAIN(`lists.domain.tld') dnl FEATURE(`limited_masquerade') dnl MASQUERADE_AS(`lists.domain.tld') Mmailman, P=/etc/mail/mm-handler, F=rDFMhlqSu, U=mailman:mailman, S=EnvFromL, R=EnvToL/HdrToL, A=mm-handler $h $u - $ whereis smrsh smrsh: /usr/libexec/smrsh $ strings /usr/libexec/smrsh | grep bin |head -1 /usr/libexec/sm.bin $ ls -l /usr/libexec/sm.bin/ lrwxr-xr-x 1 root wheel - 31B Mar 4 18:43:32 2008 mailman@ - /usr/local/mailman/mail/mailman $ ls -l /usr/local/mailman/mail/mailman -rwxr-sr-x 1 root mailman - 15K Mar 4 12:45:40 2008 /usr/local/mailman/mail/mailman* $ /usr/local/mailman sudo bin/check_perms -f No problems found $ cat /etc/mail/mailertable lists.domain.tldmailman:lists.domain.tld $ ls -l /etc/mail/mm-handler -rwxr-xr-x 1 root wheel - 5.8K Mar 4 19:10:53 2008 mm-handler* - /etc/rc.conf [snipped] sendmail_enable=YES mailman_enable=YES apache22_enable=YES apache22_http_accept_enable=YES - /usr/local/mailman/Mailman/mm_cfg.py from Defaults import * MTA = None DEFAULT_EMAIL_HOST = 'lists.domain.tld' DEFAULT_URL_HOST = 'lists.domain.tld' DEFAULT_URL_PATTERN = 'http://%s/mailman/' - /usr/local/etc/apache22/httpd.conf User www Group www /usr/local/etc/apache22/vhosts/tld.domain.lists.conf VirtualHost * ServerName lists.domain.tld DocumentRoot/usr/local/mailman Alias /icons/ /usr/local/mailman/icons/ Alias /pipermail/ /usr/local/mailman/archives/public/ ScriptAlias /mailman/ /usr/local/mailman/cgi-bin/ ErrorLog /usr/local/mailman/logs/httpd-error_log CustomLog /usr/local/mailman/logs/httpd-access_log common CustomLog /usr/local/mailman/logs/httpd-combined_log combined Directory /usr/local/mailman Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all /Directory /VirtualHost - $ uname -a FreeBSD host.domain.tld 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Sun Mar 2 09:48:59 EST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HOST i386 -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd
Freebsd7, mail/mailman, www/apache22, and sendmail
Issue: The www/apache22 integration seems to be fine; however, the sendmail integration isn't quite right. client computer: $ echo `uname -a` | mail -s `date` [EMAIL PROTECTED] Mail Server: /var/log/maillog m25JwCEk065018: m25JwCEl065018: DSN: unknown mailer error 255 m25JwCEl065018: to=[EMAIL PROTECTED], delay=00:00:00 \ xdelay=00:00:00, mailer=mailman, pri=32149, \ relay=lists.p6m7g8.net, dsn=5.3.0, stat=unknown mailer error 255 m25JwCEm065018: return to sender: unknown mailer error 255 The setup: - /etc/make.conf [snipped] # SASL (cyrus-sasl v2) sendmail build flags... SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2 SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 # Adding to enable alternate port (smtps) for sendmail... SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL .if ${.CURDIR:M*/usr/ports/mail/mailman*} WITH_SENDMAIL= yes WITH_HTDIG= yes .endif .if ${.CURDIR:M*/usr/ports/www/apache22*} WITH_SSL= yes WITH_APR_FROM_PORTS= yes WITH_FULLBUILD= yes WITH_MYSQL= yes WITH_PCRE_FROM_PORTS= yes WITH_LOG_FORENSIC=yes WITH_PROXY_CONNECT= yes WITH_PROXY_FTP= yes WITH_PROXY_HTTP= yes WITH_PROXY_AJP= yes WITH_PROXY_BALANCER= yes WITHOUT_MEM_CACHED= yes .endif - /var/db/pkg [snipped] apache-2.2.8 apr-nothr-1.2.8_2 bash-static-3.2.33 mailman-with-htdig-2.1.9_5 mysql-client-5.1.23 pcre-7.6 python25-2.5.2_1 cyrus-sasl-2.1.22 cyrus-sasl-saslauthd-2.1.22 users: id mailnull uid=26(mailnull) gid=26(mailnull) groups=26(mailnull) id mailman uid=91(mailman) gid=91(mailman) groups=91(mailman) id www uid=80(www) gid=80(www) groups=80(www) - /etc/mail/host.mc [snipped] define(`ALIAS_FILE', `/etc/mail/aliases,/etc/mail/lists') FEATURE(`smrsh') FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') VIRTUSER_DOMAIN(`lists.domain.tld') dnl FEATURE(`limited_masquerade') dnl MASQUERADE_AS(`lists.domain.tld') Mmailman, P=/etc/mail/mm-handler, F=rDFMhlqSu, U=mailman:mailman, S=EnvFromL, R=EnvToL/HdrToL, A=mm-handler $h $u - $ whereis smrsh smrsh: /usr/libexec/smrsh $ strings /usr/libexec/smrsh | grep bin |head -1 /usr/libexec/sm.bin $ ls -l /usr/libexec/sm.bin/ lrwxr-xr-x 1 root wheel - 31B Mar 4 18:43:32 2008 mailman@ - /usr/local/mailman/mail/mailman $ ls -l /usr/local/mailman/mail/mailman -rwxr-sr-x 1 root mailman - 15K Mar 4 12:45:40 2008 /usr/local/mailman/mail/mailman* $ /usr/local/mailman sudo bin/check_perms -f No problems found $ cat /etc/mail/mailertable lists.domain.tldmailman:lists.domain.tld $ ls -l /etc/mail/mm-handler -rwxr-xr-x 1 root wheel - 5.8K Mar 4 19:10:53 2008 mm-handler* - /etc/rc.conf [snipped] sendmail_enable=YES mailman_enable=YES apache22_enable=YES apache22_http_accept_enable=YES - /usr/local/mailman/Mailman/mm_cfg.py from Defaults import * MTA = None DEFAULT_EMAIL_HOST = 'lists.domain.tld' DEFAULT_URL_HOST = 'lists.domain.tld' DEFAULT_URL_PATTERN = 'http://%s/mailman/' - /usr/local/etc/apache22/httpd.conf User www Group www /usr/local/etc/apache22/vhosts/tld.domain.lists.conf VirtualHost * ServerName lists.domain.tld DocumentRoot/usr/local/mailman Alias /icons/ /usr/local/mailman/icons/ Alias /pipermail/ /usr/local/mailman/archives/public/ ScriptAlias /mailman/ /usr/local/mailman/cgi-bin/ ErrorLog /usr/local/mailman/logs/httpd-error_log CustomLog /usr/local/mailman/logs/httpd-access_log common CustomLog /usr/local/mailman/logs/httpd-combined_log combined Directory /usr/local/mailman Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all /Directory /VirtualHost - $ uname -a FreeBSD host.domain.tld 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Sun Mar 2 09:48:59 EST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HOST i386 -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http
Re: Uname borked on ??-Release...
Kevin Kinsey wrote: Question: why is uname reporting the {wrong} build? cd /usr/src sudo make installkernel -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RELENG_7_0_0_RELEASE: make installworld /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a. Stop
-ffreestanding -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -m32 -march=i386 -I. -I/usr/src/sys/boot/ficl -I/usr/src/sys/boot/ficl/i386 -I/usr/src/sys/boot/ficl/../common -c /usr/src/sys/boot/ficl/search.c cc -O2 -fno-strict-aliasing -pipe -ffreestanding -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -m32 -march=i386 -I. -I/usr/src/sys/boot/ficl -I/usr/src/sys/boot/ficl/i386 -I/usr/src/sys/boot/ficl/../common -c /usr/src/sys/boot/ficl/stack.c cc -O2 -fno-strict-aliasing -pipe -ffreestanding -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -m32 -march=i386 -I. -I/usr/src/sys/boot/ficl -I/usr/src/sys/boot/ficl/i386 -I/usr/src/sys/boot/ficl/../common -c /usr/src/sys/boot/ficl/tools.c cc -O2 -fno-strict-aliasing -pipe -ffreestanding -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -m32 -march=i386 -I. -I/usr/src/sys/boot/ficl -I/usr/src/sys/boot/ficl/i386 -I/usr/src/sys/boot/ficl/../common -c /usr/src/sys/boot/ficl/vm.c cc -O2 -fno-strict-aliasing -pipe -ffreestanding -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -m32 -march=i386 -I. -I/usr/src/sys/boot/ficl -I/usr/src/sys/boot/ficl/i386 -I/usr/src/sys/boot/ficl/../common -c /usr/src/sys/boot/ficl/words.c cc -O2 -fno-strict-aliasing -pipe -ffreestanding -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -m32 -march=i386 -I. -I/usr/src/sys/boot/ficl -I/usr/src/sys/boot/ficl/i386 -I/usr/src/sys/boot/ficl/../common -c /usr/src/sys/boot/ficl/i386/sysdep.c (cd /usr/src/sys/boot/ficl/softwords; cat softcore.fr jhlocal.fr marker.fr freebsd.fr ficllocal.fr ifbrack.fr | awk -f softcore.awk -v datestamp=`LC_ALL=C date`) softcore.c cc -O2 -fno-strict-aliasing -pipe -ffreestanding -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -m32 -march=i386 -I. -I/usr/src/sys/boot/ficl -I/usr/src/sys/boot/ficl/i386 -I/usr/src/sys/boot/ficl/../common -c softcore.c building static ficl library ranlib libficl.a -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DJ500 dead after = 16 years.
Gary Kline wrote: Guys, I need some input about what kind of _new_ printer to buy for my desktops. I'd like to hang the printer off my FBSD box; my Ubuntu platform is probably too far away. At least 3 meters. We have a HP3005n, HP2605dn, Xerox Phasermfp8650 all network printers that I print to with CUPS from freebsd flawlessly. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
MacBook FreeBSD
as far as inspiration for mac from bsd have a look at this interview with jordan hubbard... he is the director of UNIX services at apple and a founder of freebsd: http://kerneltrap.org/node/278 phil ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: acrobat reader (7 or 8) on 7.0-RC1
Vince Hoffman wrote: KAYVEN RIESE wrote: Did you install that acrobat port? You sir are missing the FREEBSD6_COMPAT config in your kernel. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: question about buildkernel warning
Robert Huff wrote: While building a new (CURRENT) kernel today, I noticed this: WARNING: duplicate option `DEV_ISA' encountered. WARNING: duplicate device `isa' encountered. WARNING: duplicate option `DEV_MEM' encountered. WARNING: duplicate device `mem' encountered. WARNING: duplicate option `DEV_IO' encountered. WARNING: duplicate device `io' encountered. These options are already in the DEFAULT file in the same directory as your kernel config. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Perl-5.10.0 in FBSD-7.0
Kris Kennaway wrote: It's not going to happen. I completely agree -- but I'm talking about it being the default perl version. There shouldn't be much of anything stopping lang/perl5.10 from appearing. I'm not saying it needs to be shipped with 7.0-release. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Inspiron 1721 w/ FreeBSD 8-current
Hi, I'd like to get the following hardware can anyone recommend compatibility? 1) Sprint Card [a howto would be good too] 2) Wireless USB Mouse [I can probably rtfm for this one] 3) Sound Card [built in doesn't work -- http://www.freebsd.org/cgi/query-pr.cgi?pr=111767, I tried the fix, but doesn't help] It doesn't have to be great, just work. 4) 2+GB USB Thumb Drive. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: packaging a metaport
Dave wrote: Hello, I'd like to compile and install xorg and gnome via metaports on a machine, making packages out of the entire process, including dependencies. My goal is to have a tarball that i can take to other machines, extract it and do a pkg_add * and have xorg and gnome installed via packages vs. recompiling the port. I tried a make package but that doesn't work with metaports, and make package-recursive doesn't happen either. Thanks. Dave. $ id ftp uid=14(ftp) gid=14(ftp) groups=14(ftp) In /etc/inetd.conf ftp stream tcp nowait root/usr/libexec/ftpd ftpd -4 -A -l -l -r M -s In /etc/rc.conf inetd_flags=-wW -l -R 1024 -C 60 inetd_enable=YES $ sudo /etc/rc.d/inetd restart In /etc/make.conf DISTDIR=/home/ftp/pub/FreeBSD/ports/distfiles PACKAGES=/home/ftp/pub/FreeBSD/ports/amd64/packages-7-current (change the arch and os version to match yours) $ sudo mkdir -p /home/ftp/pub/FreeBSD/ports/distfiles $ sudo mkdir -p /home/ftp/pub/FreeBSD/ports/amd64/packages-7-current $ cd /usr/ports/x11/xorg $ make all install package-recursive $ cd /usr/ports/x11-wm/gnome $ make all install package-recursive $ ls /home/ftp/pub/FreeBSD/ports/amd64/packages-7-current/Latest/ NOW, or REMOTE machines $ export PACKAGESITE=ftp://ftp.tld/pub/FreeBSD/ports/amd64/packages-7-current/Latest/ $ sudo pkg_add -r xorg $ sudo pkg_add -r gnome You can probably just do this for gnome and dependencies will work, but I've never used gnome, so I can't say. I don't have the link handy, you can google for the above information. -- Philip M. Gollucci ([EMAIL PROTECTED]) c:703.336.9354 Consultant / http://p6m7g8.net/Resume/resume.txt http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
re :Network monitoring program.
if any of your network devices have NetFlow capability you could try IPFlow ( http://www.ipflow.utc.fr/index.php/Main_Page ) as a collector. There are binaries for FreeBSD and as a flow collector goes it is quite straightforward. It can also be hooked up with RRDTool. Phil ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail: exposed root, why?
Jerahmy Pocott wrote: Hello, From the sendmail documentation: There are always users that need to be exposed -- that is, their internal site name should be displayed instead of the masquerade name. Root is an example (which has been exposed by default prior to 8.10). Is there actually any reason why root needs to be exposed? Root is set to an external address in aliases and it really needs to be masqueraded in order to for it to get delivered, but would that cause problems with anything? How do you stop sendmail from doing this, I don't see any directive to NOT expose root, only options to expose other addresses as well.. Perhaps there is a better way to send system mailed logs to an external address that doesn't send them from root? Thanks for any info! There is no directive, but you can edit the resultant .cf file and remove the line C{E}root or root from that line if more than one user. Be warned, you _will_ break /etc/crontab and periodic scripts mail delivery. The reason it needs to be exposed is probably these scripts because other wise the from address for daily security scripts will be root@masquerade rather than [EMAIL PROTECTED] Now, it so happens that most of these e-mails have the machine name in the subject or what not. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to start one daemon twice from the rc.conf?
ivan dimitrov wrote: hello list, How to start two sshd with different configs from the rc.conf? Do i have to write a secondary /etc/rc.d/sshd, for eg. /etc/rc.d/sshd2 and put sshd2_enable=yes in the rc.conf or there is another way to do this? Or you could write a script /usr/local/etc/sshd-mine thats starts both, or add /usr/local/etc/sshd2 that just starts the second one. -f configuration_file Specifies the name of the configuration file. The default is /etc/ssh/sshd_config. sshd refuses to start if there is no con- figuration file. Its generally good to not muck with things in /etc/rc.d unless you really have too, -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
console server using a modern 1U box
have a look at xyplex 1600 console server, which is a standalone comm server accesed via a network. you can the also run comserv on your bsd box which will the connect the 16 ports of the console server as directly connected serial ports giving you the use of ports as device files tip etc. if i remember correctly I also used comserv with lantronix/perl console server as well. comserv is in /usr/ports/comms/comserv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re:I installed FreeBSD, but managed to completely fail at getting the man pages installed.
you can install this from sysinstall: here is a link to full instructions: http://www.cyberciti.biz/tips/howto-install-man-info-pages-and-other-package-set.html hope this helps, Phil ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
6.2 Headless Installs Don't Seem to Work.
Hi Martin, If you are still having trouble with headless installs here is a link to instructions for setting up a bsd.iso that outputs to serial for a headless installation. http://default-information.blogspot.com/2007/12/headless-freebsd-installation-cd.html hope this helps, Phil ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Webmail
Can anyone who had experience running a web-based e-mail give suggestion what package to use? I will only use it for study purpose, so I need one that easy to configure and help me understand the big picture about mailserver.. Thank you very much.. Roundcube is pretty slick... acts more like a real app than most of the others... http://roundcube.net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make buildworld fails
Jamie Avery wrote: put KERNCONF=/kernelname/ into /etc/make.conf. However, when I make buildkernel, I get the following error 7.x+ src.conf, below make.conf grep KERNCONF /etc/make.conf /etc/src.conf /etc/src.conf:KERNCONF?= RIDERWAY NO /s neccessary. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Where is the next uid from adduser pulled from?
Francisco Reyes wrote: I have scripts to add new users. However, after that any port that installs a user creates it with a UID after the ones I made. For example I want all employees to have uids starting at 5000, but I would like too port installed uids to be 2000 and up. After I add some users (ie say last user is 5008), the next port that installs a user and doesn't specify uid.. then will get 5009. Tried looking for the adduser program, but could not find adduser.c /usr/src/usr.sbin/pw Ports call 'pw add user x', and pw add group y' -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: help wanted configuring HPLIP
Robert Huff wrote: I've got it installed, see the post-install configuration message, and have questions about how it will interact with existing printers. Were I you, I would install cups, and then goto web page interface on localhost. It kind of just works. -- - Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: copying just / (not /tmp, /usr, etc) (rsync -x failed)
James Harrison wrote: Everyone's recommending dump/restore for copying file systems, and there's something that I've never really been clear on. The nice thing about rsync is that it's network aware. Can dump dump a file system across a network? You could probably use ssh as a transport. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Buildworld problem
Venkatesh K wrote: === gnu/usr.bin/gdb/gdbserver (all) make: don't know how to make bsd.README. Stop FreeBSD 6.2-RELEASE-p9 FreeBSD 6.2-RELEASE-p9 #0: Thu Nov 29 04:07:33 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 What code version are you trying to compile? The same as your system? You may just want to run another cvsup, maybe you caught it at a bad time. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Buildworld problem
Venkatesh K wrote: make: don't know how to make bsd.README. Stop obrien 2007-12-03 21:05:20 UTC FreeBSD src repository Modified files:(Branch: RELENG_6_3) gnu/usr.bin/gdb/arch/amd64 Makefile gnu/usr.bin/gdb/arch/i386 Makefile gnu/usr.bin/gdb/kgdb kgdb.h Log: MFC: + Turn on gdbserver for the arch that supports it. + Fix static/extern mismatch. + Remove extern int verbose declaration. Approved by:re(kensmith) Revision ChangesPath 1.3.10.1 +6 -1 src/gnu/usr.bin/gdb/arch/amd64/Makefile 1.4.10.1 +5 -1 src/gnu/usr.bin/gdb/arch/i386/Makefile 1.2.2.3.2.1 +0 -1 src/gnu/usr.bin/gdb/kgdb/kgdb.h ___ Looks like this did it. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD make on other platforms [was: Re: Building FreeBSD onLinux]
Saravanan Shanmugham (sarvi) wrote: Hi Giorgos, The build failed for me 'with a syntax error before __dead2 '. Are there any special include files I am supposed to have? I had trouble with the autoconf version I had installed and had to upgrade to the latest. Then I was able to move past, autoconf, automake, configure. Whhen I went to make I got that error. It looks like __dead2 is a #define in cdefs.h found in some BSD installs. I am building on RedHat Enterprise Linux 4 and the sys/cdefs.h file does not see to define __dead2. __dead2 is a custom gcc modification. It just means the function doesn't return IIRC. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Determining kernel?
Patrick Baldwin wrote: I was reading through the handbook section on updating, as I'd like to update a FreeBSD 6.2 system. One of the things I noticed is that you need to specify what kernel you want in the KERNCONF line. Is there any way to get a running FreeBSD system to tell me what kernel is being used? uname -a FreeBSD philip.hq.rws 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Tue Nov 6 16:28:12 EST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/RIDERWAY i386 Notice the path at the end. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Determining kernel?
Patrick Baldwin wrote: Philip M. Gollucci wrote: Patrick Baldwin wrote: I was reading through the handbook section on updating, as I'd like to update a FreeBSD 6.2 system. One of the things I noticed is that you need to specify what kernel you want in the KERNCONF line. Is there any way to get a running FreeBSD system to tell me what kernel is being used? uname -a FreeBSD philip.hq.rws 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Tue Nov 6 16:28:12 EST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/RIDERWAY i386 Notice the path at the end. OK, the path at the end for me is: /usr/obj/usr/src/sys/SMP i386 That is GENERIC with except that is has support mutiple CPUs However, when I use uname -i as someone else suggested, it gives me: SMP-GENERIC So which do I substitute for MYKERNEL in the KERNCONF lines: make buildkernel KERNCONF=MYKERNEL make installkernel KERNCONF=MYKERNEL make buildkernel KERNCONF=SMP OR, you can do echo KERNCONF?=SMP /etc/make.conf make buildkernel make installkernel In 7.0+ its /etc/src.conf If you ever compile a custom kernel you'd use that name instead. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's the point of the shell choice in single user mode?
Jorn Argelo wrote: RW wrote: On Sun, 02 Dec 2007 18:48:33 +0100 Jorn Argelo [EMAIL PROTECTED] wrote: Also note that vi doesn't work by default as it needs to write to /tmp. So mount /tmp or re-mount / to RW permissions. I think vi will also fail unless it has access to termcap, so you'd need /usr mounted too. You'd need to mount /usr anyway, as the vi binary is located in /usr/bin ;-) *cough* /rescue/vi -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FBS7.0-4B, named does not build with buildworld
Erik Norgaard wrote: Hi: I have recently tried to update to the latest snapshot, it appears that named is not built/installed with build/installworld build targets: The installed named depends on libcrypto.so.4 and libc.so.6, but installworld, delete-old, delete-old-libs deletes these as they have been obsoleted by .5 and .7 respectively. Is there some new target to build named? Check your /etc/make.conf and/or /etc/src.conf It most definetely its. In 7.0-BETA3 its 9.4.1-P1 Did you forget to do a make installworld ? -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: named / BIND 9.4.1-P1 /etc/named/master ownership
Gelsema, P (Patrick) - FreeBSD wrote: In /etc/rc.conf I got the following. hulk# cat /etc/rc.conf | grep named named_enable=YES named_uid=bind named_chrootdir=/var/named grep named /etc/defaults/rc.conf # named. It may be possible to run named in a sandbox, man security for named_enable=NO # Run named, the DNS server (or NO). named_program=/usr/sbin/named # path to named, if you want a different one. #named_flags= # Flags for named named_pidfile=/var/run/named/pid # Must set this in named.conf as well named_uid=bind# User to run named as named_chrootdir=/var/named# Chroot directory (or not to auto-chroot it) named_chroot_autoupdate=YES # Automatically install/update chrooted # components of named. See /etc/rc.d/named. named_symlink_enable=YES # Symlink the chrooted pid file As you can see, your named_uid and named_chrootdir are not needed, that is the default. The thing causing your issue is named_chroot_autoupdate=YES (the default) and it is correct to do so, you should not be changing these without very good reason. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: named / BIND 9.4.1-P1 /etc/named/master ownership
When I change the ownership, problem goes away. How can I get the problem away without changing the ownership? in the options {} section what do you have for: options { // Relative to the chroot directory // named_chrootdir=/var/named directory /etc/namedb; pid-file/var/run/named/pid; dump-file /var/dump/named_dump.db; statistics-file /var/stats/named.stats; . -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: named / BIND 9.4.1-P1 /etc/named/master ownership
Philip M. Gollucci wrote: Gelsema, P (Patrick) - FreeBSD wrote: Ok.. In the /var directory there is no dump directory. So solving this I should do the following: hulk# mkdir /var/dump hulk# chown bind:bind /var/dump Well, if its relative to the chroot, its /var/named/var/dump -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: named / BIND 9.4.1-P1 /etc/named/master ownership
Gelsema, P (Patrick) - FreeBSD wrote: Ok.. In the /var directory there is no dump directory. So solving this I should do the following: hulk# mkdir /var/dump hulk# chown bind:bind /var/dump Is that correct? I believe so. Whilst I am on the BIND topic, does BIND automatically refreshed the content of a zone. Will it notice that the serial of a loaded zone has been changed and reload it? Well thats what slaves *are* for. You should look at the 'notify' directive. If you are talking about master, if you change a zone file, no, you have use to rndc reload or restart bind (/etc/rc.d/named restart) -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to stop screen from resizing my window??
Hi all - I connect to a FreeBSD server from OSX (via iTerm). I then start up screen. And it resizes my windows to 80 characters wide. This doesn't happen on linux. My understanding is this has something to do with the termcap entry and 'WS', but as far as I can tell that isn't being set anywhere. Also the -A option to screen doesn't seem to do anything either. Anyone have any ideas? Googling for screen resize window doesn't get me very far :( -philip ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [RFC/P] Port System Re-Engineering (Repost from -ports@)
Aryeh M. Friedman wrote: [Repost from [EMAIL PROTECTED] As has been hashed out in -ports@ over the last few days there is at least a need to examine weither or not the current ports system should remain as is or potentially be re-engineered in the future (estimates if and when needed vary from ASAP to 10-15 years). I have volunteered to undertake a feasibility/pilot project to examine what changes (if any) are needed in the system (for the purposes of this thread I will not venture any of my own suggestions). I have the following broad questions for people: 1. What is more important to your personal use of FreeBSD (the ports system, the underlaying OS, some other aspect)? Software builds correct and is present. Including a way to make my own custom packages for distribution. 2. How frequently do you interact with the ports systems and what is the most common interaction you have with it? Daily, updating, and maintaining the ports tree itself. 3. What is the single best aspect of the current system? Its source based and re-uses and existing language (make) instead of inventing a new one. 4. What is the single worst aspect of the current system? Most ports don't deal well with multiple versions. Even apache which is versioned doesn't do it that well. 5. If you where a new FreeBSD user how would your answers above change? If you where brand new to UNIX how whould they change? I'd want a gui and not to compile anything. 6. Assuming that there was no additional work on your behalf would you use a new system if it corrected your answer to number 4? Quite possibly. 7. Same as question 6 but for your answer on question 3? (that doesn't make sense -- if you corrected the single best aspect of ports?) 8. How long have you used FreeBSD and/or UNIX in general? since 2.2.8 ~1998 9. That is your primary use(s) for your FreeBSD machine(s) (name upto 3)? Desktop Development (SVN, imap, you name it) Production (FAMP stacks) 10. Assuming there is no functional difference what is your preferred installation method for 3rd party software? source compilation -- except for things like Xorg, Firefox and Thunrderbird because they are just so darn big. 11. On a scale from 1 to 10 (10 being the best) please rate the importance of the following aspects of the ports system? a. User Interface 7 b. Consistency of behaviors and interactions 5 c. Accuracy in dependant port installations 7 d. Internal record keeping 4 e. Granularity's of the port management system 6 12. Please rate your personal technical skill level? Very High -- Professional System Admin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to stop screen from resizing my window??
I connect to a FreeBSD server from OSX (via iTerm). I then start up screen. And it resizes my windows to 80 characters wide. This doesn't happen on linux. My understanding is this has something to do with the termcap entry and 'WS', but as far as I can tell that isn't being set anywhere. Also the -A option to screen doesn't seem to do anything either. Anyone have any ideas? Googling for screen resize window doesn't get me very far :( In iTerm, select Bookmarks Manage Profiles. In the Terminal Profile you are using to connect, check the Disable session-initiated window resizing checkbox. Woot! I would never have thought to look there... you've made my day. Thanks Jim! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel Compile Error
Schiz0 wrote: Hey, I'm running FreeBSD 6.3-PRERELEASE. I recently csuped the source code (src-all) and built world. I then tried to make buildkernel, and it ran for a little while, then gave the following error and stopped: http://schiz0.securityexploits.com/make.buildkernel.out The error is at the bottom - that is the log of the entire buildkernel process. I see no error -- looks like you didnt' copy enough of it. use -DNO_CLEAN to skip all the rm -f stuff at the start when you post the new output. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Network Configuration with Jails.
Félix Langelier wrote: Hello, I run a FreeBSD Jailer and I want to have multiple jails in 2 seperate networks. The server has 2 network interfaces and each of them are connected in a different network. Say vlan1 and vlan2. My problem is that all the network traffic is going through the first interface (vlan1). What I need is that a jail in vlan1 can't communicate with a jail in vlan2 (and vice-versa). Is it possible to split the network traffic in the right interfaces and use a diffrent default gateway for each of them ? Here is my /etc/rc.d configuration. defaultrouter=192.168.1.1 static_routes=vlan1 vlan2 route_vlan1=-net 192.168.1.0/24 192.168.1.1 route_vlan2=-net 192.168.2.0/24 192.168.2.1 # vlan1 interface config. ifconfig_bge0=inet 192.168.1.10 netmask 255.255.255.0 ifconfig_bge0_alias0=192.168.1.11 netmask 255.255.255.255 # vlan2 interface config. ifconfig_bge1=inet 192.168.2.10 netmask 255.255.255.0 ifconfig_bge1_alias0=inet 192.168.2.11 netmask 255.255.255.255 I tried to remove the default gateway but then the server was unreachable. I am thinking of using pf to resolve my issue. Removing the default gateway will work, but you have to add back _similiar_ routes, you can't just remove it. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 2nd try : tap SIOCIFCREATE failure
Alain G. Fabry wrote: When creating the tap interface, my system gives the following FreeBSD# uname -a FreeBSD FreeBSD 6.2-RELEASE FreeBSD# kldstat Id Refs AddressSize Name 1 11 0xc040 6f7554 kernel 21 0xc0af8000 140c0snd_hda.ko 32 0xc0b0d000 479a8sound.ko 41 0xc0b55000 1d278kqemu.ko 51 0xc0b73000 8ea4 aio.ko 61 0xc4f44000 9000 if_bridge.ko 71 0xc5079000 16000linux.ko 81 0xc60ce000 4000 if_tap.ko FreeBSD# ifconfig tap0 create ifconfig: SIOCIFCREATE: Invalid argument I never had to manually issue the create command, you should just see it in the ifconfig -a output. When qemu starts, Opened by process id id should be in the ifconfig output by the tap0 interface. You'll need to use the /etc/qemuifup or whatever its called, I forget. Or the command line options to set networking info like netmask, ip, gateway for the tap. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel Compile Error
Schiz0 wrote: On Nov 28, 2007 8:47 AM, Philip M. Gollucci [EMAIL PROTECTED] wrote: Schiz0 wrote: Hey, I'm running FreeBSD 6.3-PRERELEASE. I recently csuped the source code (src-all) and built world. I then tried to make buildkernel, and it ran for a little while, then gave the following error and stopped: http://schiz0.securityexploits.com/make.buildkernel.out The error is at the bottom - that is the log of the entire buildkernel process. I see no error -- looks like you didnt' copy enough of it. use -DNO_CLEAN to skip all the rm -f stuff at the start when you post the new output. linux_ipc.o(.text+0x8e4):/usr/src/sys/compat/linux/linux_ipc.c:583: undefined reference to `__semctl'^M linux_ipc.o(.text+0x918): In function `linux_msgsnd':^M /usr/src/sys/compat/linux/linux_ipc.c:600: undefined reference to `msgsnd'^M linux_ipc.o(.text+0x94e): In function `linux_msgrcv':^M /usr/src/sys/compat/linux/linux_ipc.c:619: undefined reference to `msgrcv'^M linux_ipc.o(.text+0x970): In function `linux_msgget':^M /usr/src/sys/compat/linux/linux_ipc.c:632: undefined reference to `msgget'^M linux_ipc.o(.text+0x9d2): In function `linux_msgctl':^M /usr/src/sys/compat/linux/linux_ipc.c:650: undefined reference to `kern_msgctl'^M linux_ipc.o(.text+0xa4d): In function `linux_shmat':^M /usr/src/sys/compat/linux/linux_ipc.c:680: undefined reference to `shmat'^M linux_ipc.o(.text+0xaae): In function `linux_shmdt':^M /usr/src/sys/compat/linux/linux_ipc.c:699: undefined reference to `shmdt'^M linux_ipc.o(.text+0xad6): In function `linux_shmget':^M /usr/src/sys/compat/linux/linux_ipc.c:714: undefined reference to `shmget'^M linux_ipc.o(.text+0xb18): In function `linux_shmctl':^M /usr/src/sys/compat/linux/linux_ipc.c:733: undefined reference to `kern_shmctl'^M linux_ipc.o(.text+0xb68):/usr/src/sys/compat/linux/linux_ipc.c:748: undefined reference to `kern_shmctl'^M linux_ipc.o(.text+0xbb0):/usr/src/sys/compat/linux/linux_ipc.c:761: undefined reference to `kern_shmctl'^M linux_ipc.o(.text+0xc00):/usr/src/sys/compat/linux/linux_ipc.c:773: undefined reference to `kern_shmctl'^M linux_ipc.o(.text+0xc7c):/usr/src/sys/compat/linux/linux_ipc.c:792: undefined reference to `kern_shmctl'^M linux_ipc.o(.text+0xcd2):/usr/src/sys/compat/linux/linux_ipc.c:808: more undefined references to `kern_shmctl' follow^M Add these 3 to your kernel config file near the end. Don't use the -DNO_CLEAN when you build this time. That was just to cut down on the output in the log file (or when you intentionally don't want to delete the build from the previous attempt or success) options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help for very bad perf for MySQL
Albert Shih wrote: Hi all I've already send a message. But I don't receive any answer :-(. I try again and hope there more solution I've a bi-proc single core Xeon 3.2ghz with FreeBSD 6.2, I'm running Mysql 5.X on this server and the performance of MySQL is very bad. For some complexe select I've got ~6secondes (on some basic Linux it's take 0.6 sec). And I think this is nothing about thead (that's mean I don't think FreeBSD 7.0 can solve my problem) because it's just for one select. Well -- we'll need more information, but as your say, if its not threading related what makes you think its FreeBSD. You'd probably have better luck over on [EMAIL PROTECTED] A good start would be the query itself, and the output of EXPLAIN for that query. Also, your my.cnf is the next step. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Confusion about Ports and options framework
Zachary Kline wrote: Hi, I've read through the sections of the handbook quite carefully, and haven't quite found what I'm looking for. To be specific, I've no plans to install X11 or anything like it on this machine yet. I may do so in the future merely to see how accessible Gnome and such are, but not now. I note that /usr/ports/editors/emacs has several environment variables which can be set, such as WITHOUT_X11. I can set these just fine, and don't In /etc/make.conf -- .if ${.CURDIR:M*/usr/ports/*} NOPORTSDOC= yes WITHOUT_DBUS= yes WITHOUT_DEBUG=yes WITHOUT_EXAMPLES= yes WITHOUT_GUI= yes WITHOUT_HAL= yes WITHOUT_IPV6= yes WITHOUT_NLS= yes WITHOUT_X11= yes APACHE_PORT= www/apache22 OVERRIDE_LINUX_BASE_PORT= f7 .endif - Per Port .if ${.CURDIR:M*/usr/ports/databases/mysql50*} WITH_ARCHIVE= yes WITH_CSV= yes WITH_FEDERATED= yes WITH_NDB= yes BUILD_OPTIMIZED= yes .endif However, if I were to use something like Portmanager, Portupgrade, etc, is there any way I can keep it from downloading these as well? On the Should work here too. subject of port managers, is manual port installation the prefered method of doing this anyway? The managers as you call them are more for upgrading and maintenance rather then original installation. Most people would use pkg_add -r, or compile from source in /usr/ports. Once you get familiar with things, I'd recommend setting up a local ftp package repository based on own source compiles so you only have to do them once. see make package et al. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Production Release ISO images
patrick wrote: Hi there, I'm wondering if the FreeBSD 6.2 Production Release ISO images get updated periodically when there are important patches, or is it better to download the latest snapshot to save the trouble of updating everything after installing? The iso's are never remade after the initial. If its drastically broken, they might pull it from distribution, but other than that no. Once you install from the ISO, you'll need to update via freebsd-update, or /usr/src, or whatever else you might be thinking of. (just make sure to use RELENG_6 tag) -- - Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD NFS server responds with wrong address
Loren M. Lang wrote: I was attempting to do an NFS mount from a FreeBSD server to a FreeBSD client over IPv6 and received the error NFSPROC_NULL: RPC: Timed out. After doing a packet trace, I noticed that the FreeBSD server was indeed responding to both a Portmap GATADDR call and a NFS NULL call, but in both cases it was coming from the IPv6 address closest to the client making the call and not the address the call was issued to. Why is this happening and how do I make the server respond with the correct address? The server is FreeBSD 6.2-RELEASE-p7. I might be able to confirm this but not fix it. I had a dual nic NFS server (both nics in the same subnet and physical lan) I was issuing a mount to nic1, but nic0 was responding, so I got the NFS NULL call and a timeout. The fix was to issue it to nic0. (This is very likely due to my same subnet setup) -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Build Frustrations
I don't have the correct computer in front of me at the moment, but I used to do this DAILY with 1000 different combinations of perl, apr, httpd, mod_perl. Its a bit dated at the moment, but it definitely will send you in the correct direction. And yes, this is on FreeBSD (at the time it was 6.1) http://p6m7g8.net/LA.pm/compile.sh.txt FWIW, The ASF itself doesn't use the FreeBSD port though apache.org is a FreeBSD box, but thats only because they will always have never versions before the ports tree. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Build Frustrations
This allowed apache2-non-ports to compile. However the question in my mind that still bears answering is: why apr would FIND such a library as installed (i.e. not fail at configure-time) but then fail to compile. I.e. why does the APR not set CFLAGS and LDFLAGS correctly. This you should post to [EMAIL PROTECTED], I might even answer it there, but the answer lies in the configure script logic which was chosen very carefully. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
6.2-8.0 current w/ custom /etc/make.conf
Hi All, I've many times successfully gone to 7.0 or 8.0 current. cat EOF /etc/make.conf NO_ATM=true # do not build ATM related programs and libraries NO_AUTHPF=true # do not build and install authpf (setuid/gid) NO_FORTRAN=true # do not build g77 and related libraries NO_GAMES=true# do not build games (games/ subdir) NO_GPIB=true # do not build GPIB support NO_I4B=true # do not build isdn4bsd package NO_INET6=true# do not build IPv6 related programs and libraries NO_OBJC=true # do not build Objective C support NO_PF=true # do not build PF firewall package NO_PROFILE=true # do not build Profiling libs EOF I have some other things, but they are irrelevant. Next, I follow the standard steps in /usr/src/Makefile to upgrade. including make delete-old delete-old-libs Next, After the final reboot, I did # pkg_add -r bash sudo vim-lite $ sysutils/libchk ; sudo make install clean $ sudo libchk Unresolvable link(s) found in: /sbin/pflogd libc.so.6 libpcap.so.4 libutil.so.5 Unresolvable link(s) found in: /sbin/pfctl libmd.so.3 libm.so.4 libc.so.6 Unresolvable link(s) found in: /sbin/atmconfig libc.so.6 libbsnmp.so.3 /usr/bin/sscop libngatm.so.2 libc.so.6 libnetgraph.so.2 libbegemot.so.2 Obviously, this is because of my /etc/make.conf. I wonder if make delete-old-* should account for and delete related files based on NO_* Knobs ? This was direct installed from 6.2-release CD and _immediately_ upgraded. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I went to 8.0 current accidently :(
Josh Paetzel wrote: Regardless, there's no real supported downgrade procedure. It's probably possible, but you are in wizard territory. Its possible, not easy, even with mismatched kernels. make -k repeatedly seems to install enough stuff the first time that the second time its really close. Don't try it in production. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing ports to /usr
Matt Fioravante wrote: Well I was just comtemplating the idea of setting up a freebsd load at my workplace. They already run linux and solaris and because of bad decisions in the past, they mount their afs shares on /usr/local. So I would have to install ports in /usr or some other prefix. Why repeat past mistakes :) ? just make /usr and /usr/local on the freebsd box different partitions. (otional) Then mount it as mount -t nfs feebsd-host:/usr/local /usr/local/freebsd and add /usr/local/freebsd/{sbin,bin} to the $PATH -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache port knobs - WITH_APACHE2 deprecated?
Jonathan McKeown wrote: This is (I hope) a quick and easy question. I want to ensure that any ports which depend on Apache will depend on 2.0 rather than try to bring in 1.3. I used to do this by putting WITH_APACHE2 in /etc/make.conf. bsd.apache.mk says WITH_APACHE2 is deprecated. $ grep apache /etc/make.conf APACHE_PORT=www/apache22 -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Port GUI Config
Donovan R. Palmer wrote: I went to compile a programme in the port tree tonight. When I did so, a GUI popped up with different options. No probs. However, later I decided I wanted to compile it with different options. When I go to compile it, the GUI doesn't pop up any more, so I assume it is using the options I picked out in the first place. Is there a way to bring back this GUI so I can select different options? TIA make config et al: make showconfig make rmconfig make rmconfig-recursive make config-recursive see /usr/ports/Mk/bsd.port.mk its very well documented. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.0, make buildworld without contrib. old top binary in contrib.
peceka wrote: Hi, And why in /usr/src/contrib is very old top binary, 3.5beta12? On http://www.sourceforge.net/projects/unixtop there is top-3.7beta2 where ie. -c option, very helpful, works. B/C there have been substantial changes in both top and in the top in FreeBSD base system. I was actually messing around with updating this. Its at least a day or 3 of solid effort -- at least for lowly me. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Broken port link
Muhammad Usman wrote: Hello There! While i was trying to install p5-Apache-ASP i got error. /usr/ports/www/mod_perl/work/mod_perl-1.30/apaci is corrupted. There are some files missing in this port. Will anybody let me know that where to report this bug. /usr/ports/www/mod_perl/work/mod_perl-1.30/apaci That would be to the maintainer -- at the moment, thats me. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Broken port link
Tino Engel wrote: Muhammad Usman schrieb: Hello There! While i was trying to install p5-Apache-ASP i got error. /usr/ports/www/mod_perl/work/mod_perl-1.30/apaci is corrupted. There are some files missing in this port. Will anybody let me know that where to report this bug. /usr/ports/www/mod_perl/work/mod_perl-1.30/apaci Probably check out the owner on freebsd.org/ports... http://tb1.p6m7g8.net/logs/7-STABLE/p5-Apache-ASP-2.59.log works for me, did you build mod_perl as a dso or statically ? I.E. /usr/ports/www/apache13-modperl vs /usr/ports/www/apache13 /usr/ports/www/mod_perl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
inspiron 1721 xorg/ati radeon 1270 Xpress freebsd amd64 8-current
Hi all, I just bought an Inspiron 1721 b/c I had a ridiculous deal. Its CPU:AMD Turion 64 x2 TL-64 (2.2GHz/1MB) RAM:4GB pc25300 sodimm (2x2GB) (upgraded manually) Screen: 17.0 wide screen (1920x1200) VGA:ATI RADEON Xpress1270 256MB HyperMemory HD: 320G (2x 160) 5400RPM SATA UDMA33 RAID: ATI [fast track(tm)] Sound: Integrated High Definition Audio 2.0 (additional Sound Blaster X-FI Xtreme Audio Express yet to try) 1) Doesn't look like this video card is supported. Is there one I can buy and replace it with thats known to work preferably at 1920x1200 or as close as I can get to it. 2) The RAID card doesn't work, I called dell directly (via my rep) they can't tell me anything more specific about that card *sigh* disabling the RAID card via 'Cntrl-F' in the Fasttrack utility and in the BIOS 'F2' to Auto Detect works around this I suppose I'll take it apart soon and look at the raid card itself. I'm trying this with FreeBSD 8-CURRENT as of today, both GENERIC and a custom KERNEL. Detailed System Information is here: http://people.apache.org/~pgollucci/1720/ Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: flash: linux firefox vs linuxpluginwrapper
Tino Engel wrote: freebsdangel# setenv PATH ${PATH}:/usr/compat/linux/lib you are looking for LD_LIBRARY_PATH You should do this with ldconfig so its there all the time; but use the linux compat one, not the freebsd base system one. The port should have done this for you. cat /compat/linux/etc/ld.so.conf include ld.so.conf.d/*.conf /lib /usr/lib /usr/local/lib -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: making packages from ports
Daniel Marsh wrote: On Nov 13, 2007 11:48 AM, Dave [EMAIL PROTECTED] wrote: Hello, I've got a box i'd like to build packages from ports on, and deploy those packages to other machines. I'll use postfix as an example. I did make package from postfix's directory and selected pcre and mysql support. I got the postfix tarball package, but when i tried to install it on another box it needed pcre and mysql-client packages. I had to run make package in each of their directories. I was wondering if there was a recursive way of package making? Thanks. Dave. Have a look at pkg_create(1) make package-recursive ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: flash: linux firefox vs linuxpluginwrapper
John wrote: I've been struggling to get a handle on the FreeBSD system. Making good progress, but then I ran into the fact that Firefox on FreeBSD can't do flash. Definite showstopper, for me. Ok, then I tried to use the linuxpluginwrapper approach, and it didn't work. It made me recall, in reading up on FreeBSD, I did see where somebody installed both Firefox and Linx-firefox. So before I do battle with this Linux wrapper approach, I wondered if I would be better off simply installing the Linux-firefox? Is that easier? More likely to work? http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2007-07/msg01919.html That will work just fine using flash7. When you need flash9, thats a different story. works on 6.2, 6.3, 7.0-current, 7.0-betaX, and 8.0-current. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: flash: linux firefox vs linuxpluginwrapper
Philip M. Gollucci wrote: John wrote: I've been struggling to get a handle on the FreeBSD system. Making good progress, but then I ran into the fact that Firefox on FreeBSD can't do flash. Definite showstopper, for me. Ok, then I tried to use the linuxpluginwrapper approach, and it didn't work. It made me recall, in reading up on FreeBSD, I did see where somebody installed both Firefox and Linx-firefox. So before I do battle with this Linux wrapper approach, I wondered if I would be better off simply installing the Linux-firefox? Is that easier? More likely to work? http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2007-07/msg01919.html cd /usr/ports/emulators/linux_base-fc6 ; make install clean There is now: cd /usr/ports/emulators/linux_base-f7 ; make install clean which you should use instead -- its newer :) -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Port dependencies
Andrey Shuvikov wrote: Hello, I'm trying to figure out port dependencies on my (freshly installed) FreeBSD 7.0. For example, I have two automake ports: $ pkg_info | grep automake-1 automake-1.5_4,1GNU Standards-compliant Makefile generator (1.5) automake-1.6.3 GNU Standards-compliant Makefile generator (1.6) These particular ports are special, I don't think any port should list them as RUN_DEPENDS, but rather as BUILD_DEPENDS. So to answer your question, no, you don't need them. But if you were to recompile things, they would need to be built again. You should look at the automake-wrapper port. ade@ and des@ have done loads of work with the autotools. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: About Freebsd 7.0 versus 6.3
Roland Smith wrote: Port upgrade tools are not guaranteed to work perfectly in this situation. I tried doing an update with portmanager and ended up with some binaries linked against both libc.so.6 and libc.so.7! Some ports didn't even compile. Yeah, I almost always delete packages during an OS upgrade and re-install them. Plus it justs makes me feel like the system is 'clean' Really, you'd want to recompile everything anyway for the libc.so.6 - libc.so.7 bump even if the port version didn't change. Yes, you can use /etc/libmap.conf and/or compat6x but this is just so much nicer. Also, when new releases come out, new packages are built, so -P is your friend and the packages will quite up-to-date with whats in the port tree since they were just built. It took me about a day and a night to reinstall everything (415 ports), mostly un-attended. But then I don't use OpenOffice nor java and fvwm2 instead of Gnome/KDE. On another note, I generally do a pkg_add -r xorg to start that off Finally, I've taken serveral (~50) boxes from 5.3 - 8.0-current via source updates with 0 problems. I've even gone down from 8-7.0BETA1.5 (that was a little painful) and then back to 8.0. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cmos clock to utc time code?
jekillen wrote: Hello again; Here I am with another awkward question: I have set up ntp and it is complaining that the time difference is too great; 3606 or so seconds, and wants the system clock set to utc. I rebooted and entered bios set up but I did not see any explicit clues on how to set this clock to utc. (0r even if it is possible). The motherboard is ECS w/AMD64. I did not catch the bios vendor or version. If I have to I will reboot again to look at it or dig up the manual for the motherboard. I tried sysinstall but it just asks if the system clock is set to utc. (thus the question here) Any advice, suggestions, info appreciated; Thanks in advance Jeff K This doesn't really have anything to do with your CMOS clock. sysctl kern.securelevel at 1, you can't change the clock by more than 1 second. man 7 securelevel Look for phrase - 'The security levels are:' You can't lower it without rebooting. You can change it in /etc/rc.conf(5). $ grep secure /etc/rc.conf kern_securelevel=-1 kern_securelevel_enable=YES Or your could boot single user mode and run ntpdate once yourself since the securelevel (securit level) isn't set until you go multi-user mode. $ ntpdate server.com HOWEVER, I recommend the new fangled way you are supposed to do this: 1) Enable it in /etc/rc.conf(5) echo 'ntpd_enable=YES' /etc/rc.conf echo 'ntpd_sync_on_start=YES' /etc/rc.conf 2) Create /etc/ntp.conf(5) echo server ntp-1.vt.edu /etc/rc.conf echo driftfile /var/db/ntp.drift /etc/rc.conf Use time servers close to you though and more than 1. 3) Reboot Finally, about the timezone By default sysinstall(8) copies a file from /usr/share/zoneinfo to /etc as file localtime based on your choices during the install. You can even run sysinstall again to update it post install. ls -l /etc/localtime -r--r--r-- 1 root wheel - 1.2K Jul 25 14:58:48 2007 /etc/localtime HOWEVER, its easier to just create a symlink to the one you want. If you want your system to run in utc time do this: cd /etc sudo rm -rf /etc/localtime sudo ln -s /usr/share/zoneinfo/etc/UTC localtime Test it: $ date (bash syntax) $ TZ=America/New_York date . Check your ntpd(8) communications with time servers: $ ntpq -p remote refid st t when poll reach delay offset jitter == *ntp-1.cns.vt.ed 198.82.247.402 u 97 1024 377 15.690 37.394 23.382 -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: compile ports and base using both cores
Chris Whitehouse wrote: Chris Whitehouse wrote: Hi, Installing ports or upgrading the base system only uses around 50% cpu utilization (measured with the top utility) on my dual core machine. Is there some way I can get higher cpu usage? /usr/src/UPDATING says don't use make -j. I tried installing openoffice.org-2 with make -j 2 but it failed at some stage saying it couldn't find a directory. It works not using -j. This was just added to the ports tree as port of Google Summer of Code 2007. I don't recall if its was complete. Lots of people compile the base system with -jX The sweet spot is typically number of cores + 1 so on a dual dual core computer use -j5 If your disks are slow, they will hold your cpu back. -- - Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with Apache22
Which MPM did you use, if you didn't change it the default is prefork. how about: ldd /usr/local/sbin/httpd | egrep 'libthr|libpthread|libc_r' ldd /usr/local/libexec/mysqld | egrep 'libthr|libpthread|libc_r' ldd /usr/local/bin/php| egrep 'libthr|libpthread|libc_r' ldd /usr/local/lib/libaprutil-1.so.2 | egrep 'libthr|libpthread|libc_r' ldd /usr/local/lib/libapr-1.so.2 | egrep 'libthr|libpthread|libc_r' ldd /usr/local/lib/mysql/libmysqlclient.so.15 | \ egrep 'libthr|libpthread|libc_r' WITHOUT_THREADS=true So it looks like you don't want threads. That makes things easier as its the simpler case. At any rate, you'll want the output of all the above to match. Nothing in the ktrace/kdump jumps out at me. Are you sure it crashed ? (and you were attached to the correct httpd child) httpd -X and/or httpd -DONE_PROCESS might be helpful for that. Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim doesn't preserve the terminal content
I use vim both on Linux and FreeBSD. On Linux after I exit vim original screen content is restored. On FreeBSD vim leaves the last content viewed in vim. How do I make vim preserve the screen? I don't know how to do that, but it is one Lunix (bash?) feature that I hate and would like to know how to change it to function the way it does under FreeBSD (tcsh). I hate it when it restores my screen and to prevent that in linux I added this to my .vimrc: set t_ti = set t_te = So read about whatever those options mean and set them accordingly... -philip ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with Apache22
Peter Uthoff wrote: 10:45:11 kernel: pid 66395 (httpd), uid 80: exited on signal 4 Oct 25 Can you provide either an strace or ktrace/kdump output from one of the children. Just attached to one let it die, then send the last 500 lines or so of the output. You probably have core dumps somewhere too -- a backtrace might be helpful. Do you threading libraries match across the board for all software (aka use ldd). sysctls: kern.sugid_coredump=1 kern.corefile=core.%N.%P also, cd /var/db/pkg ; /bin/ls -1 apache* php5* mysql* mod_* I don't believe the 'busy' message is accurate. Correct. The sad part is that these all show no errors in their logs even with them turned up to debug level Thats because the error is happening before the parent hands off the request to the child. This output might be helpful to others cat /var/db/ports/apache22/options Finally, Some snippets from the httpd.conf such as loaded modules and other custom/non default things you have as well. Philip M. Gollucci ([EMAIL PROTECTED]) o:703.749.9295x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: reverse DNS resolution...
As I already stated, if I do a host 172.30.x.x, I get a the correct reverse resolution. dig works as well. What isn't working is the reverse resolution in certain command outputs, etc. Maybe there is something missing here: Install wireshark on one of the clients -- filter on protocol dns. It will be plain as day whats happening. -- Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: reverse DNS resolution...
Eric F Crist wrote: Hey folks, We're trying to get reverse DNS resolution for a block of IPs (private). We've had the 10.x network working great at the office for quite some time now, but I'm having a problem getting the 172.30.x network to work. Typing 'host ip' returns a valid result, however output from who, as well as other network services (IRC, apache) only see the IP. Is there something I'm missing? Thanks for the pointers! Well, your DNS needs to be authoritative for both forward and reverse. If you are trying to do this for less then a /24 block the zone files get messy quick because of the 8bit boundaries. You seem to be trying to do this for a /16. I'll bet you're missing the named.conf entries and related reverse zone files: Odds are you'll want to have zones: zone 1.30.172.in.addr.arpa { type master; file master/1.30.172.in.addr.arpa notify yes; } zone 255.30.172.in.addr.arpa { ;; or slave config since you'll have more than 1 ns type slave; file slave/255.30.172.in.addr.arpa; masters { x.y.z.a; }; } Or some larger splits of that. You're going to have give me a netmask for more help. $ORIGIN . $TTL 3600 ; 1 hour 0.28.172.in-addr.arpa IN SOA ns1.rws. admin.Z. ( 2007101800 ; Serial 10800 ; refresh (3 hours) 3600 ; retry (1 hour) 3600 ; expire (1 hour) 86400 ; minimum (1 day) ) NS ns1.Z. $ORIGIN 0.28.172.in-addr.arpa. 1 PTR router.Z. .. -- Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[SOLVED]: - Re: FreeBSD and barracudas
Philip M. Gollucci wrote: Joost Bekkers wrote: On Fri, October 19, 2007 20:23, Philip M. Gollucci wrote: The problem is the barracuda can not get to it. I actually don't see any reason why it should. Its supposed to merely rewrite the MAC to one of the 'Real Servers' when it receives a request for a VIP (Virtual IP). Network: 192.168.0.0/22 Firewall/Gateway: 192.168.0.1 DNS: 192.168.0.25, 192.168.0.24, 172.28.0.50(different class C) Broadcast: 192.168.3.255 Netmask: 255.255.252.0 Barracdua WAN: 192.168.0.169 Barracuda LAN: N/A in DSR mode. VIP: 192.168.0.49 Real Server 1: 192.168.0.50 Real Server 2: 192.168.t0.51 If you're trying to do what I think you're doing (yep, that's a big IF) you've got things reversed. Real Server #: should point to the ip address on the PHYSICAL interface of the Dell(s). The address to add to lo0 is the VIP, in this case 192.168.0.49 Still no dice: Thanks Joost!!! you hit that right on the nose. I had just forgotten to update the ips my httpd was listening to when I made that change Let the Weekend Begin! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and barracudas
Joost Bekkers wrote: On Fri, October 19, 2007 20:23, Philip M. Gollucci wrote: The problem is the barracuda can not get to it. I actually don't see any reason why it should. Its supposed to merely rewrite the MAC to one of the 'Real Servers' when it receives a request for a VIP (Virtual IP). Network: 192.168.0.0/22 Firewall/Gateway: 192.168.0.1 DNS: 192.168.0.25, 192.168.0.24, 172.28.0.50(different class C) Broadcast: 192.168.3.255 Netmask: 255.255.252.0 Barracdua WAN: 192.168.0.169 Barracuda LAN: N/A in DSR mode. VIP: 192.168.0.49 Real Server 1: 192.168.0.50 Real Server 2: 192.168.t0.51 If you're trying to do what I think you're doing (yep, that's a big IF) you've got things reversed. Real Server #: should point to the ip address on the PHYSICAL interface of the Dell(s). The address to add to lo0 is the VIP, in this case 192.168.0.49 Still no dice: ifconfig bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING inet 192.168.0.166 netmask 0xfc00 broadcast 192.168.3.255 ether 00:19:b9:f8:29:e3 media: Ethernet autoselect (1000baseTX full-duplex) status: active lo0: flags=80c9UP,LOOPBACK,RUNNING,NOARP,MULTICAST mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 inet 192.168.0.49 netmask 0xfff0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]