Bug 83309
Summary: | lpr can't map ip address to local printer | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Jorge A. Aquino <jorgeaquino> |
Component: | anaconda | Assignee: | Michael Fulbright <msf> |
Status: | CLOSED NOTABUG | QA Contact: | Mike McLean <mikem> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | CC: | twaugh |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-02-03 16:50:27 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jorge A. Aquino
2003-02-02 05:45:45 UTC
LPRng requires that you can resolve the host 'localhost' (to 127.0.0.1). You need to either add an entry to /etc/hosts, or sort it out with redhat-config-network. There should have been an appropriate entry in /etc/hosts already. Did you change /etc/hosts or /etc/resolv.conf after installing? here's the rub: the "localhost" comes from the default installation host when I installed RHL 8.0. I since changed the name to fit my machine onto a home network. (New hostname is "littleman" on local domain "homespun".) the program does not seem to have recognized that I changed the host/domain. now i have gone back into /etc/hosts and added an entry: 127.0.0.1 localhost.localdomain local loopback but that does not seem to have changed anything. I am still getting that lpr status message: [jaquino@littleman jaquino]$ lpr status Get_local_host: 'localhost' IP address not available! And my /etc/resolv.conf entry is search localdomain nameserver 207.69.188.186 nameserver 207.69.188.185 what am i doing wrong here? (thanks for the rapid response!) -ja You've changed /etc/hosts. On the line with 127.0.0.1 in /etc/hosts, you *must* leave "localhost.localdomain localhost" |