- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Strange problem - Unable to open some applicat...
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
Forums
Discussions
Discussions
Discussions
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
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
09-25-2001 12:06 PM
09-25-2001 12:06 PM
Strange problem - Unable to open some applications
I have a B132 with a fresh install of HP-UX 11. When I try to bring up some applications, (like SAM) I get:
[myname@hpbox1]% sam
crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000023
/usr/sbin/sam[196]: /var/sam: bad directory
/usr/sbin/sam[222]: rsam: not found
/usr/sbin/sam[229]: samx: not found
[myname@hpbox1]%
This is as root, in text or GUI mode...
Any help appreciated.
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2001 12:14 PM
09-25-2001 12:14 PM
Re: Strange problem - Unable to open some applications
# sam
/usr/lib/dld.sl: Can't open shared library: /usr/sam/lib/libsam.sl
/usr/lib/dld.sl: File table overflow
/usr/sbin/sam[220]: 14565 Abort
#
Pete...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2001 12:23 PM
09-25-2001 12:23 PM
Re: Strange problem - Unable to open some applications
Check your nfile size?
kmtune -l -q nfile
check the usage using sar -v (file-sz column).
sar -v 5 5
-Regards
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2001 12:27 PM
09-25-2001 12:27 PM
Re: Strange problem - Unable to open some applications
Just wanted to expand a little bit, one normally gets the file table overflow error when you are running out of nfile (which is a configurable kernel parameter and determines the maximum number of files that can be open simultaneously). To see the current usage, use sar -v and look at the column file-size.
For more information on nfile parameter
http://docs.hp.com/hpux/onlinedocs/os/KCparam.Nfile.html
For more information on kernel parameters, refer to
http://docs.hp.com/hpux/onlinedocs/os/KCparams.OverviewAll.html
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2001 12:28 PM
09-25-2001 12:28 PM
Re: Strange problem - Unable to open some applications
Looks like you are running out of nfiles. Increase this parameter to 30% of what you have now. You need to reboot the system.
As you cannot use sam, you need to do it manually
#cp /stand/system /stand/system.prev
#/usr/lbin/sysadm/system_prep -s /stand/system
#kmtune -s nfile=30000 (or whatever the value)
#mk_kernel -o /stand/vmunix
#shutdown -r y 0
Looking at your first message, I thought it could be an issue with the swap space. You second message is pretty clear. However, it's better to check the swap also. Do a swapinfo -t and see if it is overflowing.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2001 12:37 PM
09-25-2001 12:37 PM
Re: Strange problem - Unable to open some applications
If you are following Sri's procedure to increase the parameter, make a copy of the existing kernel (cp /stand/vmunix /stand/vmunix.prev) before you do a "mk_kernel -o /stand/vmunix". This is just a precautionary measure.
-Regards
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2001 01:16 PM
09-25-2001 01:16 PM
Re: Strange problem - Unable to open some applications
# mk_kernel -o /stand/vmunix
WARNING: No such device, tunable, or cdio maclan.
Ignoring the following line.
maclan
WARNING: No such device, tunable, or cdio autofsc.
Ignoring the following line.
autofsc
WARNING: No such device, tunable, or cdio btlan3.
Ignoring the following line.
btlan3
WARNING: No such device, tunable, or cdio mvfs.
Ignoring the following line.
mvfs
config: cannot open file -- /stand/build/dlkm.vmunix_test/system
#
Any and all help appreciated...
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2001 01:54 PM
09-25-2001 01:54 PM
Re: Strange problem - Unable to open some applications
Try this,
#mk_kernel -s /stand/system -o /tmp/vmunix
#cp /stand/vmunix /stand/vmunix.prev
#mv /tmp/vmunix /stand/vmunix
#reboot -qs
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2001 02:03 PM
09-25-2001 02:03 PM
Re: Strange problem - Unable to open some applications
Another option is to,
cd /stand/build
/usr/lbin/sysadm/system_prep -s /stand/build/system
/usr/sbin/mk_kernel
/usr/sbin/kmupdate
shutdown -ry now
-Regards
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2001 03:56 PM
09-25-2001 03:56 PM
Re: Strange problem - Unable to open some applications
Have a look at the thread below.
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=32d2f86109c0cc041d/screen=ckiSearchResults?mode=id&searchString=A5627601
Hope this helps. Check for the SAM filesets and the patch level on SAM. See if you are missing any SAM patch.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2001 03:58 PM
09-25-2001 03:58 PM
Re: Strange problem - Unable to open some applications
Here is a threas for you to look at if you decide to reinstall SAM
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=318278bb1915db136c/screen=ckiSearchResults?mode=id&searchString=rcfaxsam001
Hope this helps.
thanks