IPFW transparent VS dummynet rules

2012-01-07 Thread budsz
Hi folks, I already found the mistake of my ruleset sequence on my box, for ex: ${fwcmd} add 30 fwd ${ipproxy},${portproxy} tcp from ${ipclproxy} to any dst-port ${porthttp} in via ${ifint0} ${fwcmd} add 52 pipe 2 ip from any to ${ipclient} via ${ifint0} ${fwcmd} add 53 pipe 3 ip from

Re: IPFW transparent VS dummynet rules

2012-01-07 Thread Ian Smith
On Sat, 7 Jan 2012, budsz wrote: Hi folks, I already found the mistake of my ruleset sequence on my box, for ex: ${fwcmd} add 30 fwd ${ipproxy},${portproxy} tcp from ${ipclproxy} to any dst-port ${porthttp} in via ${ifint0} ${fwcmd} add 52 pipe 2 ip from any to ${ipclient} via

journal on raid device

2012-01-07 Thread Peter Mukhachev
Hello everyone! I recently bought a via6421 bulk raid controller and I'm trying to get journalling working. I've partitioned it and set up journal with fdisk, bsdlabel and gjournal: # fdisk -I /dev/ar0 # bsdlabel -w /dev/ar0 # gjournal load # gjournal label /dev/ar0s1a # newfs -O 2 -J

9.0-STABLE custom kernel interrupt storm irq10

2012-01-07 Thread Bas Smeelen
Hi all, After updating the sources to 9.0-STABLE and building a custom kernel I get a interrupt storm on irq10, from messages I get that different devices use irq10. It starts after loading ums0 and wlan0 and ath0 times out then. Rebuilding the GENERIC kernel en booting does not give this

Having problems running shell script from crontab

2012-01-07 Thread Kaya Saman
Hi, I wrote a shell script to detect if the port of tomcat was in use or not then restart if the port wasn't online; due to tomcat segfaulting as my system hasn't got enough memory for it. This is the shell script: #!/usr/local/bin/bash ntstat=`netstat -ap tcp | grep 8180 | sed -n '1p'`

Re: Having problems running shell script from crontab

2012-01-07 Thread Yuri Pankov
On Sat, Jan 07, 2012 at 02:21:51PM +0200, Kaya Saman wrote: Hi, I wrote a shell script to detect if the port of tomcat was in use or not then restart if the port wasn't online; due to tomcat segfaulting as my system hasn't got enough memory for it. This is the shell script:

Re: Having problems running shell script from crontab

2012-01-07 Thread Kaya Saman
On 01/07/2012 03:05 PM, Yuri Pankov wrote: On Sat, Jan 07, 2012 at 02:21:51PM +0200, Kaya Saman wrote: Hi, I wrote a shell script to detect if the port of tomcat was in use or not then restart if the port wasn't online; due to tomcat segfaulting as my system hasn't got enough memory for it.

Re: Having problems running shell script from crontab

2012-01-07 Thread RW
On Sat, 07 Jan 2012 14:21:51 +0200 Kaya Saman wrote: The strange thing is that if I run this script manually /root/java_restart/java_restart.sh it works fine and does what it's supposed to do. The commonest reason for scripts that that work from a terminal failing under cron is that the

Re: Having problems running shell script from crontab

2012-01-07 Thread Kaya Saman
On 01/07/2012 03:22 PM, RW wrote: On Sat, 07 Jan 2012 14:21:51 +0200 Kaya Saman wrote: The strange thing is that if I run this script manually /root/java_restart/java_restart.sh it works fine and does what it's supposed to do. The commonest reason for scripts that that work from a terminal

Re: Having problems running shell script from crontab

2012-01-07 Thread RW
On Sat, 07 Jan 2012 15:37:49 +0200 Kaya Saman wrote: n terms of paths this is what I'm doing: I'm in a FreeBSD jail logged in by - #jexec jail tcsh which gets me in as root. Crontab is being run as root so paths should be the same no? PATH is set at the top of /etc/crontab

Re: Having problems running shell script from crontab

2012-01-07 Thread Matthew Seaman
On 07/01/2012 13:57, RW wrote: On Sat, 07 Jan 2012 15:37:49 +0200 Kaya Saman wrote: n terms of paths this is what I'm doing: I'm in a FreeBSD jail logged in by - #jexec jail tcsh which gets me in as root. Crontab is being run as root so paths should be the same no? No -- you can't assume

Re: Having problems running shell script from crontab

2012-01-07 Thread Kaya Saman
On 01/07/2012 03:57 PM, RW wrote: On Sat, 07 Jan 2012 15:37:49 +0200 Kaya Saman wrote: n terms of paths this is what I'm doing: I'm in a FreeBSD jail logged in by - #jexecjail tcsh which gets me in as root. Crontab is being run as root so paths should be the same no? PATH is set at the top

Re: Having problems running shell script from crontab

