From alexandre.chapellon at mana.pf Fri May 28 20:02:48 2010 From: alexandre.chapellon at mana.pf (Alexandre Chapellon) Date: Fri, 28 May 2010 10:02:48 -1000 Subject: [dsc] dsc fails to run Message-ID: <1275076968.9363.18.camel@mcbain.mana.lan> Hello I had dsc up and running for months on 4 of my bind servers. We recently had to upgrade one of them and switched it to a Debian Lenny amd64 OS. I re-intsalled dsc collector on the new machine, compiling and installing ran without complainning but dsc fails to launch with: sudo /usr/local/dsc/bin/dsc -f -d /usr/local/dsc/etc/dsc.conf complete failure Pree.cc:70: assertion failed: 'i != rawEnd()' Abandon Is it something anyone know about? How could I troubleshoot? Thanks in advance. -- Alexandre Chapellon Mana SAS From wessels at measurement-factory.com Fri May 28 23:00:00 2010 From: wessels at measurement-factory.com (Duane Wessels) Date: Fri, 28 May 2010 17:00:00 -0600 (MDT) Subject: [dsc] dsc fails to run In-Reply-To: <1275076968.9363.18.camel@mcbain.mana.lan> References: <1275076968.9363.18.camel@mcbain.mana.lan> Message-ID: On Fri, 28 May 2010, Alexandre Chapellon wrote: > Hello > > I had dsc up and running for months on 4 of my bind servers. > We recently had to upgrade one of them and switched it to a Debian Lenny > amd64 OS. > I re-intsalled dsc collector on the new machine, compiling and > installing ran without complainning but dsc fails to launch with: > > sudo /usr/local/dsc/bin/dsc -f -d /usr/local/dsc/etc/dsc.conf > complete failure > Pree.cc:70: assertion failed: 'i != rawEnd()' > Abandon > > Is it something anyone know about? > How could I troubleshoot? Hi Alexandre, I have not seen this particular error before, but I can tell you that it is having trouble with parsing the configuration file. So first check the dsc.conf file for any changes or problems. Since you mentioned that you re-installed DSC I have a theory that maybe it didn't get entirely recompiled. Before you recompile DSC make sure that the collector/TmfBase/Hapy/src directory is clean. If you still have the problem after that, see if running in debug mode helps give any hints. For example, you can run (doesn't have to be as root): $ ./dsc -d /path/to/dsc.conf and you should get some output like this: adding local address 192.168.0.1 setting current directory to /usr/local/dsc/run/foo PID file is: /var/run/dsc.pid BPF program is: port 53 Opening interface fxp0 pcap_open_*: (no devices found) /dev/bpf0: Permission denied From alexandre.chapellon at mana.pf Sat May 29 00:35:03 2010 From: alexandre.chapellon at mana.pf (Alexandre Chapellon) Date: Fri, 28 May 2010 14:35:03 -1000 Subject: [dsc] dsc fails to run In-Reply-To: References: <1275076968.9363.18.camel@mcbain.mana.lan> Message-ID: <1275093303.18511.88.camel@mcbain.mana.lan> Somehow my dsc.conf was corrupted. I rebuilt it from scratch and now it's ok thanks a lot. Le vendredi 28 mai 2010 ? 17:00 -0600, Duane Wessels a ?crit : > > > On Fri, 28 May 2010, Alexandre Chapellon wrote: > > > Hello > > > > I had dsc up and running for months on 4 of my bind servers. > > We recently had to upgrade one of them and switched it to a Debian Lenny > > amd64 OS. > > I re-intsalled dsc collector on the new machine, compiling and > > installing ran without complainning but dsc fails to launch with: > > > > sudo /usr/local/dsc/bin/dsc -f -d /usr/local/dsc/etc/dsc.conf > > complete failure > > Pree.cc:70: assertion failed: 'i != rawEnd()' > > Abandon > > > > Is it something anyone know about? > > How could I troubleshoot? > > Hi Alexandre, > > I have not seen this particular error before, but I can tell you > that it is having trouble with parsing the configuration file. So > first check the dsc.conf file for any changes or problems. > > Since you mentioned that you re-installed DSC I have a theory that > maybe it didn't get entirely recompiled. Before you recompile DSC > make sure that the collector/TmfBase/Hapy/src directory is clean. > > If you still have the problem after that, see if running in debug > mode helps give any hints. For example, you can run (doesn't have > to be as root): > > $ ./dsc -d /path/to/dsc.conf > > and you should get some output like this: > > adding local address 192.168.0.1 > setting current directory to /usr/local/dsc/run/foo > PID file is: /var/run/dsc.pid > BPF program is: port 53 > Opening interface fxp0 > pcap_open_*: (no devices found) /dev/bpf0: Permission denied > -- Alexandre Chapellon Mana SAS