- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Print Queues
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
04-13-2006 03:51 AM
04-13-2006 03:51 AM
When I tried to remove a print queue remotley(script) it errored out saying the couldn't remove the print queue. And when I tried to add the same print queue remotley(script) it says it exists. So when I tried to remove the print queue from the server itself, it says "Could not cancel jobs for fooprinter". And when I checked with lpstat there are no jobs. I checked from sam and found that the particular print queue was neither enabled to print nor accepting the requests. I mean to say, it neither says yes nor no for both "Enabled To Print" and "Accepting Requests".
Any ideas how I can fix this problem?
Thanks,
Pratibha
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2006 03:58 AM
04-13-2006 03:58 AM
Re: Print Queues
Is your server is acting as a print server for remotely configured printers?
Regards
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2006 04:10 AM
04-13-2006 04:10 AM
SolutionI've seen this before.
You *must* stop the lpsched process before removing the printer...BUT....check to see whether you have 2 schedulers running.
Run ps -ef | grep lpsched and if there are two running stop one with lpshut & then kill the other. Then you should be good to go.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2006 05:01 AM
04-13-2006 05:01 AM
Re: Print Queues
I did check the number of lpsched processes and found only one process. Then I did lpshut of that one existing process. Then tried "removequeue -q
Any more ideas?
Thanks,
Pratibha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2006 05:03 AM
04-13-2006 05:03 AM
Re: Print Queues
This is not a print server, as far as I know. Is there anything I can check if it is a print server?
Thanks,
Pratibha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2006 05:07 AM
04-13-2006 05:07 AM
Re: Print Queues
lpadmin -xqueue_name
and see if that doesn't do it.
You may be behind on lp patches.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2006 05:10 AM
04-13-2006 05:10 AM
Re: Print Queues
Lpadmin -x
Thanks,
Pratibha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2006 05:38 AM
04-13-2006 05:38 AM
Re: Print Queues
/var/spool/lp
/etc/lp
/var/adm/lp
They should all be
755 lp:bin
If they're not - that could be your problem.
Then also check the following logs in /var spool/lp
lpana.log
lpd.log
for any clues
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2006 06:42 AM
04-13-2006 06:42 AM
Re: Print Queues
The permissions on the files you listed were already 755. I checked the logs you mentioned and there is nothing in lpd.log regarding that print queue and lpana.log isn't there.
Thanks,
Pratibha