- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: removing a printer
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
10-25-2007 02:49 AM
10-25-2007 02:49 AM
removing a printer
===== Thu Oct 25 09:32:52 2007 Entering SAM area "Printer and Plotters
(kbshp)".
* Starting:
lpmgr -l -xcols=1
* lpmgr done, exit value is 0.
----- Performing task "Remove Printer": Removing "mca45b"
* Executing the following command:
lpmgr -r -xlocalname=mca45b
* Starting:
lpmgr -r -xlocalname=mca45b
* Stopping the lp scheduler.
* Executing:
/usr/sbin/lpshut
* Command succeeded.
* Cancelling print requests for printer "mca45b".
* Executing:
/usr/bin/cancel mca45b -e
* Command succeeded.
* Removing printer "mca45b" from the lp spooler.
* Executing:
/usr/sbin/lpadmin -xmca45b
ERROR A problem occurred doing "lpadmin -xmca45b". Stderr from this command is
"rm: directory /var/spool/lp/request/mca45b not removed. Cannot remove
mountable directory
/usr/sbin/lpadmin: can't remove request directory".
ERROR Unable to remove printer "mca45b" because of above error(s).
* Starting the lp scheduler with logging turned off.
* Executing:
/usr/sbin/lpsched
* Command succeeded.
* lpmgr done, exit value is 4.
* Command completed with exit status 4.
ERROR Removing "mca45b" failed.
Can someone tell me what needs to be done to get this printer deleted please?
thanks...Jay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2007 03:49 AM
10-25-2007 03:49 AM
Re: removing a printer
Looks like this a remote filesystem. Run the command: bdf -t nfs or possibly bdf -t cifs to verify. Also run the command ll -d /var/spool/lp/request/mca45b to see the directory.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2007 04:20 AM
10-25-2007 04:20 AM
Re: removing a printer
ll -d /var/spool/lp/request/mca45b
drwxr-xr-x 2 lp lp 8192 Oct 25 09:33 /var/spool/lp/request/mca45b
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2007 05:13 AM
10-25-2007 05:13 AM
Re: removing a printer
lpshut
lpadmin -xmca45b
lpsched -v
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2007 05:22 AM
10-25-2007 05:22 AM
Re: removing a printer
if you are running 11.11, take a look at patch PHCO_36661.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2007 05:25 AM
10-25-2007 05:25 AM
Re: removing a printer
Geoff...this is going to have to wait til morning...I have several print jobs that are scheduled to begin running between now and 4pm eastern time....I will try when I get in at 6am in the morning....
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2007 05:33 AM
10-25-2007 05:33 AM
Re: removing a printer
in that case, take a look at PHCO_36662
regards,
John K.