- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /stand/vmunix missing.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2009 12:08 AM
тАО02-26-2009 12:08 AM
We have installed inode patches on one of the HP-UX 11.31 server and rebooted box one and half months ago. After some time we found that /stand/vmunix is missing. However, the /stand/current/vmunix has the time stamp for the day we rebuilt the kernel. The adb command returns /stand/vmunix.
# echo boot_string/s | adb /stand/current/vmunix /dev/kmem
boot_string:
(;)/stand/vmunix
We have checked other 11.31 server and found that /stand/vmuinx is the hard link to /stand/current/vmunix
I am not denying the possibility that some one would have accidentally removed /stand/vmunix.
Could some one help what whould have happened in this case? Is there any way to make sure from which kernel the system is rebooted?
Did any one face similar issue? Also please let us know, if /stand/vmunix is hard link to /stand/current/vmunix or vice versa.
Points will be given promptley.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2009 12:21 AM
тАО02-26-2009 12:21 AM
Re: /stand/vmunix missing.
#kclog
All kernel changes are recordrd in /var/adm/kc.log.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2009 12:53 AM
тАО02-26-2009 12:53 AM
Re: /stand/vmunix missing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2009 01:03 AM
тАО02-26-2009 01:03 AM
SolutionYou already did this:
># echo boot_string/s | >adb /stand/current/vmunix /dev/kmem
>
>boot_string:
>
>(;)/stand/vmunix
That's what the in-core kernel booted from.
So someone or something removed the hard link to /stand/current/vmunix
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2009 01:05 AM
тАО02-26-2009 01:05 AM
Re: /stand/vmunix missing.
Since /stand/vmunix is missing & if u r feeling unsafe for reboot, You can save a copy of running configuration by :
#kconfig -s confname
also #kcpath will give path of current kernel.
stand/vmunix is hard link to /stand/current/vmunix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2009 01:19 AM
тАО02-26-2009 01:19 AM
Re: /stand/vmunix missing.
/stand/current
;; Print the directory containing the currently running kernel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2009 01:29 AM
тАО02-26-2009 01:29 AM
Re: /stand/vmunix missing.
Venkatesh, the kcpath -d output is as follows.
# kcpath -d
/stand/current
Does this mean, the system booted using /stand/current/vmunix?
In that case /stand/vmunix should be the hard link to /stand/current/vmunix.
The /stand/vmunix and /stand/current/vmunix will have same time stamp and inode number.
The /stand/system is soft link to /stand/current/system.
Hence, I think /stand/current/vmunix should he hard linked to /stand/vmunix.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2009 01:39 AM
тАО02-26-2009 01:39 AM
Re: /stand/vmunix missing.
On my system /stand/system is a symbolic link to /stand/nextboot/system (which I'm pretty sure is correct)
I think at this point I'd be having an interesting disucssion with everyone who has root privilges on this system...
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2009 09:37 PM
тАО02-26-2009 09:37 PM
Re: /stand/vmunix missing.
lrwxr-xr-x 1 root root 15 Jan 23 22:54 system -> nextboot/system
lrwxr-xr-x 1 root sys 7 Feb 9 10:38 nextboot -> current
drwxr-xr-x 5 root sys 8192 Jan 23 22:54 current
# cd current
# ls -l
total 265760
-rw-r--r-- 1 root root 525972 Jan 23 22:54 .cache
-rw-r--r-- 1 root sys 0 Jan 23 22:34 .config
-rw-r--r-- 1 root sys 147 Jan 23 22:34 README
drwxr-xr-x 3 root sys 96 Jan 23 22:34 bootfs
drwxr-xr-x 2 root sys 96 Jan 23 22:34 krs
-rw-r--r-- 1 root sys 6027 Jan 23 22:34 ldargs
drwxr-xr-x 2 root sys 8192 Jan 23 22:34 mod
-rw-r--r-- 1 root sys 5044 Feb 9 10:38 system
-rwxr-xr-x 2 root sys 135496680 Jan 23 22:34 vmunix
# pwd
/stand
ls -il nextboot/system
51 -rw-r--r-- 1 root sys 5044 Feb 9 10:38 nextboot/system
# cd current
# ls -il system
51 -rw-r--r-- 1 root sys 5044 Feb 9 10:38 system
So, /stand/system is a soft link to /stand/current/system.
Could any one please answer if the /stand/vmunix hard linked to /stand/current/vmunix or vice versa?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2009 11:47 PM
тАО02-26-2009 11:47 PM
Re: /stand/vmunix missing.
It would be interesting to see what "kconfig -w" says so you can see where this kernel configuration came from...
HTH
Duncan
I am an HPE Employee