Operating System - HP-UX
1826677 Members
2740 Online
109696 Solutions
New Discussion

Re: sam printer add: corrupted member file

 
Donald Kok
Respected Contributor

sam printer add: corrupted member file

Hi
I try to add a remoteprinter from SAM, it responds with : corrupted member file.

Thanks
Donald
My systems are 100% Murphy Compliant. Guaranteed!!!
3 REPLIES 3
Armin Feller
Honored Contributor

Re: sam printer add: corrupted member file

Please paste the output of "lpstat -t" here.
Helen French
Honored Contributor

Re: sam printer add: corrupted member file

I 've not seen this error message before. But there is a member directory under /etc/lp and this directory normally holds some files in it. Those files are created with the printer names as specified in the "interface" directory. Actually these files will have the device names of the respective printers. For remote printer's it will be /dev/null.

Check this directory and see any permission is wrong or any files are corrupted. If you find a file name with the one which you are trying to add, then remove/move it and try again.
Life is a promise, fulfill it!
S.K. Chan
Honored Contributor

Re: sam printer add: corrupted member file

It does looks like one or more files in /etc/lp/member is missing. The files in here are actual name of the printer. what you need to do is check your current printer list with lpstat and from that list try to match them with the files in /etc/lp/member. If yu find any file missing, you can recreate them easily. Say you're missing the file "lj3". You would simply vi that file and enter the line ..
/dev/null
(ie for remote printer) into that file. Save it with ownership lp:lp and permission 644.
No try the SAM operation again and see if you got any more problem.