From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078614710485.tru64-unix-managers.marc@archive.invalid> From: jain () pascal ! physics ! smu ! edu (Rakesh Jain) Date: Mon, 21 Jul 1997 17:40:11 +0000 To: tru64-unix-managers Subject: SUMMARY: problem with lpd. X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078614710485 hi there, Thanks to all of you who replied to my question. It worked. The problem was that I had two hosts names with the same ip in the host table and only one in hosts.lpd file. After I removed the other host name from the hosts file and did a yp make, it worked fine. Rakesh Here are responses I got. ------------------------- >From enterprise.afit.af.mil!klarsen Fri Jul 18 10:54:39 1997 Return-Path: Received: by mail.physics.smu.edu (/\oo/\ Smail3.1.29.1 #29.5) id ; Fri, 18 Jul 97 10:54 CDT Received: from enterprise.afit.af.mil (enterprise.afit.af.mil [129.92.2.44]) by stealth.afit.af.mil (8.8.5/8.7.3) with SMTP id LAA29747 for ; Fri, 18 Jul 1997 11:54:37 -0400 (EDT) Received: by enterprise.afit.af.mil (4.1/SMI-4.1) id AA24296; Fri, 18 Jul 97 11:53:07 EDT Date: Fri, 18 Jul 97 11:53:07 EDT From: klarsen@enterprise.afit.af.mil (Kristin (Kris) Larsen) Message-Id: <9707181553.AA24296@enterprise.afit.af.mil> To: jain@pascal.physics.smu.edu Subject: problem with lpd Status: RO Rakesh - Normally all you need to do is to add the name to the /etc/hosts.lpd file on the SUN machine. If you just used the hostname, pascal, try also adding the fully qualified name, ie, hostname and your domainname as the host name, eg, pascal.physics.smu.edu. Next you may need to restart lpd oin smuphy. Kris Larsen ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Kris Larsen, system administrator, AFIT/ENY, Wright-Patterson AFB, Ohio ICES Contractor Quote of the day: Is it time to go home yet? ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >From ego.psych.mcgill.ca!mferan Fri Jul 18 11:08:59 1997 Return-Path: Received: by mail.physics.smu.edu (/\oo/\ Smail3.1.29.1 #29.5) id ; Fri, 18 Jul 97 11:08 CDT Received: from localhost (mferan@localhost) by ego.psych.mcgill.ca (8.8.5/8.7.3) with SMTP id MAA24742 for ; Fri, 18 Jul 1997 12:14:15 -0400 (EDT) Date: Fri, 18 Jul 1997 12:14:15 -0400 (EDT) From: Shelly Feran To: Rakesh Jain Subject: Re: problem with lpd In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Status: RO Have you put pascal's IP info in the host table on smuphy (or that of it's YP master if you're using NIS?) Stock SunOS won't use DNS to resolve hostnames. Shelly Feran, Systems Manager, Dept. of Psychology, McGill University Office: N7/36, Stewart Biological Sciences Building voice: 514-398-1495 fax: 514-398-4896 e-mail: mferan@psych.mcgill.ca On Fri, 18 Jul 1997, Rakesh Jain wrote: > hi there, > > I am having problem with lpd on the remote machine. here is the problem. > > pascal is the client machine and smuphy is the print spooler. when I send > print job from client to spooler, I get the following message > > pascal: Wed Jul 16 09:43:21 1997: waiting for queue to be enabled on smuphy.physics.smu.edu > smuphy: /usr/lib/lpd: Your host does not have line printer access > > I have put pascal's name in hosts.lpd file on smuphy and there are no > access restrictions.... > Any help would be greatly appreciated. > > pascal: dunix 3.2 > smuphy: sunos 4.1.4 > > Thanks > Rakesh > ---- > > >From tricity.wsu.edu!eisenman Fri Jul 18 11:11:00 1997 Return-Path: Received: by mail.physics.smu.edu (/\oo/\ Smail3.1.29.1 #29.5) id ; Fri, 18 Jul 97 11:10 CDT Received: from sanjuan.tricity.wsu.edu by beta.tricity.wsu.edu; (5.65v3.2/1.1.8.2/15Jul96-0522PM) id AA06306; Fri, 18 Jul 1997 09:10:57 -0700 Received: by localhost with Microsoft MAPI; Fri, 18 Jul 1997 09:10:23 -0700 Message-Id: <01BC935A.6CA93720.eisenman@tricity.wsu.edu> From: Richard Eisenman Reply-To: "eisenman@tricity.wsu.edu" To: 'Rakesh Jain' Subject: RE: problem with lpd Date: Fri, 18 Jul 1997 09:10:22 -0700 Organization: W.S.U. Tri-Cities X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Status: RO Does the hostname you put in hosts.lpd, and the hostname returned by the 'hostname' command exactly match? Richard Eisenman System Administrator W.S.U. Tri-Cities eisenman@tricity.wsu.edu -----Original Message----- From: Rakesh Jain Sent: Friday, July 18, 1997 8:43 AM To: Alpha-OSF/1-Managers Subject: problem with lpd hi there, I am having problem with lpd on the remote machine. here is the problem. pascal is the client machine and smuphy is the print spooler. when I send print job from client to spooler, I get the following message pascal: Wed Jul 16 09:43:21 1997: waiting for queue to be enabled on smuphy.physics.smu.edu smuphy: /usr/lib/lpd: Your host does not have line printer access I have put pascal's name in hosts.lpd file on smuphy and there are no access restrictions.... Any help would be greatly appreciated. pascal: dunix 3.2 smuphy: sunos 4.1.4 Thanks Rakesh ---- >From pangea.Stanford.EDU!farrell Fri Jul 18 11:42:48 1997 Return-Path: Received: by mail.physics.smu.edu (/\oo/\ Smail3.1.29.1 #29.5) id ; Fri, 18 Jul 97 11:42 CDT Received: (from farrell@localhost) by pangea.Stanford.EDU (8.7.4/8.7.1) id JAA31780 for jain@pascal.physics.smu.edu; Fri, 18 Jul 1997 09:42:47 -0700 (PDT) Date: Fri, 18 Jul 1997 09:42:47 -0700 (PDT) From: Phil Farrell Message-Id: <199707181642.JAA31780@pangea.Stanford.EDU> To: jain@pascal.physics.smu.edu Subject: Re: problem with lpd Status: RO I have always put the fully-qualified domain name, exactly as returned by the name server, in the hosts.lpd file, because some OS/versions seem to be picky about that. -Phil Farrell, Computer Systems Manager Stanford University School of Earth Sciences farrell@pangea.stanford.edu