2012-01-07 Thread Kaya Saman
On 01/07/2012 04:30 PM, Matthew Seaman wrote: On 07/01/2012 13:57, RW wrote: On Sat, 07 Jan 2012 15:37:49 +0200 Kaya Saman wrote: n terms of paths this is what I'm doing: I'm in a FreeBSD jail logged in by - #jexecjail tcsh which gets me in as root. Crontab is being run as root so paths

ZFS Root Won't Mount - Unknown Filesystem

2012-01-07 Thread Drew Tomlinson
I'm attempting a new install of 9.0-RC3 amd64. My system has 4 500 GB drives. Using this tutorial as a guide: http://www.aisecure.net/2011/11/28/root-zfs-freebsd9/ I created a boot and a freebsd-zfs partition on each drive. Then I created a raid1z pool using all 4 drives. I followed the

Re: ZFS Root Won't Mount - Unknown Filesystem

2012-01-07 Thread Mark Felder
Hi Drew, I'm pretty sure you can't run a RAIDZ as your root pool. That's likely the problem. Kind of sucks, I know :-( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send

Re: ZFS Root Won't Mount - Unknown Filesystem

2012-01-07 Thread APseudoUtopia
On Sat, Jan 7, 2012 at 11:14 AM, Mark Felder f...@feld.me wrote: Hi Drew, I'm pretty sure you can't run a RAIDZ as your root pool. That's likely the problem. Kind of sucks, I know :-( You can use raidz1 as your root pool. I'm running it right now on my 9.0 system. Drew: My first suggestion

Re: ZFS Root Won't Mount - Unknown Filesystem

2012-01-07 Thread Daniel Staal
--As of January 7, 2012 10:14:00 AM -0600, Mark Felder is alleged to have said: Hi Drew, I'm pretty sure you can't run a RAIDZ as your root pool. That's likely the problem. Kind of sucks, I know :-( --As for the rest, it is mine. I've been running RAIDZ as a root pool for months. (Under

Re: ZFS Root Won't Mount - Unknown Filesystem

2012-01-07 Thread Warren Block
On Sat, 7 Jan 2012, Drew Tomlinson wrote: Unfortunately because I can't figure out how to get a LiveCD type environment with sshd running, I can't copy and paste exact error messages or command outputs. Martin Matuska's excellent mfsBSD can do that: http://mfsbsd.vx.sk/ One of the new

Re: 9.0-STABLE custom kernel interrupt storm irq10

2012-01-07 Thread Bas Smeelen
On Sat, 7 Jan 2012 13:17:01 +0100 Bas Smeelen b.smee...@ose.nl wrote: Hi all, After updating the sources to 9.0-STABLE and building a custom kernel I get a interrupt storm on irq10, from messages I get that different devices use irq10. It starts after loading ums0 and wlan0 and ath0 times

Re: ZFS Root Won't Mount - Unknown Filesystem -- SOLVED

2012-01-07 Thread Drew Tomlinson
On 1/7/2012 8:29 AM, APseudoUtopia wrote: On Sat, Jan 7, 2012 at 11:14 AM, Mark Felderf...@feld.me wrote: Hi Drew, I'm pretty sure you can't run a RAIDZ as your root pool. That's likely the problem. Kind of sucks, I know :-( You can use raidz1 as your root pool. I'm running it right now on

Re: ZFS Root Won't Mount - Unknown Filesystem

2012-01-07 Thread Drew Tomlinson
On 1/7/2012 8:39 AM, Warren Block wrote: On Sat, 7 Jan 2012, Drew Tomlinson wrote: Unfortunately because I can't figure out how to get a LiveCD type environment with sshd running, I can't copy and paste exact error messages or command outputs. Martin Matuska's excellent mfsBSD can do that:

Re: ZFS Root Won't Mount - Unknown Filesystem

2012-01-07 Thread Mark Felder
On Sat, 07 Jan 2012 10:29:01 -0600, apseudouto...@gmail.com wrote: On Sat, Jan 7, 2012 at 11:14 AM, Mark Felder f...@feld.me wrote: Hi Drew, I'm pretty sure you can't run a RAIDZ as your root pool. That's likely the problem. Kind of sucks, I know :-( You can use raidz1 as your root

Re: xfce4 / gtk-update-icon-cache fails with cairo needs X11

2012-01-07 Thread Waitman Gobble
On Fri, Jan 6, 2012 at 6:59 AM, Waitman Gobble gobble...@gmail.com wrote: Hi, I am doing a fresh install of FreeBSD 9.0-RC3 from FreeBSD-9.0-RELEASE-i386-memstick.img on an Acer Aspire One netbook. Last night I attempted to install xfce4 from /usr/ports/x11-wm and it stopped with error:

Installing FreeBSD ver. 8.2

2012-01-07 Thread leeoliveshackelford
Greetings, dear FreeBSD enthusiast. I am tearing my hair out trying to get FreeBSD 8.2 operating on my Hewlett-Packard xw4400 workstation. I am a newcomer to FreeBSD. This workstation is used by several different people. Normally, only one of them is logged in at any given time. I have

Re: creating a bootable iso for raid BIOS flash

2012-01-07 Thread Polytropon
On Fri, 6 Jan 2012 17:22:57 +0100 (CET), Marco Beishuizen wrote: After that I tried to create the iso with: root@yokozuna:/data2/tmp# mkisofs -r -J -b [BOOT]/Bootable_HardDisk.img -hard-disk-boot -o raid.iso /data2/tmp which gives an error: mkisofs: No match First I thought the directory

Re: Installing FreeBSD ver. 8.2

2012-01-07 Thread Rares Aioanei
On 01/08/2012 01:05 AM, leeoliveshackelf...@surewest.net wrote: Greetings, dear FreeBSD enthusiast. I am tearing my hair out trying to get FreeBSD 8.2 operating on my Hewlett-Packard xw4400 workstation. I am a newcomer to FreeBSD. This workstation is used by several different people.

Re: Installing FreeBSD ver. 8.2

2012-01-07 Thread Polytropon
On Sat, 7 Jan 2012 15:05:55 -0800 (PST), leeoliveshackelf...@surewest.net wrote: (1) Does anyone know how to get FreeBSD to read the motherboard name? This name, on an xw4400, starts with HP followed by a eleven digits, and is given in Windows XP as Full Computer Name on the Computer Name

Re: creating a bootable iso for raid BIOS flash

2012-01-07 Thread Marco Beishuizen
On Sun, 8 Jan 2012, the wise Polytropon wrote: If this is depending on the name [BOOT], there are two ways to deal with special characters in file names, if you need to specify them on the command line: a) use escape sequences: -b \[BOOT\]/Bootable_HardDisk.img b) use quoting:

