<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Printing Headaches in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994052#M913541</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I looked at the permissions. Some of them are wrong. Particularly /var/spool/lp/request.&lt;BR /&gt;&lt;BR /&gt;This should be owned by lp:bin. Underneath it you will see subdirectories with each printer's name. They should be owned by lp:lp. &lt;BR /&gt;&lt;BR /&gt;It will be very difficult to fix the permissions for each and every file.&lt;BR /&gt;&lt;BR /&gt; If you follow my above tar procedure, it will restore the permissions back. &lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;PS: You do not need to assign points until your issue is completely solved. This may be my last post as it is too late here.</description>
    <pubDate>Wed, 11 Jun 2003 03:58:42 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2003-06-11T03:58:42Z</dc:date>
    <item>
      <title>Printing Headaches</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994038#M913527</link>
      <description>I posted before trying to copy the configuration data for all my printers from a failed server to a new server. Now, I am getting an error indicating "lpstat" can't open output queue file. I have stopped and started the lp process. Any ideas?&lt;BR /&gt;I had started copy some directories from my old drive. When I finished I had problems so I copied everything back to the way it was before I messed with it. Still is indicating that error.</description>
      <pubDate>Wed, 11 Jun 2003 02:43:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994038#M913527</guid>
      <dc:creator>Sean Furman_1</dc:creator>
      <dc:date>2003-06-11T02:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Headaches</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994039#M913528</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt; Check the ownership of /etc/lp,/var/spool/lp directories . They suppose to have user ownership of lp and group ownership of bin.&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Wed, 11 Jun 2003 02:52:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994039#M913528</guid>
      <dc:creator>V.Tamilvanan</dc:creator>
      <dc:date>2003-06-11T02:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Headaches</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994040#M913529</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Looks like you missed something. Do you have anything there under /var/spool/lp directory?. There should be a file called "outputq" with lp as the owner and sys as the group. If the file is missing, then 'touch outputq' and chown the owner and group&lt;BR /&gt;with 644 permissions.&lt;BR /&gt;&lt;BR /&gt;Permissions are very important for the printer setup. While copying the dictories/files, if you didn't preserve the permissions, then printers wont work.&lt;BR /&gt;&lt;BR /&gt;/etc/lp, /var/spool/lp and /var/adm/lp should be owned by lp and the group bin.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 11 Jun 2003 02:59:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994040#M913529</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-06-11T02:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Headaches</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994041#M913530</link>
      <description>You were correct. The permissions were set wrong. I changed the permission on the pstatus outputq and q status to lp:sys. I am not sure what the "644" permission thing you spoke about. I copied my printer config from my bad server from /etc/lp to my good /etc/lp. Copied ok however when I run lpstat I do not see any printers. I no longer get errors when I type lpstat. Should all of the files in that /var/spool/lp have the same permissions. I need a better explaination of the permissions.</description>
      <pubDate>Wed, 11 Jun 2003 03:15:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994041#M913530</guid>
      <dc:creator>Sean Furman_1</dc:creator>
      <dc:date>2003-06-11T03:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Headaches</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994042#M913531</link>
      <description>Also, I checked sam, and all of the printers appear in the list put I cannot get the print spooler to start. I am very close I guess. I might have a permissions issue with some of the other files.</description>
      <pubDate>Wed, 11 Jun 2003 03:17:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994042#M913531</guid>
      <dc:creator>Sean Furman_1</dc:creator>
      <dc:date>2003-06-11T03:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Headaches</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994043#M913532</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The outputq should have 644 permissions something like this&lt;BR /&gt;&lt;BR /&gt;-rw-r--r--   1 lp         sys            996 Aug 19  2002 outputq&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;As I said before copying /etc/lp alone is not sufficient. You will need to have /var/adm/lp and /var/spool/lp also as they are without permission or ownership changes.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Jun 2003 03:25:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994043#M913532</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-06-11T03:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Headaches</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994044#M913533</link>
      <description>I forgot to mention - you will get more information from /var/adm/lp/log file.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Jun 2003 03:26:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994044#M913533</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-06-11T03:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Headaches</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994045#M913534</link>
      <description>Hey Sri-&lt;BR /&gt;&lt;BR /&gt;Should all of the files under /var/spool/lp/ have lp:sys.&lt;BR /&gt;&lt;BR /&gt;and all of the files under /var/adm/lp and /var/spool/lp have lp:bin????&lt;BR /&gt;&lt;BR /&gt;I will check the log file</description>
      <pubDate>Wed, 11 Jun 2003 03:28:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994045#M913534</guid>
      <dc:creator>Sean Furman_1</dc:creator>
      <dc:date>2003-06-11T03:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Headaches</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994046#M913535</link>
      <description>Here is the log file output.</description>
      <pubDate>Wed, 11 Jun 2003 03:33:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994046#M913535</guid>
      <dc:creator>Sean Furman_1</dc:creator>
      <dc:date>2003-06-11T03:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Headaches</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994047#M913536</link>
      <description>here is /var/spool/lp</description>
      <pubDate>Wed, 11 Jun 2003 03:43:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994047#M913536</guid>
      <dc:creator>Sean Furman_1</dc:creator>
      <dc:date>2003-06-11T03:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Headaches</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994048#M913537</link>
      <description>here is /etc/lp</description>
      <pubDate>Wed, 11 Jun 2003 03:44:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994048#M913537</guid>
      <dc:creator>Sean Furman_1</dc:creator>
      <dc:date>2003-06-11T03:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Headaches</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994049#M913538</link>
      <description>here is /var/adm/lp</description>
      <pubDate>Wed, 11 Jun 2003 03:44:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994049#M913538</guid>
      <dc:creator>Sean Furman_1</dc:creator>
      <dc:date>2003-06-11T03:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Headaches</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994050#M913539</link>
      <description>Hi Sean,&lt;BR /&gt;&lt;BR /&gt;I still feel you didn't copy the files and directories properly. You log indicates that the request directories are missing.&lt;BR /&gt;&lt;BR /&gt;This is what I would do.&lt;BR /&gt;&lt;BR /&gt;1. Backup the new lp directories on the current server&lt;BR /&gt;&lt;BR /&gt;mv /etc/lp /etc/lp.new&lt;BR /&gt;mv /var/adm/lp /var/adm/lp.new&lt;BR /&gt;mv /var/spool/lp /var/spool/lp.new&lt;BR /&gt;&lt;BR /&gt;2. On the old server, take a tar of all the lp directories&lt;BR /&gt;&lt;BR /&gt;tar cvf /tmp/lp.tar /etc/lp /var/spool/lp /var/adm/lp&lt;BR /&gt;&lt;BR /&gt;Copy /tmp/lp.tar onto the new system.&lt;BR /&gt;&lt;BR /&gt;3. Untar lp.tar. &lt;BR /&gt;&lt;BR /&gt;tar xvf /tmp/lp.tar. This will restore all the above directories with permissions.&lt;BR /&gt;Remove /var/spool/lp/SCHEDLOCK file.&lt;BR /&gt;&lt;BR /&gt;4. Run lpsched and it should start.&lt;BR /&gt;&lt;BR /&gt;As mentioned in the other thread, use 'transferqueue' command to tranfer the printers to jetdirect.&lt;BR /&gt;&lt;BR /&gt;If anything fails, then move back the original files.&lt;BR /&gt;&lt;BR /&gt;#rm /var/spool/lp /var/adm/lp /etc/lp&lt;BR /&gt;#mv /etc/lp.new /etc/lp &lt;BR /&gt;#mv /var/adm/lp /var/adm/lp&lt;BR /&gt;#mv /var/spool/lp.new /var/spool/lp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 11 Jun 2003 03:51:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994050#M913539</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-06-11T03:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Headaches</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994051#M913540</link>
      <description>Great reply!!! Only one problem on my old system I do not have the adm directory on var and the spool directory under var. Is this a big problem???? Maybe it was corupt???? I did have /etc/lp directory. Let me know what you think.</description>
      <pubDate>Wed, 11 Jun 2003 03:58:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994051#M913540</guid>
      <dc:creator>Sean Furman_1</dc:creator>
      <dc:date>2003-06-11T03:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Headaches</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994052#M913541</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I looked at the permissions. Some of them are wrong. Particularly /var/spool/lp/request.&lt;BR /&gt;&lt;BR /&gt;This should be owned by lp:bin. Underneath it you will see subdirectories with each printer's name. They should be owned by lp:lp. &lt;BR /&gt;&lt;BR /&gt;It will be very difficult to fix the permissions for each and every file.&lt;BR /&gt;&lt;BR /&gt; If you follow my above tar procedure, it will restore the permissions back. &lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;PS: You do not need to assign points until your issue is completely solved. This may be my last post as it is too late here.</description>
      <pubDate>Wed, 11 Jun 2003 03:58:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994052#M913541</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-06-11T03:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Headaches</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994053#M913542</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It is a problem. You will need to have /var/spool/lp as most of the configuration is there.&lt;BR /&gt;&lt;BR /&gt;If your old system was configured with LVM, then /var would be on a seperate filesystem. You would need to mount the corresponding logical volume. You can get it by looking at /etc/fstab file. Once you mount that filesystem, you should be able to retrieve these two directories.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;PS: PLEASE PLEASE PLEASE do not assign any points. I may not be able to help you completely as it is too late now and I have to get up early in the morning. Thanks.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Jun 2003 04:04:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994053#M913542</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-06-11T04:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Headaches</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994054#M913543</link>
      <description>Hey Sri I got it working!!! all I need is the correct tar command to restore the lp.tar to the /etc/lp folder.... SO CLOSE</description>
      <pubDate>Wed, 11 Jun 2003 04:23:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994054#M913543</guid>
      <dc:creator>Sean Furman_1</dc:creator>
      <dc:date>2003-06-11T04:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Headaches</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994055#M913544</link>
      <description>Just curious, doesn't, tar xvf /tmp/lp.tar work?</description>
      <pubDate>Thu, 12 Jun 2003 07:09:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-headaches/m-p/2994055#M913544</guid>
      <dc:creator>Gavin Clarke</dc:creator>
      <dc:date>2003-06-12T07:09:01Z</dc:date>
    </item>
  </channel>
</rss>

