Operating System - HP-UX
1833582 Members
3566 Online
110061 Solutions
New Discussion

Re: lpadmin: can't access file "/usr/spool/lp"

 

lpadmin: can't access file "/usr/spool/lp"

hi, friends.
I have an HP-UX 9.04 with a remote laserjet printer. Suddenly, I stopped submiting jobs to that printer.
I tried to manage it trought SAM, but I get an error like that: "Sam: ERROR: cannot load the dialog for the sam control Box Sam: IDM-E-OpenDile..."
So I tried manually to remove the printer with a lpadmin -xlaserjet", but I get a "lpadmin: destination laserjet" non-existent"
If I try to create with a lpadmin -plaserjet -v/usr/spool/lp -mlaserjet
lpadmin: can't access file "/usr/spool/lp".
Well, a lpstat results a "cannot find the printer laserjet".
I dont have a dir called laserjet in my /usr/spool/lp/request dir. If I try create it, I get an "mkdir: cannot create laserjet: I/O error"
I don't have a software support for my HP-UX version. So, someone could help me?

thanks all..


Luis Gustavo
1 REPLY 1
A. Clay Stephenson
Acclaimed Contributor

Re: lpadmin: can't access file "/usr/spool/lp"

If mkdir is failing I would suspect one of three things in this order: 1) Filesystem is full - run df or bdf to find out 2) permissions - these files should be owned by lp 3) corrupt filesystem - run fsck.
If it ain't broke, I can fix that.