- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error when opening vi editor
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
тАО09-23-2009 05:25 AM
тАО09-23-2009 05:25 AM
Error when opening vi editor
We have B.10.20 A 9000/820 HP UX box.
When is i am creating the new file in HPUX Box through vi editor, it showing some error "Invalid shared library file: /usr/lib/libcurses.1". In this system /tmp is 100% also.
Anybody tell me why it happen and how to solve this issue.
Thanks
vinay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2009 06:01 AM
тАО09-23-2009 06:01 AM
Re: Error when opening vi editor
And this doesn't bother you?
vi uses /var/tmp to create a buffer file for the newly crated file. If your /var/tmp is a link to /tmp, the problem is /tmp being at 100%.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2009 06:03 AM
тАО09-23-2009 06:03 AM
Re: Error when opening vi editor
check that file - at my side (11.11 ws) it's:
lrwxr-xr-x 1 root root 13 Jan 23 2007 /usr/lib/libcurses.0 -> ./libcurses.1
-r-xr-xr-x 1 bin bin 233472 Nov 14 2000 /usr/lib/libcurses.1
lrwxr-xr-x 1 root root 14 Jan 23 2007 /usr/lib/libcurses.sl -> ./libxcurses.1
For your /tmp directory - almost everything there can be deleted, it's a 'temporary' directory.
Check for any user files, old files, big files.
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2009 07:06 AM
тАО09-23-2009 07:06 AM
Re: Error when opening vi editor
You could try doing "chatr /usr/lib/libcurses.1" to see if there is anything obviously wrong with it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2009 07:08 AM
тАО09-23-2009 07:08 AM
Re: Error when opening vi editor
This is a BIG problem. /tmp is used by a lot of system utilities as well as applications. When it is full, a lot of things will fail. I would not blindly remove every file in /tmp though. Start by finding the largest directories in /tmp:
# du -kx | sort -rn | head -20
If the directories below /tmp are small, then concentrate on the files in /tmp:
# ll /tmp | sort -rnk6
There may hundreds of temporary files that can be removed. /tmp and /var MUST be managed, that is, actively watch so that they do not fill up. If this is production, these checks should be done daily.
Bill Hassell, sysadmin