1753407 Members
7184 Online
108793 Solutions
New Discussion юеВ

jetadmin, add printer

 
Maurice Peterse
Frequent Advisor

jetadmin, add printer

Addprinter error: can't find /etc/lp/interface/printer

this worked before, is there some limit?
i can't add any printer anymore on this system.

above message is what i get

what to do
4 REPLIES 4
Denver Osborn
Honored Contributor

Re: jetadmin, add printer

Normally this is a permissions problem. check /etc, /etc/lp and /etc/lp/interface.

# ll -d /etc
755 bin:bin
# ll -d /etc/lp
755 lp:bin
# ll -d /etc/lp/interface
755 lp:bin

hope this helps
-denver
Maurice Peterse
Frequent Advisor

Re: jetadmin, add printer

unfortunately those r right
only thing we did was link /etc/lp to /var/lp
because of space-problems on the disks

ive even put the same permissions on the links itself

other options?
Denver Osborn
Honored Contributor

Re: jetadmin, add printer

what are the permissions on /var/lp and /var/lp/interface? Are they 755 lp:bin?
Bill Hassell
Honored Contributor

Re: jetadmin, add printer

I think your problem is more basic. There is no reason to link /etc/lp unless the root filesystem has filled up. That is a big problem and must be addressed by moving all the wrong directories to the correct mountpoints. You need no more than 50-80 megs of disk for /. And this directory NEVER grows-it is static.

If it does grow, some install program or sysadmin has not followed the rules. Applications NEVER go into /, they go into /opt. And data directories go into specific directories defined by the sysadmin, not the program.

Fix the / directory, move /etc/lp directory back from /var/lp and just to verify everything, use swverify to check the spooler subsystem:

swverify -v PrinterMgmt.LP-SPOOL

Read the file: /var/adm/sw/swagent.log for errors on permissions, etc.


Bill Hassell, sysadmin