- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: memory fault when using lpstat command
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
тАО08-01-2008 11:32 AM
тАО08-01-2008 11:32 AM
list of printers then
printer lp89 is idle. enabled since Aug 1 09:31
fence priority : 0
Memory fault
I have applied 3 patches and rebuilt the kernel the way HP recommended and the issue still exists - any ideas? Thanks, Dee
Solved! Go to Solution.
- Tags:
- SIGSEGV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2008 11:44 AM
тАО08-01-2008 11:44 AM
SolutionHere is one idea.
use lpmgr to backup your printer configs.
remove all printers. Did the mem fault go away ?
-If so then manually/scriptually add all the printers back. Problem should be resolved.
-If not then you definately have a problem. Move or remove the /var/spool/lp/*status files. And try again.
you can always use lpmgr to put the entire config back to the way it was.
Interesting that a kernel rebuild was recommended for a lpstat issue, hmmmmmm....
- Tags:
- lpmgr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2008 11:53 AM
тАО08-01-2008 11:53 AM
Re: memory fault when using lpstat command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2008 12:00 PM
тАО08-01-2008 12:00 PM
Re: memory fault when using lpstat command
If you really want to fix then here is where your scripting skills will come into play.
Script the removal and re-adds. Eventually you will run into the queue causing the issue?
Maybe start with remotes(LPR) first, if you have any?
Maybe run thought the list of printers and disable then re-enable. This has been known to fix stuff in the past also?
If you have a test/crash and burn server. Restore the queues with lpmgr over there to recreate the problem ?
/usr/sam/lbin/lpmgr -? will get you the options.
export with lpmgr
tar up your export directory
ftp to other server
untar
import
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2008 02:15 AM
тАО08-02-2008 02:15 AM
Re: memory fault when using lpstat command
Or you could try various subsets of options and printers to see which ones are causing it to abort:
lpstat -a # or -c, -o, -p, -u, -v
lpstat -i # and try this with the others
lpstat -s
lpstat -t
If you find one that still aborts, these -a|-c|-o|-p|-u|-v take a list, so you can do your printers one by one until you find what aborts.