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: <klarsen_at_enterprise.afit.af.mil>
Received: by mail.physics.smu.edu (/\oo/\ Smail3.1.29.1 #29.5)
id <m0wpFMd-000RAxC_at_mail.physics.smu.edu>; 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 <jain_at_pascal.physics.smu.edu>; 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_at_enterprise.afit.af.mil (Kristin (Kris) Larsen)
Message-Id: <9707181553.AA24296_at_enterprise.afit.af.mil>
To: jain_at_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: <mferan_at_ego.psych.mcgill.ca>
Received: by mail.physics.smu.edu (/\oo/\ Smail3.1.29.1 #29.5)
id <m0wpFaU-000RAxC_at_mail.physics.smu.edu>; Fri, 18 Jul 97 11:08 CDT
Received: from localhost (mferan_at_localhost) by ego.psych.mcgill.ca (8.8.5/8.7.3) with SMTP id MAA24742 for <jain_at_pascal.physics.smu.edu>; Fri, 18 Jul 1997 12:14:15 -0400 (EDT)
Date: Fri, 18 Jul 1997 12:14:15 -0400 (EDT)
From: Shelly Feran <mferan_at_ego.psych.mcgill.ca>
To: Rakesh Jain <jain_at_pascal.physics.smu.edu>
Subject: Re: problem with lpd
In-Reply-To: <m0wpFAt-000RBBC_at_mail.physics.smu.edu>
Message-ID: <Pine.SUN.3.95.970718121018.24181B-100000_at_ego.psych.mcgill.ca>
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_at_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: <eisenman_at_tricity.wsu.edu>
Received: by mail.physics.smu.edu (/\oo/\ Smail3.1.29.1 #29.5)
id <m0wpFcR-000RAxC_at_mail.physics.smu.edu>; 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_at_tricity.wsu.edu>
From: Richard Eisenman <eisenman_at_tricity.wsu.edu>
Reply-To: "eisenman_at_tricity.wsu.edu" <eisenman_at_tricity.wsu.edu>
To: 'Rakesh Jain' <jain_at_pascal.physics.smu.edu>
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_at_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: <farrell_at_pangea.Stanford.EDU>
Received: by mail.physics.smu.edu (/\oo/\ Smail3.1.29.1 #29.5)
id <m0wpG7D-000RAxC_at_mail.physics.smu.edu>; Fri, 18 Jul 97 11:42 CDT
Received: (from farrell_at_localhost) by pangea.Stanford.EDU (8.7.4/8.7.1) id JAA31780 for jain_at_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 <farrell_at_pangea.Stanford.EDU>
Message-Id: <199707181642.JAA31780_at_pangea.Stanford.EDU>
To: jain_at_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_at_pangea.stanford.edu
Received on Mon Jul 21 1997 - 19:59:35 NZST