Xymon Mailing List Archive search

beta5 - larrd problems

4 messages in this thread

list Chris Morris · Thu, 20 Jan 2005 17:11:48 -0000 ·
Hi,

I am running beta5 on aix 4.3.3 and getting the following errors in
/var/log/hobbit/larrd-status.log :-

2005-01-20 17:07:37 Could not attach shm Permission denied
2005-01-20 17:07:37 Channel not available

and in /var/log/hobbit/hobbitlaunch.log :-

2005-01-20 17:07:36 Task larrdstatus started with PID 27588
2005-01-20 17:07:36 Task larrdstatus terminated, status 1

Any Clues??

Chris


****************************************************************************
The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited.

If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither RWE npower nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
*****************************************************************************
list Henrik Størner · Thu, 20 Jan 2005 22:06:28 +0100 ·
quoted from Chris Morris
On Thu, Jan 20, 2005 at 05:11:48PM -0000, Morris, Chris (Shared Services) wrote:
I am running beta5 on aix 4.3.3 and getting the following errors in
/var/log/hobbit/larrd-status.log :-

2005-01-20 17:07:37 Could not attach shm Permission denied
2005-01-20 17:07:37 Channel not available
Strange, especially the "Permission denied". Have you tried shutting
down Hobbit completely (make sure that none of the "hobbitd" or
"hobbitd_channel" processes are running) and restarting it ?

After starting Hobbit, what does the output from the "ipcs" command
look like (you need to be logged in as the Hobbit user for this) ?

(And I'm really just guessing that AIX has this command, I don't know
AIX particularly well so I just assume it's the same command as on 
Solaris and Linux).


Henrik
list Chris Morris · Fri, 21 Jan 2005 12:33:36 -0000 ·
quoted from Henrik Størner
Strange, especially the "Permission denied". Have you tried shutting
down Hobbit completely (make sure that none of the "hobbitd" or
"hobbitd_channel" processes are running) and restarting it ?
Yes, I have even rebooted the machine to ensure a "clean environment".
quoted from Henrik Størner
After starting Hobbit, what does the output from the "ipcs" command
look like (you need to be logged in as the Hobbit user for this) ?
Pre Hobbit ipcs :- 

IPC status from /dev/mem as of Fri 21 Jan 12:09:00 2005
T        ID     KEY        MODE       OWNER    GROUP
Message Queues:
q         0 0x4107001c -Rrw-rw----     root   printq
Shared Memory:
m         0 0x58007083 --rw-rw-rw-     root   system
m         1 0x010020b4 --rw-rw-rw-   patrol      adm
m         2 0x010020a7 --rw-rw-rw-   patrol      adm
m    131075 0x410020b5 --rw-rw-rw-   patrol   system
m         4 0x410020b7 --rw-rw-rw-   patrol   system
m   3407877 0x410020b6 --rw-rw-rw-   patrol   system
m    131078 0x410020b8 --rw-rw-rw-   patrol   system
m         7 0x410020e4 --rw-rw-rw-   patrol   system
m         8 0x410020e5 --rw-rw-rw-   patrol   system
m    655369 0x410020e6 --rw-rw-rw-   patrol   system
m        10 0x410020e7 --rw-rw-rw-   patrol   system
m    131083 0x410020e8 --rw-rw-rw-   patrol   system
m        12 0x410020e3 --rw-rw-rw-   patrol   system
m    131085 0x410020e2 --rw-rw-rw-   patrol   system
Semaphores:
s    262144 0x58007083 --ra-ra-ra-     root   system
s         1 0x44007083 --ra-ra-ra-     root   system
s    131074 0x810020a7 --ra-ra-ra-   patrol      adm
s         3 0x620142d0 --ra-r--r--     root   system
s         4 0x810020b4 --ra-ra-ra-   patrol      adm
s         5 0xc10020b5 --ra-ra-ra-   patrol      adm
s         6 0xc10020b7 --ra-ra-ra-   patrol      adm
s         7 0xc10020e3 --ra-ra-ra-   patrol      adm
s         8 0xc10020e4 --ra-ra-ra-   patrol      adm
s         9 0xc10020e5 --ra-ra-ra-   patrol      adm
s        10 0xc10020e6 --ra-ra-ra-   patrol      adm
s        11 0xc10020e7 --ra-ra-ra-   patrol      adm
s        12 0xc10020e8 --ra-ra-ra-   patrol      adm
s        13 0xc10020b8 --ra-ra-ra-   patrol      adm
s        14 0xc10020b6 --ra-ra-ra-   patrol      adm
s        15 0xc10020e2 --ra-ra-ra-   patrol      adm

Hobbit running ipcs :-

