Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Intel NetportExpress print server

Status
Not open for further replies.

bfloyd

MIS
Aug 9, 2000
38
US
We have SCO 5.0.5 on 2 HP boxes. Both boxes need to print to one particular Intel NetportExpress print server. On one box, everything works fine. On the other box, only root can print to the Netport. Other users can ftp to the netport, but sending a job with lp -d printserver printfile produces the error:
"Your request lsrcheck-xxxxx destined for lsrcheck encountered an error while printing on printer lsrcheck. Printing stopped with an error code of 2. Reason for failure:

Proprint 5.00a
copyright 1998 ..........
Log file open failed"

I suspect the permissions on a file are wrong, but I don't which file. I tried to find all the files associated with the printer and proprint, and all the owners/groups/permissions seem to be the same on both servers. What am I missing?
PS - all the other printers and printservers (HP JetDirect) work fine for everyone on both servers.
 
If root can print but nobody else then yes it is a permission problem. I usually start with everything under
/usr/spool/lpd with 775 and root:daemon ownerships.
The lock, status, and .seq files will change from that point but everything should work.
 
I changed everything under /usr/spool/lpd to 775 / root:daemon, but still the non-root user cannot print to that particular print server. There must be an Intel Netport specific file somewhere that needs to be changed. Any ideas?
 
ok, next step....is proprint an application running on the sco machine? ie a printer script or "driver"
and where is it trying to open this log file?

assuming it is a script/program on the sco machine:
sledgehammer technique....
you might try printing a uniquely named file as root then use find and grep to find the log file.
**warning this could take a long time on a large system**
find / -exec grep -il filenameiprinted {} \;

this should give you the name of the log file and where it is. then check the permissions of it and the directory it lives in on both machines.
 
This is a permisson problem related to the intel proprint utility.

I have run into this several times in the past.

Here is the location of the file that I think effects your ability to print.

/usr/intl/sco/proprint

-rwxr-xr-x 1 root root 185320 May 14 1998 proprint

(I could be wrong, It may be another file, my memory is failing me)

To be sure compare the permissions of all the files in the "intl/sco directories between your two boxes. I am pretty sure its proprint that needs to have its permissions set to executeable by all (Thats why only root can print)

Please post back




-Danny






 
The message indicated that it could not write to the log file in /tmp. Turns out that directory had probably thousands of intl*** files in it. Proprint was sending a file about every 60 seconds saying the printer was not in the printcap file. (it was; I saw it there). I finally deleted all the entries in /tmp, uninstalled the printer, cleaned out the printcap file (that printer was in there several times), I think i unistalled proprint and I know I re-installed proprint and the printer, and now everything works.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top