Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-21-2001, 10:33 PM
|
#1
|
Member
Registered: Apr 2001
Location: South of Atlanta
Distribution: Mandrake 8.1, Suse 7.0
Posts: 207
Rep:
|
printer question
when i first installed the system (this am) i configured the printer with printtool and everything was fine.
later i installed apache and got IT going and now when i look at the printer on printtool or try to use it i get this message:
Error printing test page to queue lp
Error reason: Get_local_host: 'localhost' IP address not available!
What does all that mean and how do i fix it?
thx
|
|
|
08-22-2001, 02:09 AM
|
#2
|
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731
Rep:
|
What changes did you make to get apache working?
Did you change your /etc/hosts file? Does it have a line like "127.0.0.1 localhost"?
Maybe you set up DNS and didn't include an A record for 127.0.0.1? No zone for reverse lookup of 0.0.127?
Can you ping 'localhost'?
|
|
|
08-22-2001, 03:02 PM
|
#3
|
Member
Registered: Apr 2001
Location: South of Atlanta
Distribution: Mandrake 8.1, Suse 7.0
Posts: 207
Original Poster
Rep:
|
got it fig'd out maybe
ok... i got it to work... this will be for any of you checking this thread out...
i opened /etc/hosts and i rembered that i had changed the default to the name i wanted... so what i needed to do was insert:
127.0.0.1 host.localhost.domain localhost
<and>
127.0.0.2 name.whatever.domain name
have BOTH of these in this file and in this way you can access (read only) your server by either name and see it as a public user would...
thnx for the help
|
|
|
10-12-2001, 04:41 PM
|
#4
|
LQ Newbie
Registered: Oct 2001
Location: houston,tx
Posts: 3
Rep:
|
Figured it out
I was haveing the same problem took me like 30min of looking on google for the answer i put the error message into googles search field and wala got tons of info to search thru...(thats my trick to find answers to problems)...anyways
getting this error message
Starting lpd: 2001-10-12-15:33:24.773 andrea1 Get_local_host: 'localhost' IP address not available!
fix it by going to /etc/hosts and make sure it has this line
127.0.0.1 localhost.localdomain localhost
so for ex. my /etc/hosts file look like so
192.168.0.3 andrea1.cheetah.org andrea1
192.168.0.3 localhost.localdomain
192.168.0.1 router1.cheetah.org router1
127.0.0.1 localhost.localdomain localhost
see 127.0.0.1 is loopback adress if its not there in this file you will get that error above
after the corrections you have made to your /etc/hosts file try to see if the corrections helped by doing this command
[root@andrea1 /root]# /etc/rc.d/init.d/lpd restart
lpd any do a Stopping lpd: [FAILED]
Starting lpd: [ OK ]
Successs see how starting lpd said ok...we are good to go rember to become root when editing the /etc/hosts and doing the command /etc/rc.d/init.d/lpd restart
|
|
|
All times are GMT -5. The time now is 06:48 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|