Language:
switch to room list switch to menu My folders
Go to page: First ... 19 20 21 22 [23] 24 25 26 27 ... Last
[#] Mon Oct 31 2005 14:44:40 EST from Hue Jr. @ Anansi-Del

[Reply] [ReplyQuoted] [Headers] [Print]


Purify if you have access to it. It's not free, unfortunately.

[#] Mon Oct 31 2005 16:56:26 EST from hjalfi @ Uncensored

Subject: Re: (no subject)

[Reply] [ReplyQuoted] [Headers] [Print]

Hmm. My program contains exactly three occurrances of the 'new' keyword, so I
doubt it's a memory allocation error, but... given the horrific stringstream
bug it's worth a try. Will report back.

[#] Mon Oct 31 2005 18:37:40 EST from "hjalfi" <hjalfi@uncensored.citadel.org>

Subject: Re: (no subject)

[Reply] [ReplyQuoted] [Headers] [Print]

Bah. Works fine.

[#] Wed Nov 02 2005 22:17:12 EST from georbit @ Haven BBS

[Reply] [ReplyQuoted] [Headers] [Print]

I somehow missed the original C++ question... can't seem to find it in the history either.

[#] Fri Oct 28 2005 23:26:46 EDT from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Hey unix heads...

Is there a way to have a single program use syslog() to log to two or more different facilities? Or do I have to repeatedly close my syslog connection and reopen it?

[#] Sat Oct 29 2005 00:40:18 EDT from Peter Pulse @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Actually, you can. Pass 0 to logopen() for the facility, then bitwise-or the facility to the priority (severity) value in the call to syslog(). It should work...

[#] Sat Oct 29 2005 00:41:44 EDT from Peter Pulse @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

But.. you can't log the same message to more than one facility (don't | more than one facility). If you want to do that you'll have to call syslog() twice.

[#] Sat Oct 29 2005 08:09:08 EDT from "hjalfi" <hjalfi@uncensored.citadel.org>

Subject: (no subject)

[Reply] [ReplyQuoted] [Headers] [Print]

I've got this application wot I wrote, which I actually have some users for.
I'm trying to get a new release out with some security fixes.

Unfortunately, before I can do that I need to fix a rather unpleasant bug. The
symptoms are that on *some* people's machines, it crashes almost immediately
--- but of course, not on my machine. I've pored over core dumps and
backtraces and so on and basically don't have a clue.

The program is written in C++ on Linux, making heavy use of the STL. The crash
occurs deep within stringstream (I'm trying to write an integer with <<) and
its exact location varies, but the core dumps seem to indicate it's coming
from a function called __pthread_reset_main_thread. There's some locale stuff
further up the stack.

The three machines that it's crashed on seem to be assorted Debian systems,
almost identical to the one I develop on. The only thing they seem to do
differently is that they're set up in German.

Any suggestions?

[#] Sun Nov 06 2005 16:22:46 EST from georbit @ Haven BBS

[Reply] [ReplyQuoted] [Headers] [Print]

Ahh, I see now why I didn't see the C++ code. I use the text client, through ssh, and there seems no way to view the attachment.

[#] Mon Dec 19 2005 07:14:40 EST from dothebart @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

btw, you can use metalog (http://metalog.sf.net) if you want more descent sorting in your /var/log/.

This really rocks. and it's easy configurable too. It allso enables you of using regular expressions on loglines to sort them if you need to. 



[#] Mon Dec 19 2005 11:10:05 EST from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

I'm doing something similar with syslog-ng on a logserver that receives log messages from about 100 different sources. We sort by source, then by date.
Makes life a little easier when you're looking for something specific.

[#] Wed May 10 2006 18:05:08 EDT from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Right now I'm giving some consideration to building a host-based router. We're not going to run our backbone on it or anything, but I may experiment with running some unimportant test networks on it, and it'll be a nice diagnostic point as a route server that we can point a Looking Glass at for BGP information.

Questions:

1. quagga or zebra? Or something else?

2. Which **ix has the fastest kernel for packet forwarding?

[#] Thu May 11 2006 09:41:35 EDT from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

I vaguely recall bsd or networkbsd whatever it's called were particularly boasty about their packet forwarding, but it's only a vague memory and from a long time ago.

[#] Thu May 11 2006 09:56:03 EDT from Freakdog @ Dog Pound BBS II

[Reply] [ReplyQuoted] [Headers] [Print]

FWIW, I'm using a Linux system, here, as my router/firewall, and haven't had any problems with throughput/packet forwarding/firewall performance.

[#] Thu May 11 2006 14:21:36 EDT from Animal @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

NetBSD?

[#] Fri May 12 2006 11:46:41 EDT from gatedude2005 @ Dog Pound BBS II

Subject: Help!!

[Reply] [ReplyQuoted] [Headers] [Print]

Hi, I know that I'm a new user here, but I need some serious help!!! This MAC OS X 10.4 was given to me for my birthday. The old owner cant remeber the password to get into the system and I managed to create a user account but with limited access. He doesnt have the install disk so is there a way into the system by the Unix?

[#] Tue May 30 2006 14:20:07 EDT from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Another question for anyone who happens to know...

Is the default filesystem on FreeBSD a journaling filesystem? If not, how do I enable one?

[#] Tue May 30 2006 14:51:04 EDT from "hjalfi" <hjalfi@uncensored> to IGnatius T Foobar <ajc@uncensored.citadel.org>

Subject: Re: (no subject)

[Reply] [ReplyQuoted] [Headers] [Print]

FFS claims to have a mechanism called soft updates, which means it doesn't need to be journaled --- see tunefs -n or newfs -U.


[#] Tue May 30 2006 15:26:10 EDT from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

What about UFS?

[#] Tue May 30 2006 16:47:30 EDT from Kinetix @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Last I checked, there weren't any stable journalled file systems for FreeBSD... I could be wrong though, but I hung out with a FreeBSD freak for a long time and all his boxes had to fsck like mad on a bad reboot.

Go to page: First ... 19 20 21 22 [23] 24 25 26 27 ... Last