At 01:33 PM 11/7/2007, Josh Luthman wrote:
One thing I've noticed with netstat is a lot of people don't use the -n argument, causing things like "http" or "ssh" to show up. Though it is unlikely bigbrother is there I'd confirm with:
netstat -an|grep 1984
Nothing.. And as I mentioned, ps aux shows only the one line, not the four or five listed in the documentation:
ps aux | grep hobbit
hobbit 6032 0.0 0.0 27412 256 ?? Ss 12:02PM 0:00.16 /Users/hobbit/server/bin/hobbitlaunch --config=/Users/hobbit/server/etc/hobbitlaunch.cfg --env=/Users/hobbit/server/etc/hobbitserver.cfg --log=/var/log/hobbit/hobbitla
And hmm.. Here's my hobbitlaunch.log latest entry:
2007-11-07 13:47:48 Loading hostnames 2007-11-07 13:47:48 Loading saved state 2007-11-07 13:47:48 Setting up network listener on 0.0.0.0:1984 2007-11-07 13:47:48 Setting up local listener 2007-11-07 13:47:48 Setting up signal handlers 2007-11-07 13:47:48 Setting up hobbitd channels 2007-11-07 13:47:48 Could not attach shm Too many open files 2007-11-07 13:47:48 Cannot setup user channel 2007-11-07 13:47:48 Task hobbitd terminated, status 1 2007-11-07 13:47:53 Loading hostnames 2007-11-07 13:47:53 Loading saved state 2007-11-07 13:47:53 Setting up network listener on 0.0.0.0:1984 2007-11-07 13:47:53 Setting up local listener 2007-11-07 13:47:53 Setting up signal handlers 2007-11-07 13:47:53 Setting up hobbitd channels 2007-11-07 13:47:53 Could not attach shm Too many open files 2007-11-07 13:47:53 Cannot setup user channel 2007-11-07 13:47:53 Task hobbitd terminated, status 1
Did some googling.. (For the archive).
On os/x, editied /etc/rc:
sysctl -w kern.sysv.shmmax=4194304 kern.sysv.shmmin=1 kern.sysv.shmmni=32 kern.sysv.shmseg=12 kern.sysv.shmall=1024
I tried manually running that line, no go. Editied from shmseg=8 to 12, and rebooted. Works now!
ps aux | grep hobb
hobbit 122 0.0 0.0 27412 236 ?? Ss 2:06PM 0:00.02 /Users/hobbit/server/bin/hobbitlaunch --config=/Users/hobbit/server/etc/hobbitlaunch.cfg --env=/Users/hobbit/server/etc/hobbitserver.cfg --log=/var/log/hobbit/hobbitla hobbit 129 0.0 0.0 30216 704 ?? S 2:06PM 0:00.05 hobbitd --pidfile=/var/log/hobbit/hobbitd.pid --restart=/Users/hobbit/server/tmp/hobbitd.chk --checkpoint-file=/Users/hobbit/server/tmp/hobbitd.chk --checkpoint-interv hobbit 156 0.0 0.0 27696 436 ?? S 2:06PM 0:00.02 hobbitd_channel --channel=stachg --log=/var/log/hobbit/history.log hobbitd_history hobbit 157 0.0 0.0 27952 404 ?? S 2:06PM 0:00.01 hobbitd_channel --channel=clichg --log=/var/log/hobbit/hostdata.log hobbitd_hostdata hobbit 158 0.0 0.0 27696 408 ?? S 2:06PM 0:00.01 hobbitd_channel --channel=page --log=/var/log/hobbit/page.log hobbitd_alert --checkpoint-file=/Users/hobbit/server/tmp/alert.chk --checkpoint-interval=600 hobbit 159 0.0 0.0 27696 436 ?? S 2:06PM 0:00.02 hobbitd_channel --channel=status --log=/var/log/hobbit/rrd-status.log hobbitd_rrd --rrddir=/Users/hobbit/data/rrd hobbit 160 0.0 0.0 27696 404 ?? S 2:06PM 0:00.01 hobbitd_channel --channel=data --log=/var/log/hobbit/rrd-data.log hobbitd_rrd --rrddir=/Users/hobbit/data/rrd hobbit 161 0.0 0.0 27952 404 ?? S 2:06PM 0:00.01 hobbitd_channel --channel=client --log=/var/log/hobbit/clientdata.log hobbitd_client hobbit 189 0.0 0.1 27712 960 ?? S 2:06PM 0:00.06 hobbitd_history hobbit 190 0.0 0.1 27984 1012 ?? S 2:06PM 0:00.03 hobbitd_alert --checkpoint-file=/Users/hobbit/server/tmp/alert.chk --checkpoint-interval=600 hobbit 191 0.0 0.1 32996 1444 ?? S 2:06PM 0:00.09 hobbitd_rrd --rrddir=/Users/hobbit/data/rrd hobbit 329 0.0 0.1 28360 1132 ?? S 2:06PM 0:00.02 hobbitd_client hobbit 341 0.0 0.1 32996 1428 ?? S 2:06PM 0:00.03 hobbitd_rrd --rrddir=/Users/hobbit/data/rrd hobbit 342 0.0 0.1 27948 848 ?? S 2:06PM 0:00.01 hobbitd_hostdata
Thanks!
At 02:10 PM 11/7/2007, Evan Platt wrote:
I tried manually running that line, no go. Editied from shmseg=8 to 12, and rebooted. Works now!
AARGH!
After a reboot, it's not launching again:
2007-11-07 14:41:17 hobbitlaunch starting 2007-11-07 14:41:17 Loading tasklist configuration from /Users/hobbit/server/etc/hobbitlaunch.cfg 2007-11-07 14:41:17 Loading hostnames 2007-11-07 14:41:17 Loading saved state 2007-11-07 14:41:18 Task hobbitd terminated by signal 11 2007-11-07 14:41:23 Loading hostnames 2007-11-07 14:41:23 Loading saved state 2007-11-07 14:41:23 Task hobbitd terminated by signal 11 2007-11-07 14:41:28 Loading hostnames 2007-11-07 14:41:28 Loading saved state 2007-11-07 14:41:29 Task hobbitd terminated by signal 11
I have no more hair to pull out! :)
At 02:42 PM 11/7/2007, Evan Platt wrote:
AARGH!
After a reboot, it's not launching again:
And my crashdump log:
Nov 7 15:09:35 espphotography crashdump[770]: Unable to save crash report!\n Nov 7 15:09:35 espphotography crashdump[770]: Date/Time: 2007-11-07 15:09:35.232 -0800 Nov 7 15:09:35 espphotography crashdump[770]: OS Version: 10.4.10 (Build 8R218) Nov 7 15:09:35 espphotography crashdump[770]: Report Version: 4 Nov 7 15:09:35 espphotography crashdump[770]: Nov 7 15:09:35 espphotography crashdump[770]: Command: hobbitd Nov 7 15:09:35 espphotography crashdump[770]: Path: /Users/hobbit/server/bin/hobbitd Nov 7 15:09:35 espphotography crashdump[770]: Parent: hobbitlaunch [768] Nov 7 15:09:35 espphotography crashdump[770]: Nov 7 15:09:35 espphotography crashdump[770]: Version: ??? (???) Nov 7 15:09:35 espphotography crashdump[770]: Nov 7 15:09:35 espphotography crashdump[770]: PID: 769 Nov 7 15:09:35 espphotography crashdump[770]: Thread: 0 Nov 7 15:09:35 espphotography crashdump[770]: Nov 7 15:09:35 espphotography crashdump[770]: Exception: EXC_BAD_ACCESS (0x0001) Nov 7 15:09:35 espphotography crashdump[770]: Codes: KERN_INVALID_ADDRESS (0x0001) at 0x000f09c6 Nov 7 15:09:35 espphotography crashdump[770]: Nov 7 15:09:35 espphotography crashdump[770]: Thread 0 Crashed: Nov 7 15:09:35 espphotography crashdump[770]: 0 hobbitd 0x000157f0 int_compare + 0 (rbtr.c:395) Nov 7 15:09:35 espphotography crashdump[770]: 1 hobbitd 0x0000b950 load_checkpoint + 2624 (hobbitd.c:3894) Nov 7 15:09:35 espphotography crashdump[770]: 2 hobbitd 0x0000c6cc main + 2636 (hobbitd.c:4268) Nov 7 15:09:35 espphotography crashdump[770]: 3 hobbitd 0x0000207c _start + 760 Nov 7 15:09:35 espphotography crashdump[770]: 4 hobbitd 0x00001d80 start + 48 Nov 7 15:09:35 espphotography crashdump[770]: Nov 7 15:09:35 espphotography crashdump[770]: Thread 0 crashed with PPC Thread State 64: Nov 7 15:09:35 espphotography crashdump[770]: srr0: 0x00000000000157f0 srr1: 0x000000000200f030 vrsave: 0x0000000000000000 Nov 7 15:09:35 espphotography crashdump[770]: cr: 0x24000448 xer: 0x0000000020000004 lr: 0x0000000000015320 ctr: 0x00000000000157f0 Nov 7 15:09:35 espphotography crashdump[770]: r0: 0x000000000000b950 r1: 0x00000000bfffcc90 r2: 0x00000000000389b0 r3: 0x00000000000f09c6 Nov 7 15:09:35 espphotography crashdump[770]: r4: 0x000000000000ee44 r5: 0x0000000000301db0 r6: 0x0000000080808080 r7: 0x0000000000000001 Nov 7 15:09:35 espphotography crashdump[770]: r8: 0x0000000020003139 r9: 0x000000000007d940 r10: 0x0000000000000060 r11: 0x000000000003695c Nov 7 15:09:35 espphotography crashdump[770]: r12: 0x00000000000157f0 r13: 0x000000004732405b r14: 0x0000000000000000 r15: 0x0000000000000000 Nov 7 15:09:35 espphotography crashdump[770]: r16: 0x000000004733887f r17: 0x0000000000000004 r18: 0x0000000000000004 r19: 0x00000000000f09c6 Nov 7 15:09:35 espphotography crashdump[770]: r20: 0x000000000000000e r21: 0x0000000000301b80 r22: 0x0000000000301d70 r23: 0x00000000a000db34 Nov 7 15:09:35 espphotography crashdump[770]: r24: 0x0000000000300900 r25: 0x0000000000301db0 r26: 0x00000000000f09c6 r27: 0x0000000000000000 Nov 7 15:09:35 espphotography crashdump[770]: r28: 0x0000000000300150 r29: 0x0000000000300154 r30: 0x0000000000300b70 r31: 0x000000000000af24 Nov 7 15:09:35 espphotography crashdump[770]: Nov 7 15:09:35 espphotography crashdump[770]: Binary Images Description: Nov 7 15:09:35 espphotography crashdump[770]: 0x1000
- 0x2ffff hobbitd /Users/hobbit/server/bin/hobbitd Nov 7 15:09:35 espphotography crashdump[770]: 0x8fe00000 - 0x8fe52fff dyld 46.12 /usr/lib/dyld Nov 7 15:09:35 espphotography crashdump[770]: 0x90000000 - 0x901bcfff libSystem.B.dylib /usr/lib/libSystem.B.dylib Nov 7 15:09:35 espphotography crashdump[770]: 0x90214000 - 0x90219fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib Nov 7 15:09:35 espphotography crashdump[770]: Nov 7 15:09:35 espphotography crashdump[770]:
On Wed, Nov 07, 2007 at 03:13:40PM -0800, Evan Platt wrote:
At 02:42 PM 11/7/2007, Evan Platt wrote:
AARGH!
After a reboot, it's not launching again:
And my crashdump log: Nov 7 15:09:35 espphotography crashdump[770]: 0 hobbitd 0x000157f0 int_compare + 0 (rbtr.c:395) Nov 7 15:09:35 espphotography crashdump[770]: 1 hobbitd 0x0000b950 load_checkpoint + 2624 (hobbitd.c:3894) Nov 7 15:09:35 espphotography crashdump[770]: 2 hobbitd 0x0000c6cc main + 2636 (hobbitd.c:4268)
That's odd. I know that code is wrong - just stumbled across this the other day - but I am surprised it can cause it to crash. Anyway, try applying this patch - it should solve it.
(To patch, save the attached file somewhere; cd to the hobbit-4.2.0 source directory and run "patch -p0 < /foo/cookiereload-crash.patch" )
Henrik
At 11:14 PM 11/7/2007, Henrik Stoerner wrote:
On Thu, Nov 08, 2007 at 08:07:12AM +0100, Henrik Stoerner wrote:
applying this patch - it should solve it.
Doh! forgot to attach the patch. Early morning syndrome, sorry.
Not a problem.
I was running I believe the snapshot version. Downloaded the 4.2.0, applied patch, and it's up and running now.
Will the patch work on the snapshot?
Thanks.
Evan
On Thu, Nov 08, 2007 at 09:06:44AM -0800, Evan Platt wrote:
At 11:14 PM 11/7/2007, Henrik Stoerner wrote:
On Thu, Nov 08, 2007 at 08:07:12AM +0100, Henrik Stoerner wrote:
applying this patch - it should solve it.
Doh! forgot to attach the patch. Early morning syndrome, sorry.
Not a problem.
I was running I believe the snapshot version. Downloaded the 4.2.0, applied patch, and it's up and running now.
Will the patch work on the snapshot?
Yes, it is also included in the next snapshot.
Henrik
Hi all
I have a strong religious objection to reinventing the wheel.
Has anybody created a devmon template (or other method) to monitor for a Cisco MDS9509 and a NetApp FAS3050 (The default Devmon NetApp template doesn't seem to cut it - unless I am doing something wrong)
Regards Vernon
NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.
Sorry to piggy-back on your post, but I have a s similar problem. I'm interested in devmon templates for HP postscript printers.
Thanks, Steve Holmes ITaP/TLT Purdue University
On Nov 8, 2007 9:08 PM, Everett, Vernon <Vernon.Everett at woodside.com.au> wrote:
Hi all
I have a strong religious objection to reinventing the wheel.
Has anybody created a devmon template (or other method) to monitor for a Cisco MDS9509 and a NetApp FAS3050 (The default Devmon NetApp template doesn't seem to cut it - unless I am doing something wrong)
Regards Vernon
NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- We who are strong ought to put up with the failings of the weak, and not to please ourselves. Each of us must please our neighbor for the good purpose of building up the neighbor. -Romans 15:1
Nonviolence means avoiding not only external physical violence but also internal violence of spirit. You not only refuse to shoot a man, but you refuse to hate him. -Martin Luther King, Jr., civil-rights leader (1929-1968)
If you folks would like, just post any templates you would like to share with the Hobbit community to the Shire dev list and I'll set up an area for them.
=G=
From: sholmes42 at gmail.com [mailto:sholmes42 at gmail.com] On Behalf Of Steve Holmes Sent: Friday, November 09, 2007 9:01 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Devmon templates
Sorry to piggy-back on your post, but I have a s similar problem. I'm interested in devmon templates for HP postscript printers.
Thanks, Steve Holmes ITaP/TLT Purdue University
On Nov 8, 2007 9:08 PM, Everett, Vernon <Vernon.Everett at woodside.com.au> wrote:
Hi all
I have a strong religious objection to reinventing the wheel.
Has anybody created a devmon template (or other method) to monitor for a Cisco MDS9509 and a NetApp FAS3050 (The default Devmon NetApp template doesn't seem to cut it - unless I am
doing something wrong)
Regards Vernon
NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- We who are strong ought to put up with the failings of the weak, and not to please ourselves. Each of us must please our neighbor for the good purpose of building up the neighbor. -Romans 15:1
Nonviolence means avoiding not only external physical violence but also internal violence of spirit. You not only refuse to shoot a man, but you refuse to hate him. -Martin Luther King, Jr., civil-rights leader (1929-1968)
Hi there !
same here. If one of you got a template for APC 7922, please let me (us) know. Thanks.
Thomas
Steve Holmes a écrit :
Sorry to piggy-back on your post, but I have a s similar problem. I'm interested in devmon templates for HP postscript printers.
Thanks, Steve Holmes ITaP/TLT Purdue University
On Nov 8, 2007 9:08 PM, Everett, Vernon <Vernon.Everett at woodside.com.au <mailto:Vernon.Everett at woodside.com.au>> wrote:
Hi all I have a strong religious objection to reinventing the wheel. Has anybody created a devmon template (or other method) to monitor for a Cisco MDS9509 and a NetApp FAS3050 (The default Devmon NetApp template doesn't seem to cut it - unless I am doing something wrong) Regards Vernon NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments. To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk <mailto:hobbit-unsubscribe at hswn.dk>-- We who are strong ought to put up with the failings of the weak, and not to please ourselves. Each of us must please our neighbor for the good purpose of building up the neighbor. -Romans 15:1
Nonviolence means avoiding not only external physical violence but also internal violence of spirit. You not only refuse to shoot a man, but you refuse to hate him. -Martin Luther King, Jr., civil-rights leader (1929-1968)
I think we should share all possible templates in the Hobbit community, like Galen suggested .. on Shire ....
cheers,
martin
Date: Fri, 9 Nov 2007 09:09:12 -0500 From: Galen Johnson <Galen.Johnson at sas.com> Reply-To: <hobbit at hswn.dk> To: <hobbit at hswn.dk> Subject: RE: [hobbit] Devmon templates Parts/Attachments: 1 OK ~73 lines Text 2 Shown ~197 lines Text
If you folks would like, just post any templates you would like to share with the Hobbit community to the Shire dev list and I'll set up an area for them.
On Fri, 9 Nov 2007, Thomas Séglard wrote:
Hi there !
same here. If one of you got a template for APC 7922, please let me (us) know. Thanks.
Thomas
Steve Holmes a écrit :
Sorry to piggy-back on your post, but I have a s similar problem. I'm interested in devmon templates for HP postscript printers.
Thanks, Steve Holmes ITaP/TLT Purdue University
On Nov 8, 2007 9:08 PM, Everett, Vernon <Vernon.Everett at woodside.com.au <mailto:Vernon.Everett at woodside.com.au>> wrote:
Hi all I have a strong religious objection to reinventing the wheel. Has anybody created a devmon template (or other method) to monitor for a Cisco MDS9509 and a NetApp FAS3050 (The default Devmon NetApp template doesn't seem to cut it - unless I am doing something wrong) Regards Vernon NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments. To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk <mailto:hobbit-unsubscribe at hswn.dk>-- We who are strong ought to put up with the failings of the weak, and not to please ourselves. Each of us must please our neighbor for the good purpose of building up the neighbor. -Romans 15:1
Nonviolence means avoiding not only external physical violence but also internal violence of spirit. You not only refuse to shoot a man, but you refuse to hate him. -Martin Luther King, Jr., civil-rights leader (1929-1968)
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (7)
-
evan@espphotography.com
-
Galen.Johnson@sas.com
-
henrik@hswn.dk
-
martin.flemming@desy.de
-
sholmes42@mac.com
-
thomas.seglard@mxp4.com
-
Vernon.Everett@woodside.com.au