Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

oslevel command not working as expected?!

229 views
Skip to first unread message

Damir Wilder

unread,
Apr 26, 2004, 10:06:23 AM4/26/04
to
Hello,
after upgrading a RISC running AIX 5.2 to maintenance level 02, the oslevel
command no longer prints the installed maintenance level:

# oslevel
5.2.0.0
# oslevel -r
# oslevel -rq
Known Recommended Maintenance Levels
------------------------------------
5200-02
5200-01
# oslevel -l 5.2.0.0
#

The command worked OK yesterday, displaying: 5200-02 :-(
No new SW was installed since :-((

Any ideas what could be wrong here?

Regards,
Damir Wilder


Niel Lambrechts

unread,
Apr 26, 2004, 1:29:30 PM4/26/04
to
Damir Wilder wrote:

Let's see:

1. check free space in /usr for /usr/lib/instl
2. Rebuild the cache (see the oslevel manpage)
3. Run it this way: "ksh -x /usr/bin/oslevel", and see what command
is actually failing with the 'unable to acquire lock' message.

On aix5, you can then run 'truss oslevel -r' to figure out why/where it
is failing.

Also look for old/remnants of /usr/lib/instl/.oslevel.lock and remove it if
t you are sure the program is not running.

Regards,
Niel

0 new messages