Issue with kstat


 
Thread Tools Search this Thread
Operating Systems Solaris Issue with kstat
# 1  
Old 03-26-2009
Issue with kstat

I have a server on Solaris 8 who had a sudden reboot once and now the messages log is filled with these errors:

Mar 23 02:14:42 srt-hlr-b unix: [ID 274950 kern.notice] NOTICE: kstat_create('unix', 0, 'icmp_minor_1'): cannot create kstat before kstat_init()
Mar 23 02:14:42 srt-hlr-b unix: [ID 274950 kern.notice] NOTICE: kstat_create('vmem', 1073741785, 'icmp_minor'): cannot create kstat before kstat_init()
Mar 23 02:14:42 srt-hlr-b unix: [ID 274950 kern.notice] NOTICE: kstat_create('unix', 0, 'icmp_minor_1'): cannot create kstat before kstat_init()
Mar 23 02:14:42 srt-hlr-b unix: [ID 274950 kern.notice] NOTICE: kstat_create('vmem', 1073741786, 'icmp_minor'): cannot create kstat before kstat_init()
Mar 23 02:14:42 srt-hlr-b unix: [ID 274950 kern.notice] NOTICE: kstat_create('unix', 0, 'icmp_minor_1'): cannot create kstat before kstat_init()


The messages file size is almost 0.8 GB. I noticed kstat is not working and netstat is returning an error:

root.srt-hlr-b.147> kstat
root.srt-hlr-b.148> netstat
netstat: kstat_open(): can't open /dev/kstat: No such file or directory
root.srt-hlr-b.149>
root.srt-hlr-b.142> l /dev/kstat
lrwxrwxrwx 1 root 31 Oct 27 18:04 /dev/kstat -> ../devices/pseudo/kstat@0:kstat
root.srt-hlr-b.143> l /devices/pseudo/kstat@0:kstat
crw-rw-rw- 1 sys 90, 0 Oct 27 18:04 /devices/pseudo/kstat@0:kstat
root.srt-hlr-b.144> file /devices/pseudo/kstat@0:kstat
/devices/pseudo/kstat@0:kstat: character special (90/0)
root.srt-hlr-b.149> top
kstat_open : Error 0

Can anyone help understanding this and the fix?

Last edited by StarSol; 03-26-2009 at 08:50 PM..
# 2  
Old 03-27-2009
Is it repeatedly happening? Are your interfaces ok? ifconfig .. netstat -rn.. physical check on the LED on NIC
# 3  
Old 03-27-2009
Yes, this error is reported almost more than one time every second. ifconfig shows all the ports configured but netstat returns an error:

netstat -rn
netstat: kstat_open(): can't open /dev/kstat: No such file or directory
# 4  
Old 04-02-2009
System reboot seems to resolve the issue for some time... but it does come back after few days. I would really appreciate if some one can help or give a hint... Thanks!
# 5  
Old 04-02-2009
What caused the original reboot? Has the system been patched recently? Have there been any new devices or applications installed?
# 6  
Old 04-02-2009
The reboot was caused by Oracle which evicted the node and hence rebooted the server (3320 Disk Array Configuration for Oracle 10). I do not like the way Oracle force the reboot (as if it is power outage); but how can I tell what caused this problem, is it corruption somewhere, etc?
# 7  
Old 04-02-2009
First I'd try a reboot into single-user mode and see how kstat behaves. If you have system support you should open a Sun case, it appears the OS is corrupted, it may be minor or it may be major, I'm not knowledgeable enough to make that call.

If you have configured coreadm to generate core files you should see if one was generated for the Oracle reboot. Same goes for dumpadm and a kernel dump.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

What could be the issue ?

Hi, when i am trying below script assume that below values are taken in code #!/bin/ksh if then echo usage: aNlist.sh QMGR NAME MQREQ fi NL=`echo 'dis qmgr'|runmqsc $1|grep REPOSNL|sed 's/.*REPOSNL\(.*\).*/\1/' |cut -d'(' -f2|cut -d')' -f1` echo 'define nl('$NL_$2')... (25 Replies)
Discussion started by: darling
25 Replies

2. Shell Programming and Scripting

Variable value substitution issue with awk command issue

Hi All, I am using the below script which has awk command, but it is not returing the expected result. can some pls help me to correct the command. The below script sample.ksh should give the result if the value of last 4 digits in the variable NM matches with the variable value DAT. The... (7 Replies)
Discussion started by: G.K.K
7 Replies

3. Shell Programming and Scripting

Need assistance with a file issue and a terminal issue

Hello everyone, I'm in need of some assistance. I'm currently enrolled in an introductory UNIX shell programming course and, well halfway through the semester, we are receiving our first actual assignment. I've somewhat realized now that I've fallen behind, and I'm working to get caught up, but for... (1 Reply)
Discussion started by: MrMagoo22
1 Replies

4. UNIX for Dummies Questions & Answers

ISSUE and ISSUE.NET files

In LINUX(CentOS, RedHat) is there a way to have the banner statement appear before the logon instead of after the logon? In UNIX and Windows the banner appears before a person actually logs on, what I'm seeing in LINUX is that it appears after the login(ftp, telnet, SSH). Thanks (0 Replies)
Discussion started by: ejjones
0 Replies

5. Solaris

Question on kstat output

I'm having a little trouble understanding the output I'm seeing from kstat for the "net" class. I'm seeing a lot of entries with "mac" as the name, like this. module: bge instance: 3 name: mac class: net ... (3 Replies)
Discussion started by: Midcain
3 Replies

6. Solaris

kstat on T5220

We used kstat on netra240/440 to check if the link is full duplex. So we do something like: bash-3.00# kstat -pc net bge:1::/'link_duplex'/ | cut -f2 2 The output 2 indicates the link is full duplex. This kind of check worked all right for Netra 240/440 systems. However, the nxge... (2 Replies)
Discussion started by: illcar
2 Replies

7. Solaris

where can i get the variable tree for kvm & kstat

Hi all, I am working on the symbEL to get some specific value from the kernel recently. But I am not sure whether kvm and kstat have such specific value. i checked the examples included with the RICHPse but didn't get the answer. also the "kstat" seems not have any description. Is there a... (2 Replies)
Discussion started by: sleepy_11
2 Replies

8. Shell Programming and Scripting

Unix Arithmatic operation issue , datatype issue

Hi, I have a shell scripting. This will take 7 digit number in each line and add 7 digit number with next subsequent lines ( normal addition ). Eg: 0000001 0000220 0001235 0000022 0000023 ........... ......... ........ Like this i am having around 1500000 records. After adding... (23 Replies)
Discussion started by: thambi
23 Replies

9. UNIX for Dummies Questions & Answers

kstat - format of output data?

Hi, I am looking for a cpu usage data (%usr, %iowait, %idle, %kernel) using kstat. The output of kstat is below. How do I interpret those numeric values? In other words, how do I calculate the percentage value using the values below? Thanks a lot! Ozvena module: cpu_stat ... (4 Replies)
Discussion started by: ozvena
4 Replies

10. UNIX for Dummies Questions & Answers

ps issue

HI All, Suddenly don't know what happened to redhat linux 7.2 any program start then itsn't listing while using ps -ef ex: ./xyz this xyz program pid not showing in ps-ef Pls let me know what is the reason for the same. Thanks a lot in advance Bache (7 Replies)
Discussion started by: bache_gowda
7 Replies
Login or Register to Ask a Question