Installing Gambas port

2012-01-07 Thread Gene
Is anyone successfully running Gambas on an amd64 system? My attempt at the port install dies because the dependency math/ldouble is 32 bit only. Any help appreciated. Gene -- ___ freebsd-questions@freebsd.org mailing list

No buffer space available on igb0

2012-01-07 Thread Коньков Евгений
Hi # uname -a FreeBSD 9.0-STABLE FreeBSD 9.0-STABLE #7: Sat Jan 7 00:24:06 EET 2012 @:/usr/obj/usr/src/sys/KES_KERN_v9 i386 igb stops to work. saing 'No bufferspace available' no messages in /var/log/messages.log, /var/log/console.log, dmesg is empty tcpdump -n -i igb0 shows nothing.

Re: creating a bootable iso for raid BIOS flash

2012-01-07 Thread Polytropon
On Sun, 8 Jan 2012 01:11:30 +0100 (CET), Marco Beishuizen wrote: On Sun, 8 Jan 2012, the wise Polytropon wrote: If this is depending on the name [BOOT], there are two ways to deal with special characters in file names, if you need to specify them on the command line: a) use escape

Re: No buffer space available on igb0

2012-01-07 Thread Коньков Евгений
additional info sysctl -a | grep igb IGB Core Lock,igb0:tx(0) igb0:tx(0),bpf interface lock igb0:tx(0),system map igb0:tx(0),UMA zone IGB Core Lock,igb0:tx(1) igb0:tx(1),system map igb0:tx(1),UMA zone IGB Core Lock,igb0:tx(2) igb0:tx(2),bpf interface lock igb0:tx(2),UMA zone IGB Core

Re: xfce4 / gtk-update-icon-cache fails with cairo needs X11

2012-01-07 Thread Waitman Gobble
On Sat, Jan 7, 2012 at 1:47 PM, Waitman Gobble gobble...@gmail.com wrote: Hit another snag, seems to be related to doxygen. Seems to be going in an infinite loop of dependency checking. in /usr/ports/devel/doxygen make rmconfig-recursive then make install clean went back to

Re: creating a bootable iso for raid BIOS flash

2012-01-07 Thread Marco Beishuizen
On Sun, 8 Jan 2012, the wise Polytropon wrote: Does this image boot successfully? I don't know yet because I've used all my cd-r's :-(. Within a few days I'm expecting some new cd-rw's and I'll let you know how things went. If you compare your ISO with the original one, file sizes should

RELENG_9 and mps driver (LSI 9211-8i)

2012-01-07 Thread Dennis Glatting
I have three LSI 9211-8i boards in my system: two flashed to T and one R. The Ts appear to work fine but the operating system doesn't see the RAID1 volume on R, but neither did RELENG_8. I am writing to ask how well R is supported, if at all. Or, since this my first case of using R under

Re: Installing FreeBSD ver. 8.2

2012-01-07 Thread Carl Johnson
Polytropon free...@edvax.de writes: On Sat, 7 Jan 2012 15:05:55 -0800 (PST), leeoliveshackelf...@surewest.net wrote: (1) Does anyone know how to get FreeBSD to read the motherboard name? This name, on an xw4400, starts with HP followed by a eleven digits, and is given in Windows XP as