IPC status from /dev/mem as of Fri 21 Jan 12:11:50 2005
T        ID     KEY        MODE       OWNER    GROUP
Message Queues:
q         0 0x4107001c -Rrw-rw----     root   printq
Shared Memory:
m         0 0x58007083 --rw-rw-rw-     root   system
m         1 0x010020b4 --rw-rw-rw-   patrol      adm
m         2 0x010020a7 --rw-rw-rw-   patrol      adm
m    131075 0x410020b5 --rw-rw-rw-   patrol   system
m         4 0x410020b7 --rw-rw-rw-   patrol   system
m   5111813 0x410020b6 --rw-rw-rw-   patrol   system
m    131078 0x410020b8 --rw-rw-rw-   patrol   system
m         7 0x410020e4 --rw-rw-rw-   patrol   system
m         8 0x410020e5 --rw-rw-rw-   patrol   system
m    917513 0x410020e6 --rw-rw-rw-   patrol   system
m        10 0x410020e7 --rw-rw-rw-   patrol   system
m    131083 0x410020e8 --rw-rw-rw-   patrol   system
m        12 0x410020e3 --rw-rw-rw-   patrol   system
m    131085 0x410020e2 --rw-rw-rw-   patrol   system
m        14 0xffffffff --rw-------   hobbit   hobbit
m        15 0x0103d082 --rw-------   hobbit   hobbit
m        16 0x0203d082 --rw-------   hobbit   hobbit
m        17 0x0303d082 --rw-------   hobbit   hobbit
m        18 0x0403d082 --rw-------   hobbit   hobbit
m        19 0x0503d082 --rw-------   hobbit   hobbit
m        20 0xffffffff -----------   hobbit   hobbit
m        21 0xffffffff -----------   hobbit   hobbit
m        22 0xffffffff -----------   hobbit   hobbit
m        23 0xffffffff -----------   hobbit   hobbit
m        24 0xffffffff -----------   hobbit   hobbit
m        25 0xffffffff -----------   hobbit   hobbit
Semaphores:
s    262144 0x58007083 --ra-ra-ra-     root   system
s         1 0x44007083 --ra-ra-ra-     root   system
s    131074 0x810020a7 --ra-ra-ra-   patrol      adm
s         3 0x620142d0 --ra-r--r--     root   system
s         4 0x810020b4 --ra-ra-ra-   patrol      adm
s         5 0xc10020b5 --ra-ra-ra-   patrol      adm
s         6 0xc10020b7 --ra-ra-ra-   patrol      adm
s         7 0xc10020e3 --ra-ra-ra-   patrol      adm
s         8 0xc10020e4 --ra-ra-ra-   patrol      adm
s         9 0xc10020e5 --ra-ra-ra-   patrol      adm
s        10 0xc10020e6 --ra-ra-ra-   patrol      adm
s        11 0xc10020e7 --ra-ra-ra-   patrol      adm
s        12 0xc10020e8 --ra-ra-ra-   patrol      adm
s        13 0xc10020b8 --ra-ra-ra-   patrol      adm
s        14 0xc10020b6 --ra-ra-ra-   patrol      adm
s        15 0xc10020e2 --ra-ra-ra-   patrol      adm
s        16 0xffffffff --ra-------   hobbit   hobbit
s        17 0x0103d082 --ra-------   hobbit   hobbit
s        18 0x0203d082 --ra-------   hobbit   hobbit
s        19 0x0303d082 --ra-------   hobbit   hobbit
s        20 0x0403d082 --ra-------   hobbit   hobbit
s        21 0x0503d082 --ra-------   hobbit   hobbit

Hope this helps.
quoted from Chris Morris

Chris


****************************************************************************
The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited.

If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither RWE npower nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
*****************************************************************************
list Henrik Størner · Fri, 21 Jan 2005 13:27:36 +0000 (UTC) ·
quoted from Chris Morris
In <user-6fd673adb27a@xymon.invalid> "Morris, Chris (Shared Services)" <user-7c3d847d296d@xymon.invalid> writes:
Strange, especially the "Permission denied". Have you tried shutting
down Hobbit completely (make sure that none of the "hobbitd" or
"hobbitd_channel" processes are running) and restarting it ?
Yes, I have even rebooted the machine to ensure a "clean environment".
Ok, that's a fairly definitive cleanup :-)
quoted from Chris Morris
After starting Hobbit, what does the output from the "ipcs" command
look like (you need to be logged in as the Hobbit user for this) ?
Hobbit running ipcs :-
IPC status from /dev/mem as of Fri 21 Jan 12:11:50 2005

Shared Memory:
quoted from Chris Morris
m        14 0xffffffff --rw-------   hobbit   hobbit
m        15 0x0103d082 --rw-------   hobbit   hobbit
m        16 0x0203d082 --rw-------   hobbit   hobbit
m        17 0x0303d082 --rw-------   hobbit   hobbit
m        18 0x0403d082 --rw-------   hobbit   hobbit
m        19 0x0503d082 --rw-------   hobbit   hobbit
m        20 0xffffffff -----------   hobbit   hobbit
m        21 0xffffffff -----------   hobbit   hobbit
m        22 0xffffffff -----------   hobbit   hobbit
m        23 0xffffffff -----------   hobbit   hobbit
m        24 0xffffffff -----------   hobbit   hobbit
m        25 0xffffffff -----------   hobbit   hobbit
Those memory regions with ID "0xffffffff" are weird.
Especially when they have no permissions bit set, I can
understand the "Permission denied" error.

OK, I'll have to double-check the shared-memory setup 
code. I might mail you directly to do some tests for me,
I hope that's ok ?


Regards,
Henrik