Can't remove HP/uX remote printer

Posted on 2004-11-19
Last Modified: 2013-12-06
/usr/sbin/lpadmin: can't remove request directory because of directory not empty.

There are no files in the request directory.

Printer is not accepting prints and still is in status enabled/avccepting.

It's a remote printer.Doesn't make a difference if remote printer is up or down.

your advice pls...
Question by:pworce
    LVL 20

    Expert Comment

    Have you tried stopping & restarting the print scheduler with /usr/sbin/lpshut & lpsched?  

    What is the remote system? Can you stop & restart the scheduler on that system?

    Author Comment

    I did lpshut/lpsched a number of times. Together with an disable/enable of the remote service.
    Remote service is the Novell Netware 4.11 pldp.nlm.
    LVL 6

    Accepted Solution

    LVL 20

    Expert Comment

    Panjandrums link was much more comprehensive, so he should get the points (unless, of course, pworce says it didn't work?)
    LVL 20

    Expert Comment

    The link gave the suggestion of recreating the /var/spool/request/printername directories and ensuring they were owned by lp - Which, from the original question, seems a likely cause of the error messages.  

    I know the HP-UX print spooler is fairly fragile and easily broken by removing files manually  - Other Unixen use the same model, but seem more robust.

    I think the question is worth keeping - But you're the boss (and thanks for reviewing all these old questions)


    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
    Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now