syslog message..!


 
Thread Tools Search this Thread
Operating Systems Solaris syslog message..!
# 8  
Old 11-05-2007
Sorry I think the description is not so clear:

panic_thread:
panic_thread: 2a10004fcc0
> address$<2a10004fcc0 ----> Change it to
2a10004fcc0$<thread

Change this please
Best regards
joerg
# 9  
Old 11-05-2007
re:syslog message

thanks it work out ..but after that this comes up ...how to understand this ... 2a10004fcc0$<thread
{
t_link = 0x2a100047cc0
t_stk = 0x2a10004fad0
t_startpc = thread_create_intr
t_bound_cpu = cpu0
t_affinitycnt = 0x1
t_bind_cpu = 0xffff
t_flag = 0x809
t_proc_flag = 0
t_schedflag = 0x3
t_preempt = '\003'
t_preempt_lk = '\0'
t_state = 0x4
t_pri = 0xa5
t_epri = 0
t_writer = '\0'
t_pcb = {
val = [ 0x105fa78, 0x18aa911 ]
}
t_lwpchan = {
lc_wchan0 = 0
lc_wchan = 0
}
t_sobj_ops = 0
t_cid = 0
t_clfuncs = sys_classfuncs+0x48
t_cldata = 0
t_ctx = 0
t_lofault = 0
t_onfault = 0
t_ontrap = panic_stack+0x3c68
t_swap = 0x2a10004a000
t_lock = 0
t_lockstat = 0
t_pil = 0x6
t_pi_lock = 0
t_nomigrate = '\0'
t_cpu = cpu0
t_weakbound_cpu = 0
t_lpl = 0x300001ec040
t_lgrp_reserv = [ 0, 0 ]
t_intr = 0x2a100755cc0
t_intr_start = 0xdd2e4128026bb
t_did = 0xb
t_tnf_tpdp = 0x300001cf0e8
t_cpc_ctx = 0
t_cpc_set = 0
t_tid = 0
t_waitfor = 0
t_sigqueue = 0
t_sig = {
__sigbits = [ 0, 0 ]
}
t_extsig = {
__sigbits = [ 0, 0 ]
}
t_hold = {
__sigbits = [ 0, 0 ]
}
t_forw = 0
t_back = 0
t_thlink = 0
t_lwp = 0
t_procp = p0
t_audit_data = 0
t_next = 0x2a100047cc0
t_prev = 0x2a100057cc0
t_whystop = 0
t_whatstop = 0
t_dslot = 0
t_pollstate = 0
t_pollcache = 0
t_cred = 0x60001001ee8
t_start = 2007 Sep 16 08:43:22
t_lbolt = 0
t_stoptime = 0
t_pctcpu = 0
t_sysnum = 0
t_delay_cv = {
_opaque = 0
}
t_delay_lock = {
_opaque = [ 0 ]
}
t_lockp = cpu0+0xf8
t_oldspl = 0xa
t_pre_sys = '\0'
t_lock_flush = 0
t_disp_queue = cpu0_disp
t_disp_time = 0x19c486f6
t_kpri_req = 0xffff4e35
_tu = {
_ts = {
_t_astflag = '\0'
_t_sig_check = '\0'
_t_post_sys = '\0'
_t_trapret = '\0'
}
_t_post_sys_ast = 0
}
t_waitrq = 0x699a151ba0b
t_mstate = 0x7
t_rprof = 0
t_prioinv = 0
t_ts = 0x6000ab84c88
t_tsd = 0
t_stime = 0
t_door = 0
t_plockp = p0lock
t_schedctl = 0
t_sc_uaddr = 0
t_cpupart = cp_default
t_bind_pset = 0xffffffff
t_copyops = 0
t_stkbase = 0x2a10004a000
t_red_pp = 0
t_activefd = {
a_fd = 0
a_nfd = 0
a_stale = 0
a_buf = [ 0 ]
}
t_priforw = 0
t_priback = 0
t_sleepq = 0
t_panic_trap = 0xf059e880
t_lgrp_affinity = 0
t_upimutex = 0
t_nupinest = 0
t_proj = 0x300001e4968
t_unpark = 0
t_release = 0
t_hatdepth = 0
t_joincv = {
_opaque = 0
}
t_taskq = 0
t_anttime = 0
t_pdmsg = 0
t_predcache = 0
t_dtrace_vtime = 0x1
t_dtrace_start = 0
t_dtrace_stop = 0
t_dtrace_sig = 0
_tdu = {
_tds = {
_t_dtrace_on = 0
_t_dtrace_step = 0
_t_dtrace_ret = 0
_t_dtrace_ast = 0
}
_t_dtrace_ft = 0
}
t_dtrace_pc = 0
t_dtrace_npc = 0
t_dtrace_scrpc = 0
t_dtrace_astpc = 0
t_hrtime = 0x312659a12420
How will i diagonse the problem which made the server rebooted...from the above result..
# 10  
Old 11-05-2007
OK thats perfect!

And now this please:

0x2a100057cc0$<proc2u


And send me the output!

Best regards
joerg
# 11  
Old 11-06-2007
Bug re:syslog message

> 2a10004fcc0$<proc2u
{
mdb: failed to read u_execsw pointer at 2a100050100: no mapping for address
}
>
this is what come if I type in address<proc2u what might be the issue ..
# 12  
Old 11-06-2007
I'm confused!
OK pleas provide me the output of this command:

2a100047cc0$<proc2u

Important is that you do the commands all in serial order.

Short explanation:
This localize the panic thread:
> panic_thread/K
panic_thread:
panic_thread: 2a10004fcc0


This is the pointer to the memory where the thread is:

2a10004fcc0$<thread


And inside the output we are looking for the procp Pointer this is a pointer to the proc structure so we can identify the command or program with cause the panic.

The problem for me is that SUN changed the format of the output to XML.
In the moment I have no core files to test is on the lab.

.....
t_procp = p0
t_audit_data = 0
t_next = 0x2a100047cc0
t_prev = 0x2a100057cc0
t_whystop = 0
.....


And this was (I hope my!) mistake:
2a10004fcc0$<proc2u
change it to :
2a100047cc0$<proc2u
and try this additionally
2a100057cc0$<proc2u

Please try it and inform me!

Best regards joerg

Last edited by joerg; 11-06-2007 at 03:45 AM..
# 13  
Old 11-06-2007
re:syslog message

hey , tht cmd is not mapping
2a100047cc0$<proc2u

this provide output like this..

> 2a100047cc0$<proc2u
{
mdb: failed to read u_execsw pointer at 2a100048100: no mapping for address
}
> 2a100057cc0$<proc2u
{
mdb: failed to read u_execsw pointer at 2a100058100: no mapping for address
}


it says failed to read ..is tht mean there is no process running at tht time ..

Regards
nick
# 14  
Old 11-07-2007
Power Nothing more in this old brain!

Sorry for the delay.

After a long search I find 5 files to test, but only with one I was able to test my old learned procedure with succses.

So at this point you need someone with more knowledge about this topic.

Sorry!!

Best regards
joerg
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

How redirect syslog message to a specified file?

Hello to everyone! I have a question about syslog. I want put the messages of log in a particular file but really i don't know how to do that or i don't get the results that I want. I do this: #include <stdio.h> #include <stdlib.h> #include <syslog.h> int main (void) { ... (4 Replies)
Discussion started by: Kovalevski
4 Replies

2. HP-UX

Generate message in syslog.log

Dear Concern, Is there any command to generate message in /var/adm/syslog/syslog.log file in HP-UX. With Best Regards, Kauser (2 Replies)
Discussion started by: makauser
2 Replies

3. AIX

Message redirected from syslog

Hi. recently in many of our lpars we are getting a message in errpt as "C6ACA566 0315094014 U S dtc MESSAGE REDIRECTED FROM SYSLOG". I have also checked the /etc/syslog.conf file. It doesn't point to error log. Can someone please advise about how to fix this error ? pmut3:/> errpt -aj... (4 Replies)
Discussion started by: newtoaixos
4 Replies

4. UNIX and Linux Applications

Ssmtp -t < /path/to/the/message.txt (How to format message.txt for html email)

ssmtp has been running well under Kubuntu 12.04.1 for plain text messages. I would like to send html messages with ssmtp -t < /path/to/the/message.txt, but I cannot seem to get the message.txt file properly formatted. I have tried various charsets, Content-Transfer-Encoding, rearranging the... (0 Replies)
Discussion started by: Ronald B
0 Replies

5. Red Hat

Syslog Message

All thanks for the help in advance. I'm current have my syslog server built on RHEL5.7. I'm wondering how to I have the syslog messages categorized by hostname? Is that an option I can add to the syslog.conf? (1 Reply)
Discussion started by: aojmoj
1 Replies

6. UNIX for Dummies Questions & Answers

Syslog Message Columns

Hi all, I need your help with syslog columns. Currently I have a script as follows: (extract) for messages in `cat syslog_message_list.txt`; \ do \ grep $messages syslog.`date +%d%m%y`.log | \ tr -s " " | \ cut -d" " -f4,9- | \ sort -k3.2,3 -k2,2 -k1nr,1 | \ uniq -c | \ sort -k3.2,3... (6 Replies)
Discussion started by: wthomas
6 Replies

7. UNIX for Advanced & Expert Users

Q on <user> of syslog message generated by logger command

Generally(at least on AIX5.3, Solaris9, OS X)'logger' command would create syslog messages which carry <login name> . On Solaris9, I have experienced two circumstances in which 'logname' command fails. In this circumstance I saw the 'logger' command generated syslog messages which carry... (0 Replies)
Discussion started by: masaki
0 Replies

8. AIX

Syslog - Message forwarded from

I am not a Unix / AIX admin, but am working with one that doesn't seem to know how to set up syslog to forward messages to me the way I need them. Every message they send me has "Message forwarded from <insert host name here>:" but I need it to only have the host name. In the examples below,... (2 Replies)
Discussion started by: mlbillow
2 Replies

9. Programming

why I can't get syslog message?

I read Unix network programming by richard,in chap12.3,it say if call syslog() by using parameter LOG_USER,it should write a message in /var/adm/messages in Solaris,such as "connected from 10.1.1.2",example file inet/daytimetcpsrv2.c.I want to know which syslog file in FreeBSD7.0?I look for... (1 Reply)
Discussion started by: konvalo
1 Replies

10. Programming

How to limit max no of message in a posix message queue

Hii can anyone pls tell how to limit the max no of message in a posix message queue. I have made changes in proc/sys/fs/mqueue/msg_max But still whenever i try to read the value of max. message in the queue using attr.mq_curmsgs (where struct mq_attr attr) its giving the default value as 10.... (0 Replies)
Discussion started by: mohit3884
0 Replies
Login or Register to Ask a Question